Skip to main content
Version: 2.1.0

Static configuration

Static configuration is the microservice configuration set before microservice startup in a property file.

Static configuration for rs-Admin-Instance service is :

NameTypeDefault ValueDescription
regards.mails.noreply.addressStringregards@noreply.frDefault sender when a email is sent
regards.send.email.delay.first.rangeInteger60Time between 1, 2 and 3 tentatives (in seconds)
regards.send.email.delay.second.rangeInteger3600Time between 4, 5 and 6 tentatives (in seconds)
regards.send.email.delay.third.rangeInteger86400Time between 7, 8 and 9 tentatives (in seconds)
regards.accounts.validity.durationInteger0Optional duration in days of account validity. If set to a positive integer, accounts remain active only for this specific duration after their creation and become inactive afterwards. If set to 0, accounts do not expire, but can be manually deactivated by an instance administrator. This duration also applies to the validity of an account after it has been reactivated.
regards.accounts.password.validity.durationInteger0Optional duration before users must change their password. If set to 0, passwords do not expire.
regards.accounts.validity.check.cronstring0 * * * * ?Cron expression defining when accounts are audited to deactivate the accounts that are past the account validity duration or whose password has expired. The default is once per minute.
info

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

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