Crate minerva_runonce
source · [−]Expand description
Minerva System: RUNONCE Service
About this service
This service’s responsibility is that of preparing the Minerva System environment for use, specially when it comes to preparing databases by running migrations, for example.
This service is best used as a job, and should be run only when deploying new changes to the database service is really needed. This means that it should be a single-run job or a cron job at best.
Modules
database 🔒
This module wraps all functions related to operations that should be run
once on the database, when the entire system starts.
mongo 🔒
This module wraps all functions related to operations that should be run
once on the non-relational database, when the entire system starts.
rabbitmq 🔒
This module wraps all functions related to operations that should be run
once to prepare the message broker, when the entire system starts.
Functions
main 🔒
Entry point for this service.