diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-22 10:59:23 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-05-22 14:24:53 +0200 |
commit | b15cb8e004d119a44189e4808ff98fe49a9a66e7 (patch) | |
tree | 5c3db11031f4e6b25851ad2c1535c531ca5443bf /plugins | |
parent | 850d73923682ad77069c8c4251ca3674ff90c86e (diff) | |
download | sonarqube-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')
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.*; |