You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dsdinter <gi...@git.apache.org> on 2017/11/15 15:40:50 UTC

[GitHub] beam pull request #4136: [BEAM-3184] Added ProxyInfoFromEnvironmentVar() & G...

GitHub user dsdinter opened a pull request:

    https://github.com/apache/beam/pull/4136

    [BEAM-3184] Added ProxyInfoFromEnvironmentVar() & GetNewHttp() methods for GCS

    This PR meant to fix BEAM-3184 "Not able to access GCS API when submitting Python jobs behind corporate firewall".
    Added ProxyInfoFromEnvironmentVar() & GetNewHttp() methods to get proxy environment settings in gcsio.py module in Python SDK, this is to add methods to pick up proxy settings from environment variables in the httplib2 library, allowing to submit jobs from behind a corporate proxy by connecting to GCS buckets.
    
    Note: These methods are based from GCP gsutil Python tool.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dsdinter/beam python-proxy

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/beam/pull/4136.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 #4136
    
----
commit 83a54b5b5695783967a175c4623af31997e52b35
Author: David Sabater Dinter <da...@gmail.com>
Date:   2017-11-13T22:18:30Z

    Added ProxyInfoFromEnvironmentVar() & GetNewHttp() methods to get proxy environment settings.

----


---