Skip to main content
Version: 2.0

Importation/Exportation

Import/Export API

To configure some microservice settings for a specific tenant, you need to follow the generic Import/Export service configuration guide, it will help you understand the expected JSON file payload that you can send to the import configuration endpoint.

This configuration can also be imported or exported through administrator UI.

Plugins configuration

To find out how to configure plugins, and in particular how to associate a recipient with a rule, check these pages:

rs-notifier configuration file example
{
"microservice": "rs-ingest",
"modules": [
{
"module": {
"id": "notifier",
"name": "Notifier module",
"description": "Notification reception and dissemination",
"version": "1.1.0",
"author": "REGARDS",
"legalOwner": "CNES",
"documentation": "https://github.com/RegardsOss"
},
"resetBeforeImport": false,
"configuration": [
{
"key": "fr.cnes.regards.framework.modules.plugins.domain.PluginConfiguration",
"value": {
"pluginId":"RecipientSender",
"label":"Recipient sender",
"businessId":"RecipientSender",
"version":"1.0.0",
"priorityOrder":0,
"active":true,
"parameters":[
{"name":"exchange", "type":"STRING", "value":"exchange-name"},
{"name":"queueName", "type":"STRING", "value":"queue-name"},
{"name":"recipientLabel", "type":"STRING", "value":"recipient-label"},
{"name":"ackRequired", "type":"BOOLEAN", "value":"false"}
]
}
},
{
"key": "fr.cnes.regards.framework.modules.plugins.domain.PluginConfiguration",
"value": {
"pluginId":"DefaultRuleMatcher",
"label":"Rule by type",
"businessId":"RuleByType",
"version":"1.0.0",
"priorityOrder":0,
"active":false,
"parameters":[
{"name":"attributeValueToSeek", "type":"STRING", "value":"L0A_LR_Packet"},
{"name":"attributeToSeek", "type":"STRING", "value":"type"}
]
}
},
{
"key": "fr.cnes.regards.modules.notifier.dto.conf.RuleRecipientsAssociation",
"value": {
"ruleId": "RuleByType",
"recipientIds" : ["RecipientSender"]
}
}
]
}
]
}