Merge pull request #8293 from adovh/bug/fix-1899-rulechain-messages-sent-to-wrong-tenant
fix rulechain messages sent to wrong tenant
This commit is contained in:
commit
42f4c0c2be
@ -56,6 +56,7 @@ public class TbRuleChainInputNode implements TbNode {
|
|||||||
public void init(TbContext ctx, TbNodeConfiguration configuration) throws TbNodeException {
|
public void init(TbContext ctx, TbNodeConfiguration configuration) throws TbNodeException {
|
||||||
this.config = TbNodeUtils.convert(configuration, TbRuleChainInputNodeConfiguration.class);
|
this.config = TbNodeUtils.convert(configuration, TbRuleChainInputNodeConfiguration.class);
|
||||||
this.ruleChainId = new RuleChainId(UUID.fromString(config.getRuleChainId()));
|
this.ruleChainId = new RuleChainId(UUID.fromString(config.getRuleChainId()));
|
||||||
|
ctx.checkTenantEntity(ruleChainId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user