googleapis / googleapis/google-cloud-java

[sdk-platform-java] Investigate how to Expose EndpointContext in Java-Core

Đang mở
#12,443 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
priority: p3 type: feature request
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

GAPICs use the [EndpointContext ](https://github.com/googleapis/sdk-platform-java/blob/ba648ceac869d4fab1a9cbeb40f2e04f69dad4e3/gax-java/gax/src/main/java/com/google/api/gax/rpc/EndpointContext.java) to resolve the endpoint and universe domain.

As of now, we are simply duplicating the logic between Gax-Java and Java-Core. We would like to be able to use the EndpointContext inside Java-Core so that we only need to maintain one spot to resolve the endpoint and universe domain.

The issue is that EndpointContext was written with GAPICs in mind and contain some GAPIC specific functionalities.

There are a few open questions that need to be investigated and solved: https://github.com/googleapis/sdk-platform-java/pull/2592#discussion_r1560068306

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

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

Đá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.