summaryrefslogtreecommitdiffstats
path: root/examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js
diff options
context:
space:
mode:
authors00370346 <swarup.nayak1@huawei.com>2019-04-17 23:32:08 +0530
committers00370346 <swarup.nayak1@huawei.com>2019-04-22 10:20:54 +0530
commit39f7edcc4a181394b8895aef8b4b43a8a19b045b (patch)
treebb6445f96fcea9abf7391c45a29735b93bdc683c /examples/examples-onap-bbs/src/main/resources/logic/NomadicEventSuccessTask.js
parente5f139e3c865eb429dc11a987ad7a01b759c6692 (diff)
ONAP BBS: Apex Nomadic ONT bug fixes
Issue-ID: DCAEGEN2-1237 Change-Id: I739f8e55113793f5cd4d3b70e0a1296d775bb414 Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
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