googleapis / googleapis/google-cloud-java
Directpath support on non prod environments
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 154
描述
## Issue Details
Directpath does not work unless a google universe domain is in the URL. However, there are cases where directpath can be used in non-prod environments.
https://github.com/googleapis/google-cloud-java/blob/main/sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java#L877.
Can we override [this check](https://github.com/googleapis/google-cloud-java/blob/main/sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java#L540) with a option or environment variable so DP is available in non-prod?
See https://b.corp.google.com/issues/479544840#comment6 for details
贡献指南
调研方向
Start in sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java, reviewing the DirectPath-related logic around lines 540 and 877. Determine how an option or environment variable could override the Google universe domain check, then verify that DirectPath is available for supported non-production environments without changing the existing production behavior.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- gcp, java
- 领域
- backend, cloud
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100