Skip to content

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

Conversation

blancqua
Copy link
Contributor

@blancqua blancqua commented Feb 26, 2025

See discussion #10031

@blancqua blancqua requested a review from a team as a code owner February 26, 2025 08:51
@blancqua blancqua force-pushed the feat/expose_database_name_mongodbatlas branch from f1eb767 to 6a2a823 Compare February 26, 2025 09:04
Copy link
Contributor

@luketn luketn left a 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:

  1. connectionString is more consistent with the existing getConnectionString() method
  2. 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

@blancqua blancqua force-pushed the feat/expose_database_name_mongodbatlas branch from fc6fcc2 to 5959fb7 Compare February 26, 2025 11:02
@blancqua
Copy link
Contributor Author

Sounds good to me! Included your suggestion and merged them all together in 1 commit.

@blancqua blancqua force-pushed the feat/expose_database_name_mongodbatlas branch from 0104ab0 to 8ad81b4 Compare February 26, 2025 20:39
@blancqua
Copy link
Contributor Author

@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

@blancqua blancqua force-pushed the feat/expose_database_name_mongodbatlas branch from 8ad81b4 to 4b9e51d Compare March 5, 2025 05:56
@blancqua
Copy link
Contributor Author

blancqua commented Mar 5, 2025

Hi guys, anything else you would like to see changed before this can be merged?

Copy link
Contributor

@luketn luketn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@blancqua blancqua force-pushed the feat/expose_database_name_mongodbatlas branch from 4b9e51d to bc9f80f Compare March 18, 2025 12:50
@blancqua
Copy link
Contributor Author

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,
Wouter

@eddumelendez eddumelendez added this to the next milestone Apr 3, 2025
@eddumelendez eddumelendez merged commit e562568 into testcontainers:main Apr 3, 2025
106 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution, @blancqua!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants