From deefc7706f2e8557280f7ef1854c6c271684f72b Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Tue, 26 May 2015 17:33:46 +0200 Subject: ServerLifecycleNotifier really belongs to startup level --- .../java/org/sonar/server/platform/platformlevel/PlatformLevel4.java | 2 -- .../org/sonar/server/platform/platformlevel/PlatformLevelStartup.java | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java index d374fe6102f..7e0ace0d843 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java +++ b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevel4.java @@ -178,7 +178,6 @@ import org.sonar.server.permission.InternalPermissionTemplateService; import org.sonar.server.permission.PermissionFinder; import org.sonar.server.permission.ws.PermissionsWs; import org.sonar.server.platform.BackendCleanup; -import org.sonar.server.platform.ServerLifecycleNotifier; import org.sonar.server.platform.SettingsChangeNotifier; import org.sonar.server.platform.monitoring.DatabaseMonitor; import org.sonar.server.platform.monitoring.EsMonitor; @@ -493,7 +492,6 @@ public class PlatformLevel4 extends PlatformLevel { MyFavouritesFilter.class, CoreCustomMetrics.class, DefaultMetricFinder.class, - ServerLifecycleNotifier.class, TimeMachineWs.class, ManualMeasuresWs.class, MetricsWs.class, diff --git a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java index 9629f23d03f..b4166e004e5 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java +++ b/server/sonar-server/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java @@ -67,7 +67,8 @@ public class PlatformLevelStartup extends PlatformLevel { CopyRequirementsFromCharacteristicsToRules.class, ReportQueueCleaner.class, RegisterIssueFilters.class, - RenameIssueWidgets.class); + RenameIssueWidgets.class, + ServerLifecycleNotifier.class); } @Override -- cgit v1.2.3