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

Split plugins into two categories - Sonar plugins and 3rd party in System 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: (Nice to have) Plugin Distinctions:

      • It would be nice to segregate between SonarSource-native (bundled) languages and community (non-bundled) plugins.
        • to isolate the list of 3rd-party plugins (nicer-to-have)

       

      How: In json-like structure in System Information File change the information in "plugins" to

      {
        "Plugins": {
         "somecompany": "1.0 SomeCompanyPlugin", 
         "somecompany2": "3.0 SomeCompanyPlugin2"
        },
        "Bundled":{
         "cssfamily": "1.3.2.1782 [CSS Code Quality and Security]",
         "plsql": "3.5.1.3594 [PL/SQL Code Quality and Security]",
         "sonarscala": "1.8.2.1946 [Scala Code Quality and Security]"
        }
      }

      the information can be retrieved from database using:

      select kee, type from plugins 

      and from the code using:

      org.sonar.db.plugin.PluginDao#selectAll

       

        Attachments

          Activity

            People

            Assignee:
            lukasz.jarocki Łukasz Jarocki
            Reporter:
            lukasz.jarocki Łukasz Jarocki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: