OpenSearch Schema gets created when first booting Optimize

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.12.0-alpha2
    • Affects Version/s: None
    • Component/s: None

      When first booting Optimize, the OpenSearch Schema gets created

      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

            Assignee:
            Unassigned
            Reporter:
            Giuliano Rodrigues Lima
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: