You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the quarkus.mongodb.connection-string is provided the mongo devservice do not launch a container because the developer wants to use the mongo instance provided.
When the quarkus.mongodb.hosts is used to define a connection instead of quarkus.mongodb.connection-string a mongo container is created and started by the devservice at startup. Is it possible to not start a container to use the hosts provided ?
Just a question regarding the fix. How can I do - what is the strategy to do integration testing to check that the mongo database has been started or not depending on the properties ?
Description
When the
quarkus.mongodb.connection-string
is provided the mongo devservice do not launch a container because the developer wants to use the mongo instance provided.This behavior is defined here: https://github.com/quarkusio/quarkus/blob/main/extensions/mongodb-client/deployment/src/main/java/io/quarkus/mongodb/deployment/DevServicesMongoProcessor.java#L150
When the
quarkus.mongodb.hosts
is used to define a connection instead ofquarkus.mongodb.connection-string
a mongo container is created and started by the devservice at startup. Is it possible to not start a container to use the hosts provided ?Implementation ideas
Replace this:
by
The text was updated successfully, but these errors were encountered: