summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/harvester-config.json
blob: 368be7fe83b0ff24e20578b4114af92909c07e45 (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
{
    "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
    "metadata": {
        "uid": "Harvester",
        "version": "1.0",
        "api": "harvester",
        "info": "Data collection binding"
    },
    "plugins": [
        {
            "uid": "influxdb",
            "info": "Plugins that handle influxdb read and write",
            "libs": "influxdb.ctlso"
        }
    ],

    "onload": [
        {
            "uid": "init_db",
            "info": "Ensure that InfluxDB is up",
            "action": "plugin://influxdb#influxdb_ping"
        }
    ],

    "controls": [
        {
            "uid": "write",
            "action": "plugin://influxdb#write_to_influxdb"
        }
    ]
}