Skip to content

refactor: group xds backend traffic features for BackendTrafficPolicy#3189

Merged
arkodg merged 10 commits intoenvoyproxy:mainfrom
shawnh2:xds-btp-group
May 13, 2024
Merged

refactor: group xds backend traffic features for BackendTrafficPolicy#3189
arkodg merged 10 commits intoenvoyproxy:mainfrom
shawnh2:xds-btp-group

Conversation

@shawnh2
Copy link
Copy Markdown
Contributor

@shawnh2 shawnh2 commented Apr 14, 2024

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #2954, separated from #2926

shawnh2 added 2 commits April 14, 2024 23:31
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
@shawnh2 shawnh2 requested a review from a team as a code owner April 14, 2024 15:35
@shawnh2 shawnh2 requested review from arkodg and zhaohuabing April 14, 2024 15:35
@shawnh2
Copy link
Copy Markdown
Contributor Author

shawnh2 commented Apr 15, 2024

/retest

@shawnh2 shawnh2 requested a review from arkodg April 16, 2024 11:32
distinct: false
name: ""
prefix: /
traffic: {}
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.

empty, is this expected ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

indeed is empty

arkodg
arkodg previously approved these changes May 10, 2024
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 !

@zhaohuabing
Copy link
Copy Markdown
Member

@shawnh2 resolve the conflicts, then we're good to go :-)

shawnh2 added 3 commits May 11, 2024 11:11
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
@shawnh2
Copy link
Copy Markdown
Contributor Author

shawnh2 commented May 11, 2024

@shawnh2 resolve the conflicts, then we're good to go :-)

Done

ConfigType: &routev3.RetryPolicy_RetryHostPredicate_TypedConfig{
TypedConfig: protocov.ToAny(&previoushost.PreviousHostsPredicate{}),
},
rr := route.Traffic.Retry
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

skip the nil check here, since it's been checked outside this func

shawnh2 added 2 commits May 11, 2024 12:30
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
Signed-off-by: shawnh2 <shawnhxh@outlook.com>
@shawnh2
Copy link
Copy Markdown
Contributor Author

shawnh2 commented May 11, 2024

/retest

@shawnh2 shawnh2 requested a review from arkodg May 13, 2024 05:45
@arkodg arkodg merged commit 6f6d868 into envoyproxy:main May 13, 2024
@shawnh2 shawnh2 deleted the xds-btp-group branch May 14, 2024 00:03
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.

Refactor ir HTTPRoute: group related features into structures

3 participants