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

Deprecate and change use of id in quality gate web services

    XMLWordPrintable

    Details

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

      Description

      The following parameters and elements in the response must be deprecated because database IDs should not be exposed in web services.

      Their format changes from integer to string.

      Quality gate ID should be deprecated in

      • POST api/qualitygates/copy -> Parameter id
      • POST api/qualitygates/create -> ID are used in the response
      • POST api/qualitygates/destroy -> Parameter id
      • POST api/qualitygates/rename -> Parameter id
      • POST api/qualitygates/set_as_default -> Parameter id
      • GET api/qualitygates/get_by_project -> ID are used in the response
      • GET api/qualitygates/list -> ID are used in the response
      • GET api/qualitygates/search -> Parameter gateId
      • GET api/qualitygates/select -> Parameter gateId
      • GET api/qualitygates/show -> Parameter id are used in the response
      • POST api/qualitygates/create_condition -> Parameter gateId

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: