airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject git commit: fixing experiment name not set issue
Date Mon, 10 Mar 2014 21:29:05 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 35da60257 -> eb3ae3163


fixing experiment name not set issue


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

Branch: refs/heads/master
Commit: eb3ae3163326d594e210ff7f42b58fe1df03c637
Parents: 35da602
Author: chathuri <chathuri@apache.org>
Authored: Mon Mar 10 17:28:47 2014 -0400
Committer: chathuri <chathuri@apache.org>
Committed: Mon Mar 10 17:28:47 2014 -0400

----------------------------------------------------------------------
 .../apache/airavata/persistance/registry/jpa/resources/Utils.java   | 1 +
 .../persistance/registry/jpa/utils/ThriftDataModelConversion.java   | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/eb3ae316/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
----------------------------------------------------------------------
diff --git a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
index e8f39d7..ec1c4dd 100644
--- a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
+++ b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/Utils.java
@@ -599,6 +599,7 @@ public class Utils {
                 experimentResource.setProject(projectResource);
             }
             experimentResource.setExpID(o.getExpId());
+            experimentResource.setExpName(o.getExpName());
             experimentResource.setCreationTime(o.getCreationTime());
             experimentResource.setDescription(o.getExpDesc());
             experimentResource.setApplicationId(o.getApplicationId());

http://git-wip-us.apache.org/repos/asf/airavata/blob/eb3ae316/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/utils/ThriftDataModelConversion.java
----------------------------------------------------------------------
diff --git a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/utils/ThriftDataModelConversion.java
b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/utils/ThriftDataModelConversion.java
index bfeb75f..2f1a97a 100644
--- a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/utils/ThriftDataModelConversion.java
+++ b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/utils/ThriftDataModelConversion.java
@@ -39,6 +39,7 @@ public class ThriftDataModelConversion {
             if (experimentResource.getProject()!= null){
                 experiment.setProjectID(experimentResource.getProject().getName());
             }
+            experiment.setExperimentID(experimentResource.getExpID());
             experiment.setCreationTime(experimentResource.getCreationTime().getTime());
             experiment.setUserName(experimentResource.getExecutionUser());
             experiment.setName(experimentResource.getExpName());


Mime
View raw message