summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sources.json
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-10-16 09:36:20 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-11-03 17:23:34 +0000
commit626bf1be5bc8b66d55a0c341ffcc359abb1ae768 (patch)
tree9e3617267936660d8b1f6d81e73a8ca076de8404 /conf.d/project/etc/sources.json
parent5f6ce662b8833b56e603c1cf2b57f4feb5491566 (diff)
Update basic configurations files
Update basic configurations files with the latest controller key used. There were update not followed since a rework a how an action is load from a configuration file which does not use anymore 2 key 'uri' + 'function' but only one 'action'. Change-Id: I455f69064bd91dd3b845e83d0904aca1c11cacb8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project/etc/sources.json')
-rw-r--r--conf.d/project/etc/sources.json8
1 files changed, 3 insertions, 5 deletions
diff --git a/conf.d/project/etc/sources.json b/conf.d/project/etc/sources.json
index 35d62a8..45d7706 100644
--- a/conf.d/project/etc/sources.json
+++ b/conf.d/project/etc/sources.json
@@ -6,8 +6,7 @@
"api": "low-can",
"info": "Low level binding to handle CAN bus communications",
"getSignals": {
- "uri": "plugin://low-can-callbacks",
- "function": "subscribeToLow"
+ "action": "plugin://low-can-callbacks#subscribeToLow"
}
},
{
@@ -15,14 +14,13 @@
"api": "gps",
"info": "Low level binding which retrieve Satellite positionning values",
"init": {
- "uri": "api://gps",
- "function": "subscribe",
+ "action": "api://gps#subscribe",
"args": {
"value": "location"
}
},
"getSignals": {
- "function": "lua://_Simple_Echo_Args"
+ "function": "lua://convert#_Simple_Echo_Args"
}
},
{