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

Deprecate and change use of metric id in web services

    XMLWordPrintable

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      The following parameters and elements in response must be deprecated because database ID should not be exposed in web service.

      Their format changes from integer to string.

      custom_measures

      • GET api/custom_measures/metrics (Deprecated since 7.4) -> METRICS#ID are used in the response
      • POST api/custom_measures/create (Deprecated since 7.4) -> Parameter metricId
      • POST api/custom_measures/update (Deprecated since 7.4) -> Parameter id 
      • POST api/custom_measures/delete (Deprecated since 7.4) -> Parameter id 

      metrics

      • GET api/metrics/search -> METRICS#ID are used in the response
      • POST api/metrics/delete (Deprecated since 7.7) => Parameter id
      • POST api/metrics/update (Deprecated since 7.7) => Parameter id

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pierre.guillot Pierre Guillot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: