MqttRuleNodeTestMetadata.json
1.77 KB
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
{
"firstNodeIndex": 2,
"nodes": [
{
"additionalInfo": {
"description": "",
"layoutX": 626,
"layoutY": 152
},
"type": "org.thingsboard.rule.engine.mqtt.TbMqttNode",
"name": "test mqtt",
"debugMode": true,
"singletonMode": true,
"queueName": "HighPriority",
"configurationVersion": 0,
"configuration": {
"topicPattern": "tb/mqtt/device",
"host": "broker",
"port": 1883,
"connectTimeoutSec": 10,
"clientId": null,
"cleanSession": true,
"retainedMessage": false,
"ssl": false,
"credentials": {
"type": "anonymous"
}
},
"externalId": null
},
{
"additionalInfo": {
"description": "",
"layoutX": 949,
"layoutY": 153
},
"type": "org.thingsboard.rule.engine.telemetry.TbMsgTimeseriesNode",
"name": "save timeseries",
"debugMode": true,
"singletonMode": false,
"configurationVersion": 0,
"configuration": {
"defaultTTL": 0,
"skipLatestPersistence": false,
"useServerTs": false
},
"externalId": null
},
{
"additionalInfo": {
"description": "",
"layoutX": 305,
"layoutY": 151
},
"type": "org.thingsboard.rule.engine.filter.TbMsgTypeSwitchNode",
"name": "switch",
"debugMode": false,
"singletonMode": false,
"configurationVersion": 0,
"configuration": {
"version": 0
},
"externalId": null
}
],
"connections": [
{
"fromIndex": 0,
"toIndex": 1,
"type": "Success"
},
{
"fromIndex": 2,
"toIndex": 0,
"type": "Post telemetry"
}
],
"ruleChainConnections": null
}