You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2015/04/23 16:56:39 UTC
[jira] [Created] (SYNCOPE-661) Remover overloaded methods from REST
services
Francesco Chicchiriccò created SYNCOPE-661:
----------------------------------------------
Summary: Remover overloaded methods from REST services
Key: SYNCOPE-661
URL: https://issues.apache.org/jira/browse/SYNCOPE-661
Project: Syncope
Issue Type: Improvement
Reporter: Francesco Chicchiriccò
Assignee: Francesco Chicchiriccò
Fix For: 2.0.0
Various REST services offer overloaded {{list()}} or {{search()}} methods, e.g. methods that only differ for the parameters in the signature.
This triggers the need of CXF's custom {{QueryResourceInfoComparator}} in order to be able to select the appropriate method based on HTTP parameters.
This is not in-line with JAX-RS best practice, specifically because parameters should not affect method selection.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)