module.coms¶
Notifications module¶
type |
object |
||
properties |
|||
|
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 |
|
|
If the value is set to true, manual editing of this file should be avoided, as the composer will override the value in the next generation. |
||
type |
boolean |
||
|
The configuration of the Rabbit MQ used for communication |
||
|
The configuration of module’s logging |
||
default |
moduleLogLevel |
INFO |
|
externalLogLevel |
WARN |
||
|
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. |
||
type |
integer |
||
default |
40 |
||
|
Grant permission for the module to access the JVM truststore, which is updated upon the release of a new OnSphere version. If the certificate is updated after this OnSphere version’s release, it should be manually added until the subsequent release is made available. |
||
type |
boolean |
||
default |
False |
||
additionalProperties |
False |
MessagingConfigurationEntity¶
type |
object |
|
properties |
||
|
The ID of the client, must be different for each module instance. |
|
type |
string |
|
|
The host of the rabbit MQ provider |
|
type |
string |
|
|
The size of the buffer to use when the broker is disconnected (default: 60000). |
|
type |
integer |
|
minimum |
1 |
|
default |
60000 |
|
|
Flag to indicate to store the message (The path /osp/messages must be mount to a volume). |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
LoggingConfigurationEntity¶
type |
object |
|
properties |
||
|
The log level for module’s behavior logging |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
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 |
|
|
The log level for external libraries logging |
|
type |
string |
|
enum |
TRACE, DEBUG, INFO, WARN, ERROR |
|
default |
WARN |
|
additionalProperties |
False |