diff options
author | Antoine Vigneau <antoine.vigneau@sonarsource.com> | 2024-11-27 15:42:48 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-11-29 20:03:09 +0000 |
commit | 488c8a3cce3fe721370970b04ff3cefde0f6d0b2 (patch) | |
tree | 17b0f405a9793704382719f033afb6f33aa12173 /server/sonar-webserver-core | |
parent | 170f39121421b369abf7fda95fb1b47f57e1362a (diff) | |
download | sonarqube-488c8a3cce3fe721370970b04ff3cefde0f6d0b2.tar.gz sonarqube-488c8a3cce3fe721370970b04ff3cefde0f6d0b2.zip |
SONAR-23719 Make sure all components are using the new Email Configuration
Diffstat (limited to 'server/sonar-webserver-core')
-rw-r--r-- | server/sonar-webserver-core/src/main/java/org/sonar/server/notification/NotificationModule.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-webserver-core/src/main/java/org/sonar/server/notification/NotificationModule.java b/server/sonar-webserver-core/src/main/java/org/sonar/server/notification/NotificationModule.java index 9fcd6a92918..8a619bd863c 100644 --- a/server/sonar-webserver-core/src/main/java/org/sonar/server/notification/NotificationModule.java +++ b/server/sonar-webserver-core/src/main/java/org/sonar/server/notification/NotificationModule.java @@ -19,20 +19,20 @@ */ package org.sonar.server.notification; -import org.sonar.api.config.EmailSettings; import org.sonar.core.platform.Module; import org.sonar.server.email.EmailSmtpConfiguration; import org.sonar.server.notification.email.EmailNotificationChannel; +import org.sonar.server.oauth.OAuthMicrosoftRestClient; public class NotificationModule extends Module { @Override protected void configureModule() { add( - EmailSettings.class, EmailSmtpConfiguration.class, NotificationService.class, DefaultNotificationManager.class, NotificationDaemon.class, - EmailNotificationChannel.class); + EmailNotificationChannel.class, + OAuthMicrosoftRestClient.class); } } |