Skip to content

#2514 Add MongoDB QL plugin#7110

Open
helorymarceau wants to merge 1 commit intoapache:mainfrom
helorymarceau:main
Open

#2514 Add MongoDB QL plugin#7110
helorymarceau wants to merge 1 commit intoapache:mainfrom
helorymarceau:main

Conversation

@helorymarceau
Copy link
Copy Markdown

Adds a new MongoDB QL action plugin inspired by Cassandra Exec. It allows executing instructions in JSON format on a MongoDB database via the runCommand() method from the MongoDB Java driver.

To ensure consistency and reuse existing MongoDB classes, all MongoDB-related classes and resources have been moved to plugins/tech/mongodb, following the same structure as plugins/tech/cassandra.

Changes:

  • Existing MongoDB transform classes, generic classes, resources and tests relocated to plugins/tech/mongodb
  • New ActionMql.java and ActionMqlDialog.java classes for the plugin
  • Corresponding unit tests under plugins/tech/mongodb/src/test
  • Integration tests
  • Documentation
  • pom.xml files updated accordingly

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

Adds a new MongoDB QL action plugin inspired by Cassandra Exec. It allows
executing instructions in JSON format on a MongoDB database via the
runCommand() method from the MongoDB Java driver.

To ensure consistency and reuse existing MongoDB classes, all MongoDB-related
classes and resources have been moved to plugins/tech/mongodb, following the
same structure as plugins/tech/cassandra.

Changes:
- Existing MongoDB transform classes, generic classes, resources and tests relocated to plugins/tech/mongodb
- New ActionMql.java and ActionMqlDialog.java classes for the plugin
- Corresponding unit tests under plugins/tech/mongodb/src/test
- Integration tests
- Documentation
- pom.xml files updated accordingly
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.

1 participant