diff options
Diffstat (limited to 'conf.d/project/etc/xds-supervisor-config.json')
-rw-r--r-- | conf.d/project/etc/xds-supervisor-config.json | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/conf.d/project/etc/xds-supervisor-config.json b/conf.d/project/etc/xds-supervisor-config.json new file mode 100644 index 0000000..39309bb --- /dev/null +++ b/conf.d/project/etc/xds-supervisor-config.json @@ -0,0 +1,39 @@ +{ + "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json", + "metadata": { + "uid": "XDS", + "version": "1.0", + "api": "xds", + "info": "XDS Data collection binding" + }, + "plugins": [{ + "uid": "supervisor", + "info": "Plugin to handle interface with supervisor", + "spath": "./lib/plugins:./var", + "libs": [ + "supervisor.ctlso", + "xds-supervisor.lua" + ] + }], + + "onload": [], + + "controls": [{ + "uid": "list", + "privileges": "urn:AGL:permission::platform:can:list ", + "action": "plugin://supervisor#list" + }, + { + "uid": "trace", + "privileges": "urn:AGL:permission::platform:can:trace ", + "action": "plugin://supervisor#trace" + } + ], + + "events": [{ + "uid": "supervisor/xds-trace", + "action": "lua://supervisor#_trace_events_" + } + ] + +} |