summaryrefslogtreecommitdiffstats
path: root/examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-04-22 17:38:54 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-22 17:38:54 +0000
commitca558cfb1ea47de081527771af47abb37a8cd964 (patch)
tree8fb802d8f6b323ded0442bcfd954e0332be4b84f /examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js
parente3a4e81b5e0ad5fec4d215ab7ef1b4f310370984 (diff)
parent39f7edcc4a181394b8895aef8b4b43a8a19b045b (diff)
Merge "ONAP BBS: Apex Nomadic ONT bug fixes"
Diffstat (limited to 'examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js')
-rw-r--r--examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js b/examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js
index f6a7c4ce7..36b21b8f4 100644
--- a/examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js
+++ b/examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js
@@ -25,22 +25,23 @@ executor.logger.info(executor.subject.id);
executor.logger.info(executor.inFields);
var attachmentPoint = executor.inFields.get("attachmentPoint");
-var vcpeClosedLoopStatus = executor.getContextAlbum("VCPEClosedLoopStatusAlbum").get(attachmentPoint);
+var NomadicONTContext = executor.getContextAlbum("NomadicONTContextAlbum").get(
+ attachmentPoint);
-executor.logger.info("==========>" + executor.outFields);
-executor.logger.info("==========>" + executor.inFields);
+executor.logger.info(executor.outFields);
+executor.logger.info(executor.inFields);
-result = vcpeClosedLoopStatus.get("result");
+result = NomadicONTContext.get("result");
if (result === "SUCCESS") {
returnValue = executor.isTrue;
executor.outFields.put("result", "SUCCCESS");
- executor.logger.info("BBS policy Execution Done$$$$$$$$$$$");
+ executor.logger.info("BBS policy Execution Done");
} else {
- executor.logger.info("BBS policy Execution Failed$$$$$$$$$$$");
+ executor.logger.info("BBS policy Execution Failed");
executor.outFields.put("result", "FAILURE");
returnValue = executor.isFalse;
}
var returnValue = executor.isTrue;
-executor.logger.info("End Execution NomadicEventSuccess.js");
+executor.logger.info("End Execution NomadicEventSuccess.js"); \ No newline at end of file