summaryrefslogtreecommitdiffstats
path: root/examples/examples-onap-vcpe/src/main/resources/logic/GuardResponseTask.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-onap-vcpe/src/main/resources/logic/GuardResponseTask.js')
-rw-r--r--examples/examples-onap-vcpe/src/main/resources/logic/GuardResponseTask.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/examples-onap-vcpe/src/main/resources/logic/GuardResponseTask.js b/examples/examples-onap-vcpe/src/main/resources/logic/GuardResponseTask.js
index df98c25f4..69cd03771 100644
--- a/examples/examples-onap-vcpe/src/main/resources/logic/GuardResponseTask.js
+++ b/examples/examples-onap-vcpe/src/main/resources/logic/GuardResponseTask.js
@@ -21,7 +21,7 @@
executor.logger.info(executor.subject.id);
executor.logger.info(executor.inFields);
-var vnfID = executor.getContextAlbum("ControlLoopExecutionIDAlbum").remove(executor.executionID.toString());
+var vnfID = executor.getContextAlbum("ControlLoopExecutionIDAlbum").remove(executor.executionId.toString());
executor.logger.info("Continuing execution with VNF ID: " + vnfID);
@@ -36,7 +36,7 @@ if (guardResult === "PERMIT") {
vcpeClosedLoopStatus.put("notification", "OPERATION: GUARD_DENY");
} else {
executor.message = "guard result must be either \"PERMIT\" or \"DENY\"";
- returnValue = executor.FALSE;
+ returnValue = executor.isFalse;
}
var uuidType = Java.type("java.util.UUID");
@@ -47,4 +47,4 @@ executor.outFields.put("vnfID", vnfID);
executor.logger.info(executor.outFields);
-var returnValue = executor.TRUE;
+var returnValue = executor.isTrue;