aboutsummaryrefslogtreecommitdiffstats
path: root/controlloop/templates/archetype-cl-amsterdam
diff options
context:
space:
mode:
authorJorge Hernandez <jh1730@att.com>2017-10-17 20:58:14 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-17 20:58:14 +0000
commit2acb0748a0fff2fa89b6c1d7dbe4d4935b2823a3 (patch)
treef08301dcaa87379b0e2513b54cff8e24c50f8376 /controlloop/templates/archetype-cl-amsterdam
parentd5066ba5c2d15bcc9bf00b9a52a1ce54a43449af (diff)
parent3cf3293477bc482ec842d6069d7d0995be6b1002 (diff)
Merge "Update SO Interface AAI NQ response from v8 to v11"
Diffstat (limited to 'controlloop/templates/archetype-cl-amsterdam')
-rw-r--r--controlloop/templates/archetype-cl-amsterdam/src/main/resources/archetype-resources/src/main/resources/__closedLoopControlName__.drl7
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