-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add collectionName and databaseName attributes to MongoDbProvider
#3702
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
ppkarwasz
left a comment
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 good, thanks for fixing #3322!
Just a quick note on the tests in the log4j-mongodb module:
- The newly added integration tests (
CollectionNameIT,DatabaseAndCollectionNameIT, andNoDatabaseAndCollectionNameIT) seem somewhat redundant. From what I can tell, the existingProviderTestunit test already verifies that the correct strings are passed to the MongoDB driver, so these ITs might not add much value beyond that. - Not directly related to this PR, but something we might want to track: the
CappedIntITandCappedLongITtests don’t appear to actually verify that the collection created is capped. It could be worth opening an issue to address that.
When I get a chance, I’ll try porting this PR over to the 2.x branch. After that, maybe we can switch roles—I'll open the PR, and you can do the honors of reviewing. 😉
|
@ppkarwasz, removed |
I think I was mistakenly looking at the BTW: regarding |
Doh! Never occurred to me either! 🤦♂️ I guess we are both experiencing "burnout as a life style"? 😅 |
This work is a clone of #3322 authored by @jesmith17. Commit signatures were missing, Spotless was failing, and author could not address these issues. I created a separate PR to avoid truncating the git & GitHub conversation history in the old PR.