Code Review
/
sdnc
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[SDNC-5] Rebase sdnc-core
[sdnc/core.git]
/
sli
/
provider
/
src
/
main
/
java
/
org
/
openecomp
/
sdnc
/
sli
/
provider
/
SvcLogicExpressionResolver.java
diff --git
a/sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/SvcLogicExpressionResolver.java
b/sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/SvcLogicExpressionResolver.java
index
f248a59
..
29bd9b4
100644
(file)
--- a/
sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/SvcLogicExpressionResolver.java
+++ b/
sli/provider/src/main/java/org/openecomp/sdnc/sli/provider/SvcLogicExpressionResolver.java
@@
-65,12
+65,12
@@
public class SvcLogicExpressionResolver {
if (atomType == AtomType.CONTEXT_VAR)
{
if (atomType == AtomType.CONTEXT_VAR)
{
- LOG.
debug
("Evaluating context variable $"+varName);
+ LOG.
trace
("Evaluating context variable $"+varName);
String varValue = ctx.getAttribute(varName);
if (varValue == null) {
String varValue = ctx.getAttribute(varName);
if (varValue == null) {
- LOG.
debug
("Context variable $"+varName+" unset - treating as empty string");
+ LOG.
trace
("Context variable $"+varName+" unset - treating as empty string");
varValue = "";
}
varValue = "";
}
@@
-78,7
+78,7
@@
public class SvcLogicExpressionResolver {
}
SvcLogicExpression parm = node.getParameter(varName);
if (parm != null) {
}
SvcLogicExpression parm = node.getParameter(varName);
if (parm != null) {
- LOG.
debug
("Evaluating value of parameter "+varName+": "+parm.asParsedExpr());
+ LOG.
trace
("Evaluating value of parameter "+varName+": "+parm.asParsedExpr());
return (evaluate(parm, node, ctx));
}
return (evaluate(parm, node, ctx));
}
@@
-98,7
+98,7
@@
public class SvcLogicExpressionResolver {
List<SvcLogicExpression> operands = binExpr.getOperands();
if (operands.size() == 1)
{
List<SvcLogicExpression> operands = binExpr.getOperands();
if (operands.size() == 1)
{
- LOG.
debug
("SvcLogicBinaryExpression as no operator and one operand - evaluating its operand");
+ LOG.
trace
("SvcLogicBinaryExpression as no operator and one operand - evaluating its operand");
return(evaluate(operands.get(0), node, ctx));
}
else
return(evaluate(operands.get(0), node, ctx));
}
else