aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/java/org
diff options
context:
space:
mode:
authorAntoine Vigneau <antoine.vigneau@sonarsource.com>2024-08-11 23:14:17 +0200
committersonartech <sonartech@sonarsource.com>2024-08-16 20:02:59 +0000
commit632e1b44c4f2dae8e278e202932226d126afe6b1 (patch)
treedb53eea5b361b6ffd09071796c1a452d2587e3c0 /sonar-ws/src/main/java/org
parentf7030b054783e5c4eefee9bbd7467988b46f9ba4 (diff)
downloadsonarqube-632e1b44c4f2dae8e278e202932226d126afe6b1.tar.gz
sonarqube-632e1b44c4f2dae8e278e202932226d126afe6b1.zip
SONAR-22516 Fix BBT using email configuration
Diffstat (limited to 'sonar-ws/src/main/java/org')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/DefaultWsClient.java8
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java3
2 files changed, 11 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 4f7ea365c7b..257e36b2ed0 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
@@ -32,6 +32,7 @@ import org.sonarqube.ws.client.components.ComponentsService;
import org.sonarqube.ws.client.developers.DevelopersService;
import org.sonarqube.ws.client.duplications.DuplicationsService;
import org.sonarqube.ws.client.editions.EditionsService;
+import org.sonarqube.ws.client.emails.EmailConfigurationService;
import org.sonarqube.ws.client.emails.EmailsService;
import org.sonarqube.ws.client.favorites.FavoritesService;
import org.sonarqube.ws.client.github.configuration.GithubConfigurationService;
@@ -101,6 +102,7 @@ class DefaultWsClient implements WsClient {
private final DevelopersService developersService;
private final DuplicationsService duplicationsService;
private final EditionsService editionsService;
+ private final EmailConfigurationService emailConfigurationService;
private final EmailsService emailsService;
private final FavoritesService favoritesService;
private final GovernanceReportsService governanceReportsService;
@@ -164,6 +166,7 @@ class DefaultWsClient implements WsClient {
this.developersService = new DevelopersService(wsConnector);
this.duplicationsService = new DuplicationsService(wsConnector);
this.editionsService = new EditionsService(wsConnector);
+ this.emailConfigurationService = new EmailConfigurationService(wsConnector);
this.emailsService = new EmailsService(wsConnector);
this.favoritesService = new FavoritesService(wsConnector);
this.governanceReportsService = new GovernanceReportsService(wsConnector);
@@ -280,6 +283,11 @@ class DefaultWsClient implements WsClient {
}
@Override
+ public EmailConfigurationService emailConfiguration() {
+ return emailConfigurationService;
+ }
+
+ @Override
public EmailsService emails() {
return emailsService;
}
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java
index 53cd28e86ab..64117e79d9f 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/WsClient.java
@@ -32,6 +32,7 @@ import org.sonarqube.ws.client.components.ComponentsService;
import org.sonarqube.ws.client.developers.DevelopersService;
import org.sonarqube.ws.client.duplications.DuplicationsService;
import org.sonarqube.ws.client.editions.EditionsService;
+import org.sonarqube.ws.client.emails.EmailConfigurationService;
import org.sonarqube.ws.client.emails.EmailsService;
import org.sonarqube.ws.client.favorites.FavoritesService;
import org.sonarqube.ws.client.github.configuration.GithubConfigurationService;
@@ -124,6 +125,8 @@ public interface WsClient {
EditionsService editions();
+ EmailConfigurationService emailConfiguration();
+
EmailsService emails();
FavoritesService favorites();