You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/02/01 14:55:45 UTC
[airavata] branch develop updated: lastUpdateTime is required on
TaskModel
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
The following commit(s) were added to refs/heads/develop by this push:
new a049148 lastUpdateTime is required on TaskModel
a049148 is described below
commit a0491486c681bae59a93ea259c10cfcca3a9f4ea
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Thu Feb 1 09:53:48 2018 -0500
lastUpdateTime is required on TaskModel
---
.../apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
index 1c3556a..e1dce8b 100644
--- a/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
+++ b/modules/orchestrator/orchestrator-core/src/main/java/org/apache/airavata/orchestrator/cpi/impl/SimpleOrchestratorImpl.java
@@ -356,6 +356,7 @@ public class SimpleOrchestratorImpl extends AbstractOrchestrator{
envSetupTask.setTaskType(TaskTypes.ENV_SETUP);
envSetupTask.setTaskStatuses(Arrays.asList(new TaskStatus(TaskState.CREATED)));
envSetupTask.setCreationTime(AiravataUtils.getCurrentTimestamp().getTime());
+ envSetupTask.setLastUpdateTime(AiravataUtils.getCurrentTimestamp().getTime());
envSetupTask.setParentProcessId(processModel.getProcessId());
EnvironmentSetupTaskModel envSetupSubModel = new EnvironmentSetupTaskModel();
envSetupSubModel.setProtocol(OrchestratorUtils.getSecurityProtocol(orchestratorContext, processModel, gatewayId));
--
To stop receiving notification emails like this one, please contact
machristie@apache.org.