Closed
Description
Chris Beams opened SPR-5483 and commented
Petclinic should be the showcase for REST support in Spring 3, and generally modernized to reflect Spring Web best practices. Much of this work has already been done. This issue exists to track the remaining effort.
Sub-tasks:
- Update Pet Clinic to use HSQL as an embedded database [SPR-5429] #10103 Update Pet Clinic to use HSQL as an embedded database
- Update @RequestMappings to use URI templates and methods to accept @PathVariable [SPR-5484] #10157 Update
@RequestMappings
to use URI templates and methods to accept@PathVariable
- Add content negotiation and MarshallingView to Petclinic [SPR-5486] #10158 Add content negotiation and MarshallingView to Petclinic
- Polish petclinic RESTful URIs [SPR-5487] #10159 Polish petclinic RESTful URIs
- Consolidate Petclinic controllers to take full advantage of @MVC style [SPR-5488] #10160 Consolidate Petclinic controllers to take full advantage of
@MVC
style - Display a custom error page when user attempts to access an invalid Petclinic URI [SPR-5489] #10161 Display a custom error page when user attempts to access an invalid Petclinic URI
- GET /petclinic/owners returns 200 OK; GET /petclinic/owners/ returns 404 [SPR-5490] #10162 GET /petclinic/owners returns 200 OK; GET /petclinic/owners/ returns 404
- Update Petclinic build to create war named 'petclinic.war' [SPR-5491] #10163 Update Petclinic build to create war named 'petclinic.war'
- Sever the hierarchical relationship between pets and owners in URIs [SPR-5492] #10164 Sever the hierarchical relationship between pets and owners in URIs
- Provide hyperlink to owner on Petclinic 'edit pet' form [SPR-5493] #10165 Provide hyperlink to owner on Petclinic 'edit pet' form
- Allow for deleting owners in Petclinic [SPR-5494] #10166 Allow for deleting owners in Petclinic
- Update petclinic.html (tutorial page) to reflect changes to REST and changes in controller/JSP structure [SPR-5495] #10167 Update petclinic.html (tutorial page) to reflect changes to REST and changes in controller/JSP structure
- Update comments in Petclinic web.xml [SPR-5496] #10168 Update comments in Petclinic web.xml
- Add automated web UI tests to Petclinic with JWebUnit [SPR-5497] #10169 Add automated web UI tests to Petclinic with JWebUnit
- Consider changing Petclinic URIs for PUTs and DELETEs to /{id} instead of current /{id}/edit [SPR-5498] #10170 Consider changing Petclinic URIs for PUTs and DELETEs to /{id} instead of current /{id}/edit
Issue Links:
- Comprehensive REST Support [SPR-4419] #9097 Comprehensive REST Support
2 votes, 2 watchers