You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2015/09/30 22:03:10 UTC

airavata git commit: experiment created status update time

Repository: airavata
Updated Branches:
  refs/heads/master e3ec7fef9 -> a0dc590f7


experiment created status update time


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/a0dc590f
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/a0dc590f
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/a0dc590f

Branch: refs/heads/master
Commit: a0dc590f7ae8e3c0a23bb96e6b21cda3b16577d7
Parents: e3ec7fe
Author: Chathuri Wimalasena <ch...@apache.org>
Authored: Wed Sep 30 16:03:02 2015 -0400
Committer: Chathuri Wimalasena <ch...@apache.org>
Committed: Wed Sep 30 16:03:02 2015 -0400

----------------------------------------------------------------------
 .../airavata/orchestrator/server/OrchestratorServerHandler.java   | 3 ++-
 .../registry/core/experiment/catalog/impl/ExperimentRegistry.java | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/a0dc590f/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
----------------------------------------------------------------------
diff --git a/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java b/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
index 5862b7a..dc59d8c 100644
--- a/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
+++ b/modules/orchestrator/orchestrator-service/src/main/java/org/apache/airavata/orchestrator/server/OrchestratorServerHandler.java
@@ -77,7 +77,8 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 
-public class OrchestratorServerHandler implements OrchestratorService.Iface {
+public class
+        OrchestratorServerHandler implements OrchestratorService.Iface {
 	private static Logger log = LoggerFactory.getLogger(OrchestratorServerHandler.class);
 	private SimpleOrchestratorImpl orchestrator = null;
 	private ExperimentCatalog experimentCatalog;

http://git-wip-us.apache.org/repos/asf/airavata/blob/a0dc590f/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
index e718583..990fe8d 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ExperimentRegistry.java
@@ -111,6 +111,7 @@ public class ExperimentRegistry {
 
             ExperimentStatus experimentStatus = new ExperimentStatus();
             experimentStatus.setState(ExperimentState.CREATED);
+            experimentStatus.setTimeOfStateChange(AiravataUtils.getCurrentTimestamp().getTime());
             addExperimentStatus(experimentStatus, experimentId);
 
             List<ErrorModel> errors = experiment.getErrors();