]> source.dussan.org Git - sonarqube.git/commitdiff
Add PropertiesDao in CE container
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 25 Apr 2016 09:59:52 +0000 (11:59 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 25 Apr 2016 09:59:52 +0000 (11:59 +0200)
server/sonar-server/src/main/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulator.java

index e78c44c8e79169e85d567f665be86861b2e1b5a3..e571ffd1363b9f43af82c2a84795190213cd090b 100644 (file)
@@ -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,