diff options
author | Dan Timoney <dtimoney@att.com> | 2019-09-04 15:31:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-04 15:31:28 +0000 |
commit | 78a590a49f7eae65e6aa569cb6e1759a230f71cf (patch) | |
tree | 91c548c2f4af5698bef7e42f6e5827c1df46ee87 /sli/provider-base | |
parent | 23a2f54c13bc81b078b18dde39adea04558ded75 (diff) | |
parent | 0b1062c36db793fb8c16f42b85b006395b2e4b5f (diff) |
Merge "remove useless log lines"
Diffstat (limited to 'sli/provider-base')
4 files changed, 2 insertions, 29 deletions
diff --git a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/BlockNodeExecutor.java b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/BlockNodeExecutor.java index 7aaf795b..fb152790 100644 --- a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/BlockNodeExecutor.java +++ b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/BlockNodeExecutor.java @@ -54,17 +54,11 @@ public class BlockNodeExecutor extends AbstractSvcLogicNodeExecutor { SvcLogicNode nextNode = node.getOutcomeValue("" + (i + 1)); if (nextNode != null) { - if (LOG.isDebugEnabled()) { - LOG.debug("Block - executing outcome " + (i + 1)); - } + while (nextNode != null) { nextNode = svc.executeNode(nextNode, ctx); } - } else { - if (LOG.isDebugEnabled()) { - LOG.debug("Block - done: no outcome " + (i + 1)); - } } } diff --git a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/CallNodeExecutor.java b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/CallNodeExecutor.java index fd052ada..766826f7 100644 --- a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/CallNodeExecutor.java +++ b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/CallNodeExecutor.java @@ -50,10 +50,6 @@ public class CallNodeExecutor extends AbstractSvcLogicNodeExecutor { { LOG.debug("execute: getGraph returned null"); } - else - { - LOG.debug("execute: got SvcLogicGraph"); - } SvcLogicExpression moduleExpr = null; @@ -70,7 +66,6 @@ public class CallNodeExecutor extends AbstractSvcLogicNodeExecutor { if (myGraph != null) { module = myGraph.getModule(); - LOG.debug("myGraph.getModule() returned "+module); } } @@ -87,7 +82,6 @@ public class CallNodeExecutor extends AbstractSvcLogicNodeExecutor { if (myGraph != null) { rpc = myGraph.getRpc(); - LOG.debug("myGraph.getRpc() returned "+rpc); } } @@ -104,8 +98,6 @@ public class CallNodeExecutor extends AbstractSvcLogicNodeExecutor { if (myGraph != null) { mode = myGraph.getMode(); - - LOG.debug("myGraph.getMode() returned "+mode); } } diff --git a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicExpressionResolver.java b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicExpressionResolver.java index 0e502035..59ba6cd7 100644 --- a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicExpressionResolver.java +++ b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicExpressionResolver.java @@ -68,7 +68,6 @@ public class SvcLogicExpressionResolver { if (atomType == AtomType.CONTEXT_VAR) { - LOG.trace("Evaluating context variable $"+varName); String varValue = ctx.getAttribute(varName); @@ -80,9 +79,7 @@ public class SvcLogicExpressionResolver { return (varValue); } SvcLogicExpression parm = node.getParameter(varName); - if (parm != null) { - LOG.trace("Evaluating value of parameter "+varName+": "+parm.asParsedExpr()); - + if (parm != null) { return (evaluate(parm, node, ctx)); } else @@ -491,7 +488,6 @@ public class SvcLogicExpressionResolver { } String varName = varNameBuff.toString(); - LOG.debug("Evaluating context variable $"+varName); String ctxValue = ctx.getAttribute(varName); if (ctxValue == null) { diff --git a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicServiceImplBase.java b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicServiceImplBase.java index 8351e95b..5d6843f9 100644 --- a/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicServiceImplBase.java +++ b/sli/provider-base/src/main/java/org/onap/ccsdk/sli/core/sli/provider/base/SvcLogicServiceImplBase.java @@ -77,26 +77,20 @@ public class SvcLogicServiceImplBase implements SvcLogicServiceBase { } protected void registerExecutors() { - - LOG.info("Entered register executors"); for (String nodeType : BUILTIN_NODES.keySet()) { - LOG.info("SLI - registering node executor for node type " + nodeType); registerExecutor(nodeType, BUILTIN_NODES.get(nodeType)); } - LOG.info("Done registerExecutors"); } public void registerExecutor(String nodeName, AbstractSvcLogicNodeExecutor executor) { if (nodeExecutors == null) { nodeExecutors = new HashMap<>(); } - LOG.info("SLI - registering executor for node type {}", nodeName); executor.setResolver(resolver); nodeExecutors.put(nodeName, executor); } public void unregisterExecutor(String nodeName) { - LOG.info("SLI - unregistering executor for node type {}", nodeName); nodeExecutors.remove(nodeName); } @@ -137,9 +131,6 @@ public class SvcLogicServiceImplBase implements SvcLogicServiceBase { AbstractSvcLogicNodeExecutor executor = nodeExecutors.get(node.getNodeType()); if (executor != null) { - LOG.debug("Executing node executor for node type {} - {}", node.getNodeType(), - executor.getClass().getName()); - MDC.put("nodeId", node.getNodeId() + " (" + node.getNodeType() + ")"); return (executor.execute(this, node, ctx)); } else { |