Fix operator associativity in SLI debug log 19/3419/2
authorGary Wu <gary.i.wu@huawei.com>
Thu, 13 Apr 2017 18:25:54 +0000 (11:25 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Thu, 13 Apr 2017 19:13:52 +0000 (12:13 -0700)
commit0ca979112add1fe6c2771676cfb36e90e6410174
treef8cbb1fb248176990be131e2c0f30e5500cfadd3
parentb6ed3bfa8f64a4850392f47daf46846fec51e36d
Fix operator associativity in SLI debug log

SvcLogicBinaryExpression.asParsedExpr() for debug
logging was rendering expressions as if the operators
were right associative, which is incorrect.
This change fixes the method to render the operators
as being left associative.

Change-Id: Ief22c4ee24d48ed333b1bff54b84ed7dd7940779
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
sli/common/src/main/java/org/openecomp/sdnc/sli/SvcLogicAtom.java
sli/common/src/main/java/org/openecomp/sdnc/sli/SvcLogicBinaryExpression.java
sli/common/src/test/resources/expression.tests