You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2019/11/08 20:07:06 UTC

[airavata] branch master updated: AIRAVATA-3270 Return sharing thrift client in launchExperiment

This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/master by this push:
     new 58cf23c  AIRAVATA-3270 Return sharing thrift client in launchExperiment
58cf23c is described below

commit 58cf23c20246d5b80220a00a3070cec43f3f2e55
Author: Marcus Christie <ma...@iu.edu>
AuthorDate: Fri Nov 8 15:06:35 2019 -0500

    AIRAVATA-3270 Return sharing thrift client in launchExperiment
---
 .../org/apache/airavata/api/server/handler/AiravataServerHandler.java    | 1 +
 1 file changed, 1 insertion(+)

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 bedab62..fdbf8da 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
@@ -1996,6 +1996,7 @@ public class AiravataServerHandler implements Airavata.Iface {
             submitExperiment(gatewayId, airavataExperimentId);
             logger.info("Experiment with ExpId: " + airavataExperimentId + " was submitted in gateway with gatewayID: " + gatewayId);
             registryClientPool.returnResource(regClient);
+            sharingClientPool.returnResource(sharingClient);
         } catch (InvalidRequestException|ExperimentNotFoundException|AuthorizationException e) {
             logger.error(e.getMessage(), e);
             registryClientPool.returnResource(regClient);