airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject airavata git commit: disable update to failed and cancel experiments
Date Thu, 14 May 2015 15:34:52 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 6b7a84ce2 -> 5ee2559b4


disable update to failed and cancel experiments


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

Branch: refs/heads/master
Commit: 5ee2559b4047c0537f6f4b1344c4ec485719defd
Parents: 6b7a84c
Author: Chathuri Wimalasena <chathuri@apache.org>
Authored: Thu May 14 11:34:48 2015 -0400
Committer: Chathuri Wimalasena <chathuri@apache.org>
Committed: Thu May 14 11:34:48 2015 -0400

----------------------------------------------------------------------
 .../apache/airavata/api/server/handler/AiravataServerHandler.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/5ee2559b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index e64a4bd..60dc8ee 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -1195,7 +1195,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             if (experimentStatus != null){
                 ExperimentState experimentState = experimentStatus.getExperimentState();
                 switch (experimentState){
-                    case CREATED: case VALIDATED: case CANCELED: case FAILED: case UNKNOWN:
+                    case CREATED: case VALIDATED:case UNKNOWN:
                         registry.update(RegistryModelType.EXPERIMENT, experiment, airavataExperimentId);
                         logger.infoId(airavataExperimentId, "Successfully updated experiment
{} ", experiment.getName());
                         break;


Mime
View raw message