cloudfoundry / cloudfoundry/cf-java-client

Could the client detect proxy configuration from the 'environment'?

Open
#533 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement operations triaged
Dominant language
Java
Stars
334
Forks
319
PR merge metrics
No merged PRs in 30d

Description

What I mean is the JVM hosting the client, if executing in a proxied environment will probably be already configured to work with the proxy.

For example by having system properties like https.proxyHost and https.proxyPort set.

Or via something like this:
https://java.com/en/download/help/proxy_setup.xml

Or a number of other ways I might be missing.

In other words the cf java client should strive to pick up proxy configuration automatically in a similar way that the JREs built-in http client libraries do.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Start at the Java client's HTTP and proxy configuration entry point, review JVM properties such as https.proxyHost and https.proxyPort alongside the linked JRE proxy guidance, and define tests for automatic proxy discovery. Done means supported JVM proxy settings work without manual configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.