airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: AIRAVATA-1857 fixing project not updating issue
Date Tue, 15 Dec 2015 16:40:42 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 6c5e9954a -> 0dc7e8452


AIRAVATA-1857 fixing project not updating issue


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

Branch: refs/heads/master
Commit: 0dc7e845235d71553b44233bb072ae2d0bd27bd2
Parents: 6c5e995
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Tue Dec 15 11:40:36 2015 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Tue Dec 15 11:40:36 2015 -0500

----------------------------------------------------------------------
 .../registry/core/experiment/catalog/impl/ProjectRegistry.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/0dc7e845/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
index d29fbb3..7d77308 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/impl/ProjectRegistry.java
@@ -116,7 +116,7 @@ public class ProjectRegistry {
                 workerResource = ExpCatResourceUtils.addGatewayWorker(gatewayResource, user);
             }else {
                 workerResource = (WorkerResource) ExpCatResourceUtils.getWorker(
-                        gatewayResource.getGatewayName(), user.getUserName());
+                        gatewayResource.getGatewayId(), user.getUserName());
             }
             WorkerResource worker = new WorkerResource(project.getOwner(), gatewayResource.getGatewayId());
             existingProject.setWorker(worker);


Mime
View raw message