aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/build.gradle2
-rw-r--r--server/sonar-webserver-es/build.gradle44
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentIndex.java (renamed from server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndex.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentIndexResults.java (renamed from server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndexResults.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentQuery.java (renamed from server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentQuery.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/package-info.java (renamed from server/sonar-server/src/main/java/org/sonar/server/component/index/package-info.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/es/IndexCreator.java (renamed from server/sonar-server/src/main/java/org/sonar/server/es/IndexCreator.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/es/IndexDefinitions.java (renamed from server/sonar-server/src/main/java/org/sonar/server/es/IndexDefinitions.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/es/RecoveryIndexer.java (renamed from server/sonar-server/src/main/java/org/sonar/server/es/RecoveryIndexer.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/EsDbCompatibility.java (renamed from server/sonar-server/src/main/java/org/sonar/server/es/metadata/EsDbCompatibility.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/EsDbCompatibilityImpl.java (renamed from server/sonar-server/src/main/java/org/sonar/server/es/metadata/EsDbCompatibilityImpl.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/package-info.java (renamed from server/sonar-server/src/main/java/org/sonar/server/es/metadata/package-info.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/es/package-info.java23
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java (renamed from server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueIndex.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueQuery.java (renamed from server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueQuery.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueQueryFactory.java (renamed from server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueQueryFactory.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/package-info.java (renamed from server/sonar-server/src/main/java/org/sonar/server/issue/index/package-info.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java (renamed from server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectMeasuresQuery.java (renamed from server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresQuery.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectsEsModule.java (renamed from server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectsEsModule.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectsTextSearchQueryFactory.java (renamed from server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectsTextSearchQueryFactory.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/package-info.java (renamed from server/sonar-server/src/main/java/org/sonar/server/measure/index/package-info.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/PermissionIndexer.java (renamed from server/sonar-server/src/main/java/org/sonar/server/permission/index/PermissionIndexer.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/PermissionIndexerDao.java (renamed from server/sonar-server/src/main/java/org/sonar/server/permission/index/PermissionIndexerDao.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/WebAuthorizationTypeSupport.java (renamed from server/sonar-server/src/main/java/org/sonar/server/permission/index/WebAuthorizationTypeSupport.java)0
-rw-r--r--server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/package-info.java (renamed from server/sonar-server/src/main/java/org/sonar/server/permission/index/package-info.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexCombinationTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexCombinationTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureExactTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureExactTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureFavoriteTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureFavoriteTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureKeyTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureKeyTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePartialTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePartialTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePrefixTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePrefixTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureRecentlyBrowsedTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureRecentlyBrowsedTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexHighlightTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexHighlightTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexLoginTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexLoginTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexMultipleWordsTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexMultipleWordsTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexScoreTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexScoreTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexSearchTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexSearchTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/es/IndexCreatorTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/es/IndexCreatorTest.java)2
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/es/RecoveryIndexerTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/es/RecoveryIndexerTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/es/TestEsDbCompatibility.java (renamed from server/sonar-server/src/test/java/org/sonar/server/es/TestEsDbCompatibility.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/es/metadata/EsDbCompatibilityImplTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/es/metadata/EsDbCompatibilityImplTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexDebtTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexDebtTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexFacetsTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexFacetsTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexFiltersTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexFiltersTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexProjectStatisticsTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexProjectStatisticsTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityHotspotsTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityHotspotsTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSortTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSortTest.java)2
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexTest.java)2
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueQueryFactoryTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueQueryFactoryTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueQueryTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueQueryTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndex.java (renamed from server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndex.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndexDefinition.java (renamed from server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexDefinition.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndexer.java (renamed from server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexer.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerDaoTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerDaoTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerTester.java (renamed from server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerTester.java)0
-rw-r--r--server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/WebAuthorizationTypeSupportTest.java (renamed from server/sonar-server/src/test/java/org/sonar/server/permission/index/WebAuthorizationTypeSupportTest.java)0
-rw-r--r--server/sonar-webserver-es/src/test/resources/logback-test.xml26
-rw-r--r--server/sonar-webserver-webapi/build.gradle2
-rw-r--r--server/sonar-webserver/build.gradle1
63 files changed, 100 insertions, 4 deletions
diff --git a/server/sonar-server/build.gradle b/server/sonar-server/build.gradle
index f225dbac9ca..4084fea8809 100644
--- a/server/sonar-server/build.gradle
+++ b/server/sonar-server/build.gradle
@@ -52,6 +52,7 @@ dependencies {
compile project(':server:sonar-server-common')
compile project(':server:sonar-webserver-auth')
compile project(':server:sonar-webserver-common')
+ compile project(':server:sonar-webserver-es')
compile project(':server:sonar-webserver-ws')
compile project(':sonar-core')
compile project(':sonar-duplications')
@@ -83,6 +84,7 @@ dependencies {
testCompile project(':server:sonar-db-testing')
testCompile project(path: ":server:sonar-server-common", configuration: "tests")
testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests")
+ testCompile project(path: ":server:sonar-webserver-es", configuration: "tests")
testCompile project(path: ":server:sonar-webserver-ws", configuration: "tests")
testCompile project(':sonar-testing-harness')
diff --git a/server/sonar-webserver-es/build.gradle b/server/sonar-webserver-es/build.gradle
new file mode 100644
index 00000000000..99c586d6ab3
--- /dev/null
+++ b/server/sonar-webserver-es/build.gradle
@@ -0,0 +1,44 @@
+sonarqube {
+ properties {
+ property 'sonar.projectName', "${projectTitle} :: WebServer :: ES"
+ }
+}
+
+configurations {
+ tests
+
+ testCompile.extendsFrom tests
+}
+
+dependencies {
+ // please keep the list grouped by configuration and ordered by name
+
+ compile 'com.google.guava:guava'
+ compile project(':server:sonar-server-common')
+ compile project(':server:sonar-webserver-auth')
+ compile project(path: ':sonar-plugin-api', configuration: 'shadow')
+
+ compileOnly 'com.google.code.findbugs:jsr305'
+ compileOnly 'javax.servlet:javax.servlet-api'
+
+ testCompile 'org.apache.logging.log4j:log4j-api'
+ testCompile 'org.apache.logging.log4j:log4j-core'
+ testCompile 'org.assertj:assertj-guava'
+ testCompile 'com.google.code.findbugs:jsr305'
+ testCompile 'com.h2database:h2'
+ testCompile 'com.tngtech.java:junit-dataprovider'
+ testCompile 'org.mockito:mockito-core'
+ testCompile project(':server:sonar-db-testing')
+ testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests")
+ testCompile project(path: ":server:sonar-server-common", configuration: "tests")
+ testCompile project(':sonar-testing-harness')
+}
+
+task testJar(type: Jar) {
+ classifier = 'tests'
+ from sourceSets.test.output
+}
+
+artifacts {
+ tests testJar
+}
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndex.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentIndex.java
index b4feffd7863..b4feffd7863 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndex.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentIndex.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndexResults.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentIndexResults.java
index 83b6b2b62a0..83b6b2b62a0 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndexResults.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentIndexResults.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentQuery.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentQuery.java
index 252becafc6b..252becafc6b 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentQuery.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/ComponentQuery.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/component/index/package-info.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/package-info.java
index 0dc30a8e4e7..0dc30a8e4e7 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/component/index/package-info.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/component/index/package-info.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/es/IndexCreator.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/IndexCreator.java
index 0a45e823dbe..0a45e823dbe 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/es/IndexCreator.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/IndexCreator.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/es/IndexDefinitions.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/IndexDefinitions.java
index 22b8b59b0c3..22b8b59b0c3 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/es/IndexDefinitions.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/IndexDefinitions.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/es/RecoveryIndexer.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/RecoveryIndexer.java
index f700fc635f5..f700fc635f5 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/es/RecoveryIndexer.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/RecoveryIndexer.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/es/metadata/EsDbCompatibility.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/EsDbCompatibility.java
index 7733aab7682..7733aab7682 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/es/metadata/EsDbCompatibility.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/EsDbCompatibility.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/es/metadata/EsDbCompatibilityImpl.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/EsDbCompatibilityImpl.java
index c535e81d92d..c535e81d92d 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/es/metadata/EsDbCompatibilityImpl.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/EsDbCompatibilityImpl.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/es/metadata/package-info.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/package-info.java
index dfcbf2d7554..dfcbf2d7554 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/es/metadata/package-info.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/metadata/package-info.java
diff --git a/server/sonar-webserver-es/src/main/java/org/sonar/server/es/package-info.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/package-info.java
new file mode 100644
index 00000000000..c4a4668ba6a
--- /dev/null
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/es/package-info.java
@@ -0,0 +1,23 @@
+/*
+ * SonarQube
+ * Copyright (C) 2009-2019 SonarSource SA
+ * mailto:info AT sonarsource DOT com
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+@ParametersAreNonnullByDefault
+package org.sonar.server.es;
+
+import javax.annotation.ParametersAreNonnullByDefault;
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueIndex.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java
index ea1182c26b8..ea1182c26b8 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueIndex.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueIndex.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueQuery.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueQuery.java
index 9109b3fb6f4..9109b3fb6f4 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueQuery.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueQuery.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueQueryFactory.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueQueryFactory.java
index 7aacc93e2c7..7aacc93e2c7 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueQueryFactory.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/IssueQueryFactory.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/index/package-info.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/package-info.java
index 5bbf5661d41..5bbf5661d41 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/index/package-info.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/issue/index/package-info.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java
index e60cf06a1db..e60cf06a1db 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresQuery.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectMeasuresQuery.java
index 2074358fcae..2074358fcae 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresQuery.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectMeasuresQuery.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectsEsModule.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectsEsModule.java
index 4517de975e7..4517de975e7 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectsEsModule.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectsEsModule.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectsTextSearchQueryFactory.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectsTextSearchQueryFactory.java
index 63a487a0a37..63a487a0a37 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectsTextSearchQueryFactory.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/ProjectsTextSearchQueryFactory.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/measure/index/package-info.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/package-info.java
index 28d89c96888..28d89c96888 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/measure/index/package-info.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/measure/index/package-info.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/permission/index/PermissionIndexer.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/PermissionIndexer.java
index f509a15b099..f509a15b099 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/permission/index/PermissionIndexer.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/PermissionIndexer.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/permission/index/PermissionIndexerDao.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/PermissionIndexerDao.java
index a819ea71d4a..a819ea71d4a 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/permission/index/PermissionIndexerDao.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/PermissionIndexerDao.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/permission/index/WebAuthorizationTypeSupport.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/WebAuthorizationTypeSupport.java
index eb4e2a53bfe..eb4e2a53bfe 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/permission/index/WebAuthorizationTypeSupport.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/WebAuthorizationTypeSupport.java
diff --git a/server/sonar-server/src/main/java/org/sonar/server/permission/index/package-info.java b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/package-info.java
index db70696c0f3..db70696c0f3 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/permission/index/package-info.java
+++ b/server/sonar-webserver-es/src/main/java/org/sonar/server/permission/index/package-info.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexCombinationTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexCombinationTest.java
index fcd2576ede2..fcd2576ede2 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexCombinationTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexCombinationTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureExactTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureExactTest.java
index d352b6c718a..d352b6c718a 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureExactTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureExactTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureFavoriteTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureFavoriteTest.java
index 34a3683e207..34a3683e207 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureFavoriteTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureFavoriteTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureKeyTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureKeyTest.java
index 50663625573..50663625573 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureKeyTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureKeyTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePartialTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePartialTest.java
index 8f243f367c5..8f243f367c5 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePartialTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePartialTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePrefixTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePrefixTest.java
index 0ad8be8907c..0ad8be8907c 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePrefixTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeaturePrefixTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureRecentlyBrowsedTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureRecentlyBrowsedTest.java
index aa2870cce86..aa2870cce86 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureRecentlyBrowsedTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexFeatureRecentlyBrowsedTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexHighlightTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexHighlightTest.java
index 317430009b1..317430009b1 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexHighlightTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexHighlightTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexLoginTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexLoginTest.java
index 89b8fbb25fd..89b8fbb25fd 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexLoginTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexLoginTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexMultipleWordsTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexMultipleWordsTest.java
index bb91e5ec0d6..bb91e5ec0d6 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexMultipleWordsTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexMultipleWordsTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexScoreTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexScoreTest.java
index 4a9213de8da..4a9213de8da 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexScoreTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexScoreTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexSearchTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexSearchTest.java
index 25a16027af0..25a16027af0 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexSearchTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexSearchTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexTest.java
index c625ad61f4a..c625ad61f4a 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/component/index/ComponentIndexTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/component/index/ComponentIndexTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/es/IndexCreatorTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/IndexCreatorTest.java
index b2b26d951a7..f2a3f08bbed 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/es/IndexCreatorTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/IndexCreatorTest.java
@@ -192,7 +192,7 @@ public class IndexCreatorTest {
@Test
public void start_makes_index_read_write_if_read_only() {
FakeIndexDefinition fakeIndexDefinition = new FakeIndexDefinition();
- IndexMainType fakeIndexMainType= FakeIndexDefinition.INDEX_TYPE.getMainType();
+ IndexMainType fakeIndexMainType = FakeIndexDefinition.INDEX_TYPE.getMainType();
run(fakeIndexDefinition);
IndexMainType mainType = MetadataIndexDefinition.TYPE_METADATA;
diff --git a/server/sonar-server/src/test/java/org/sonar/server/es/RecoveryIndexerTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/RecoveryIndexerTest.java
index 8f9bf8b324f..8f9bf8b324f 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/es/RecoveryIndexerTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/RecoveryIndexerTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/es/TestEsDbCompatibility.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/TestEsDbCompatibility.java
index 5b8cc1ee7f2..5b8cc1ee7f2 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/es/TestEsDbCompatibility.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/TestEsDbCompatibility.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/es/metadata/EsDbCompatibilityImplTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/metadata/EsDbCompatibilityImplTest.java
index 3ba78fc31aa..3ba78fc31aa 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/es/metadata/EsDbCompatibilityImplTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/es/metadata/EsDbCompatibilityImplTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexDebtTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexDebtTest.java
index e46f938784c..e46f938784c 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexDebtTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexDebtTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexFacetsTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexFacetsTest.java
index e72f44a18b7..e72f44a18b7 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexFacetsTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexFacetsTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexFiltersTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexFiltersTest.java
index 7bdb1edfdae..7bdb1edfdae 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexFiltersTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexFiltersTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexProjectStatisticsTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexProjectStatisticsTest.java
index f751e19972e..f751e19972e 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexProjectStatisticsTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexProjectStatisticsTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityHotspotsTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityHotspotsTest.java
index 46ba1e80a12..46ba1e80a12 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityHotspotsTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityHotspotsTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java
index facee47775b..facee47775b 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSecurityReportsTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSortTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSortTest.java
index e5c1ec193dd..32492298b2b 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexSortTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexSortTest.java
@@ -27,10 +27,10 @@ import org.elasticsearch.search.SearchHit;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
+import org.sonar.api.impl.utils.TestSystem2;
import org.sonar.api.issue.Issue;
import org.sonar.api.rule.Severity;
import org.sonar.api.utils.System2;
-import org.sonar.api.impl.utils.TestSystem2;
import org.sonar.db.DbTester;
import org.sonar.db.component.ComponentDto;
import org.sonar.db.organization.OrganizationDto;
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexTest.java
index e34a915f808..3a4520199b4 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueIndexTest.java
@@ -32,9 +32,9 @@ import org.elasticsearch.search.SearchHit;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
+import org.sonar.api.impl.utils.TestSystem2;
import org.sonar.api.issue.Issue;
import org.sonar.api.utils.System2;
-import org.sonar.api.impl.utils.TestSystem2;
import org.sonar.db.DbTester;
import org.sonar.db.component.ComponentDto;
import org.sonar.db.organization.OrganizationDto;
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueQueryFactoryTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueQueryFactoryTest.java
index 2a321a15480..2a321a15480 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueQueryFactoryTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueQueryFactoryTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueQueryTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueQueryTest.java
index b8dccce0af7..b8dccce0af7 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueQueryTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/issue/index/IssueQueryTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndex.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndex.java
index 22deb1a535b..22deb1a535b 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndex.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndex.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexDefinition.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndexDefinition.java
index 2dfe93c4c29..2dfe93c4c29 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexDefinition.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndexDefinition.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexer.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndexer.java
index fd9e79f31bf..fd9e79f31bf 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexer.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/FooIndexer.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerDaoTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerDaoTest.java
index da06a0659c5..da06a0659c5 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerDaoTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerDaoTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java
index 1dda0b4e89a..1dda0b4e89a 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerTester.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerTester.java
index 9fb5f837187..9fb5f837187 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerTester.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/PermissionIndexerTester.java
diff --git a/server/sonar-server/src/test/java/org/sonar/server/permission/index/WebAuthorizationTypeSupportTest.java b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/WebAuthorizationTypeSupportTest.java
index 9a94ba36f93..9a94ba36f93 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/permission/index/WebAuthorizationTypeSupportTest.java
+++ b/server/sonar-webserver-es/src/test/java/org/sonar/server/permission/index/WebAuthorizationTypeSupportTest.java
diff --git a/server/sonar-webserver-es/src/test/resources/logback-test.xml b/server/sonar-webserver-es/src/test/resources/logback-test.xml
new file mode 100644
index 00000000000..3e34b0f9fc8
--- /dev/null
+++ b/server/sonar-webserver-es/src/test/resources/logback-test.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<configuration debug="false">
+ <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator"/>
+
+ <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
+ <pattern>
+ %d{yyyy.MM.dd HH:mm:ss} %-5level %msg%n
+ </pattern>
+ </encoder>
+ </appender>
+
+ <root>
+ <level value="INFO"/>
+ <appender-ref ref="CONSOLE"/>
+ </root>
+
+ <logger name="ch.qos.logback">
+ <level value="WARN"/>
+ </logger>
+
+ <logger name="okhttp3.mockwebserver">
+ <level value="WARN"/>
+ </logger>
+
+</configuration>
diff --git a/server/sonar-webserver-webapi/build.gradle b/server/sonar-webserver-webapi/build.gradle
index a859ceaff19..f99c8246c6a 100644
--- a/server/sonar-webserver-webapi/build.gradle
+++ b/server/sonar-webserver-webapi/build.gradle
@@ -18,6 +18,7 @@ dependencies {
compile project(':server:sonar-process')
compile project(':server:sonar-server')
compile project(':server:sonar-webserver-auth')
+ compile project(':server:sonar-webserver-es')
compile project(':server:sonar-webserver-ws')
compileOnly 'com.google.code.findbugs:jsr305'
@@ -34,6 +35,7 @@ dependencies {
testCompile project(path: ":server:sonar-server", configuration: "tests")
testCompile project(path: ":server:sonar-server-common", configuration: "tests")
testCompile project(path: ":server:sonar-webserver-auth", configuration: "tests")
+ testCompile project(path: ":server:sonar-webserver-es", configuration: "tests")
testCompile project(path: ":server:sonar-webserver-ws", configuration: "tests")
testCompile project(':sonar-testing-harness')
}
diff --git a/server/sonar-webserver/build.gradle b/server/sonar-webserver/build.gradle
index 33ad8a34b99..22528ec5f8a 100644
--- a/server/sonar-webserver/build.gradle
+++ b/server/sonar-webserver/build.gradle
@@ -14,7 +14,6 @@ dependencies {
compile project(':sonar-core')
compile project(':server:sonar-process')
compile project(':server:sonar-server')
- compile project(':server:sonar-server-common')
compile project(':server:sonar-webserver-webapi')
compileOnly 'com.google.code.findbugs:jsr305'