]> source.dussan.org Git - sonarqube.git/commit
SONAR-6732 detect DevCockpit without causing premature start 881/head
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 30 Mar 2016 14:09:41 +0000 (16:09 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 31 Mar 2016 09:34:49 +0000 (11:34 +0200)
commit5482aa0fb73622ca321461de339015e0c6a43c18
treeb22a663f6f71a7589c58a8c138029223f95654d9
parentfed89923245dae44352fed1c2ff5d40bc933cdda
SONAR-6732 detect DevCockpit without causing premature start

reading adapter rather that getting the PersistDevelopersDelegate instance avoid triggering start of the component and/or any of its dependencies
in fact, previous implementation was causing premature start of DeveloperRepositoryImpl before Settings were loaded
server/sonar-server/src/main/java/org/sonar/server/computation/container/ComputeEngineContainer.java
server/sonar-server/src/main/java/org/sonar/server/computation/step/ReportComputationSteps.java
server/sonar-server/src/test/java/org/sonar/server/computation/container/ReportComputeEngineContainerPopulatorTest.java
server/sonar-server/src/test/java/org/sonar/server/computation/step/ComputationStepsTest.java