fix: More REST transport fixes#1003
Merged
vam-google merged 1 commit intogoogleapis:mainfrom Jun 9, 2022
Merged
Conversation
1) Generate an empty unit test method even if the method is not supported in a particular transport. Bazel fails test execution, if the test class has no `@Test` methods. In case if there is a service with only unsupported methods, and we do not generate unit tests for those, we would get an empty unit test, which will fail execution in our automatic bazel build pipeline. 2) For fields of `google.protobuf.Value` type set an actual value for it (to avoid non-set vs null value differences after json serialization/deserializaiton roudtrip). This looks like an issue in protobuf support of `google.protobuf.Value` type in JSON and not specific to GAPIC.
|
Kudos, SonarCloud Quality Gate passed! |
blakeli0
reviewed
Jun 9, 2022
.../java/com/google/api/generator/gapic/composer/grpcrest/goldens/EchoClientHttpJsonTest.golden
Show resolved
Hide resolved
blakeli0
reviewed
Jun 9, 2022
src/main/java/com/google/api/generator/gapic/composer/defaultvalue/DefaultValueComposer.java
Show resolved
Hide resolved
Contributor
Author
|
@blakeli0 PTAL, this is the last PR I need to submit before rolling our regapic |
blakeli0
approved these changes
Jun 9, 2022
suztomo
pushed a commit
that referenced
this pull request
Dec 16, 2022
1) Generate an empty unit test method even if the method is not supported in a particular transport. Bazel fails test execution, if the test class has no `@Test` methods. In case if there is a service with only unsupported methods, and we do not generate unit tests for those, we would get an empty unit test, which will fail execution in our automatic bazel build pipeline. 2) For fields of `google.protobuf.Value` type set an actual value for it (to avoid non-set vs null value differences after json serialization/deserializaiton roudtrip). This looks like an issue in protobuf support of `google.protobuf.Value` type in JSON and not specific to GAPIC.
suztomo
pushed a commit
that referenced
this pull request
Mar 21, 2023
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | `1.6.3` -> `1.6.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ThreeTen/threetenbp</summary> ### [`v1.6.4`](https://togithub.com/ThreeTen/threetenbp/releases/tag/v1.6.4) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.6.3...v1.6.4) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-core). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC45LjIifQ==-->
suztomo
pushed a commit
that referenced
this pull request
Mar 21, 2023
🤖 I have created a release *beep* *boop* --- ## [2.8.25](https://togithub.com/googleapis/java-core/compare/v2.8.24...v2.8.25) (2022-10-31) ### Dependencies * Update dependency com.google.api:api-common to v2.2.2 ([#999](https://togithub.com/googleapis/java-core/issues/999)) ([e338f4f](https://togithub.com/googleapis/java-core/commit/e338f4f9f4572f771bce99b0744f676404e46680)) * Update dependency com.google.http-client:google-http-client-bom to v1.42.3 ([#1001](https://togithub.com/googleapis/java-core/issues/1001)) ([f271492](https://togithub.com/googleapis/java-core/commit/f27149236b59dc54d7b1ad147c06c865b91bba95)) * Update dependency com.google.protobuf:protobuf-bom to v3.21.9 ([#998](https://togithub.com/googleapis/java-core/issues/998)) ([23fe4e0](https://togithub.com/googleapis/java-core/commit/23fe4e097cd9b7732bd28d58312e97cdeb41960f)) * Update dependency org.threeten:threetenbp to v1.6.4 ([#1003](https://togithub.com/googleapis/java-core/issues/1003)) ([b55cde7](https://togithub.com/googleapis/java-core/commit/b55cde70a39174d32969b4c3b04853f0337494ca)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Generate an empty unit test method even if the method is not supported in a particular transport. Bazel fails test execution, if the test class has no
@Testmethods. In case if there is a service with only unsupported methods, and we do not generate unit tests for those, we would get an empty unit test, which will fail execution in our automatic bazel build pipeline.For fields of
google.protobuf.Valuetype set an actual value for it (to avoid non-set vs null value differences after json serialization/deserializaiton roudtrip). This looks like an issue in protobuf support ofgoogle.protobuf.Valuetype in JSON and not specific to GAPIC.