AdobeDocs / AdobeDocs/cloudmanager-api-docs

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

Đang mở
#227 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
9
Fork
35
Merge trung bình
6 ngày 22 giờ
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Trước tiên, hãy lần theo cách CloudManagerApi tạo hoặc nhận apiClient private final của nó, sau đó xem xét hỗ trợ proxy bên dưới của ApiClient cũng như các tùy chọn ApacheConnectorProvider và JettyConnectorProvider được đề cập trong issue. Công việc được coi là hoàn tất khi bên gọi có thể cấu hình quyền truy cập HTTP proxy thông qua aio-lib-cloudmanager mà không cần sửa đổi các trường private hoặc sử dụng workaround.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
api
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.