community.mongodb
community.mongodb copied to clipboard
MongoDB community pinboard
We could collectively benefit from forming a Working Group related to MongoDB integration. We have quite some contributors and users that are interested in improving this integration.
So this issue is a call to potential interested parties (earlier and existing contributors to Ansible). The benefits of having a Working Group is that members of the Working Group can:
- test, review and add shipits to existing MongoDB PRs
- work collectively on a MongoDB roadmap
- provide a single-point-of-contact for interested MongoDB contributors
- collaborate on a MongoDB-specific Wiki
- have a $team_mongodb in BOTMETA.yml for auto-notifying team members
- implement auto-labeling MongoDB issues and PRs
cc @elliotttf @gw0 @adq @podollb @laggyluke @cove @jirutka @prakritish @marcosdiez @Lujeni @jonathanbeber @mrgnr @robinro @petrovicboban @rhysmeister @gyurco @falexandrou @jkramarz @jorijinnall @mdiez-modus @overhacked @incognito1990 @carlochess cc @sivel @resmo
Interested. I'd appreciate if anyone could help out on getting this PR merged...
https://github.com/ansible/ansible/pull/49690
A mongodb_shard module has been accepted and is a bit lonely! ;-)
I've also got some integration tests for these modules which I'd be happy to collaborate with others on.
Cheers,
Rhys
So the most important action for the MongoDB Working Group is adding integration tests for the existing and new modules. Integration tests are just playbooks that test a module in every aspect and context. You can find these integration tests in https://github.com/ansible/ansible/tree/devel/test/integration/targets
Look at how this is done for mysql and postgresql to see how a MongoDB database should be installed/configured before testing the modules.
I wrote down some thoughts on integration tests in the Wiki
Soliciting feedback, I have a MongoDB module which inserts or queries a document from a MongoDB. It has some functionality overlap with mongodb lookup, not certain if that would be an issue if I contributed it to the Ansible project. See: https://gist.github.com/joelwking/a4cf2621d17cefeb6e74a2d5eca4ddda
If you want to actively lead or are interested to be part of this Working Group, add your name to the Wiki page ! If we have a large enough group, we can start our own MongoDB Working Group.
I started labeling all the MongoDB related issues and PRs so we can more easily track them:
- https://github.com/ansible/ansible/pulls?q=is:pr+is:open+label:mongodb (10 open PRs)
- https://github.com/ansible/ansible/issues?q=is:issue+is:open+label:mongodb (8 open issues)
PS If you no longer want to receive any messages from this pinboard, feel free to unsubscribe from this issue ticket.
@joelwking A handy additional to your module would be the ability to specify a document as yaml and have that converted into a json document. What do you think?
I'm going to try to migrate this pinboard to https://github.com/ansible-collections/community.mongodb but there may be a slight disruption as it requires multiple moves. I will follow up when the migration has been completed.
migrated and pinned!
Reminder - AnsibleFest and Ansible Contributor Summit are 1 week away!
In case you missed it, we will also be having a Hackathon throughout the entire Ansible Contributor Summit and AnsibleFest. This is a great opportunity to collaborate in real time with other members of the Ansible Community!
For more info and the latest updates, please see the Ansible Contributor Summit 2021.09 HackMD.
So the most important action for the MongoDB Working Group is adding integration tests for the existing and new modules.
I had started (few years ago ;o) writing tests that covered a large part of the users/databases module. I'll see if it can be useful