diff options
Diffstat (limited to 'ecomp-sdk-app/src/main/resources/att-rules.drl')
-rw-r--r-- | ecomp-sdk-app/src/main/resources/att-rules.drl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ecomp-sdk-app/src/main/resources/att-rules.drl b/ecomp-sdk-app/src/main/resources/att-rules.drl new file mode 100644 index 000000000..e15c3fb18 --- /dev/null +++ b/ecomp-sdk-app/src/main/resources/att-rules.drl @@ -0,0 +1,16 @@ +package org.openecomp.portalsdk.core.drools; + + +rule "Drools NJ" +when +$droolsRuleService : DroolsRuleServiceImpl( state == "NJ" ) +then +$droolsRuleService.setResultsString("NJ state :" + " Garden State"); +end + +rule "Drools NY" +when +$droolsRuleService : DroolsRuleServiceImpl( state == "NY" ) +then +$droolsRuleService.setResultsString("NY state :" + " Empire State"); +end |