Browse Source
Merge pull request #8293 from adovh/bug/fix-1899-rulechain-messages-sent-to-wrong-tenant
fix rulechain messages sent to wrong tenant
pull/8327/head
Andrew Shvayka
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/flow/TbRuleChainInputNode.java
|
|
|
@ -56,6 +56,7 @@ public class TbRuleChainInputNode implements TbNode { |
|
|
|
public void init(TbContext ctx, TbNodeConfiguration configuration) throws TbNodeException { |
|
|
|
this.config = TbNodeUtils.convert(configuration, TbRuleChainInputNodeConfiguration.class); |
|
|
|
this.ruleChainId = new RuleChainId(UUID.fromString(config.getRuleChainId())); |
|
|
|
ctx.checkTenantEntity(ruleChainId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|