summaryrefslogtreecommitdiffstats
path: root/testsuites/integration/integration-common/src/main/resources
diff options
context:
space:
mode:
authorwaqas.ikram <waqas.ikram@ericsson.com>2018-07-12 12:47:09 +0100
committerwaqas.ikram <waqas.ikram@ericsson.com>2018-07-13 11:47:15 +0100
commitcb768ce12516415276ee370112a837014cb8c37c (patch)
tree3d7418e312f3a29126e19d9683a34ad420f6166d /testsuites/integration/integration-common/src/main/resources
parent2e32896a4e98fe2047b2e6356d4e9d7dbd3a0252 (diff)
Adding Benchmark module
Change-Id: I4817580bf53bbf46b6890b70d49c8a2edabca749 Issue-ID: POLICY-865 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
Diffstat (limited to 'testsuites/integration/integration-common/src/main/resources')
-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