airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [33/50] [abbrv] airavata-php-gateway git commit: Using TMultiplexedProtocol for IamAdminServices
Date Fri, 16 Jun 2017 20:36:36 GMT
Using TMultiplexedProtocol for IamAdminServices


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

Branch: refs/heads/develop
Commit: 45bf62624403712acbd0a15f9762752710641980
Parents: d656b4e
Author: Marcus Christie <machrist@iu.edu>
Authored: Thu May 4 16:56:23 2017 -0400
Committer: Marcus Christie <machrist@iu.edu>
Committed: Thu May 4 16:56:23 2017 -0400

----------------------------------------------------------------------
 app/libraries/Airavata/IamAdminServiceProvider.php | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/45bf6262/app/libraries/Airavata/IamAdminServiceProvider.php
----------------------------------------------------------------------
diff --git a/app/libraries/Airavata/IamAdminServiceProvider.php b/app/libraries/Airavata/IamAdminServiceProvider.php
index 2506211..bf517ba 100755
--- a/app/libraries/Airavata/IamAdminServiceProvider.php
+++ b/app/libraries/Airavata/IamAdminServiceProvider.php
@@ -7,6 +7,7 @@ use Illuminate\Support\Facades\Config;
 use Airavata\API\AiravataClient;
 use Thrift\Transport\TSocket;
 use Thrift\Protocol\TBinaryProtocol;
+use Thrift\Protocol\TMultiplexedProtocol;
 use Illuminate\Routing\Redirector;
 
 class IamAdminServiceProvider extends ServiceProvider {
@@ -47,6 +48,7 @@ class IamAdminServiceProvider extends ServiceProvider {
                 $transport->setSendTimeout( Config::get('pga_config.airavata')['airavata-timeout']);
 
                 $protocol = new TBinaryProtocol($transport);
+                $protocol = new TMultiplexedProtocol($protocol, "IamAdminServices");
                 $transport->open();
 
                 $client = new IamAdminServicesClient($protocol);


Mime
View raw message