Skip to main content
Version: 2.0

Configuration Importation/Exportation

Microservices settings regroup a set of settings that are specific by tenant and stored in the microservice database.

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 format

NameTypeDescription
pluginIdStringPlugin unique identifier. Used to identify which plugin to use
businessIdStringPlugin configuration unique identifier
labelStringPlugin configuration label.
versionStringPlugin configuration compatible version
priorityOrderIntegerplugin configuration priority.
activeBooleanEnable or disable plugin configuration
parametersObjectJson format of the plugin configuration parameters (specific for each plugin)

The definition of the plugins for the Processing service and their configuration parameters are available at the following documentation.

rs-processing configuration file example
{
"microservice": "rs-processing",
"modules": [
{
"module": {
"id": "processing",
"name": "Processing management module",
"description": "Launching processes on data",
"version": "1.0.0",
"author": "REGARDS",
"legalOwner": "CNES",
"documentation": "https://github.com/RegardsOss"
},
"resetBeforeImport":true,
"configuration": [
{
"key": "fr.cnes.regards.framework.modules.plugins.domain.PluginConfiguration",
"value": {
"pluginId": "SimpleShellProcessPlugin",
"label": "Process Order",
"businessId": "bc866dca-6b5b-4d47-a580-6a1f2976b2cf",
"version": "1.0.0-SNAPSHOT",
"priorityOrder": 0,
"active": true,
"parameters": [
{
"name": "shellScript",
"type": "STRING",
"value": "/input/process-order.sh",
"dynamic": false
},
{
"name": "cardinality",
"type": "STRING",
"value": "ONE_PER_EXECUTION",
"dynamic": false
},
{
"name": "addMetadata",
"type": "BOOLEAN",
"value": true,
"dynamic": false
},
{
"name": "sizeForecast",
"type": "STRING",
"value": "*1",
"dynamic": false
},
{
"name": "durationForecast",
"type": "STRING",
"value": "5min",
"dynamic": false
}
]
}
}
]
}
]
}

``