dependencies
- Defines which modules(addons) and plugins should be also installed on the controller for working of this plugin.
- Plugin will be started only if all required modules and plugins were started. If any of “dependencies” was restarted then plugin will be restarted too.
Edit
Required : No
Edit
Field | Type | Required | Description |
---|---|---|---|
addons | array of addons | – | List of required addons. |
addons.id | string | + | Id of required module/addon. |
addons.version | string | + | Version of required module/addon. Only MAJOR/MINOR semver components are expected here, not full addon version. |
plugins | array of plugins | – | List of required plugins. |
plugins.id | string | + | Id of required plugin. |
plugins.version | string | + | Version of required plugin. Only MAJOR/MINOR semver components are expected here, not full plugin version. |
Edit
config.json
{
"id": "test_plugin",
"version": "1.0",
"type": "gateway",
"dependencies": {
"addons": [
{
"id": "lua",
"version": "1.0"
}
],
"plugins": [
{
"id": "json",
"version": "0.1"
}
]
},
...
}