summaryrefslogtreecommitdiffstats
path: root/controlloop/common/eventmanager/src/main
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/common/eventmanager/src/main
parentd5066ba5c2d15bcc9bf00b9a52a1ce54a43449af (diff)
parent3cf3293477bc482ec842d6069d7d0995be6b1002 (diff)
Merge "Update SO Interface AAI NQ response from v8 to v11"
Diffstat (limited to 'controlloop/common/eventmanager/src/main')
-rw-r--r--controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java
index 89b702d63..4f879b67b 100644
--- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java
+++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager.java
@@ -224,6 +224,10 @@ public class ControlLoopOperationManager implements Serializable {
// Save the operation
this.currentOperation = operation;
+ if (this.operationRequest == null) {
+ this.policyResult = PolicyResult.FAILURE;
+ }
+
return operationRequest;
case "VFC":
this.operationRequest = VFCActorServiceProvider.constructRequest((VirtualControlLoopEvent) onset, operation.operation, this.policy, this.eventManager.getVnfResponse());