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

Remove overloaded methods from REST services

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-M1
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: