-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add default database name to MongoDB Atlas #10034
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add default database name to MongoDB Atlas #10034
Conversation
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.
Good idea! Only change I would recommend is using the term 'database specific connection string' because:
- connectionString is more consistent with the existing getConnectionString() method
- the database specific connection string is not related to replica sets. it's just a way to include the database name in the connection string rather than having to select a database afterward
modules/mongodb/src/main/java/org/testcontainers/mongodb/MongoDBAtlasLocalContainer.java
Show resolved
Hide resolved
Sounds good to me! Included your suggestion and merged them all together in 1 commit. |
modules/mongodb/src/main/java/org/testcontainers/mongodb/MongoDBAtlasLocalContainer.java
Outdated
Show resolved
Hide resolved
modules/mongodb/src/main/java/org/testcontainers/mongodb/MongoDBAtlasLocalContainer.java
Show resolved
Hide resolved
@eddumelendez, spotless changes applied. One flaky test (ArtemisContainerTest), but I don't see this having anything to do with the proposed change. Kind regards, Wouter |
Hi guys, anything else you would like to see changed before this can be merged? |
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.
Looks great!
Hello @eddumelendez, @luketn. I'm reaching out since this is now open for a while. Anything still holding you back from merging this? Kind regards, |
Thanks for your contribution, @blancqua! |
See discussion #10031