The plugin ID for MongoDB is fr.cantor.c4i.MongoDBDelivery
| Property key | Description | Mandatory | Default value |
|---|
| configAssetId | The ID of the asset containing the YAML mappings | Yes | |
| connection | The name of the connection in the c4i.properties file | Yes | |
| prefixCollectionNamesWithContextId | true or false to indicate whether or not to prefix the collection names with the context IDs | Yes | |
| batchSize | The maximum number of elements to send in a single query | Yes | |
| deleteElementsNotMatchingFilters | true or false to indicate if elements not matching filters should be deleted from the database | No | false |
| emptyDatabaseBeforeImport | true will reset the tables before inserting data. Only use for full IEP | No | false |
| cacheConfig | The ID of the asset containing the JCS configuration | No | |
| displayPerfStat | true to display performance statistics (see Performance statistics dedicated page) | No | false |
| Property key | Description | Mandatory | Default value |
|---|
| host | Host of the MongoDB database | Yes | |
| port | Port of the MongoDB database | Yes | |
| dbName | The name of the database | Yes | |
| enableSsl | true enables TLS/SSL connection. Mandatory to connect to Cosmos DB | No | false |
| requestTimer | Timer in ms between two requests. -1 to ignore | No | -1 |
| username | The username to connect to the database | No | |
| password | The password to connect to the database in standalone mode only | No | |
| authenticationDatabase | The name of the database where the user is defined | No | |
extensions.[0].pluginId=fr.cantor.c4i.MongoDBDelivery
extensions.[0].connection=mongodb
extensions.[0].configAssetId=C4I-Configuration
extensions.[0].prefixCollectionNamesWithContextId=true
extensions.[0].batchSize=100
extensions.[0].deleteElementsNotMatchingFilters=false
extensions.[0].emptyDatabaseBeforeImport=false
pluginId=fr.cantor.c4i.MongoDBDelivery
connection=mongodb
configAssetId=/Path/to/C4I-Configuration.yml
prefixCollectionNamesWithContextId=true
batchSize=100
deleteElementsNotMatchingFilters=false
licenseAssetId=/Path/to/C4I/License.cat
emptyDatabaseBeforeImport=false
mongodb.host=localhost
mongodb.port=27017
mongodb.dbName=step
mongodb.username=c4i
mongodb.authenticationDatabase=admin
mongodb.enableSsl=false
mongodb.requestTimer=-1