aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-03-26 18:07:51 +0100
committersonartech <sonartech@sonarsource.com>2019-04-23 10:37:54 +0200
commit7aa67c76961956e3eeb22a14875b6181c62857b0 (patch)
tree83d63a8ab4b60c691358cada4bb09e583f0fc905 /server/sonar-ce
parenta9503346ee526d2d5cee4b74658736ec62846a69 (diff)
downloadsonarqube-7aa67c76961956e3eeb22a14875b6181c62857b0.tar.gz
sonarqube-7aa67c76961956e3eeb22a14875b6181c62857b0.zip
SONAR-11753 move "QP change" notification to email specific algo
Diffstat (limited to 'server/sonar-ce')
-rw-r--r--server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
index f17fed85c8a..2f43b9b4ad3 100644
--- a/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
+++ b/server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java
@@ -91,7 +91,6 @@ import org.sonar.server.component.index.ComponentIndexer;
import org.sonar.server.config.ConfigurationProvider;
import org.sonar.server.es.EsModule;
import org.sonar.server.es.ProjectIndexersImpl;
-import org.sonar.server.qualitygate.notification.NewAlerts;
import org.sonar.server.extension.CoreExtensionBootstraper;
import org.sonar.server.extension.CoreExtensionStopper;
import org.sonar.server.favorite.FavoriteUpdater;
@@ -115,7 +114,6 @@ import org.sonar.server.metric.CoreCustomMetrics;
import org.sonar.server.metric.DefaultMetricFinder;
import org.sonar.server.notification.DefaultNotificationManager;
import org.sonar.server.notification.NotificationService;
-import org.sonar.server.qualitygate.notification.AlertsEmailTemplate;
import org.sonar.server.notification.email.EmailNotificationChannel;
import org.sonar.server.organization.BillingValidationsProxyImpl;
import org.sonar.server.organization.DefaultOrganizationProviderImpl;
@@ -140,6 +138,8 @@ import org.sonar.server.plugins.ServerExtensionInstaller;
import org.sonar.server.property.InternalPropertiesImpl;
import org.sonar.server.qualitygate.QualityGateEvaluatorImpl;
import org.sonar.server.qualitygate.QualityGateFinder;
+import org.sonar.server.qualitygate.notification.QGChangeEmailTemplate;
+import org.sonar.server.qualitygate.notification.QGChangeNotificationHandler;
import org.sonar.server.qualityprofile.index.ActiveRuleIndexer;
import org.sonar.server.rule.DefaultRuleFinder;
import org.sonar.server.rule.index.RuleIndex;
@@ -384,8 +384,8 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer {
// components,
FavoriteUpdater.class,
ProjectIndexersImpl.class,
- NewAlerts.class,
- NewAlerts.newMetadata(),
+ QGChangeNotificationHandler.class,
+ QGChangeNotificationHandler.newMetadata(),
ProjectMeasuresIndexer.class,
ComponentIndexer.class,
@@ -413,7 +413,7 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer {
DoNotFixNotificationHandler.newMetadata(),
// Notifications
- AlertsEmailTemplate.class,
+ QGChangeEmailTemplate.class,
EmailSettings.class,
NotificationService.class,
DefaultNotificationManager.class,