summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-03-11 20:52:09 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-11 20:52:09 +0000
commit4e6bd1d02227591d1517245f5bda690ec4eb770e (patch)
tree2903208d905a385ed38e12d700881f00867b7e4b /plugins
parentee817eb18923cb1c0423f9f7d9ea93681dafd302 (diff)
parentb87ab1696010ca0bbed5db99c140cf908722df57 (diff)
Merge "Convert examples to Rhino Javascript format"
Diffstat (limited to 'plugins')
-rw-r--r--plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/PolicyTaskLogic.js2
-rw-r--r--plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/TestLogic00.js3
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/PolicyTaskLogic.js b/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/PolicyTaskLogic.js
index d5427582a..d428bff10 100644
--- a/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/PolicyTaskLogic.js
+++ b/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/PolicyTaskLogic.js
@@ -32,4 +32,4 @@ executor.outFields.put("intPar", intParBy2);
executor.logger.info("outgoing value: " + executor.outFields.get("intPar").toString());
-executor.isTrue; \ No newline at end of file
+true; \ No newline at end of file
diff --git a/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/TestLogic00.js b/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/TestLogic00.js
index 0c15249d2..2f637338f 100644
--- a/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/TestLogic00.js
+++ b/plugins/plugins-executor/plugins-executor-javascript/src/test/resources/javascript/TestLogic00.js
@@ -18,6 +18,5 @@
* ============LICENSE_END=========================================================
*/
var x = 1;
-var returnValue = true;
-returnValue; \ No newline at end of file
+true; \ No newline at end of file