diff options
author | hetengjiao <hetengjiao@chinamobile.com> | 2020-05-13 11:21:44 +0800 |
---|---|---|
committer | HE TENGJIAO <hetengjiao@chinamobile.com> | 2020-05-13 03:30:16 +0000 |
commit | 40e37437f9ff785dc5c3625b387e32ac03900a07 (patch) | |
tree | ef44adb85ae440e3ab13190a8a78a2a7f28af997 | |
parent | 51a8deab009bd66f73a597d46a435ad3d323c992 (diff) |
add OrchestrationTask create time to fix the bug
Issue-ID: SO-2919
Change-Id: Icbbe1e921931d22e46a204d00a36074894e55deb
Signed-off-by: hetengjiao <hetengjiao@chinamobile.com>
-rw-r--r-- | bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/HandleOrchestrationTask.groovy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/HandleOrchestrationTask.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/HandleOrchestrationTask.groovy index 89490ff620..0f15717b3c 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/HandleOrchestrationTask.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/HandleOrchestrationTask.groovy @@ -103,6 +103,7 @@ class HandleOrchestrationTask extends AbstractServiceTaskProcessor { task.setName(taskName) task.setStatus(taskStatus) task.setIsManual(isManual) + task.setCreatedTime(new Date()) task.setParams(paramJson) ObjectMapper objectMapper = new ObjectMapper() payload = objectMapper.writeValueAsString(task) |