aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ce
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-01-26 18:20:57 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-01-31 13:53:44 +0100
commit934bf664b8e032c76c9e64e28ddb3ee46d7adbc3 (patch)
tree9b4c907167c91936a7b214b49d284c6f35945b23 /server/sonar-ce
parent346e8661756f15aa105a585b1d8a05fe326e1244 (diff)
downloadsonarqube-934bf664b8e032c76c9e64e28ddb3ee46d7adbc3.tar.gz
sonarqube-934bf664b8e032c76c9e64e28ddb3ee46d7adbc3.zip
SONAR-8704 Refactor Elasticsearch types "authorization"
Multiple indices define a type "authorization". The related code was duplicated, and sometimes had some minor differences. This commits share all the management of these types in the same bunch of classes. It also allows to quickly create a project-related index, without having to fix the different locations which may require project re-indexing.
Diffstat (limited to 'server/sonar-ce')
-rw-r--r--server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
index 55a562597c0..8b7449846e3 100644
--- a/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
+++ b/server/sonar-ce/src/test/java/org/sonar/ce/container/ComputeEngineContainerImplTest.java
@@ -108,7 +108,7 @@ public class ComputeEngineContainerImplTest {
COMPONENTS_IN_LEVEL_1_AT_CONSTRUCTION
+ 25 // level 1
+ 47 // content of DaoModule
- + 2 // content of EsSearchModule
+ + 3 // content of EsSearchModule
+ 63 // content of CorePropertyDefinitions
+ 1 // content of CePropertyDefinitions
);