aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-05-02 15:36:12 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-05-02 15:36:12 +0200
commit539155576ec77a213f8c4f2ed7ac6d1d244b9f22 (patch)
treee8ed531409789e40969522a57ed49fcc405b71ea
parent94427b2565dc1a08d97a5a3ff28cfb8b1fe283e7 (diff)
downloadsonarqube-539155576ec77a213f8c4f2ed7ac6d1d244b9f22.tar.gz
sonarqube-539155576ec77a213f8c4f2ed7ac6d1d244b9f22.zip
SONAR-5111 Add missing ProjectsWs to ServerComponents
-rw-r--r--sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java b/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java
index 5742f171ade..b05f65fa83d 100644
--- a/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java
+++ b/sonar-server/src/main/java/org/sonar/server/platform/ServerComponents.java
@@ -81,6 +81,7 @@ import org.sonar.server.charts.ChartFactory;
import org.sonar.server.cluster.LocalNonBlockingWorkQueue;
import org.sonar.server.component.DefaultComponentFinder;
import org.sonar.server.component.DefaultRubyComponentService;
+import org.sonar.server.component.ws.ProjectsWs;
import org.sonar.server.db.EmbeddedDatabaseFactory;
import org.sonar.server.db.migrations.DatabaseMigrations;
import org.sonar.server.db.migrations.DatabaseMigrator;
@@ -349,6 +350,7 @@ class ServerComponents {
pico.addSingleton(DefaultComponentFinder.class);
pico.addSingleton(DefaultRubyComponentService.class);
pico.addSingleton(ComponentDao.class);
+ pico.addSingleton(ProjectsWs.class);
// issues
pico.addSingleton(ServerIssueStorage.class);