Skip to content

router: update all http filters to get per filter config by the http filter config name at first#22002

Merged
mattklein123 merged 8 commits intoenvoyproxy:mainfrom
wbpcode:dev-use-new-method-for-route-config
Jul 8, 2022
Merged

router: update all http filters to get per filter config by the http filter config name at first#22002
mattklein123 merged 8 commits intoenvoyproxy:mainfrom
wbpcode:dev-use-new-method-for-route-config

Conversation

@wbpcode
Copy link
Copy Markdown
Member

@wbpcode wbpcode commented Jul 3, 2022

Commit Message: router: update all http filters to get per filter config by the http filter config name

Additional Description:

Further work of #21525. Last step to close #12274.

Risk Level: Mid.
Testing: Updated.
Docs Changes: n/a.
Release Notes: Added.
Platform Specific Features: n/a.

wbpcode added 3 commits July 3, 2022 08:52
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #22002 was opened by wbpcode.

see: more, trace.

@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Jul 3, 2022

/wait CI

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Jul 4, 2022

@soulxu could you take a look as a first pass when you have free time? Thanks.

Copy link
Copy Markdown
Member

@soulxu soulxu left a comment

Choose a reason for hiding this comment

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

LGTM except one comment about duplicated test.

wbpcode added 2 commits July 5, 2022 11:12
Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Jul 7, 2022

cc @markdroth could you take a look when you have free time for this doc only API changes? Thanks.

@wbpcode wbpcode changed the title router: update all http filters to get per filter config by the http filter config name router: update all http filters to get per filter config by the http filter config name at first Jul 7, 2022
@wbpcode
Copy link
Copy Markdown
Member Author

wbpcode commented Jul 7, 2022

cc @mattklein123 @kyessenov I think this is also ready for a second pass. Could you take a look? Thanks.

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Nice this is great. LGTM with a small comment. Thank you.

/wait

Comment on lines +149 to +150
// The key should match the `filter config name
// <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please ref link using :ref: (same elsewhere)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Get it, thanks.

Signed-off-by: wbpcode <wangbaiping@corp.netease.com>
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

allow typed_per_filter_config to refer to "custom" HTTP filter names

6 participants