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

Create /api/licenses/list to return licenses with metadata

    XMLWordPrintable

    Details

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

      Description

      Response example :

      {
        "licenses": [
          {
            "key": "sonar.devcockpit.license.secured",
            "value": "123456",
            "product": "other",
            "organization": "Unknown",
            "expiration": "2010-01-01",
            "serverId": "54321",
            "type": "EVALUATION",
            "invalidProduct": true,
            "invalidExpiration": true,
            "invalidServerId": true
          },
          {
            "key": "sonar.governance.license.secured",
            "value": "123456",
            "product": "governance",
            "organization": "SonarSource",
            "expiration": "2099-01-01",
            "serverId": "12345",
            "type": "PRODUCTION",
            "additionalProperties": {
              "other": "value"
            }
          }
        ]
      }
      
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Due:
                Created:
                Updated:
                Resolved: