googleapis / googleapis/google-cloud-java

Directpath support on non prod environments

Offen
#14,246 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
gcp, java
Bereich
backend, cloud
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
68/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.