-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74290/#review225145
-----------------------------------------------------------


Ship it!




Ship It!

- Madhan Neethiraj


On Feb. 2, 2023, 4:53 a.m., Abhishek  Kumar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/74290/
> -----------------------------------------------------------
> 
> (Updated Feb. 2, 2023, 4:53 a.m.)
> 
> 
> Review request for ranger and Madhan Neethiraj.
> 
> 
> Bugs: RANGER-4064
>     https://issues.apache.org/jira/browse/RANGER-4064
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> The patch allows python client to connect to https ranger w/o host 
> verification while maintaining backward compatibility.
> 
> 
> Diffs
> -----
> 
>   intg/src/main/python/apache_ranger/client/ranger_client.py 527380de7 
> 
> 
> Diff: https://reviews.apache.org/r/74290/diff/1/
> 
> 
> Testing
> -------
> 
> Tested using python 3.9.6:
> 
> from apache_ranger.model.ranger_service import *
> from apache_ranger.client.ranger_client import *
> from apache_ranger.model.ranger_policy  import *
> ranger_url  = 'https://somehost:6182'
> ranger_auth = ('admin', 'XXXXXXXXXXXXX')
> ranger = RangerClient(ranger_url, ranger_auth)
> ranger.session.verify = False
> service         = RangerService()
> service.name    = 'test_hive'
> service.type    = 'hive'
> service.configs = {'username':'hive', 'password':'hive', 
> 'jdbc.driverClassName': 'org.apache.hive.jdbc.HiveDriver', 'jdbc.url': 
> 'jdbc:hive2://ranger-hadoop:10000', 'hadoop.security.authorization': 'true'}
> created_service = ranger.create_service(service)
> 
> 
> Thanks,
> 
> Abhishek  Kumar
> 
>

Reply via email to