module.coms
Notifications module
type |
object |
||
properties |
|||
|
These experimental features are not yet stable and may change at any time. If you are using them, we would appreciate any feedback. Once a feature is considered stable, it will either be moved to another configuration parameter or enabled permanently. Default value is [{“enableHotReload”:false}] |
||
default |
enableHotReload |
False |
|
|
Name of the playbook that generated this file. If present, the file is managed by the Composer and may be overwritten on regeneration. Used for selective clean. Do not edit or set manually. |
||
type |
string |
||
|
The configuration of module’s logging Default value is [{“externalLogLevel”:”WARN”,”moduleLogLevel”:”INFO”}] |
||
default |
externalLogLevel |
WARN |
|
moduleLogLevel |
INFO |
||
|
The configuration of the Rabbit MQ used for communication |
||
|
The quantity of threads used for communication and sending notifications to providers is defined. The system employs at least one thread to verify the connection status with the provider. Additional threads are then utilized to enable concurrent notification delivery. For example, if 10 threads are set up, this allows for the parallel transmission of approximately 9 to 10 notifications. Note: A large pool increase the RAM usage. Default value is [40] |
||
type |
integer |
||
default |
40 |
||
|
If this parameter is set to true, a notification will be canceled for every recipients if at least one recipients is wrongly configured. Otherwise, if set to false, a notification will ignore wrongly configured recipients and proceed to notify the others recipients. As an example, let’s say we want to notify these three recipients: “email1@test.com”, “email2@test.com” and “bad_email”. If this is set to true, since “bad_email” is an incorrect email address, “email1@test.com” and “email2@test.com” will not received the notification. If this is set to false, even though “bad_email” is an incorrect email address, “email1@test.com” and “email2@test.com” will received the notification. Default value is [false] |
||
type |
boolean |
||
default |
False |
||
|
The delay during which the error are not published when the module is starting or the value configuration has changed. When a value without an error is publish the delay will be remove immediately. The following errors will not be delayed. This also concern the uninitialized value. During this period, any republish request will generate an uninitialized value. This can be override on the value configuration. Default value is [{“unit”:”MINUTES”,”value”:1}] |
||
default |
unit |
MINUTES |
|
value |
1 |
||
|
The id of the template to use for this file |
||
type |
string |
||
|
The variables and their values to be replaced from the template |
||
type |
object |
||
additionalProperties |
|||
|
The variables files to use to replace the variables. The first file of the list will take precedence over the following one. Template variables take precedence over the contents of the files. |
||
type |
array |
||
items |
type |
string |
|
additionalProperties |
False |
||
ExperimentalFeatures
type |
object |
|
properties |
||
|
Flag to enable/disable the hot-reload on the module. The modules capabilities ↗️ describe which module support it. Default value is [false] |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
|
LoggingConfigurationEntity
type |
object |
|
properties |
||
|
The log level for external libraries logging Default value is [“WARN”] |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR, DISABLE |
|
default |
WARN |
|
|
The log level for module’s behavior logging Default value is [“INFO”] |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR, DISABLE |
|
default |
INFO |
|
|
The log level for module’s internal script behavior logging (if not set the moduleLogLevel will be used) |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR, DISABLE |
|
additionalProperties |
False |
|
MessagingConfigurationEntity
type |
object |
|
properties |
||
|
The size of the buffer to use when the broker is disconnected (default: 60000). Default value is [60000] |
|
type |
integer |
|
minimum |
1 |
|
default |
60000 |
|
|
The ID of the client, must be different for each module instance. |
|
type |
string |
|
|
The host of the rabbit MQ provider |
|
type |
string |
|
|
Flag to indicate to store the message (The path /osp/messages must be mount to a volume). Default value is [false] |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
|
DurationConfigurationEntity
type |
object |
|
properties |
||
|
The unit of time expressed |
|
type |
string |
|
enum |
NANOSECONDS, MICROSECONDS, MILLISECONDS, SECONDS, MINUTES, HOURS, DAYS |
|
|
The amount of time expressed with the unit |
|
type |
integer |
|
additionalProperties |
False |
|