-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
Create abstraction layer for ElasticSearch schema. This means refactoring at least these files
./backend/src/test/java/org/camunda/optimize/service/schema/type/MyUpdatedEventIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/DefaultIndexMappingCreator.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/ElasticSearchSchemaManager.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/ElasticsearchMetadataService.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/IndexMappingCreator.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/IndexSettingsBuilder.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/MappingMetadataUtil.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/PropertiesAppender.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/RequestOptionsProvider.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/AbstractDefinitionIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/AbstractInstanceIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/AlertIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/BusinessKeyIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/CollectionIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/DashboardIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/DashboardShareIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/DecisionDefinitionIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/DecisionInstanceIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/ExternalProcessVariableIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/InstantPreviewDashboardMetadataIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/LicenseIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/MetadataIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/OnboardingStateIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/ProcessDefinitionIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/ProcessInstanceArchiveIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/ProcessInstanceIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/ProcessOverviewIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/ReportShareIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/SettingsIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/TenantIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/TerminatedUserSessionIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/VariableLabelIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/VariableUpdateInstanceIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/events/CamundaActivityEventIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/events/EventIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/events/EventProcessInstanceIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/events/EventProcessMappingIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/events/EventProcessPublishStateIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/events/EventSequenceCountIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/events/EventTraceStateIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/index/ImportIndexIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/index/PositionBasedImportIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/index/TimestampBasedImportIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/report/AbstractReportIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/report/CombinedReportIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/report/SingleDecisionReportIndex.java |
./util/optimize-commons/src/main/java/org/camunda/optimize/service/es/schema/index/report/SingleProcessReportIndex.java |
Testing notes
Please do a thorough regression test because this changes are fundamental to the core working of Optimize. The changes on this ticket should cause no change whatsoever in the behavior of Optimize, since it is exclusively a code refactoring. So please run a quick regression test to make sure nothing has changed