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