diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-12 17:52:40 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-10 23:59:54 +0200 |
commit | 75eb2161c641f85dded64a99cb862abfab64eff7 (patch) | |
tree | c2c6c515e45bba9ca1b2e30fe392342cab643ae0 /conf.d/project/etc | |
parent | 197d9acab4fb5097d3dce56227c2096abdc075bd (diff) |
Improved supervisor requests & events recording
Change-Id: I4eb52820d2bec4ca4f2e3e455db7eb79d1a09d12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/project/etc')
-rw-r--r-- | conf.d/project/etc/xds-supervisor-config.json (renamed from conf.d/project/etc/xds-config.json) | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/conf.d/project/etc/xds-config.json b/conf.d/project/etc/xds-supervisor-config.json index 3646d3f..39309bb 100644 --- a/conf.d/project/etc/xds-config.json +++ b/conf.d/project/etc/xds-supervisor-config.json @@ -9,19 +9,31 @@ "plugins": [{ "uid": "supervisor", "info": "Plugin to handle interface with supervisor", - "spath": "lib/plugins", - "libs": "supervisor.ctlso" + "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_" + } ] + } |