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

Create abstraction layer for ElasticSearch Schema

XMLWordPrintable

    • 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

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

                Created:
                Updated:
                Resolved: