airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lah...@apache.org
Subject [49/53] [abbrv] airavata git commit: empty experiment object set
Date Fri, 06 Feb 2015 16:06:02 GMT
empty experiment object set


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

Branch: refs/heads/gfac-storm
Commit: d448fd50041261dba8e8736866b0dc7f1e8d0553
Parents: b1c6824
Author: Chathuri Wimalasena <kamalasini@gmail.com>
Authored: Thu Feb 5 11:30:00 2015 -0500
Committer: Chathuri Wimalasena <kamalasini@gmail.com>
Committed: Thu Feb 5 11:30:00 2015 -0500

----------------------------------------------------------------------
 .../airavata/persistance/registry/jpa/impl/ExperimentRegistry.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/d448fd50/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
index 4597d31..352dca6 100644
--- a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
+++ b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/impl/ExperimentRegistry.java
@@ -998,6 +998,7 @@ public class ExperimentRegistry {
         try {
             ExperimentResource experiment = (ExperimentResource) gatewayResource.create(ResourceType.EXPERIMENT);
             WorkflowNodeDetailResource workflowNode = (WorkflowNodeDetailResource) experiment.create(ResourceType.WORKFLOW_NODE_DETAIL);
+            experiment = workflowNode.getExperimentResource();
             TaskDetailResource taskDetail = workflowNode.getTaskDetail(taskId);
 //            taskDetail.setWorkflowNodeDetailResource(workflowNode);
             taskDetail.setApplicationId(taskDetails.getApplicationId());


Mime
View raw message