summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc
diff options
context:
space:
mode:
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_"
+ }
]
+
}