Browse Source
Merge pull request #7970 from YuriyLytvynchuk/bugfix/fix_node_fetch_device_cred_and_split_array
[3.4.4] Bugfix: node fetch device cred and split array
pull/7991/head
Andrew Shvayka
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
4 deletions
-
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/metadata/TbFetchDeviceCredentialsNode.java
-
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbSplitArrayMsgNode.java
|
|
|
@ -47,9 +47,7 @@ import java.util.concurrent.ExecutionException; |
|
|
|
"to the message data. If originator type is not <b>DEVICE</b> or rule node failed to get device credentials " + |
|
|
|
"- send Message via <code>Failure</code> chain, otherwise <code>Success</code> chain is used.", |
|
|
|
uiResources = {"static/rulenode/rulenode-core-config.js"}, |
|
|
|
configDirective = "tbEnrichmentNodeFetchDeviceCredentialsConfig", |
|
|
|
icon = "functions" |
|
|
|
) |
|
|
|
configDirective = "tbEnrichmentNodeFetchDeviceCredentialsConfig") |
|
|
|
public class TbFetchDeviceCredentialsNode implements TbNode { |
|
|
|
|
|
|
|
private static final String CREDENTIALS = "credentials"; |
|
|
|
|
|
|
|
@ -36,7 +36,7 @@ import java.util.concurrent.ExecutionException; |
|
|
|
|
|
|
|
@Slf4j |
|
|
|
@RuleNode( |
|
|
|
type = ComponentType.EXTERNAL, |
|
|
|
type = ComponentType.TRANSFORMATION, |
|
|
|
name = "split array msg", |
|
|
|
configClazz = EmptyNodeConfiguration.class, |
|
|
|
nodeDescription = "Split array message into several msgs", |
|
|
|
|