Working with the Sample Projects
The plug-in packages a sample project with the installer. The sample project shows how TIBCO ActiveMatrix BusinessWorks Plug-in for MongoDB works.
After installing the plug-in, you can locate the sample project in theTIBCO_HOME/bw/palettes/mongodb/version/samples directory. This sample project contains three projects that contains different processes, each process corresponds to a task.
- Event_Sample
- EventCleanDocument
This subprocess demonstrates how to use the plug-in to clean documents in a specified collection.
- EventInsertDocument
This subprocess demonstrates how to use the plug-in to insert documents into a specified collection.
- EventUpdateDocument
This subprocess demonstrates how to use the plug-in to update documents in a specified collection.
- EventListener
This process demonstrates how to use the plug-in to listen to write operations in a specified collection.
- OperationProcess
This process demonstrates how to use the plug-in to insert, update and delete documents in a specified collection.
- WaitForEvent
This process demonstrates how to use the plug-in to wait for and listen to write operations in a specified collection.
- EventCleanDocument
- Hierarchical_Aggregation
- MapReduceAggregate
This process demonstrates how to use the plug-in to perform map-reduce operations in a specified collection.
- QueryAggregate
This process demonstrates how to use the plug-in to perform an aggregation query from a specified collection.
- CleanDocument
This subprocess demonstrates how to use the plug-in to delete all documents from a specified collection.
- InsertDocumentv
This subprocess demonstrates how to use the plug-in to insert a group of documents into a specified collection.
- QueryDocuments
This process demonstrates how to use the plug-in to query multiple documents from a specified collection.
- MapReduceAggregate
- Metadata_and_Asset_Management
- CreateDocument
This subprocess demonstrates how to use the plug-in to insert a group of documents into a specified collection.
- CreateGridFSFile
This subprocess demonstrates how to use the plug-in to insert a file into a specified bucket.
- DeleteDocument
This subprocess demonstrates how to use the plug-in to delete all documents from a specified collection.
- DeletePhotoDeletePhoto
This subprocess demonstrates how to use the plug-in to delete a file from a specified bucket.
- QueryDocument
This subprocess demonstrates how to use the plug-in to query a document from a specified collection.
- QueryDocumentbyIndex
This subprocess demonstrates how to use the plug-in to query a document by index from a specified collection.
- DropIndex
This subprocess demonstrates how to use the plug-in to delete all indexes from a specified collection.
- UpdateDocument
This subprocess demonstrates how to use the plug-in to update a document in a specified collection.
- GridFSPhotoOperatev
This process demonstrates how to use the plug-in to insert, query and delete a file from a specified bucket.
- QuerybyIndex
This process demonstrates how to use the plug-in to query documents from a specified collection using a newly created index.
- QueryJSONtoXML
This process demonstrates how to use the plug-in to parse JSON documents into XML documents.
- SaveXMLtoMongoDB
This process demonstrates how to use the plug-in to save XML documents into MongoDB.
- CreateDocument
