Skip to main content
Version: 1.16

Processing static configuration

Static configuration is the microservice configuration set before microservice startup in a property file. This configuration is common to all tenant.

Static configuration for Processing service are :

NameTypeDefault ValueDescription
regards.processing.sharedStorage.basePathstringPath to a shared storage for processes which need it to store output files.
A process may be programmed to create output files anywhere accessible by an URL, but the Processing service provides as a convenience a shared storage accessible to all REGARDS modules needing to access output files, as a mount point in the file system. This way, output files can be passed as file protocol URLs
regards.processing.executionWorkdir.basePathstringPath to a file system directory where a folder is created for each execution.
For processes which may use them, as a convenience, the Processing service provides utilities to create execution work directories. These execution workdirs are created as file system children of this parameter's value
regards.processing.cleanup.batch.age.mslong604800000Minimum for old terminated batches selected for suppression.
Old batches, for which all executions are in a final state, are regularly cleaned up. This property say how much time after the last execution's last update a batch is considered too old and is selected for deletion.
regards.processing.cleanup.batch.rate.mslong3600000How often we look for old batches to delete them.
regards.processing.r2dbc.hoststringHost to connect to the database.
regards.processing.r2dbc.portintegerPort to connect to the database.
regards.processing.r2dbc.usernamestringUsername to connect to the database.
regards.processing.r2dbc.passwordstringPassword to connect to the database.
regards.processing.r2dbc.dbnamestringName of the database to connect to.
regards.processing.r2dbc.schemastringnullSchema of the database to connect to.
regards.processing.r2dbc.pool.size.mininteger1Minimum pool size of the database to connect to.
regards.processing.r2dbc.pool.size.maxinteger2Maximum pool size of the database to connect to.
regards.processing.outputfiles.cleanup.cronstring0 0 */2 * * *Output files saved in the storage are cleaned up regularly. This cron expression defines how often. Default value is every two hours.
regards.processing.executions.timedout.cleanup.cronstring0 0 */6 * * *When an execution is created, we use the duration forecast of its parent process to determine an expected runtime duration. This time is multiplied by two and saved in base. At every trigger of this cron expression, we look for executions that are still running after this saved duration, and declare them as timed out. This puts them in a final state and notifies the user of the time out. Users may choose to retry.

Some other properties can be updated, please check Processing section in the install guide.

info

Some of these properties are customizable in ansible inventory. see installation guide

To make missing properties customizable, you have to update regards ansible playbook : the regards-mconfig role.