Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gengapic): REGAPIC retry support #993

Merged
merged 4 commits into from
May 19, 2022

Conversation

noahdietz
Copy link
Collaborator

This adds generation for default retry config for REGAPIC clients. The status codes in the retry configuration used today for gRPC are converted into HTTP status codes according to a canonical mapping that all languages are using.

Fixes #843.

@noahdietz noahdietz requested review from a team as code owners May 12, 2022 19:13
Copy link
Member

@codyoss codyoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one question

internal/gengapic/genrest.go Show resolved Hide resolved
@noahdietz
Copy link
Collaborator Author

Going to hold off on submitting this PR until gax-go v2.4.0 has landed in google-cloud-go. Don't want any accidental regens with this producing broken code or blocking integration of a fix.

@noahdietz
Copy link
Collaborator Author

FYI: Rebased onto main in order to fix merge conflicts with #994

@noahdietz noahdietz merged commit 4021354 into googleapis:main May 19, 2022
@noahdietz noahdietz deleted the regapic-retry branch May 19, 2022 21:46
gcf-merge-on-green bot pushed a commit that referenced this pull request Jun 1, 2022
🤖 I have created a release *beep* *boop*
---


## [0.30.0](v0.29.2...v0.30.0) (2022-06-01)


### Features

* **gengapic:** REGAPIC retry support ([#993](#993)) ([4021354](4021354))


### Bug Fixes

* **bazel:** add missing regapic dep to go_library ([#1016](#1016)) ([ba270da](ba270da))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gapic: REGAPIC calls must have default client-side retry
2 participants