aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-plugin
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-22 10:59:23 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-05-22 14:24:53 +0200
commitb15cb8e004d119a44189e4808ff98fe49a9a66e7 (patch)
tree5c3db11031f4e6b25851ad2c1535c531ca5443bf /plugins/sonar-core-plugin
parent850d73923682ad77069c8c4251ca3674ff90c86e (diff)
downloadsonarqube-b15cb8e004d119a44189e4808ff98fe49a9a66e7.tar.gz
sonarqube-b15cb8e004d119a44189e4808ff98fe49a9a66e7.zip
SONAR-6567 disable extension point NotificationDispatcher in batch
Currently it's only removed from API. Will be removed from batch after that events are in Compute Engine (for change of quality gate status)
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/notifications/alerts/NewAlerts.java3
-rw-r--r--plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/notifications/alerts/NewAlertsTest.java4
2 files changed, 5 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/notifications/alerts/NewAlerts.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/notifications/alerts/NewAlerts.java
index 4662dfb7fab..b6c4bd93d1a 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/notifications/alerts/NewAlerts.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/notifications/alerts/NewAlerts.java
@@ -24,6 +24,9 @@ import org.sonar.api.notifications.*;
import java.util.Collection;
import java.util.Map;
+import org.sonar.core.notification.NotificationDispatcher;
+import org.sonar.core.notification.NotificationDispatcherMetadata;
+import org.sonar.core.notification.NotificationManager;
/**
* This dispatcher means: "notify me each new alert event".
diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/notifications/alerts/NewAlertsTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/notifications/alerts/NewAlertsTest.java
index d2e921fd916..6a65353af0a 100644
--- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/notifications/alerts/NewAlertsTest.java
+++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/notifications/alerts/NewAlertsTest.java
@@ -24,8 +24,8 @@ import com.google.common.collect.Multimap;
import org.junit.Test;
import org.sonar.api.notifications.Notification;
import org.sonar.api.notifications.NotificationChannel;
-import org.sonar.api.notifications.NotificationDispatcher;
-import org.sonar.api.notifications.NotificationManager;
+import org.sonar.core.notification.NotificationDispatcher;
+import org.sonar.core.notification.NotificationManager;
import static org.mockito.Mockito.*;