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

OpenSearch Schema is able to check and update indexes

XMLWordPrintable

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

      When booting Optimize, the OpenSearch schema is able to check and update existing indexes, write/update the metadata by using the metadata service and is able to write/read the Optimize License 

       

      Testing Notes

      1. Run 
        docker-compose -f docker-compose.yml --profile opensearch up -d
      1. Start Optimize with 
        SPRING_PROFILES_ACTIVE=opensearch
      1. The startup will fail and that's ok, BUT...
      2. Check that all indexes were created in opensearch
        1. For that check first the log messages during startup and see if there are logs of indexes being created and ultimately "Opensearch schema initialized successfully"
        2. Check the Opensearch database with your favorite browser extension in localhost:9205 and see if the indexes are indeed there
        3. Take some samples and check if mappings and aliases are created properly, e.g. 
          GET http://localhost:9205/INDEX_ALIAS_OR_NAME_HERE/_mappings
          GET http://localhost:9205/INDEX_ALIAS_OR_NAME_HERE/_alias
      1. Shutdown optimize
      2. Restart optimize
      3. Watch that no new errors show up in the logs
      4. Do the same verifications as described in step 2 and make sure that everything is working the same

       

        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: