Page History
...
This section will explain in which components MongoDB is used, which configurations are needed for it and what needs to be considered when installing the databases.
Overview
As you can see in the image above, the components: Case - Engine, Dcm-DCM Lists Service and the maintenance app DCM Maintenance App use one or more MongoDB databases. When using these components, it is needed to create the following four databases in mongoDBMongoDB:
- caseEngine: the database where cases are case related information is stored for the case engine
- locks: the database where case locks are stored and thus enabling case consistency
- tasks: the database where the tasks for the dcm-lists DCM Lists Service component are stored
- messages: the database where all (failed/delayed) messages are stored for the dcm-maintenance appDCM Maintenance App
Instructions about how to create a database can be found here: https://www.mongodb.com/docs/manual/core/databases-and-collections/
Configuration
When the databases are created, it is necessary to configure all applications in a way that they can communicate with the databases.
...
Case Engine:
In the application-case-engine.properties file, add the following lines to which enable the case engine to communicate with the caseEngine and locks databases:
...
Replace the strings with < and > with the needed values of your specific setup.
Dcm-Lists:
In the blueriq-dcm-lists.yml file, add the following lines to , which enable the dcm-lists component DCM Lists Service to communicate with the tasks database:
...
Replace the strings with < and > with the needed values of your specific setup.
Dcm-Maintenance-app
In the blueriq-dcm-maintenacne-app.yml file, add the following lines to , which enable the dcm-maintenance-app DCM Maintenance App to communicate with the messages database:
...
Replace the strings with < and > with the needed values of your specific setup.
Installing MongoDB:
MongoDB can be downloaded and installed via https://www.mongodb.com/.
...
For production scenarios, please refer to the recommended MongoDB setup on https://docs.mongodb.com/manual/administration/production-notes.
Considerations
MongoDB is a scalable document based NoSQL database solution that is used in multiple components of DCM 2.0. Before installing and using MongoDB it is recommended to consider the following:
- MongoDB can be run in the cloud or on premise. If Whether MongoDB supports your desired platform can be read hereread on: https://www.mongodb.com/docs/manual/administration/production-notes/#platform-support.
- MongoDB is designed specifically with commodity hardware in mind and has few hardware requirements or limitations. Read about the hardware considerations hereconsiderations on: https://www.mongodb.com/docs/manual/administration/production-notes/#hardware-considerations.
- For redundancy and availability considerations please read replicationread the documentation on: https://www.mongodb.com/docs/manual/replication/.
- for other considerations please read the mongoDB docs
...
- the documentation on: https://www.mongodb.com/docs/