aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/harvester-config.json
blob: d2f7858d0ecdaac17ddd7aa43c5c20a8eacad0c1 (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
{
    "$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",
            "spath": "lib/plugins",
            "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"
        },
        {
            "uid": "read",
            "action": "plugin://influxdb#read_from_influxdb"
        }
    ]
}