Static Configuration
Static configuration is the microservice configuration set before microservice startup in a property file. This configuration is common to all tenants.
Static configuration for rs-Order microservice is :
| Name | Type | Default Value | Description |
|---|---|---|---|
| regards.order.secret | string | use to generate authentification token to use REST API on order endpoints | |
| regards.order.max.storage.files.jobs.per.user | integer | 2 | Max number of concurrent storage files retrieval jobs per user (consequence: a user cannot run 2 orders simultaneously) |
| regards.order.client.response.batch.size | integer | 1000 | Max bulk size of AutoOrderEvent managed in a row |
| regards.order.cancel.request.bulk.size | integer | 1000 | Max bulk size of OrderCancelEvent managed in a row |
| regards.order.request.bulk.size | integer | 1000 | Max bulk size of OrderRequestEvent managed in a row |
| regards.order.batch.size | integer | 10000 | Page size of the search request generated (destinated to rs-catalog) |
| regards.order.basket.upload.file.max.lines | integer | 1000 | Max number of provider ids of uploaded file (see basket upload file api) |
| regards.order.files.bucket.size.Mb | integer | 100 | Max size of files to retreive in a single storage job (single suborder) |
| regards.order.clean.expired.rate.ms | integer | 3600000 (1h) | Frequency of check order expiration. |
| regards.order.computation.update.rate.ms | integer | 1000 (1s) | Scheduled method frequency to update all current running orders completions values and all order available files count values into database |
| regards.order.periodic.files.availability.check.cron | cron | 0 0 7 * * MON-FRI (every working day at 7 am) | Frequency of sending email to users, for remind that some orders are waiting for him. Some files must be downloaded by each user; otherwise, some commands may remain blocked.. |
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.