Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Add support for SonarQube properties (create, update, delete) #69

Open
frodoslaw opened this issue Mar 4, 2016 · 0 comments
Open

Add support for SonarQube properties (create, update, delete) #69

frodoslaw opened this issue Mar 4, 2016 · 0 comments

Comments

@frodoslaw
Copy link

Add support for SonarQube properties by adding custom puppet type and provider: properties.

Type description

This type should manage properties (create, update, delete).

sonarqube::properties { 'sonar.java.coveragePlugin':
  ensure => 'jacoco', # undef
}
sonarqube::properties { 'sonar.core.treemap.sizemetric':
  ensure => 'ncloc', # undef
}

Provider description

There should be a default provider that will use SonarQube API http://docs.sonarqube.org/pages/viewpage.action?pageId=2392170#WebService/api/properties-GetaListofProperties

  • GET /api/properties --> GET http://nemo.sonarqube.org/api/properties/?format=json
  • POST /api/properties -->
    curl -u admin:admin -X POST http://localhost:9000/api/properties?id=myProperty&value=myValue
  • DELETE /api/properties --> curl -u admin:admin -X DELETE http://localhost:9000/api/properties/myProperty
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant