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

Add subscription flag to organizations

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.3
    • Component/s: Database, Organizations
    • Labels:
      None
    • Production Notes:
      Hide
      A script needs to be executed to feed all organizations having a subscription plan from Muppet.
      A second migration (https://github.com/SonarSource/sonar-enterprise/pull/504) will be merged to set the column as not nullable.
      Show
      A script needs to be executed to feed all organizations having a subscription plan from Muppet. A second migration ( https://github.com/SonarSource/sonar-enterprise/pull/504 ) will be merged to set the column as not nullable.

      Description

      Create a new column subscription in the organizations table.

      • On SonarCloud, if organizations has at least one private project is should be set to 'PAID', otherwise it should be set to 'FREE'
      • On SonarQube, the default organization should be set as 'SONARQUBE'

      api/organizations/search should return the subscription information

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julien.lancelot Julien Lancelot
                Reporter:
                julien.lancelot Julien Lancelot
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: