alexio215 opened a new pull request, #6935:
URL: https://github.com/apache/kyuubi/pull/6935

   **Why are the changes needed:**
   Currently looking to connect to a HiveServer2 behind an NGINX proxy that is 
requiring mTLS communication. pyHive seems to lack the capability to establish 
an mTLS connection in applications such as Airflow directly communicating to 
the HiveServer2 instance.
   
   The change needed is to be able to pass in the parameters for a proper mTLS 
ssl context to be established. I believe that creating your own ssl_context 
object is the quickest and cleanest way to do so, leaving the responsibility of 
configuring it to further implementations and users. Also cuts down on code 
length.
   
   **How was this patch tested:**
   Corresponding pytest fixtures have been added, using the mock module to see 
if ssl_context object was properly accessed, or if the default one created in 
the Connection initialization was properly configured.
   
   Was not able to run pytest fixtures specifically, was lacking JDBC driver, 
first time contributing to open source, happy to run tests if provided 
guidance. Passed a clean build and test of the entire kyuubi project in local 
dev environment.
   
   **Was this patch authored or co-authored using generative AI tooling**
   Yes, Generated-by Cursor-AI with Claude Sonnet 3.5 agent


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to