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
With mongodb connection string as following: mongodb+srv://user:[email protected]/?retryWrites=true&w=majority
createLiquibase will fail with IllegalArgumentException: Database not specified in URL
even if database name is specified.
Maybe Pattern HAS_DB = Pattern.compile("(mongodb|mongodb\\+srv)://[^/]*/.*");
should support connection string with properties in it.
Also if HAS_DB will pass, createLiquibase() method will just concatenate database name to connection string connectionString += "/" + this.mongoClientConfig.database....
which will lead to the same exception as database name is placed after connection properties in db url as following: mongodb+srv://user:[email protected]/?retryWrites=true&w=majority/databaseName
Quarkus version 2.10.2
The text was updated successfully, but these errors were encountered:
With mongodb connection string as following:
mongodb+srv://user:[email protected]/?retryWrites=true&w=majority
createLiquibase will fail with
IllegalArgumentException: Database not specified in URL
even if database name is specified.
Maybe
Pattern HAS_DB = Pattern.compile("(mongodb|mongodb\\+srv)://[^/]*/.*");
should support connection string with properties in it.
Also if HAS_DB will pass, createLiquibase() method will just concatenate database name to connection string
connectionString += "/" + this.mongoClientConfig.database....
which will lead to the same exception as database name is placed after connection properties in db url as following:
mongodb+srv://user:[email protected]/?retryWrites=true&w=majority/databaseName
Quarkus version 2.10.2
The text was updated successfully, but these errors were encountered: