googleapis / googleapis/google-cloud-java

Directpath support on non prod environments

Ouverte
#14,246 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
2.1k
Forks
1.2k
Merge moyen
1 j 23 h
PR mergées (30 j)
154

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
gcp, java
Domaine
backend, cloud
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
68/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.