diff options
author | Loïc Collignon <loic.collignon@iot.bzh> | 2018-06-07 15:05:53 +0200 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@iot.bzh> | 2018-06-12 16:23:44 +0200 |
commit | 9a631c30c9c8792865ce2aa0ec06a1bb5fd16751 (patch) | |
tree | e1bd8c4ce3cc408144aedcf0f26fd873d8db8634 /conf.d/project | |
parent | 322f8932476eda944c7d3ac65eafde12c69b2ae9 (diff) |
Add some policy emulation
Add a very simplistic policy emulation just for demo.
The real policy engine will be brought back soon.
Change-Id: I6f77c8dc58ba335eabd1a1d858354a84559d9e7f
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'conf.d/project')
-rw-r--r-- | conf.d/project/policy-4a-sample1.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/conf.d/project/policy-4a-sample1.json b/conf.d/project/policy-4a-sample1.json index 6d13d61..d71bbe9 100644 --- a/conf.d/project/policy-4a-sample1.json +++ b/conf.d/project/policy-4a-sample1.json @@ -27,14 +27,20 @@ "name": "emergency", "description": "Safety-relevant or critical alerts/alarms", "priority": 100, - "stream": "emergency" + "stream": "emergency", + "interrupts":[ + {"type": "ramp", "args": { "uid": "ramp-slow", "volume": 30} } + ] }, { "uid": "role-navigation", "name": "navigation", "description": "Navigation instructions (GPS, turn directions, etc...)", "priority": 25, - "stream": "navigation" + "stream": "navigation", + "interrupts":[ + {"type": "ramp", "args": { "uid": "ramp-slow", "volume": 30} } + ] } ] } |