googleapis / googleapis/google-cloud-java

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

未关闭
#12,443 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: p3 type: feature request
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。