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

It should be possible to rename the key of a rule

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.1
    • Component/s: Plugin API, Rules
    • Labels:

      Description

      The main need is to sanitise the key of existing rules so that they follow a naming convention.

      For this, the platform should:

      • Create a UUID for every new rule
      • Use this UUID only in the DB and E/S
      • Offer an API to declare that a rule has a deprecated key
        • This is important in order to not create a UUID on a rule that had its key renamed from one version to the other of the plugin

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              fabrice.bellingard Fabrice Bellingard
              Votes:
              8 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: