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

New web service to trigger the migration of a SonarQube

    XMLWordPrintable

    Details

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

      Description

      This new WS should replace the old RoR based /api/server/setup WS.

      The new WS should :

      1. be renamed to /api/system/migrate_db
      2. only support JSON as output format
      3. use a root object in the JSON response for extensibility (not a straight list of objects)

      Reponse contains the following fields :

      • state
        • migration state
        • ["NOT_SUPPORTED'/"MIGRATION_RUNNING"/"MIGRATION_FAILED"/"MIGRATION_SUCCEEDED"/"NO_MIGRATION"]
      • message
        • either a description of the state or the error message when the migration failed
      • startedAt
        • date the db migration has been started, being either running, failed or succeeded

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: