Skip to content

feat(translator): Implement Retry in BTP#2678

Merged
arkodg merged 4 commits intoenvoyproxy:mainfrom
guydc:impl-btp-retries
Feb 23, 2024
Merged

feat(translator): Implement Retry in BTP#2678
arkodg merged 4 commits intoenvoyproxy:mainfrom
guydc:impl-btp-retries

Conversation

@guydc
Copy link
Copy Markdown
Contributor

@guydc guydc commented Feb 22, 2024

What this PR does / why we need it:
Implements retry API in BTP: #2657

Which issue(s) this PR fixes:
Fixes #1907

Signed-off-by: Guy Daich <guy.daich@sap.com>
@guydc guydc requested a review from a team as a code owner February 22, 2024 20:13
Signed-off-by: Guy Daich <guy.daich@sap.com>
routes:
- name: "first-route"
hostname: "*"
retry:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can we add another case with a empty retry: {} to its easier to cross check defaults in the future, thanks

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 22, 2024

Codecov Report

Attention: Patch coverage is 63.24111% with 93 lines in your changes are missing coverage. Please review.

Project coverage is 63.37%. Comparing base (fc7d6bc) to head (74df8ed).

Files Patch % Lines
internal/ir/zz_generated.deepcopy.go 0.00% 85 Missing and 1 partial ⚠️
internal/xds/translator/route.go 92.04% 5 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2678      +/-   ##
==========================================
+ Coverage   63.33%   63.37%   +0.03%     
==========================================
  Files         119      119              
  Lines       19211    19464     +253     
==========================================
+ Hits        12168    12336     +168     
- Misses       6244     6328      +84     
- Partials      799      800       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Guy Daich <guy.daich@sap.com>
@guydc
Copy link
Copy Markdown
Contributor Author

guydc commented Feb 23, 2024

/retest

Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

LGTM thanks !

@guydc guydc added this to the v1.0.0-rc1 milestone Feb 23, 2024
@arkodg arkodg requested review from a team February 23, 2024 02:15
Copy link
Copy Markdown
Contributor

@shawnh2 shawnh2 left a comment

Choose a reason for hiding this comment

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

lgtm, thanks

@arkodg arkodg merged commit d407e0f into envoyproxy:main Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Support retries

3 participants