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
parent
commit
f4a44e3928
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/metadata/TbFetchDeviceCredentialsNode.java
  2. 2
      rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbSplitArrayMsgNode.java

4
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/metadata/TbFetchDeviceCredentialsNode.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";

2
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbSplitArrayMsgNode.java

@ -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",

Loading…
Cancel
Save