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

api/qualitygates/search is not returning deterministic results when many projects have same name

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.5
    • Component/s: Quality Gate, Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Description

      When a SonarQube server contains many projects have the same name, using api/qualitygates/search may return different results when called many times with the same input parameters.
      The reason for that is because the order is only done on project names.

      Implementation

      A secondary order should be set to the web service, for instance on keys, in order to get deterministic results.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                julien.lancelot Julien Lancelot
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: