Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-8918

Combine filters of WS api/qualityprofiles/search

    XMLWordPrintable

    Details

      Description

      Problem

      The WS api/qualityprofiles/search is hard to use. Many parameters are exclusive and it's a pain to know which parameters can be used safely.

      Solution

      It should be possible to combine filters.
      For example, if a user provide defaults and language it should not fail, but it should return the default quality profile for the language.

      • the following parameters should be usable together: defaults, language, profileName, project
      • the following parameters should not be deprecated anymore: language, profileName. They were deprecated in the first place in an attempt to simplify its usability but they are used
      • documentation should be made more explicit about the meaning of each parameter. For example for the project parameter return default profiles?
      • document the change of behavior

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: