Public | Automated Build

Last pushed: 6 months ago
Short Description
Mongodb source.
Full Description

#Aries Integration for MongoDB (Source)

This is an integration to retrieve data from MongoDB.

##Configuration
This integration takes in 6 required parameters and 1 optional parameter that can be used to modify the data being requested.

###Collection
The collection name for the group of documents inside of the Mongo database.

"collection" : "test_collection"

###Query
The query to be run on the database. Leave {} to select all.

"query": {}

###Connection

  • Host: The url of the Mongo database.
  • Port: The port of the database.
  • User: The username, used for authentication.
  • Password: The password associated with the user account.
  • Database: The database where data should be stored.
    "connection" : {
      "host" : "mongourl.com",
      "port" : 27017,
      "user" : "root",
      "password" : "veryinsecure",
      "database" : "test_database"
    },
    

##Response
This is an example response with no query on the given collection name.

{"_id":"u7ejnqsEaokEafEafE","name":"test","createdAt":"2015-06-25T19:11:37.236Z"}
{"_id":"koElspE69iMK8oeFw","name":"test_2","createdAt":"2015-06-25T20:12:15.595Z"}

License

MIT

Docker Pull Command
Owner
astronomerio

Comments (0)