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

Return inherited values in /api/settings/values for modules

    XMLWordPrintable

    Details

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

      Description

      • Simple value
        {
          "settings" : [ 
            {
              "key": "sonar.test.jira",
              "value": "abc",
              "default": true,
              "inherited": true,
              "parentValue": "cba"
            }
          ]
        }
        
      • Multiple values
        {
          "settings" : [ 
            {
              "key": "sonar.autogenerated",
              "values": ["val1", "val2", "val3"],
              "default": false,
              "inherited": true,
              "parentValues" : ["val1", "val2"]
            }
          ]
        }
        
      • Property set values
        {
          "settings" : [ 
            {
              "key": "sonar.demo",
              "fieldsValues": [
                {
                  "text": "foo", "boolean": "true"
                },
                {
                  "text": "bar", "boolean": "false"
               }],
               "default": false,
               "inherited": true,
               "parentFieldsValues": [
                {
                  "text": "bar", "boolean": "true"
               }],
            }
          ]
        }
        

        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: