gapic-generator-java
gapic-generator-java copied to clipboard
Generates GAPIC Java client libraries from protobufs.
Use the common GaxHttpJsonProperties.getDefaultApiClientHeaderPattern(), instead of recreating regex exp.
Setup renovate to update GitHub action version in `hermetic_build/library_generation/owlbot/templates`
In hermetic build, Owlbot is used to copy pre-processed library to its final destination for post-processing. It needs a configuration file, `.OwlBot-hermetic.yaml` to specify how to copy generated files to...
In handwritten libraries, the libraries BOM version in `README.md` is not updated correctly. For example, in https://github.com/googleapis/java-firestore/pull/1921, the version is update to 26.50.0 but the the libraries BOM version in...
mTLS support is added in https://github.com/googleapis/gax-java/pull/1249#issue-742009065. Need documentation/sample on how to use with client library. Basic usage guide available in PR description, but needs visibility to at least a README.md...
The template of `.OwlBot-hermetic.yaml` for ad-manager, a non-Cloud libraries, is wrong, e.g., fixed in https://github.com/googleapis/google-cloud-java/pull/11235. We should change the template of `.OwlBot-hermetic.yaml` for non-Cloud libraries to prevent further issue. Also,...
Currently, the `clirr-ignored-differences.xml` is only generated [if the file doesn't exist](https://github.com/googleapis/sdk-platform-java/blob/7d6d66a161db5edc538aec065405954acf4434c5/hermetic_build/library_generation/owlbot/bin/write_clirr_ignore.sh#L24), e.g., in new client generation. We should make this file as one of the output of the library generation,...
Currently, we only have [an integration test](https://github.com/googleapis/sdk-platform-java/blob/4d4c798feb6e9eee2c88fdbda1282d8c109b8eb5/hermetic_build/library_generation/tests/integration_tests.py#L70) to verify library generation against google-cloud-java. We should expend the integration test to verify library generation against a handwritten library, e.g., bigtable. Also,...
We have a [from_yaml](https://github.com/googleapis/sdk-platform-java/blob/7d6d66a161db5edc538aec065405954acf4434c5/hermetic_build/common/model/generation_config.py#L113) function to verify the generation config contains all required fields. We should enhance this function to raise an exception if an unknown parameter is set in...
The unit tests in `hermetic_build/release_note_generation/tests/generate_pr_description_unit_tests.py` have real `git clone` and `git checkout`. However, it is not a best practice for unit tests to depend on internet request as it is...