Skip to content

This project shows how to build a connector to one or several MongoDB collection with moTwin Platform 3.2.

Notifications You must be signed in to change notification settings

loriepisicchio/MongoDBConnector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MongoDBConnector

This project shows how to create a connector to one or several MongoDB collections with moTwin Platform 3.2.

This project contains an AbstractMongoDBSource which implements the basic behavior to get connected to a Mongo database. It defines the abstract methods in order to implement in subclasses how to perform the query, and how to map the query result to a virtual table row. Have a look at MyTableSource to have an example of how this can be implemented.

The mongodb.properties file must be updated to set the connections parameters to your Mongo database (host, port, and database name). This file must be deployed on the MOS runtime before you deploy the MongoDBConnector application.

About

This project shows how to build a connector to one or several MongoDB collection with moTwin Platform 3.2.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages