diff options
author | 2017-09-22 19:48:18 +0000 | |
---|---|---|
committer | 2017-09-22 19:48:18 +0000 | |
commit | cc73cc553b4f083c8f050e29d6aec8d112b07387 (patch) | |
tree | 6b9fe622282e9756fb27b9e1286248a930421f29 /controlloop/templates/template.demo/src/main | |
parent | 24782d90bd18992c4f31b18fd534c60a4a5a3ef8 (diff) | |
parent | 5ee687ecedd616c3e4b83622103232a06c4783c2 (diff) |
Merge "Fix Use Case Testing"
Diffstat (limited to 'controlloop/templates/template.demo/src/main')
-rw-r--r-- | controlloop/templates/template.demo/src/main/resources/ControlLoop_Template_xacml_guard.drl | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/controlloop/templates/template.demo/src/main/resources/ControlLoop_Template_xacml_guard.drl b/controlloop/templates/template.demo/src/main/resources/ControlLoop_Template_xacml_guard.drl index b506d8910..64101ac56 100644 --- a/controlloop/templates/template.demo/src/main/resources/ControlLoop_Template_xacml_guard.drl +++ b/controlloop/templates/template.demo/src/main/resources/ControlLoop_Template_xacml_guard.drl @@ -507,10 +507,12 @@ rule "${policyName}.EVENT.MANAGER.OPERATION.LOCKED.GUARD_PERMITTED" switch ($operation.policy.getActor()){ case "APPC": - - if (request instanceof Request || request instanceof LCMRequestWrapper) { - Engine.deliver("UEB", "APPC-CL", request); - } + if (request instanceof Request) { + Engine.deliver("UEB", "APPC-CL", request); + } + else if (request instanceof LCMRequestWrapper) { + Engine.deliver("UEB", "APPC-LCM-READ", request); + } break; case "SO": // at this point the AAI named query request should have already been made, the response recieved and used |