On 20/03/2012 18:07, Colm O hEigeartaigh (Created) (JIRA) wrote:
Make all delete operations consistent in the REST API -----------------------------------------------------Key: SYNCOPE-45 URL: https://issues.apache.org/jira/browse/SYNCOPE-45 Project: Syncope Issue Type: Improvement Reporter: Colm O hEigeartaigh RoleController.delete() does not return the deleted RoleTO object, unlike the corresponding method in UserController. It also uses the HTTP delete verb instead of get as per the UserController. I suggest there should be consistent behaviour for delete across the controllers, in other words all delete functionality should use HTTP GET and return the deleted object.
Why is this description bound to RoleController.delete() only? Aren't you are proposing to change delete() methods in all REST controllers: * HTTP DELETE -> HTTP GET * void return type -> return the deleted object Regards. -- Francesco Chicchiriccò Apache Cocoon PMC and Apache Syncope PPMC Member http://people.apache.org/~ilgrosso/
