diff options
author | 2017-10-17 20:58:14 +0000 | |
---|---|---|
committer | 2017-10-17 20:58:14 +0000 | |
commit | 2acb0748a0fff2fa89b6c1d7dbe4d4935b2823a3 (patch) | |
tree | f08301dcaa87379b0e2513b54cff8e24c50f8376 /controlloop/templates/archetype-cl-amsterdam/src | |
parent | d5066ba5c2d15bcc9bf00b9a52a1ce54a43449af (diff) | |
parent | 3cf3293477bc482ec842d6069d7d0995be6b1002 (diff) |
Merge "Update SO Interface AAI NQ response from v8 to v11"
Diffstat (limited to 'controlloop/templates/archetype-cl-amsterdam/src')
-rw-r--r-- | controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl index e601ed43f..44501bf5e 100644 --- a/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl +++ b/controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl @@ -587,9 +587,14 @@ rule "${policyName}.EVENT.MANAGER.OPERATION.LOCKED.GUARD_PERMITTED" // // What happens if its null? // - logger.warn("{}: {}: unexpected null operation request", + logger.warn("{}: {}: unexpected null operation request", $params.getClosedLoopControlName(), drools.getRule().getName()); + if ("SO".equals($operation.policy.getActor())) { + retract($operation); + modify($manager) {finishOperation($operation)}; + } + } end |