Class SonarApiClient
- java.lang.Object
-
- io.jenkins.plugins.devopsportal.utils.SonarApiClient
-
public class SonarApiClient extends Object
Utility class to fetch data from Sonar Qube using REST API.- Author:
- RĂ©mi BELLO <remi@evolya.fr>
-
-
Constructor Summary
Constructors Constructor Description SonarApiClient(String url, String authenticationToken, boolean acceptInvalidCertificate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>
execute(String path, String listAttribute, Consumer<org.apache.http.client.utils.URIBuilder> consumer)
List<Map<String,Object>>
getHotspots(String projectKey)
List<Map<String,Object>>
getIssues(String projectKey)
List<Map<String,Object>>
getMetrics(String projectKey)
List<Map<String,Object>>
getMetrics(String projectKey, String... metricKeys)
-