summaryrefslogtreecommitdiffstats
path: root/examples/examples-onap-vcpe/src/main/resources/logic/definitive/ControlLoopLogTask.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-onap-vcpe/src/main/resources/logic/definitive/ControlLoopLogTask.js')
-rw-r--r--examples/examples-onap-vcpe/src/main/resources/logic/definitive/ControlLoopLogTask.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/examples-onap-vcpe/src/main/resources/logic/definitive/ControlLoopLogTask.js b/examples/examples-onap-vcpe/src/main/resources/logic/definitive/ControlLoopLogTask.js
index a5a692cbc..3e2771a74 100644
--- a/examples/examples-onap-vcpe/src/main/resources/logic/definitive/ControlLoopLogTask.js
+++ b/examples/examples-onap-vcpe/src/main/resources/logic/definitive/ControlLoopLogTask.js
@@ -63,6 +63,7 @@ clNotification.getAai().put("generic-vnf.orchestration-status", aaiInfo.get("
clNotification.getAai().put("generic-vnf.vnf-type", aaiInfo.get("genericVnfVnfType"));
clNotification.getAai().put("generic-vnf.in-maint", aaiInfo.get("genericVnfInMaint"));
clNotification.getAai().put("generic-vnf.service-id", aaiInfo.get("genericVnfServiceId"));
+
if(vnfID != null) {
clNotification.getAai().put("generic-vnf.vnf-id", aaiInfo.get("genericVnfVnfId"));
}
@@ -70,4 +71,4 @@ executor.outFields.put("VirtualControlLoopNotification", clNotification);
executor.logger.info(executor.outFields);
-var returnValue = executor.isTrue;
+true;