Add default database name to MongoDB Atlas by blancqua · Pull Request #10034 · testcontainers/testcontainers-java · GitHub
Skip to content

Add default database name to MongoDB Atlas#10034

Merged
eddumelendez merged 2 commits into
testcontainers:mainfrom
blancqua:feat/expose_database_name_mongodbatlas
Apr 3, 2025
Merged

Add default database name to MongoDB Atlas#10034
eddumelendez merged 2 commits into
testcontainers:mainfrom
blancqua:feat/expose_database_name_mongodbatlas

Conversation

@blancqua

@blancqua blancqua commented Feb 26, 2025

Copy link
Copy Markdown

See discussion #10031

@blancqua blancqua requested a review from a team February 26, 2025 08:51

@luketn luketn left a comment

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Author

@blancqua

Copy link
Copy Markdown
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 commented Mar 5, 2025

Copy link
Copy Markdown
Author

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

@luketn luketn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great!

@blancqua

Copy link
Copy Markdown
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
@eddumelendez

Copy link
Copy Markdown
Member

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