Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-661

Remove overloaded methods from REST services

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-M1
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ilgrosso Francesco Chicchiriccò
                Reporter:
                ilgrosso Francesco Chicchiriccò
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: