-
Notifications
You must be signed in to change notification settings - Fork 9
/
mappings-OUTBOUND.json
116 lines (116 loc) · 3.54 KB
/
mappings-OUTBOUND.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[
{
"publishTopicSample": "evt/outbound/berlin_01",
"ident": "ek2kpo",
"tested": false,
"autoAckOperation": true,
"source": "{\"source\":{\"id\":\"38268445\"},\"type\":\"c8y_BusEvent\",\"text\":\"Bus was stopped\",\"time\":\"2022-08-05T00:14:49.389+02:00\",\"bus_event\":\"stop_event\"}",
"externalIdType": "c8y_Serial",
"qos": "AT_LEAST_ONCE",
"substitutions": [
{
"resolve2ExternalId": false,
"pathSource": "source.id",
"pathTarget": "_TOPIC_LEVEL_[2]",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": false,
"pathSource": "type",
"pathTarget": "eventType",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": false,
"pathSource": "$now()",
"pathTarget": "time",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": false,
"pathSource": "bus_event",
"pathTarget": "bus_event",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": true,
"pathSource": "source.id",
"pathTarget": "deviceId",
"repairStrategy": "DEFAULT",
"expandArray": false
}
],
"snoopedTemplates": [],
"createNonExistingDevice": false,
"id": "7460930673",
"subscriptionTopic": "",
"direction": "OUTBOUND",
"snoopStatus": "NONE",
"mapDeviceIdentifier": true,
"active": false,
"targetAPI": "EVENT",
"filterOutbound": "bus_event",
"publishTopic": "evt/outbound/#",
"target": "{\"deviceId\":\"909090\",\"description\":\"This is a new test event.\",\"time\":\"2022-08-05T00:14:49.389+02:00\",\"eventType\":\"TestEvent\",\"bus_event\":\"stop_event\",\"_TOPIC_LEVEL_\":[\"evt\",\"outbound\",\"berlin_01\"]}",
"mappingTopic": "",
"updateExistingDevice": false,
"mappingType": "JSON",
"lastUpdate": 1709800167869,
"debug": false,
"name": "Mapping - 51"
},
{
"publishTopicSample": "opp/outbound/berlin_01",
"ident": "utnidm",
"tested": false,
"autoAckOperation": true,
"source": "{\"deviceId\":\"909090\",\"bus_opp\":\"New engine restart operation!\"}",
"externalIdType": "c8y_Serial",
"qos": "AT_LEAST_ONCE",
"substitutions": [
{
"resolve2ExternalId": true,
"pathSource": "deviceId",
"pathTarget": "_TOPIC_LEVEL_[2]",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": false,
"pathSource": "bus_opp",
"pathTarget": "decription",
"repairStrategy": "DEFAULT",
"expandArray": false
},
{
"resolve2ExternalId": false,
"pathSource": "deviceId",
"pathTarget": "c8y_Id",
"repairStrategy": "DEFAULT",
"expandArray": false
}
],
"snoopedTemplates": [],
"createNonExistingDevice": false,
"id": "8560953664",
"subscriptionTopic": "",
"direction": "OUTBOUND",
"snoopStatus": "NONE",
"mapDeviceIdentifier": true,
"active": false,
"targetAPI": "OPERATION",
"filterOutbound": "bus_opp",
"publishTopic": "opp/outbound/#",
"target": "{\"c8y_Id\":\"909090\",\"decription\":\"dummy operation\",\"type\":\"bus_operation\",\"_TOPIC_LEVEL_\":[\"opp\",\"outbound\",\"berlin_01\"]}",
"mappingTopic": "",
"updateExistingDevice": false,
"mappingType": "JSON",
"lastUpdate": 1709828472844,
"debug": false,
"name": "Mapping - 52"
}
]