You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2017/04/03 16:50:15 UTC
[42/50] airavata git commit: AIRAVATA-2347 Getting ExperimentCatalog
inited with project's gateway
AIRAVATA-2347 Getting ExperimentCatalog inited with project's gateway
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/8c6f18c5
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/8c6f18c5
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/8c6f18c5
Branch: refs/heads/master
Commit: 8c6f18c59465e8dcde0200c79ac20f6320191814
Parents: 5a92eda
Author: Marcus Christie <ma...@apache.org>
Authored: Mon Mar 27 15:14:58 2017 -0400
Committer: Marcus Christie <ma...@apache.org>
Committed: Mon Mar 27 15:14:58 2017 -0400
----------------------------------------------------------------------
.../registry/api/service/handler/RegistryServerHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/8c6f18c5/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java b/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
index 44a71a9..d5d9ec1 100644
--- a/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
+++ b/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
@@ -3412,7 +3412,7 @@ public class RegistryServerHandler implements RegistryService.Iface {
throw exception;
}
try {
- experimentCatalog = RegistryFactory.getDefaultExpCatalog();
+ experimentCatalog = RegistryFactory.getExperimentCatalog(updatedProject.getGatewayId());
if (!experimentCatalog.isExist(ExperimentCatalogModelType.PROJECT, projectId)){
logger.error("Project does not exist in the system. Please provide a valid project ID...");
ProjectNotFoundException exception = new ProjectNotFoundException();