GitHub user pu239ppy opened a pull request:
https://github.com/apache/phoenix/pull/307
Phoenix 4688 Kerberize python phoenixdb
Lets rip out httplib and replace with requests and use requests kerberos
#### Notes
- This PR mirrors requests kerberos until such time that the maintainers of
reuests-kerberos can merge
https://github.com/requests/requests-kerberos/pull/115
- This is trivial comparing to the integration test required
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pu239ppy/phoenix PHOENIX-4688
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/307.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #307
----
commit 6a5448237fee59c36b167f445bfdb23ce27a308f
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-06T15:06:42Z
moved to a separate subdirectory
commit 6373e0332b24010d7b357065fface0bb7a97f0d5
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-06T15:11:31Z
whoops should have been ls -la
commit c3c86b912f33b964f8cc607b1c43b3eb3ff56b3d
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-06T15:14:35Z
added my fork of requests-kerberos module
commit 03fc4c53b9448704d569fd4af574eecd1ea5536d
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-06T16:00:45Z
Now with KERBEROS
commit 5fb158af09150e5ab35eb9b96fd93550b93629a2
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-06T17:40:08Z
documentation
commit e919c76760f5574477a22bee0028b58d6e1460b2
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-25T22:06:52Z
phoenixdb qualifier
commit 3f23299553673b35aebe0f258142d999e1fe54f9
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-26T02:53:59Z
no need to maintain a separate directory name for forked project
commit 7f2f19c30538d3db54110e7296829fffa87113c4
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-26T13:34:54Z
add test script to run python
commit 0207cc5e9c292eda1859a4ce96e802c4bf3044fd
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-26T13:37:32Z
make excutable
commit 56c7a9a9c07d003d76813cb48243b10598d6cef2
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-26T14:49:30Z
pass command line parameters
commit b2c7c206d830baafc39cdf833153505425187967
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-26T14:54:07Z
phoenix URL
commit 4b6ebc1153643e9e033e84f1cb636f872468dfdd
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-26T21:51:38Z
lets not do heredoc
commit 8203449d342fcee41d0d72227ea80a7b73f62879
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-26T21:52:00Z
get STDOUT/ERR
commit 81dd5b35d18466e0758d3b56960f33ac1d84a365
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T11:22:33Z
typo in realms
commit be0f774c10fc790166f6af060d06e7e3b575df07
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T11:23:13Z
few safegurds
commit ddfd1e324df83aec7c7bb425adfe435c7c36e11d
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T11:42:54Z
Add KDC port to list of params
commit b04a8eed246ea1987a282a34ad832d08d8b390ed
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T12:45:12Z
use krb5.conf generated by the MINI KDC
commit 2a4969b9cad2ad178c85804ed458b63f62e0d8dc
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T13:00:01Z
use example from README
commit 032879b8abeae71db016ca26a6b4f27000fb504a
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T13:00:21Z
comments
commit 6500a024beaa161841b731fdec09523d1c57daf4
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T13:01:49Z
lets just hardcode this, what difference doe sit make
commit d7830fcfcc43fac8ff4de176554c39983e718383
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T16:54:16Z
avoiding unbound variable mech_oid
commit 7fa5c5d76c74350f91d2373ff452f59810c77da7
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T16:55:18Z
have to pass PQS port as it changes on every run
commit e473255835df659386f6b221c31184f6aeabc2c8
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T17:00:38Z
pass PQS port to python
commit 7b17feb11cf3d73daaa0584e9359fa64998d2738
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T17:53:34Z
OS agnostic path
commit 312bb27c06006b7ff12cf32ff8e422e3940a08f5
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T19:20:36Z
shell script inherits proxy settings form caller no need to set, cook up a
custom heimdal krb5.conf if mac
commit 10021e341d25b530fda7a69f1cd9ef37917a3c14
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T19:42:50Z
tell shell script where to find python script
commit 7652edf8a4574f073f2911fe0062ba95ba799167
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-27T21:38:58Z
no longer need to do any cleanup
commit 1aa9147566b6e2c9f5a0eb154f6c09113f143956
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-28T16:55:13Z
call kinit and pass along credentials
commit 933328e01fd02909cda72436104f7a85e0705cb5
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-28T18:47:06Z
stalls while trying to execute kinit, I will leave this for someone else to
figure out
commit 690b5e9c116121962b585c5a97ca2ff7fe30f992
Author: Lev Bronshtein <lbronshtein@...>
Date: 2018-06-28T18:50:09Z
dont forget to deactivate the environment
----
---