Change-Id: I910c4c168164f8709684729c67c000c190b07618
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
- if (nodeExecutors == null) {
- LOG.info("Start: registering node executors");
- registerExecutors();
-
- LOG.info("Done: registering node executors");
- }
-
- LOG.info("About to execute graph " + graph.toString());
-
- LOG.info("Executing root node");
SvcLogicContext ctx = new SvcLogicContext(props);
ctx.setAttribute("currentGraph", graph.toString());
ctx.setAttribute("X-ECOMP-RequestID", MDC.get("X-ECOMP-RequestID"));
ctx.setDomDataBroker(domDataBroker);
SvcLogicContext ctx = new SvcLogicContext(props);
ctx.setAttribute("currentGraph", graph.toString());
ctx.setAttribute("X-ECOMP-RequestID", MDC.get("X-ECOMP-RequestID"));
ctx.setDomDataBroker(domDataBroker);
- SvcLogicNode curNode = graph.getRootNode();
-
- while (curNode != null) {
- LOG.info("About to execute node # "+curNode.getNodeId()+" ("+curNode.getNodeType()+")");
- SvcLogicNode nextNode = executeNode(curNode, ctx);
- curNode = nextNode;
- }
return(ctx.toProperties());
}
return(ctx.toProperties());
}