aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver/src/main/java/org/sonar
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2024-09-05 17:22:09 +0200
committersonartech <sonartech@sonarsource.com>2024-09-12 20:02:54 +0000
commitf405b2169cf6598535504bbc3b8c5d40f81763e1 (patch)
tree9e85fb76be492645b420147ae5ba5ff6b735caaf /server/sonar-webserver/src/main/java/org/sonar
parent55dfebf3ece23eb11e9d2ea9b862b6fad3dbbfbc (diff)
downloadsonarqube-f405b2169cf6598535504bbc3b8c5d40f81763e1.tar.gz
sonarqube-f405b2169cf6598535504bbc3b8c5d40f81763e1.zip
SONAR-22914 Support 2 built-in SCA rules
Diffstat (limited to 'server/sonar-webserver/src/main/java/org/sonar')
-rw-r--r--server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java
index eb016d45ba2..c7272a49d90 100644
--- a/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java
+++ b/server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java
@@ -67,18 +67,19 @@ public class PlatformLevelStartup extends PlatformLevel {
addIfStartupLeader(
IndexerStartupTask.class);
- addIfStartupLeaderAndPluginsChanged(
- RegisterMetrics.class,
- RegisterQualityGates.class,
+ addIfStartupLeader(
RuleDescriptionSectionsGeneratorResolver.class,
AdvancedRuleDescriptionSectionsGenerator.class,
LegacyHotspotRuleDescriptionSectionsGenerator.class,
LegacyIssueRuleDescriptionSectionsGenerator.class,
RulesRegistrant.class,
- QualityProfileChangesUpdater.class,
NewRuleCreator.class,
RulesKeyVerifier.class,
StartupRuleUpdater.class,
+ QualityProfileChangesUpdater.class);
+ addIfStartupLeaderAndPluginsChanged(
+ RegisterMetrics.class,
+ RegisterQualityGates.class,
BuiltInQProfileLoader.class);
addIfStartupLeader(
BuiltInQualityProfilesUpdateListener.class,