summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/xds-supervisor-config.json
blob: 39309bbe8015ddc1a08e07700f20404638215edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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_"
    }
  ]

}