Updated edge root rule chain;

This commit is contained in:
Volodymyr Babak 2023-01-25 15:38:53 +02:00
parent b7265cb682
commit 096458d268

View File

@ -6,7 +6,8 @@
"firstRuleNodeId": null, "firstRuleNodeId": null,
"root": true, "root": true,
"debugMode": false, "debugMode": false,
"configuration": null "configuration": null,
"externalId": null
}, },
"metadata": { "metadata": {
"firstNodeIndex": 0, "firstNodeIndex": 0,
@ -23,7 +24,8 @@
"configuration": { "configuration": {
"persistAlarmRulesState": false, "persistAlarmRulesState": false,
"fetchAlarmRulesStateOnStart": false "fetchAlarmRulesStateOnStart": false
} },
"externalId": null
}, },
{ {
"additionalInfo": { "additionalInfo": {
@ -35,7 +37,8 @@
"debugMode": false, "debugMode": false,
"configuration": { "configuration": {
"defaultTTL": 0 "defaultTTL": 0
} },
"externalId": null
}, },
{ {
"additionalInfo": { "additionalInfo": {
@ -47,7 +50,8 @@
"debugMode": false, "debugMode": false,
"configuration": { "configuration": {
"scope": "CLIENT_SCOPE" "scope": "CLIENT_SCOPE"
} },
"externalId": null
}, },
{ {
"additionalInfo": { "additionalInfo": {
@ -59,7 +63,8 @@
"debugMode": false, "debugMode": false,
"configuration": { "configuration": {
"version": 0 "version": 0
} },
"externalId": null
}, },
{ {
"additionalInfo": { "additionalInfo": {
@ -73,7 +78,8 @@
"scriptLang": "TBEL", "scriptLang": "TBEL",
"jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);", "jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);",
"tbelScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);" "tbelScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);"
} },
"externalId": null
}, },
{ {
"additionalInfo": { "additionalInfo": {
@ -87,7 +93,8 @@
"scriptLang": "TBEL", "scriptLang": "TBEL",
"jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);", "jsScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);",
"tbelScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);" "tbelScript": "return '\\nIncoming message:\\n' + JSON.stringify(msg) + '\\nIncoming metadata:\\n' + JSON.stringify(metadata);"
} },
"externalId": null
}, },
{ {
"additionalInfo": { "additionalInfo": {
@ -99,19 +106,34 @@
"debugMode": false, "debugMode": false,
"configuration": { "configuration": {
"timeoutInSeconds": 60 "timeoutInSeconds": 60
} },
"externalId": null
}, },
{ {
"additionalInfo": { "additionalInfo": {
"layoutX": 1129, "layoutX": 1126,
"layoutY": 52 "layoutY": 104
}, },
"type": "org.thingsboard.rule.engine.edge.TbMsgPushToCloudNode", "type": "org.thingsboard.rule.engine.edge.TbMsgPushToCloudNode",
"name": "Push to cloud", "name": "Push to cloud",
"debugMode": false, "debugMode": false,
"configuration": { "configuration": {
"scope": "SERVER_SCOPE" "scope": "SERVER_SCOPE"
} },
"externalId": null
},
{
"additionalInfo": {
"layoutX": 826,
"layoutY": 601
},
"type": "org.thingsboard.rule.engine.edge.TbMsgPushToCloudNode",
"name": "Push to cloud",
"debugMode": false,
"configuration": {
"scope": "SERVER_SCOPE"
},
"externalId": null
} }
], ],
"connections": [ "connections": [
@ -132,24 +154,14 @@
}, },
{ {
"fromIndex": 3, "fromIndex": 3,
"toIndex": 6, "toIndex": 1,
"type": "RPC Request to Device" "type": "Post telemetry"
},
{
"fromIndex": 3,
"toIndex": 5,
"type": "Other"
}, },
{ {
"fromIndex": 3, "fromIndex": 3,
"toIndex": 2, "toIndex": 2,
"type": "Post attributes" "type": "Post attributes"
}, },
{
"fromIndex": 3,
"toIndex": 1,
"type": "Post telemetry"
},
{ {
"fromIndex": 3, "fromIndex": 3,
"toIndex": 4, "toIndex": 4,
@ -157,23 +169,23 @@
}, },
{ {
"fromIndex": 3, "fromIndex": 3,
"toIndex": 7, "toIndex": 5,
"type": "Attributes Updated" "type": "Other"
}, },
{ {
"fromIndex": 3, "fromIndex": 3,
"toIndex": 7, "toIndex": 6,
"type": "RPC Request to Device"
},
{
"fromIndex": 3,
"toIndex": 8,
"type": "Attributes Deleted" "type": "Attributes Deleted"
}, },
{ {
"fromIndex": 3, "fromIndex": 3,
"toIndex": 7, "toIndex": 8,
"type": "Timeseries Deleted" "type": "Attributes Updated"
},
{
"fromIndex": 3,
"toIndex": 7,
"type": "Timeseries Updated"
} }
], ],
"ruleChainConnections": null "ruleChainConnections": null