summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/resources/att-rules.drl
blob: 6b992f555bf940f1f5ce78529fbb58a9127603fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org.onap.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