Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Proxy support for Dropwizard HTTP client #657
I often encounter with a situation when in closed corporate environments direct access to the Internet is blocked by security reasons. So all connections to external resources happen through a proxy server (usually with BASIC authentication).
Deploying applications in such environments becomes a huge pain, because usually you don't know in advance that an application will need proxy connection support and sometimes you just don't have possibility to change code to add this facility.
I believe, it would be quite useful to have this facility in the Dropwizard config. It frees an application developer from thoughts about environments where an application will be used and shifts this responsibility to operations guys. And they can configure proxy client support just in the application config without using external tools.
PS I've added the docs to proxy configuration. But I'm not a skilled english speaker, so, please, fix them if I messed up something.
referenced this pull request
Aug 11, 2014
I'm currently using DropWizard with a proxy server, but this PR wouldn't solve my problem because I need a whitelist of non-proxyable hosts on the local network. I have raised #681 as an alternative (not mutually exclusive) way to add proxy functionality. More details there.