diff options
Diffstat (limited to 'config/rules/api-mapping-rules.drl')
-rw-r--r-- | config/rules/api-mapping-rules.drl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/rules/api-mapping-rules.drl b/config/rules/api-mapping-rules.drl index 6278d48..629d683 100644 --- a/config/rules/api-mapping-rules.drl +++ b/config/rules/api-mapping-rules.drl @@ -23,7 +23,7 @@ rule "ApiMapping-1" no-loop true lock-on-active true when - $s : ServiceEntity( serviceType not contains "vFW" ) + $s : ServiceEntity( (serviceType not contains "vFW") && (serviceType not contains "vDNS") ) then $s.setApiName("GENERIC-RESOURCE-API"); end @@ -33,7 +33,7 @@ rule "ApiMapping-2" no-loop true lock-on-active true when - $s : ServiceEntity( serviceType contains "vFW" ) + $s : ServiceEntity( (serviceType contains "vFW") || (serviceType contains "vDNS") ) then $s.setApiName("VNF-API"); end |