Commit 3ba1b7d
authored
fix(internal/serviceconfig): fill java transport when different from default (#5241)
Check against BUILD.bazel and fill out sdk.yaml java transport when
different. Created a temporarily script to consistently do the task and
removed in later commit.
run the tool with
```
╰─$ go run tool/cmd/fix_java_transport/main.go -googleapis ../../googleapis -sdk-yaml internal/serviceconfig/sdk.yaml
Updating google/cloud/bigquery/storage/v1beta1 transport: sdk.yaml effective is "grpc+rest", Bazel has "grpc"
Updating google/cloud/managedidentities/v1beta1 transport: sdk.yaml effective is "grpc+rest", Bazel has "grpc"
Updating google/cloud/pubsublite/v1 transport: sdk.yaml effective is "grpc+rest", Bazel has "grpc"
Updating google/cloud/securitycenter/settings/v1beta1 transport: sdk.yaml effective is "grpc+rest", Bazel has "grpc"
Debug: google/cloud/sql/v1beta4 has java_gapic_library but no transport attribute in BUILD.bazel
Assigned java: grpc to google/cloud/sql/v1beta4 in sdk.yaml
Updating google/iam/v1beta transport: sdk.yaml effective is "grpc+rest", Bazel has "grpc"
Successfully updated sdk.yaml
```
Fix #49121 parent 9eee57d commit 3ba1b7d
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
894 | 894 | | |
895 | 895 | | |
896 | 896 | | |
| 897 | + | |
| 898 | + | |
897 | 899 | | |
898 | 900 | | |
899 | 901 | | |
| |||
1843 | 1845 | | |
1844 | 1846 | | |
1845 | 1847 | | |
| 1848 | + | |
| 1849 | + | |
1846 | 1850 | | |
1847 | 1851 | | |
1848 | 1852 | | |
| |||
2253 | 2257 | | |
2254 | 2258 | | |
2255 | 2259 | | |
| 2260 | + | |
2256 | 2261 | | |
2257 | 2262 | | |
2258 | 2263 | | |
| |||
2464 | 2469 | | |
2465 | 2470 | | |
2466 | 2471 | | |
| 2472 | + | |
| 2473 | + | |
2467 | 2474 | | |
2468 | 2475 | | |
2469 | 2476 | | |
| |||
2565 | 2572 | | |
2566 | 2573 | | |
2567 | 2574 | | |
| 2575 | + | |
| 2576 | + | |
2568 | 2577 | | |
2569 | 2578 | | |
2570 | 2579 | | |
| |||
3140 | 3149 | | |
3141 | 3150 | | |
3142 | 3151 | | |
| 3152 | + | |
| 3153 | + | |
3143 | 3154 | | |
3144 | 3155 | | |
3145 | 3156 | | |
| |||
0 commit comments