aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d/project
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-26 18:38:44 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:25 +0100
commit6b492d666ed1faeeec5f761105f473956b426cc9 (patch)
tree35b292414e134f280d9616be0e0dcc6b3e7f6bd4 /conf.d/project
parentc22ad857bcd2f567d22f3239d91fa65720718713 (diff)
Introduce retention setting in place of class
Be able to tweak retention value for each signal in seconds Change-Id: I1cabe48a2660cdeb2e9b32b277e7c819c6b49bd9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'conf.d/project')
-rw-r--r--conf.d/project/etc/sig-demoboard.json8
-rw-r--r--conf.d/project/etc/sig-geoloc.json10
2 files changed, 9 insertions, 9 deletions
diff --git a/conf.d/project/etc/sig-demoboard.json b/conf.d/project/etc/sig-demoboard.json
index 6e4815e..3b82bfe 100644
--- a/conf.d/project/etc/sig-demoboard.json
+++ b/conf.d/project/etc/sig-demoboard.json
@@ -3,7 +3,7 @@
{
"id": "vehicle_speed",
"event": "low-can/diagnostic_messages.vehicle.speed",
- "class": "temporal",
+ "retention": 30,
"unit": "km/h",
"frequency": 1,
"getSignalsArgs": {
@@ -21,21 +21,21 @@
{
"id": "engine_speed",
"event": "low-can/diagnostic_messages.engine.speed",
- "class": "temporal",
+ "retention": 30,
"unit": "rpm",
"frequency": 1
},
{
"id": "fuel_level",
"event": "low-can/diagnostic_messages.fuel.level",
- "class":"temporal",
+ "retention":30,
"unit": "liter",
"frequency": 1
},
{
"id": "engine_load",
"event": "low-can/diagnostic_messages.engine.load",
- "class":"temporal",
+ "retention":30,
"unit": "Nm",
"frequency": 1
}
diff --git a/conf.d/project/etc/sig-geoloc.json b/conf.d/project/etc/sig-geoloc.json
index 3b0e4eb..6bd18b6 100644
--- a/conf.d/project/etc/sig-geoloc.json
+++ b/conf.d/project/etc/sig-geoloc.json
@@ -33,7 +33,7 @@
"latitude",
"longitude"
],
- "class": "state",
+ "retention": 30,
"unit": "degree",
"frequency": 1,
"actions": {
@@ -45,7 +45,7 @@
{
"id": "speed",
"event": "gps/location",
- "class": "temporal",
+ "retention": 30,
"unit": "m/s",
"frequency": 1
},
@@ -124,7 +124,7 @@
{
"id": "sigma_speed",
"event": "gps/location",
- "class": "temporal",
+ "retention": 30,
"unit": "m/s",
"frequency": 1
},
@@ -142,13 +142,13 @@
{
"id": "dr_status",
"event": "gps/location",
- "class": "state",
+ "retention": 30,
"frequency": 1
},
{
"id": "reliabilty_index",
"event": "gps/location",
- "class": "temporal",
+ "retention": 30,
"frequency": 1
}
]