Commit 90fb9a5f99a5f766f2767fb46c84a85efde36b47
Merge remote-tracking branch 'origin/develop/2.6-edge' into develop/3.3-edge
Showing
2 changed files
with
43 additions
and
4 deletions
@@ -32,8 +32,27 @@ import org.thingsboard.server.common.msg.TbMsg; | @@ -32,8 +32,27 @@ import org.thingsboard.server.common.msg.TbMsg; | ||
32 | type = ComponentType.ACTION, | 32 | type = ComponentType.ACTION, |
33 | name = "push to cloud", | 33 | name = "push to cloud", |
34 | configClazz = EmptyNodeConfiguration.class, | 34 | configClazz = EmptyNodeConfiguration.class, |
35 | - nodeDescription = "Pushes messages to cloud", | ||
36 | - nodeDetails = "Pushes messages to cloud. This node is used only on Edge instances to push messages from Edge to Cloud.", | 35 | + nodeDescription = "Pushes messages from edge to cloud", |
36 | + nodeDetails = "Push messages from edge to cloud. " + | ||
37 | + "This node used only on edge to push messages from edge to cloud. " + | ||
38 | + "Once message arrived into this node it’s going to be converted into cloud event and saved to the local database. " + | ||
39 | + "Node doesn't push messages directly to cloud, but stores event(s) in the cloud queue. " + | ||
40 | + "<br>Supports next originator types:" + | ||
41 | + "<br><code>DEVICE</code>" + | ||
42 | + "<br><code>ASSET</code>" + | ||
43 | + "<br><code>ENTITY_VIEW</code>" + | ||
44 | + "<br><code>DASHBOARD</code>" + | ||
45 | + "<br><code>TENANT</code>" + | ||
46 | + "<br><code>CUSTOMER</code>" + | ||
47 | + "<br><code>EDGE</code><br><br>" + | ||
48 | + "As well node supports next message types:" + | ||
49 | + "<br><code>POST_TELEMETRY_REQUEST</code>" + | ||
50 | + "<br><code>POST_ATTRIBUTES_REQUEST</code>" + | ||
51 | + "<br><code>ATTRIBUTES_UPDATED</code>" + | ||
52 | + "<br><code>ATTRIBUTES_DELETED</code>" + | ||
53 | + "<br><code>ALARM</code><br><br>" + | ||
54 | + "Message will be routed via <b>Failure</b> route if node was not able to save cloud event to database or unsupported originator type/message type arrived. " + | ||
55 | + "In case successful storage cloud event to database message will be routed via <b>Success</b> route.", | ||
37 | uiResources = {"static/rulenode/rulenode-core-config.js"}, | 56 | uiResources = {"static/rulenode/rulenode-core-config.js"}, |
38 | configDirective = "tbNodeEmptyConfig", | 57 | configDirective = "tbNodeEmptyConfig", |
39 | icon = "cloud_upload", | 58 | icon = "cloud_upload", |
@@ -56,8 +56,28 @@ import static org.thingsboard.rule.engine.api.TbRelationTypes.SUCCESS; | @@ -56,8 +56,28 @@ import static org.thingsboard.rule.engine.api.TbRelationTypes.SUCCESS; | ||
56 | type = ComponentType.ACTION, | 56 | type = ComponentType.ACTION, |
57 | name = "push to edge", | 57 | name = "push to edge", |
58 | configClazz = EmptyNodeConfiguration.class, | 58 | configClazz = EmptyNodeConfiguration.class, |
59 | - nodeDescription = "Pushes messages to edge", | ||
60 | - nodeDetails = "Pushes messages to edge, if Message Originator assigned to particular edge or is EDGE entity. This node is used only on Cloud instances to push messages from Cloud to Edge. Supports only DEVICE, ENTITY_VIEW, ASSET, ENTITY_VIEW, DASHBOARD, TENANT, CUSTOMER and EDGE Message Originator(s).", | 59 | + nodeDescription = "Push messages from cloud to edge", |
60 | + nodeDetails = "Push messages from cloud to edge. " + | ||
61 | + "Message originator must be assigned to particular edge or message originator is <b>EDGE</b> entity itself. " + | ||
62 | + "This node used only on cloud instances to push messages from cloud to edge. " + | ||
63 | + "Once message arrived into this node it’s going to be converted into edge event and saved to the database. " + | ||
64 | + "Node doesn't push messages directly to edge, but stores event(s) in the edge queue. " + | ||
65 | + "<br>Supports next originator types:" + | ||
66 | + "<br><code>DEVICE</code>" + | ||
67 | + "<br><code>ASSET</code>" + | ||
68 | + "<br><code>ENTITY_VIEW</code>" + | ||
69 | + "<br><code>DASHBOARD</code>" + | ||
70 | + "<br><code>TENANT</code>" + | ||
71 | + "<br><code>CUSTOMER</code>" + | ||
72 | + "<br><code>EDGE</code><br><br>" + | ||
73 | + "As well node supports next message types:" + | ||
74 | + "<br><code>POST_TELEMETRY_REQUEST</code>" + | ||
75 | + "<br><code>POST_ATTRIBUTES_REQUEST</code>" + | ||
76 | + "<br><code>ATTRIBUTES_UPDATED</code>" + | ||
77 | + "<br><code>ATTRIBUTES_DELETED</code>" + | ||
78 | + "<br><code>ALARM</code><br><br>" + | ||
79 | + "Message will be routed via <b>Failure</b> route if node was not able to save edge event to database or unsupported originator type/message type arrived. " + | ||
80 | + "In case successful storage edge event to database message will be routed via <b>Success</b> route.", | ||
61 | uiResources = {"static/rulenode/rulenode-core-config.js"}, | 81 | uiResources = {"static/rulenode/rulenode-core-config.js"}, |
62 | configDirective = "tbNodeEmptyConfig", | 82 | configDirective = "tbNodeEmptyConfig", |
63 | icon = "cloud_download", | 83 | icon = "cloud_download", |