-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdataHub.adef
54 lines (47 loc) · 1.57 KB
/
dataHub.adef
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//--------------------------------------------------------------------------------------------------
/**
* Application Definition for the Data Hub app.
*
* The Data Hub ("Hub" for short) is the central hub for the flow of control system data, such as
* sensor input and actuator setpoints. It is designed to enumerate available data sources
* (inputs/sensors) and sinks (actuators/outputs), provide filtering and buffering of input data,
* direct the flow of data between apps connected into the Hub, and provide administrative
* interfaces for dynamic discovery of I/O points, setting and clearing overrides, and
* configuration of the Hub itself.
*
* Copyright (C) Sierra Wireless Inc.
*/
//--------------------------------------------------------------------------------------------------
// Sadly, we have to run this app outside a sandbox for now, because it needs to access
// a part of the file system that will not get deleted by the framework when the app is updated.
sandboxed: false
executables:
{
hubd = ( components/dataHub )
dhub = ( components/adminTool )
}
processes:
{
run:
{
dataHub = ( hubd )
}
faultAction: restart
}
extern:
{
hubd.dataHub.le_appInfo
hubd.dataHub.io
hubd.dataHub.admin
hubd.dataHub.query
dhubToolAdmin = dhub.adminTool.admin
dhubToolQuery = dhub.adminTool.query
dhubToolIo = dhub.adminTool.io
}
bindings:
{
dhub.adminTool.admin -> hubd.dataHub.admin
dhub.adminTool.query -> hubd.dataHub.query
dhub.adminTool.io -> hubd.dataHub.io
hubd.dataHub.le_appInfo -> <root>.le_appInfo
}