-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
When first booting Optimize, the OpenSearch Schema gets created
Testing Notes
- Run
docker-compose -f docker-compose.yml --profile opensearch up -d
- Start Optimize with
SPRING_PROFILES_ACTIVE=opensearch
- The startup will fail and that's ok, BUT...
- Check that all indexes were created in opensearch
- 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"
- Check the Opensearch database with your favorite browser extension in localhost:9205 and see if the indexes are indeed there
- 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
This is the controller panel for Smart Panels app
[OPT-7349] OpenSearch Schema gets created when first booting Optimize
Assignee | New: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] |
Status | Original: Triage [ 10612 ] | New: In Development [ 10312 ] |
Description | Original: When first booting Optimize, the OpenSearch Schema gets created |
New:
When first booting Optimize, the OpenSearch Schema gets created
h2. Testing Notes # Run {code:java} docker-compose -f docker-compose.yml --profile opensearch up -d{code} # Start Optimize with {code:java} SPRING_PROFILES_ACTIVE=opensearch{code} # The startup will fail and that's ok, BUT... # Check that all indexes were created in opensearch ## 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" ## Check the Opensearch database with your favorite browser extension in localhost:9205 and see if the indexes are indeed there ## Take some samples and check if mappings and aliases are created properly, e.g. {code:java} GET http://localhost:9205/INDEX_ALIAS_OR_NAME_HERE/_mappings{code} {code:java} GET http://localhost:9205/INDEX_ALIAS_OR_NAME_HERE/_alias{code} |