airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject git commit: fixing a issue
Date Mon, 03 Mar 2014 18:11:17 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 22cd1a091 -> 8252ea599


fixing a issue


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

Branch: refs/heads/master
Commit: 8252ea599eedbb07e197ef2d29a935de1a8b6f3b
Parents: 22cd1a0
Author: chathuri <chathuri@apache.org>
Authored: Mon Mar 3 13:11:11 2014 -0500
Committer: chathuri <chathuri@apache.org>
Committed: Mon Mar 3 13:11:11 2014 -0500

----------------------------------------------------------------------
 .../persistance/registry/jpa/impl/ExperimentRegistry.java      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/8252ea59/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 ca5c717..9177dd0 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
@@ -852,11 +852,11 @@ public class ExperimentRegistry {
     public void addAppOutputs(List<DataObjectType> appInputs, TaskDetailResource taskDetailResource)
throws Exception {
         try {
             for (DataObjectType input : appInputs) {
-                ApplicationInputResource resource = (ApplicationInputResource) taskDetailResource.create(ResourceType.APPLICATION_OUTPUT);
+                ApplicationOutputResource resource = (ApplicationOutputResource) taskDetailResource.create(ResourceType.APPLICATION_OUTPUT);
                 resource.setTaskDetailResource(taskDetailResource);
-                resource.setInputKey(input.getKey());
+                resource.setOutputKey(input.getKey());
                 resource.setValue(input.getValue());
-                resource.setInputType(input.getType());
+                resource.setOutputType(input.getType());
                 resource.setMetadata(input.getMetaData());
                 resource.save();
             }


Mime
View raw message