MongoDB Collection

This state manager (com.rierino.state.manager.MongoStateManager) uses MongoDB for storing and reading data, typically as the master data store.

Manager Parameters

Parameter
Definition
Example
Default

system

Name of the system which defines MongoDB service details (uri, database)

{uri:"mongodb://127.0.0.1"}

master.mongo.uri/database

collection

Name of the MongoDB collection to store details

product

[state manager alias]

journalCollection

Name of the MongoDB collection to store state changes

product_journal

-

keepJournal

Alternative to journalCollection parameter, automatically using "draft_journal" suffix for the journal collection

true

false

bypassDocValidation

Whether MongoDB should bypass document validation during updates

true

false

Last updated