From 0e23f7634e1e1fb31454c516974613335fcea1a4 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Wed, 12 Sep 2018 23:29:25 +0100 Subject: Sonar/Checkstyle in model/context/core Checkstyle and sonar changes in the model, contexot and core modules. Issue-ID: POLICY-1034 Change-Id: I2d40bc877f3a548844470fc290fc89d63fa465ae Signed-off-by: liamfallon --- .../apex/test/common/model/javascript/DefaultState_Logic.javascript | 2 +- .../apex/test/common/model/javascript/DefaultTask_Logic.javascript | 2 +- .../policy/apex/test/common/model/javascript/EvalState_Logic.javascript | 2 +- .../policy/apex/test/common/model/javascript/EvalTask_Logic.javascript | 2 +- .../onap/policy/apex/test/common/model/jython/DefaultState_Logic.jython | 2 +- .../onap/policy/apex/test/common/model/jython/DefaultTask_Logic.jython | 2 +- .../onap/policy/apex/test/common/model/jython/EvalState_Logic.jython | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'testsuites/integration/integration-common/src') diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultState_Logic.javascript b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultState_Logic.javascript index c8d212111..e25cb9c6e 100644 --- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultState_Logic.javascript +++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultState_Logic.javascript @@ -23,5 +23,5 @@ var gc = executor.getContextAlbum("GlobalContextAlbum"); executor.logger.debug(gc.name); executor.subject.defaultTaskKey.copyTo(executor.selectedTask) -var returnValue = executor.TRUE; +var returnValue = executor.isTrue; diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultTask_Logic.javascript b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultTask_Logic.javascript index 79ea95919..f98e16555 100644 --- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultTask_Logic.javascript +++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/DefaultTask_Logic.javascript @@ -31,4 +31,4 @@ timeNow = new JavaDate(); executor.outFields.put("TestStateTime", timeNow.getTime()); executor.logger.debug(executor.eo); -var returnValue = executor.TRUE; +var returnValue = executor.isTrue; diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalState_Logic.javascript b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalState_Logic.javascript index 4c6e66d36..535cad595 100644 --- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalState_Logic.javascript +++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalState_Logic.javascript @@ -21,5 +21,5 @@ executor.logger.debug(executor.subject.id); executor.subject.defaultTaskKey.copyTo(executor.selectedTask); -var returnValue = executor.TRUE; +var returnValue = executor.isTrue; diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalTask_Logic.javascript b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalTask_Logic.javascript index 2c9bc6d2d..b0756504c 100644 --- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalTask_Logic.javascript +++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/javascript/EvalTask_Logic.javascript @@ -26,4 +26,4 @@ timeNow = new JavaDate(); executor.outFields.put("StateTimestamp", timeNow.getTime()); executor.logger.debug(executor.outFields); -var returnValue = executor.TRUE; +var returnValue = executor.isTrue; diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultState_Logic.jython b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultState_Logic.jython index 265316e1f..9752f057d 100644 --- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultState_Logic.jython +++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultState_Logic.jython @@ -24,4 +24,4 @@ executor.logger.debug('id: ' + executor.subject.id) executor.logger.debug('ctxt name: ' + executor.getContextAlbum("GlobalContextAlbum").name) executor.subject.defaultTaskKey.copyTo(executor.selectedTask) -returnValue = executor.TRUE +returnValue = executor.isTrue diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultTask_Logic.jython b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultTask_Logic.jython index 16993d0df..f57ce3f0a 100644 --- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultTask_Logic.jython +++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/DefaultTask_Logic.jython @@ -32,4 +32,4 @@ executor.outFields["TestCaseSelected"] = Byte("") timeValue = Long(Date().getTime()); executor.outFields["TestStateTime"] = timeValue executor.logger.debug('outFields: ' + executor.outFields.toString()) -returnValue = executor.TRUE +returnValue = executor.isTrue diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalState_Logic.jython b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalState_Logic.jython index 9a0102866..94f90b258 100644 --- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalState_Logic.jython +++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalState_Logic.jython @@ -22,4 +22,4 @@ executor.logger.debug('id: ' + executor.subject.id); executor.subject.defaultTaskKey.copyTo(executor.selectedTask); -returnValue = executor.TRUE; +returnValue = executor.isTrue; -- cgit 1.2.3-korg