summaryrefslogtreecommitdiffstats
path: root/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalTask_Logic.jython
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalTask_Logic.jython')
-rw-r--r--testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalTask_Logic.jython6
1 files changed, 1 insertions, 5 deletions
diff --git a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalTask_Logic.jython b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalTask_Logic.jython
index bc803ebf2..aa6525673 100644
--- a/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalTask_Logic.jython
+++ b/testsuites/integration/integration-common/src/main/resources/org/onap/policy/apex/test/common/model/jython/EvalTask_Logic.jython
@@ -19,18 +19,14 @@
#-------------------------------------------------------------------------------
from java.lang import Boolean
-from java.lang import Byte
from java.lang import Long
from java.util import Date
executor.logger.debug('id: ' + executor.subject.id)
executor.logger.debug('inFields: ' + executor.inFields.toString())
-
-executor.outFields = executor.createOutgoingEvent(outEvent)
executor.outFields.putAll(executor.inFields)
-timeValue = Long(Date().getTime());
-executor.outFields["State<STATE_NUMBER>Timestamp"] = timeValue
+executor.outFields["State<STATE_NUMBER>Timestamp"] = Long(Date().getTime())
executor.logger.debug('outFields: ' + executor.outFields.toString())
returnValue = Boolean.TRUE