Workflow

Create, Read, Update, and Delete Operations on MongoDB Collections

Overview

The Mongo CRUD Operations artifact was built to showcase the basic operations that can be performed on MongoDB. More specifically, this artifact was created to automate some of the manual tasks that are performed directly in the Mongo UI.

The Mongo CRUD Operations artifact was built to showcase the basic operations that can be performed on MongoDB. This was created to automate some of the manual tasks that was performed directly on the Mongo UI using the tasks exposed by the Itential open source adapter: adpater_db-mongo. A description for each operation is listed below:

  • Create: Create a new document and insert it into the desired collection in Mongo.
  • Read: Perform a search operation on the collection based on select filters and sort the output to display the list of documents.
  • Update: Search a desired document from a collection and perform an update operation on the result.
  • Delete: Search a desired document from a collection and perform a delete operation on the result.
workflow

This workflow serves as an entry point for Automation Catalog to run the use cases described above. The running path of the workflow depends on the operation selected by the user. To create a document, or to add filters and options to the search results, the user is provided with a JSON form to input data.

Error fetching or parsing documentation mapping.