airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: fixing project id not set when creating experiment
Date Thu, 10 Nov 2016 19:23:10 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop 53afafa82 -> 93431b19c


fixing project id not set when creating experiment


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

Branch: refs/heads/develop
Commit: 93431b19c5b0b5c650a0bc265126272a5cdefa5c
Parents: 53afafa
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Thu Nov 10 14:23:06 2016 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Thu Nov 10 14:23:06 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/airavata/blob/93431b19/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 0f56747..f440a4f 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
@@ -1074,6 +1074,7 @@ public class AiravataServerHandler implements Airavata.Iface {
                 entity.setOwnerId(experiment.getUserName() + "@" + experiment.getGatewayId());
                 entity.setName(experiment.getExperimentName());
                 entity.setDescription(experiment.getDescription());
+                entity.setParentEntityId(experiment.getProjectId());
 
                 sharingRegistryServerHandler.createEntity(entity);
             }


Mime
View raw message