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

Support dynamic_action in composite filter #33511

Merged

Conversation

yanjunxiang-google
Copy link
Contributor

@yanjunxiang-google yanjunxiang-google commented Apr 12, 2024

This is a follow up commit of #33013 to support dynamic_action in composite filter.
In #33013, the dynamic_action support is intentionally left out as there is
cluster manager initialization sequence issue (#33218), which is addressed by #33221.

This PR also extended the composite_filter_integration_test.cc:CompositeFilterIntegrationTest to support three parameters:

  1. IPv4 / IPv6
  2. Downstream only HTTP filter(filter config is based on FactoryBase) ) or dual filter(filter config is based on DualFactoryBase)
  3. config HTTP filter in downstream / upstream

Note, this combination is skipped: downstream only filter / config the filter in upstream, as this won't work.
Also, as per-route config is added in HCM, i.e, downstream, thus all the per-route tests are only done with filter configured in downstream.

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
…site_dynamic_action

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Copy link

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

🐱

Caused by: #33511 was synchronize by yanjunxiang-google.

see: more, trace.

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
@yanjunxiang-google yanjunxiang-google marked this pull request as ready for review April 13, 2024 03:48
@yanjunxiang-google
Copy link
Contributor Author

/assign @htuch @tyxia @wbpcode @yanavlasov

@htuch
Copy link
Member

htuch commented Apr 14, 2024

/lgtm api

Copy link
Contributor

@abeyad abeyad left a comment

Choose a reason for hiding this comment

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

/lgtm api

@yanavlasov yanavlasov merged commit b5c7e51 into envoyproxy:main Apr 15, 2024
54 checks passed
cainelli pushed a commit to cainelli/envoy that referenced this pull request Apr 18, 2024
---------

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
alyssawilk pushed a commit to alyssawilk/envoy that referenced this pull request Apr 29, 2024
---------

Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
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.

6 participants