AdobeDocs / AdobeDocs/cloudmanager-api-docs

Suggestion: ability to use aio-lib-cloudmanager with a HTTP proxy

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9
Forks
35
Avg merge
6d 22h
Merged PRs (30d)
2

Description

I have a suggestion - hopefully that's the right place.

In some corporate intranets it is only possible to access the cloudmanager api through a proxy. In such a situation it would be very helpful if aio-lib-cloudmanager would support that. As of version 1.0.0 it's not possible to do that with aio-lib-cloudmanager , though the underlying httpclient framework nicely supports that. That is, it's not possible without either modifying the aio-lib-cloudmanager code, or pulling some really nasty tricks like modifying the private final field apiClient in CloudManagerApi ...
Thanks a lot!

BTW: I needed to use the ApacheConnectorProvider for the ApiClient to use a proxy, JettyConnectorProvider would probably work, too.

#### Platform and Version

java8 aio-lib-cloudmanager version 1.0.0 on, well, Java 8

Contributor guide

Open the contributing guide

Research direction

Start by tracing how CloudManagerApi creates or receives its private final apiClient, then review the underlying ApiClient proxy support and the ApacheConnectorProvider and JettyConnectorProvider options mentioned in the issue. Done means callers can configure HTTP proxy access through aio-lib-cloudmanager without modifying private fields or using workarounds.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
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.