X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=sli%2Fprovider%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fsdnc%2Fsli%2Fprovider%2FCallNodeExecutor.java;fp=sli%2Fprovider%2Fsrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fsdnc%2Fsli%2Fprovider%2FCallNodeExecutor.java;h=b6fa3746c4b3cb16b150071336edcd635d6886fd;hb=e69f794b32db291ace90ac7934e7938bc79d815e;hp=da0bc56312a3a6da893c85df626741364f9fc547;hpb=456f4922175c7a1d4c85564fbf70efb6580574ad;p=sdnc%2Fcore.git diff --git a/sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/CallNodeExecutor.java b/sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/CallNodeExecutor.java index da0bc56..b6fa374 100644 --- a/sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/CallNodeExecutor.java +++ b/sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/CallNodeExecutor.java @@ -120,21 +120,18 @@ public class CallNodeExecutor extends SvcLogicNodeExecutor { SvcLogicStore store = SvcLogicActivator.getStore(); if (store != null) { - SvcLogicGraph calledGraph = store.fetch(module, rpc, version, mode); - LOG.debug("Parent " + parentGraph + " is calling child " + calledGraph.toString()); - ctx.setAttribute("currentGraph", calledGraph.toString()); + SvcLogicGraph calledGraph = store.fetch(module, rpc, version, mode); if (calledGraph != null) { - svc.execute(calledGraph, ctx); - - outValue = ctx.getStatus(); + LOG.debug("Parent " + parentGraph + " is calling child " + calledGraph.toString()); + svc.execute(calledGraph, ctx); + ctx.setAttribute("currentGraph", calledGraph.toString()); + outValue = ctx.getStatus(); } else { - LOG.error("Could not find service logic for [" + module + "," + rpc + "," + version + "," + mode + "]"); - } - } - else - { - LOG.debug("Could not get SvcLogicStore reference"); - } + LOG.debug("Parent " + parentGraph + " failed to call child [" + module + "," + rpc + "," + version + "," + mode + "] because the graph could not be found"); + } + } else { + LOG.debug("Could not get SvcLogicStore reference"); + } SvcLogicNode nextNode = node.getOutcomeValue(outValue); if (nextNode != null) {