gapic-generator-java
gapic-generator-java copied to clipboard
Generates GAPIC Java client libraries from protobufs.
The integration test is to make sure no difference between certain libraries generated by `generated_repo.py` and google-cloud-java (at a specific committish). We use a test branch of google-cloud-java, `test-hermetic-build`, to...
Fixes: https://github.com/googleapis/sdk-platform-java/issues/2503 Draft to look into the impact of refactoring the HttpJsonCallableFactory to be like the GrpcCallableFactory.
Context in https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/2570#issuecomment-1944253401 The spring-cloud-gcp autoconfig generator [tests](https://github.com/GoogleCloudPlatform/spring-cloud-gcp/blob/8ae8db3a386b096d53f71a067c86a94fc7d6e327/spring-cloud-generator/src/test/java/com/google/cloud/generator/spring/SpringWriterTest.java#L34-L36) rely on `TestProtoLoader.parseShowcaseEcho()`, which has a conflicting line that tries to parse the `echo_v1beta1.yaml` from `src/test/resources`, which is not available in the...
By default, the number of gRPC channel is set to [1 channel](https://github.com/googleapis/gapic-generator-java/blob/main/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java#L459) and the max rpc per channel is set to [Integer.MAX_VALUE](https://github.com/googleapis/gapic-generator-java/blob/3f6c4c04fde254cfc3c1441b44beeb2bbe0c7e03/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/ChannelPoolSettings.java#L131). However, the max rpc per channel is set...
From https://github.com/googleapis/google-cloud-java/actions/runs/8149990119/attempts/1 ``` /usr/local/lib/python3.11/site-packages/library_generation/postprocess_library.sh: line 89: REPO_BINDING_VOLUMES: unbound variable [431](https://github.com/googleapis/google-cloud-java/actions/runs/8149990119/job/22275511886#step:4:432)Library postprocessing failed [432](https://github.com/googleapis/google-cloud-java/actions/runs/8149990119/job/22275511886#step:4:433)Error: Process completed with exit code 1. ``` The `unbound variable` error comes from `set -u` that will...
Implement this TODO: https://github.com/googleapis/sdk-platform-java/blob/cc5724f04722e3d60eb9b4e02ecc1bdf5dd7a7fa/gax-java/gax/src/main/java/com/google/api/gax/core/BackgroundResourceAggregation.java#L78-L88 Implement subtracting time already used up from previous resources
When `tracer` throw an error (https://github.com/googleapis/gax-java/blob/v2.20.1/gax/src/main/java/com/google/api/gax/retrying/BasicRetryingFuture.java#L202) because of version mismatch, the client will hang forever. The problem seems to be somewhere in `BasicRetryingFuture` and `CallbackChainRetryingFuture`. In the following reproduce, `tracer.attemptSucceeded`...
We are due for an audit and clean up of Gax's unit tests. The introduction of the showcase module that brings in a local server and we can look to...
Discovered while implementing Showcase testing for the ComplianceSuite. This fails the `Compliance.RepeatDataPathTrailingResource` test case: `Testing group: `Binding selection testing`- RPC Name: `Compliance.RepeatDataPathResource` with Request Name: `Binding testing additional binding`. The...
spring-cloud-gcp is dependent on gapic-generator-java-bom, we should make sure that any changes in this repo should not break spring-cloud-gcp by adding a downstream check. This happened in the past that...