You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2014/05/23 22:30:14 UTC

git commit: not reusing client

Repository: airavata
Updated Branches:
  refs/heads/master 719142d28 -> d33b96e5b


not reusing client


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

Branch: refs/heads/master
Commit: d33b96e5ba4397e40eb189f7885ca68a1214a3d7
Parents: 719142d
Author: lahiru <la...@apache.org>
Authored: Fri May 23 16:30:00 2014 -0400
Committer: lahiru <la...@apache.org>
Committed: Fri May 23 16:30:00 2014 -0400

----------------------------------------------------------------------
 .../airavata/api/server/handler/AiravataServerHandler.java    | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/d33b96e5/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 2eb73d7..cb92217 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
@@ -844,10 +844,9 @@ public class AiravataServerHandler implements Airavata.Iface {
     }
 
 	private OrchestratorService.Client getOrchestratorClient() {
-		if(orchestratorClient == null){
-            orchestratorClient = OrchestratorClientFactory.createOrchestratorClient(ORCHESTRATOR_SERVER_HOST, ORCHESTRATOR_SERVER_PORT);
-        }
-		return orchestratorClient;
+//		if(orchestratorClient == null){
+            return orchestratorClient = OrchestratorClientFactory.createOrchestratorClient(ORCHESTRATOR_SERVER_HOST, ORCHESTRATOR_SERVER_PORT);
+//        }
 	}
 
     /**