Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here following are the antlr changes which made to recognise the OR

So, before there is Cps has and condition which is applied with leaf condition ,similarly we have added or to the antlr

...

multipleLeafConditions : OB leafCondition ( ( KW_AND | KW_OR) leafCondition)* CB 


The problem is we are unable to find the logic how and condition has been implemented , like is there any query written for it.

Also found there is class  path :cps-path-parser/src/main/java/org/onap/cps/cpspath/parser/CpsPathBuilder.java ,here found that they used and as append condition but this doesn't seems like the logic implementation.

So, would like to get help with it.

to-do:
Need to implement the logic for OR Operation

...