cloudinary / cloudinary/cloudinary_java

cloudinary-http5 ignores system properties

Đang mở
#348 2 bình luận 0 reaction 1 người được giao Được @adimiz1 nhận Xem trên GitHub
Ngôn ngữ chính
Java
Star
175
Fork
113
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Describe the bug in a sentence or two.
Previous versions of the library like cloudinary-http45 took system properties into account. cloudinary-http5 doesn't do this anymore, which makes it harder to run the library with different configs.

## Issue Type (Can be multiple)
[ ] Build - Can’t install or import the SDK
[ ] Performance - Performance issues
[ x] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Other (Specify)

## Steps to reproduce
Start a VM with http.proxyHost and http.proxyPort parameters. On 1.39.0 this will work, on 2.0.0 the proxy will be ignored.

## Versions and Libraries (fill in the version numbers)
Cloudinary Java SDK version - 2.0.0

## Repository
Problem is the init method: [LINK](https://github.com/cloudinary/cloudinary_java/blob/master/cloudinary-http5/src/main/java/com/cloudinary/http5/ApiStrategy.java)
The [old init method ](https://github.com/cloudinary/cloudinary_java/blob/1.39.0/cloudinary-http45/src/main/java/com/cloudinary/http45/ApiStrategy.java) invoked `useSystemProperties` on the builder. This is missing in 2.0.0

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

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.