Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-7348

Create abstraction layer for ElasticSearch Schema

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.12.0-alpha1
    • None
    • None

      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

        This is the controller panel for Smart Panels app

            [OPT-7348] Create abstraction layer for ElasticSearch Schema

            Giuliano Rodrigues Lima created issue -
            Giuliano Rodrigues Lima made changes -
            Link New: This issue is related to OPT-7229 [ OPT-7229 ]
            Giuliano Rodrigues Lima made changes -
            Link New: This issue is depended on by OPT-7229 [ OPT-7229 ]
            Giuliano Rodrigues Lima made changes -
            Link New: This issue is depended on by OPT-7349 [ OPT-7349 ]
            Giuliano Rodrigues Lima made changes -
            Status Original: Triage [ 10612 ] New: In Development [ 10312 ]
            Giuliano Rodrigues Lima made changes -
            Description Original: 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|
            New: 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|
            h2. Testing notes

            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
            Giuliano Rodrigues Lima made changes -
            Assignee Original: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] New: Joshua Windels [ joshua.windels ]
            Status Original: In Development [ 10312 ] New: In Review [ 10212 ]
            Giuliano Rodrigues Lima made changes -
            Description Original: 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|
            h2. Testing notes

            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
            New: 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|
            h2. 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
            Giuliano Rodrigues Lima made changes -
            Assignee Original: Joshua Windels [ joshua.windels ] New: Cigdem Ilhan [ cigdem.ilhan ]
            Status Original: In Review [ 10212 ] New: Ready for Testing [ 10008 ]
            Cigdem Ilhan made changes -
            Status Original: Ready for Testing [ 10008 ] New: In Test [ 10004 ]

              Unassigned Unassigned
              giuliano.rodrigues-lima Giuliano Rodrigues Lima
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: