Commit 2af6e5d3d69964d4cc61d15bcc3d7b05e0f78433

Authored by Volodymyr Babak
1 parent 12b5a932

Fixed push to updates

@@ -313,7 +313,6 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh @@ -313,7 +313,6 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh
313 switch (target.getEntityType()) { 313 switch (target.getEntityType()) {
314 case RULE_NODE: 314 case RULE_NODE:
315 pushMsgToNode(nodeActors.get(new RuleNodeId(target.getId())), msg, fromRelationType); 315 pushMsgToNode(nodeActors.get(new RuleNodeId(target.getId())), msg, fromRelationType);
316 - pushUpdatesToEdges(msg);  
317 break; 316 break;
318 case RULE_CHAIN: 317 case RULE_CHAIN:
319 parent.tell(new RuleChainToRuleChainMsg(new RuleChainId(target.getId()), entityId, msg, fromRelationType), self); 318 parent.tell(new RuleChainToRuleChainMsg(new RuleChainId(target.getId()), entityId, msg, fromRelationType), self);
@@ -347,6 +346,7 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh @@ -347,6 +346,7 @@ public class RuleChainActorMessageProcessor extends ComponentMsgProcessor<RuleCh
347 346
348 private void pushMsgToNode(RuleNodeCtx nodeCtx, TbMsg msg, String fromRelationType) { 347 private void pushMsgToNode(RuleNodeCtx nodeCtx, TbMsg msg, String fromRelationType) {
349 if (nodeCtx != null) { 348 if (nodeCtx != null) {
  349 + pushUpdatesToEdges(msg);
350 nodeCtx.getSelfActor().tell(new RuleChainToRuleNodeMsg(new DefaultTbContext(systemContext, nodeCtx), msg, fromRelationType), self); 350 nodeCtx.getSelfActor().tell(new RuleChainToRuleNodeMsg(new DefaultTbContext(systemContext, nodeCtx), msg, fromRelationType), self);
351 } else { 351 } else {
352 log.error("[{}][{}] RuleNodeCtx is empty", entityId, ruleChainName); 352 log.error("[{}][{}] RuleNodeCtx is empty", entityId, ruleChainName);
@@ -567,7 +567,7 @@ transport: @@ -567,7 +567,7 @@ transport:
567 edges: 567 edges:
568 rpc: 568 rpc:
569 enabled: "${EDGES_RPC_ENABLED:true}" 569 enabled: "${EDGES_RPC_ENABLED:true}"
570 - port: "${EDGES_RPC_PORT:60061}" 570 + port: "${EDGES_RPC_PORT:60100}"
571 ssl: 571 ssl:
572 # Enable/disable SSL support 572 # Enable/disable SSL support
573 enabled: "${EDGES_RPC_SSL_ENABLED:false}" 573 enabled: "${EDGES_RPC_SSL_ENABLED:false}"