You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ya...@apache.org on 2025/10/23 22:45:24 UTC

(airavata-portals) branch merge-svcs created (now 2c35bba46)

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

yasith pushed a change to branch merge-svcs
in repository https://gitbox.apache.org/repos/asf/airavata-portals.git


      at 2c35bba46 use multiplexed thrift instead of individual services

This branch includes the following new commits:

     new 2c35bba46 use multiplexed thrift instead of individual services

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(airavata-portals) 01/01: use multiplexed thrift instead of individual services

Posted by ya...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yasith pushed a commit to branch merge-svcs
in repository https://gitbox.apache.org/repos/asf/airavata-portals.git

commit 2c35bba46025350501cfe5acd62279ba92bd44f8
Author: yasithdev <ya...@icloud.com>
AuthorDate: Thu Oct 23 17:45:13 2025 -0500

    use multiplexed thrift instead of individual services
---
 airavata-django-portal/django_airavata/utils.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/airavata-django-portal/django_airavata/utils.py b/airavata-django-portal/django_airavata/utils.py
index 49edc8f29..52c220df4 100644
--- a/airavata-django-portal/django_airavata/utils.py
+++ b/airavata-django-portal/django_airavata/utils.py
@@ -69,9 +69,8 @@ def create_airavata_client(transport):
 
     # Airavata currently uses Binary Protocol
     protocol = TBinaryProtocol.TBinaryProtocol(transport)
-
-    # Create a Airavata client to use the protocol encoder
-    client = Airavata.Client(protocol)
+    multiplex_prot = TMultiplexedProtocol(protocol, "AiravataAPI")
+    client = Airavata.Client(multiplex_prot)
     return client