googleapis / googleapis/google-cloud-java

Directpath support on non prod environments

Đang mở
#14,246 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

## 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

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

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

Hướng nghiên cứu

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.

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

Đánh giá

Công nghệ
gcp, java
Lĩnh vực
backend, cloud
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
68/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.