aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java
index 50f5384554e..9fa2c696597 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java
@@ -34,6 +34,7 @@ import org.sonarqube.ws.client.duplications.DuplicationsService;
import org.sonarqube.ws.client.editions.EditionsService;
import org.sonarqube.ws.client.emails.EmailsService;
import org.sonarqube.ws.client.favorites.FavoritesService;
+import org.sonarqube.ws.client.github.provisioning.permissions.GithubPermissionsService;
import org.sonarqube.ws.client.githubprovisioning.GithubProvisioningService;
import org.sonarqube.ws.client.governancereports.GovernanceReportsService;
import org.sonarqube.ws.client.hotspots.HotspotsService;
@@ -142,6 +143,7 @@ class DefaultWsClient implements WsClient {
private final RegulatoryReportsService regulatoryReportsService;
private final SonarLintServerPushService sonarLintPushService;
private final GithubProvisioningService githubProvisioningService;
+ private final GithubPermissionsService githubPermissionsService;
DefaultWsClient(WsConnector wsConnector) {
this.wsConnector = wsConnector;
@@ -201,6 +203,7 @@ class DefaultWsClient implements WsClient {
this.sonarLintPushService = new SonarLintServerPushService(wsConnector);
this.regulatoryReportsService = new RegulatoryReportsService(wsConnector);
this.githubProvisioningService = new GithubProvisioningService(wsConnector);
+ this.githubPermissionsService = new GithubPermissionsService(wsConnector);
}
@Override
@@ -280,6 +283,11 @@ class DefaultWsClient implements WsClient {
}
@Override
+ public GithubPermissionsService githubPermissionsService() {
+ return githubPermissionsService;
+ }
+
+ @Override
public GovernanceReportsService governanceReports() {
return governanceReportsService;
}