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

Add information about ALMs to System Information File

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.8
    • Component/s: None
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      MMF requirement: What ALMs are configured and how are they configured?
      To better know the ALM configuration to help users configure PR decoration (user key of the ALM, URL of the instance) and to better understand the user landscape.

       

      How: To json-like structure in System Information File add the following information:

      {
        "ALMs": 
          {
            "github.com": "alm:github, url: http://url.com",
            "Azure DevOps": "alm:azure_devops, url: http://url2.com",
            "Azure DevOps Services": "alm:azure_devops, url: http://url3.com"
          }
      }

       The SQL to retrieve this information is:

      select alm_id, kee, url from alm_settings 

      And the Java method for this is:

      org.sonar.db.alm.setting.AlmSettingDao#selectAll

        Attachments

          Activity

            People

            Assignee:
            belen.pruvost Belén Pruvost
            Reporter:
            lukasz.jarocki Łukasz Jarocki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: