]> source.dussan.org Git - sonarqube.git/commit
SONAR-11791 use single type ES indices
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 20 Feb 2019 17:46:05 +0000 (18:46 +0100)
committerSonarTech <sonartech@sonarsource.com>
Tue, 19 Mar 2019 19:21:19 +0000 (20:21 +0100)
commita8f011b7f52fedd8f0294db46d3f02334383391d
tree3f52e5670ddf9bb8d10cc61f42d6f76edc02fccb
parent277774059792a8e27971243e46d0961fdd44bac8
SONAR-11791 use single type ES indices
146 files changed:
server/sonar-ce-task-projectanalysis/src/test/java/org/sonar/ce/task/projectanalysis/step/PersistAdHocRulesStepTest.java
server/sonar-server-common/src/main/java/org/sonar/server/component/index/ComponentDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/component/index/ComponentIndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/component/index/ComponentIndexer.java
server/sonar-server-common/src/main/java/org/sonar/server/es/BaseDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/es/BulkIndexer.java
server/sonar-server-common/src/main/java/org/sonar/server/es/DefaultIndexSettings.java [deleted file]
server/sonar-server-common/src/main/java/org/sonar/server/es/DefaultIndexSettingsElement.java [deleted file]
server/sonar-server-common/src/main/java/org/sonar/server/es/DocId.java
server/sonar-server-common/src/main/java/org/sonar/server/es/EsClient.java
server/sonar-server-common/src/main/java/org/sonar/server/es/Index.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/IndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/es/IndexDefinitionHash.java
server/sonar-server-common/src/main/java/org/sonar/server/es/IndexType.java
server/sonar-server-common/src/main/java/org/sonar/server/es/NewIndex.java [deleted file]
server/sonar-server-common/src/main/java/org/sonar/server/es/OneToOneResilientIndexingListener.java
server/sonar-server-common/src/main/java/org/sonar/server/es/metadata/MetadataIndex.java
server/sonar-server-common/src/main/java/org/sonar/server/es/metadata/MetadataIndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/BuiltIndex.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/DefaultIndexSettings.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/DefaultIndexSettingsElement.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/FieldAware.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/KeywordFieldBuilder.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/NestedFieldBuilder.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/NewAuthorizedIndex.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/NewIndex.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/NewRegularIndex.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/SettingsConfiguration.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/StringFieldBuilder.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/TextFieldBuilder.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/TypeMapping.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/newindex/package-info.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/es/request/ProxyClusterHealthRequestBuilder.java
server/sonar-server-common/src/main/java/org/sonar/server/es/request/ProxyCreateIndexRequestBuilder.java
server/sonar-server-common/src/main/java/org/sonar/server/es/request/ProxyIndicesStatsRequestBuilder.java
server/sonar-server-common/src/main/java/org/sonar/server/es/textsearch/ComponentTextSearchFeatureRepertoire.java
server/sonar-server-common/src/main/java/org/sonar/server/es/textsearch/JavaTokenizer.java
server/sonar-server-common/src/main/java/org/sonar/server/issue/index/IssueDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/issue/index/IssueIndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/issue/index/IssueIndexer.java
server/sonar-server-common/src/main/java/org/sonar/server/measure/index/ProjectMeasuresDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndexer.java
server/sonar-server-common/src/main/java/org/sonar/server/permission/index/AuthorizationDoc.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/permission/index/AuthorizationScope.java
server/sonar-server-common/src/main/java/org/sonar/server/permission/index/IndexAuthorizationConstants.java
server/sonar-server-common/src/main/java/org/sonar/server/qualityprofile/index/ActiveRuleDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/qualityprofile/index/ActiveRuleIndexer.java
server/sonar-server-common/src/main/java/org/sonar/server/rule/index/RuleDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/rule/index/RuleExtensionDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/rule/index/RuleIndex.java
server/sonar-server-common/src/main/java/org/sonar/server/rule/index/RuleIndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/rule/index/RuleIndexer.java
server/sonar-server-common/src/main/java/org/sonar/server/user/index/UserDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/user/index/UserIndex.java
server/sonar-server-common/src/main/java/org/sonar/server/user/index/UserIndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/user/index/UserIndexer.java
server/sonar-server-common/src/main/java/org/sonar/server/view/index/ViewDoc.java
server/sonar-server-common/src/main/java/org/sonar/server/view/index/ViewIndex.java
server/sonar-server-common/src/main/java/org/sonar/server/view/index/ViewIndexDefinition.java
server/sonar-server-common/src/main/java/org/sonar/server/view/index/ViewIndexer.java
server/sonar-server-common/src/test/java/org/sonar/server/component/index/ComponentIndexerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/BulkIndexerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/DefaultIndexSettingsTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/DocIdTest.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/EsClientTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/EsTester.java
server/sonar-server-common/src/test/java/org/sonar/server/es/FakeDoc.java
server/sonar-server-common/src/test/java/org/sonar/server/es/FakeIndexDefinition.java [deleted file]
server/sonar-server-common/src/test/java/org/sonar/server/es/IndexDefinitionContextTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/IndexDefinitionHashTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/IndexTest.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/IndexTypeTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/NewIndexSettingsConfigurationTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/NewIndexTest.java [deleted file]
server/sonar-server-common/src/test/java/org/sonar/server/es/OneToManyResilientIndexingListenerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/OneToOneResilientIndexingListenerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/metadata/MetadataIndexTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/newindex/FakeIndexDefinition.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/newindex/FieldAwareTest.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/newindex/NewAuthorizedIndexTest.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/newindex/NewIndexTest.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/newindex/NewRegularIndexTest.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/newindex/TestNewIndex.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyCreateIndexRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyDeleteRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyGetRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyIndexRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyIndicesExistsRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyIndicesStatsRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyNodesStatsRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyPutMappingRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyRefreshRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxySearchRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxySearchScrollRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/es/request/ProxyWebServerHealthRequestBuilderTest.java
server/sonar-server-common/src/test/java/org/sonar/server/issue/index/IssueIndexDefinitionTest.java
server/sonar-server-common/src/test/java/org/sonar/server/issue/index/IssueIndexerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/measure/index/ProjectMeasuresIndexerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/permission/index/AuthorizationDocTest.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/qualityprofile/index/ActiveRuleIndexerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/rule/index/RuleIndexDefinitionTest.java
server/sonar-server-common/src/test/java/org/sonar/server/rule/index/RuleIndexTest.java
server/sonar-server-common/src/test/java/org/sonar/server/rule/index/RuleIndexerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/user/index/UserIndexDefinitionTest.java
server/sonar-server-common/src/test/java/org/sonar/server/user/index/UserIndexTest.java
server/sonar-server-common/src/test/java/org/sonar/server/user/index/UserIndexerTest.java
server/sonar-server-common/src/test/java/org/sonar/server/view/index/ViewIndexDefinitionTest.java
server/sonar-server-common/src/test/java/org/sonar/server/view/index/ViewIndexTest.java
server/sonar-server-common/src/test/java/org/sonar/server/view/index/ViewIndexerTest.java
server/sonar-server/src/main/java/org/sonar/server/component/index/ComponentIndex.java
server/sonar-server/src/main/java/org/sonar/server/component/ws/SuggestionsAction.java
server/sonar-server/src/main/java/org/sonar/server/es/IndexCreator.java
server/sonar-server/src/main/java/org/sonar/server/es/IndexDefinitions.java
server/sonar-server/src/main/java/org/sonar/server/es/IndexerStartupTask.java
server/sonar-server/src/main/java/org/sonar/server/es/RecoveryIndexer.java
server/sonar-server/src/main/java/org/sonar/server/issue/index/IssueIndex.java
server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectMeasuresIndex.java
server/sonar-server/src/main/java/org/sonar/server/measure/index/ProjectsTextSearchQueryFactory.java
server/sonar-server/src/main/java/org/sonar/server/permission/index/PermissionIndexer.java
server/sonar-server/src/main/java/org/sonar/server/platform/BackendCleanup.java
server/sonar-server/src/test/java/org/sonar/server/es/IndexCreatorTest.java
server/sonar-server/src/test/java/org/sonar/server/es/IndexerStartupTaskTest.java
server/sonar-server/src/test/java/org/sonar/server/es/MigrationEsClientImplTest.java
server/sonar-server/src/test/java/org/sonar/server/es/RecoveryIndexerTest.java
server/sonar-server/src/test/java/org/sonar/server/es/metadata/EsDbCompatibilityImplTest.java
server/sonar-server/src/test/java/org/sonar/server/issue/WebIssueStorageTest.java
server/sonar-server/src/test/java/org/sonar/server/issue/index/IssueIndexTest.java
server/sonar-server/src/test/java/org/sonar/server/measure/index/ProjectMeasuresIndexTest.java
server/sonar-server/src/test/java/org/sonar/server/measure/index/ProjectMeasuresIndexTextSearchTest.java
server/sonar-server/src/test/java/org/sonar/server/organization/MemberUpdaterTest.java
server/sonar-server/src/test/java/org/sonar/server/organization/ws/CreateActionTest.java
server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndex.java
server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexDefinition.java
server/sonar-server/src/test/java/org/sonar/server/permission/index/FooIndexer.java
server/sonar-server/src/test/java/org/sonar/server/permission/index/PermissionIndexerTest.java
server/sonar-server/src/test/java/org/sonar/server/permission/index/WebAuthorizationTypeSupportTest.java
server/sonar-server/src/test/java/org/sonar/server/platform/BackendCleanupTest.java
server/sonar-server/src/test/java/org/sonar/server/platform/monitoring/cluster/SearchNodesInfoLoaderImplTest.java
server/sonar-server/src/test/java/org/sonar/server/projecttag/ws/SearchActionTest.java
server/sonar-server/src/test/java/org/sonar/server/rule/RegisterRulesTest.java
server/sonar-server/src/test/java/org/sonar/server/search/BaseDocTest.java
server/sonar-server/src/test/java/org/sonar/server/user/UserUpdaterCreateTest.java
server/sonar-server/src/test/java/org/sonar/server/user/UserUpdaterUpdateTest.java
server/sonar-server/src/test/java/org/sonar/server/user/ws/CreateActionTest.java
server/sonar-server/src/test/java/org/sonar/server/user/ws/DeactivateActionTest.java