spring-petclinic-angular
spring-petclinic-angular copied to clipboard
Search not implemented
Need add search options (owner by name etc...)
@vfedoriv @arey
Can i take up this issue
Hi @vfedoriv / @arey
I can take up this issue and form validation issue
Hi @vfedoriv / @arey
I am not clear with this issue. May i know whether search by owner name option is needed in the drop down box of owners.
I propose to rename the All
entry menu to Search
then add a filter input text in this screen.
I don't remember if the REST API expose a search endpoint?
Hi @arey There is an API exposed with last name. We can use this API.. @RequestMapping(value = "/*/lastname/{lastName}", method = RequestMethod.GET, produces = "application/json") public ResponseEntity<Collection<Owner>> getOwnersList(@PathVariable("lastName") String ownerLastName) {.....}
May i know what should be returned,should it return only owner name or owner details also
You may test the seach feature of the original version of Petclinic here: https://spring-petclinic-community.herokuapp.com/owners?lastName=E
May i know is this fine @arey
Yes it looks like great
May i know whether i should implement for Vets also? getAllVets() is the only method exposed API end point ( http://localhost:9966/vets.html ) Can you please advice @arey
Sorry @arey you have commented this on the wrong window. I have the below doubt.
May i know whether i should implement for Vets also? getAllVets() is the only method exposed API end point ( http://localhost:9966/vets.html ) Can you please advice @arey