diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-12-05 18:04:06 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-01-10 06:48:47 +0100 |
commit | baccb26f1aecd27b7d7fc06a185e7fdeaf03ea83 (patch) | |
tree | f5e3cb8af2a4d355c415a0f8c7b2d459b4d0ccec /server/sonar-ce | |
parent | 01c3e23df232c1006344f4957bf35af92b17a985 (diff) | |
download | sonarqube-baccb26f1aecd27b7d7fc06a185e7fdeaf03ea83.tar.gz sonarqube-baccb26f1aecd27b7d7fc06a185e7fdeaf03ea83.zip |
SONAR-10117 SONAR-1018 Update measures after relevant issue changes and send webhooks
Diffstat (limited to 'server/sonar-ce')
-rw-r--r-- | server/sonar-ce/src/main/java/org/sonar/ce/container/ComputeEngineContainerImpl.java | 3 | ||||
-rw-r--r-- | server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java | 3 |
2 files changed, 5 insertions, 1 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 7f4cd20fcb8..8c0b8822e7f 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 @@ -137,6 +137,7 @@ import org.sonar.server.plugins.ServerExtensionInstaller; import org.sonar.server.plugins.privileged.PrivilegedPluginsBootstraper; import org.sonar.server.plugins.privileged.PrivilegedPluginsStopper; import org.sonar.server.property.InternalPropertiesImpl; +import org.sonar.server.qualitygate.QualityGateModule; import org.sonar.server.qualityprofile.index.ActiveRuleIndexer; import org.sonar.server.rule.CommonRuleDefinitionsImpl; import org.sonar.server.rule.DefaultRuleFinder; @@ -430,6 +431,8 @@ public class ComputeEngineContainerImpl implements ComputeEngineContainer { // webhooks WebhookModule.class, + QualityGateModule.class, + // cleaning CeCleaningModule.class); diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java index 21c15533399..9c12b9f6101 100644 --- a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java +++ b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java @@ -91,7 +91,8 @@ public class ComputeEngineContainerImplTest { assertThat(picoContainer.getComponentAdapters()) .hasSize( CONTAINER_ITSELF - + 77 // level 4 + + 78 // level 4 + + 21 // content of QualityGateModule + 6 // content of CeConfigurationModule + 4 // content of CeQueueModule + 4 // content of CeHttpModule |