From 096458d268d93c3beddae3b4f8b79ccfd06b5f07 Mon Sep 17 00:00:00 2001 From: Volodymyr Babak Date: Wed, 25 Jan 2023 15:38:53 +0200 Subject: [PATCH] Updated edge root rule chain; --- .../rule_chains/edge_root_rule_chain.json | 78 +++++++++++-------- 1 file changed, 45 insertions(+), 33 deletions(-) diff --git a/application/src/main/data/json/tenant/edge_management/rule_chains/edge_root_rule_chain.json b/application/src/main/data/json/tenant/edge_management/rule_chains/edge_root_rule_chain.json index f908b1661e..69eae724a2 100644 --- a/application/src/main/data/json/tenant/edge_management/rule_chains/edge_root_rule_chain.json +++ b/application/src/main/data/json/tenant/edge_management/rule_chains/edge_root_rule_chain.json @@ -6,7 +6,8 @@ "firstRuleNodeId": null, "root": true, "debugMode": false, - "configuration": null + "configuration": null, + "externalId": null }, "metadata": { "firstNodeIndex": 0, @@ -23,7 +24,8 @@ "configuration": { "persistAlarmRulesState": false, "fetchAlarmRulesStateOnStart": false - } + }, + "externalId": null }, { "additionalInfo": { @@ -35,7 +37,8 @@ "debugMode": false, "configuration": { "defaultTTL": 0 - } + }, + "externalId": null }, { "additionalInfo": { @@ -47,7 +50,8 @@ "debugMode": false, "configuration": { "scope": "CLIENT_SCOPE" - } + }, + "externalId": null }, { "additionalInfo": { @@ -59,7 +63,8 @@ "debugMode": false, "configuration": { "version": 0 - } + }, + "externalId": null }, { "additionalInfo": { @@ -73,7 +78,8 @@ "scriptLang": "TBEL", "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);" - } + }, + "externalId": null }, { "additionalInfo": { @@ -87,7 +93,8 @@ "scriptLang": "TBEL", "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);" - } + }, + "externalId": null }, { "additionalInfo": { @@ -99,19 +106,34 @@ "debugMode": false, "configuration": { "timeoutInSeconds": 60 - } + }, + "externalId": null }, { "additionalInfo": { - "layoutX": 1129, - "layoutY": 52 + "layoutX": 1126, + "layoutY": 104 }, "type": "org.thingsboard.rule.engine.edge.TbMsgPushToCloudNode", "name": "Push to cloud", "debugMode": false, "configuration": { "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": [ @@ -132,24 +154,14 @@ }, { "fromIndex": 3, - "toIndex": 6, - "type": "RPC Request to Device" - }, - { - "fromIndex": 3, - "toIndex": 5, - "type": "Other" + "toIndex": 1, + "type": "Post telemetry" }, { "fromIndex": 3, "toIndex": 2, "type": "Post attributes" }, - { - "fromIndex": 3, - "toIndex": 1, - "type": "Post telemetry" - }, { "fromIndex": 3, "toIndex": 4, @@ -157,23 +169,23 @@ }, { "fromIndex": 3, - "toIndex": 7, - "type": "Attributes Updated" + "toIndex": 5, + "type": "Other" }, { "fromIndex": 3, - "toIndex": 7, + "toIndex": 6, + "type": "RPC Request to Device" + }, + { + "fromIndex": 3, + "toIndex": 8, "type": "Attributes Deleted" }, { "fromIndex": 3, - "toIndex": 7, - "type": "Timeseries Deleted" - }, - { - "fromIndex": 3, - "toIndex": 7, - "type": "Timeseries Updated" + "toIndex": 8, + "type": "Attributes Updated" } ], "ruleChainConnections": null