aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-04-25 11:59:52 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-04-25 11:59:52 +0200
commit6d60e40fd3f4c3fd465004e450a6db3501ce83df (patch)
treebee7e81279973972858217e6b4d4100b6be44a65
parent9d70ff56e7d45ca6d26ee5725cdea6288585358b (diff)
downloadsonarqube-6d60e40fd3f4c3fd465004e450a6db3501ce83df.tar.gz
sonarqube-6d60e40fd3f4c3fd465004e450a6db3501ce83df.zip
Add PropertiesDao in CE container
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulator.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulator.java b/server/sonar-server/src/main/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulator.java
index e78c44c8e79..e571ffd1363 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulator.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulator.java
@@ -26,6 +26,7 @@ import org.sonar.ce.queue.CeTask;
import org.sonar.ce.settings.SettingsLoader;
import org.sonar.core.issue.tracking.Tracker;
import org.sonar.core.platform.ContainerPopulator;
+import org.sonar.db.property.PropertiesDao;
import org.sonar.plugin.ce.ReportAnalysisComponentProvider;
import org.sonar.server.computation.analysis.AnalysisMetadataHolderImpl;
import org.sonar.server.computation.batch.BatchReportDirectoryHolderImpl;
@@ -134,6 +135,9 @@ public final class ReportComputeEngineContainerPopulator implements ContainerPop
MetricModule.class,
+ // We need to add PropertiesDao here because otherwise we only have access to ReadOnlyPropertiesDao
+ PropertiesDao.class,
+
// holders
AnalysisMetadataHolderImpl.class,
CrossProjectDuplicationStatusHolderImpl.class,