Commit f4402bf
authored
fix: Disable automatically retrieving Universe Domain from Metadata Server (#3272)
See internal ticket b/349488459 for more info.
External info:
ComputeEngineCredentials in client libraries should not validate the
universe domain. Validating the universe domain requires retrieving it
from Metadata Server (MDS) and this will be temporarily disabled.
For users that using client libraries, there will be no automatic call
to MDS. For users that use the Credentials directly and manually call
`ComputeEngineCredentials.getUniverseDomain()` and the universe domain
is not explicitly set, it will make a call to MDS.1 parent 6d85864 commit f4402bf
File tree
2 files changed
+23
-0
lines changed- gax-java/gax/src
- main/java/com/google/api/gax/rpc
- test/java/com/google/api/gax/rpc
2 files changed
+23
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
145 | 146 | | |
146 | 147 | | |
147 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
437 | 439 | | |
438 | 440 | | |
439 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
440 | 457 | | |
0 commit comments