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

Add dry run to WS api/components/bulk_update_key

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1
    • Component/s: Web API
    • Labels:

      Description

      WS: api/components/bulk_update_key

      WS should just simulate the renaming, and not execute it.

      Add parameter dryRun to simulate the bulk renaming.

      Response example:

      {
        "keys": [
          {
            "key": "org.sonarsource.sonarqube:sonarqube",
            "newKey": "new.sonarsource.sonarqube:sonarqube",
            "duplicate": false
          },
          {
            "key": "org.sonarsource.sonarqube:sonar-ws",
            "newKey": "new.sonarsource.sonarqube:sonar-ws",
            "duplicate": true
          },
          ...
        ]
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              stas.vilchik Stas Vilchik (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: