module.maps¶
Maps 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 configuration of the Mongo Database |
||
|
The indexes on the properties. Defining indexes let you optimize the database queries, they provide a way to quickly locate documents without scanning the entire collection. But Not every field needs an index, they should be used on fields that are frequently queried, as they consume extra storage and can affect write performance. |
||
type |
array |
||
items |
|||
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 |
MongoConfigurationEntity¶
type |
object |
|
properties |
||
|
The hostname of the mongodb configuration. (For example: mongodb://<host-1>,…,<host-x>/?replicaSet=<replSet-id>) |
|
type |
string |
|
|
The name of the database to use |
|
type |
string |
|
default |
alarms |
|
additionalProperties |
False |
IndexConfigurationEntity¶
type |
object |
|
properties |
||
|
The name of the index |
|
type |
string |
|
|
The Mongo expression used for indexing. See https://docs.mongodb.com/manual/indexes/ for more information. |
|
|
Create the indexes only the document when the field exist |
|
type |
boolean |
|
default |
False |
|
|
Partial filter expression used to filter the elements that are affected by this index |
|
additionalProperties |
False |