-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
Not defined
make the reports database agnostic
Testing notes
Implemented ReportWriterOS and ReportReaderOS should add 3 records at the single-report-index while launching the app with os db profile. The content of these records should be the same as we have while launching the app with es db profile.
To make this process easier I would advice to set up the chrome extension Multi Elasticsearch Head and connect to the elasticsearch(9200 port) and opensearch(9205 port) after launching the app 2 times with the different db profiles. Then find the tab "Browse" and open indices to see the content of them. Then compare.
To launch the app you have to with opensearch db profile:
- 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
- Then go to the tab with chrome extension