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

Stop using legacy project ID and use project UUID instead

    XMLWordPrintable

    Details

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

      Description

      We should rely on project UUIDs instead of project IDs. To do this we need to:

      • SONAR-13220 to be done, so that the frontend is updated to stop using project IDs when selecting/deselecting projects for quality gates and use keys instead. These parameters were deprecated in 6.1.
      • drop previously deprecated usage of IDs in select/deselect QG web services
      • do some changes in the database:
        • GROUP_ROLES: RESOURCE_ID should reference project/component uuid
        • USER_ROLES: RESOURCE_ID should reference project/component uuid
        • PROPERTIES: RESOURCE_ID should reference project/component uuid. Some queries that join with COMPONENTS should now join with PROJECTS.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              michal.duda Michal Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: