Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is reasonable to have mongo.host and elasticsearch.network.host environment properties in docker compose file.
But it is not reasonable to have cors environment property there when reason is for localhost value. Have local docker compose file for such purpose. Git ignore container docker-compose-local* which means that you can have local docker compose file named docker-compose-local.yml for such purpose.
In addition, mongo.host and elasticsearch.network.host environment properties are missing from docker-compose-integrationtest-yml.
Please adjust.
Otherwise it's fine!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, can do.
Though I'll note having tried this that it appears the OlogIT etc tests don't appear to run successfully regardless and I don't see them running in the CI/CD here?
So that at least I think should be addressed separately. But at least given how the tests are run, using the same args in the integration tests seems reasonable.
Except cors allowed origins 🤦
I realized upon inspection that it already defaults to localhost:3000 in the java configuration files when the value is unset.