forked from cheahengsoon/iot-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gateway.json
54 lines (53 loc) · 1.29 KB
/
gateway.json
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
{
"modules": [
{
"module name": "receiver",
"module path": "bin//libnodejs_binding_hl.so",
"args": {
"main_path": "js//receiver.js",
"args": {
"port" : 8080
}
}
},
{
"module name": "batcher",
"module path": "bin//libnodejs_binding_hl.so",
"args": {
"main_path": "js//batcher.js",
"args": null
}
},
{
"module name": "compressor",
"module path": "bin//libnodejs_binding_hl.so",
"args": {
"main_path": "js//compressor.js",
"args": null
}
},
{
"module name": "iothub_writer",
"module path": "bin//libnodejs_binding_hl.so",
"args": {
"main_path": "js//iothub.js",
"args": {
"connection_string": "HostName=iot-demo-hub.azure-devices.net;DeviceId=DeviceId;SharedAccessKey=sDOUd5P+zqHZUqh/1zfsN6M9FWGmQ1K2BLL2Wl6wNBY="
}
}
},
{
"module name": "Logger",
"module path": "bin//liblogger_hl.so",
"args": {
"filename": "gateway.log.json"
}
}
],
"links": [
{ "source": "*", "sink": "Logger" },
{ "source": "receiver", "sink": "batcher" },
{ "source": "batcher", "sink": "compressor" },
{ "source": "compressor", "sink": "iothub_writer" }
]
}