Skip to content

Support dynamic_action in composite filter#33511

Merged
yanavlasov merged 6 commits intoenvoyproxy:mainfrom
yanjunxiang-google:composite_dynamic_action
Apr 15, 2024
Merged

Support dynamic_action in composite filter#33511
yanavlasov merged 6 commits intoenvoyproxy:mainfrom
yanjunxiang-google:composite_dynamic_action

Conversation

@yanjunxiang-google
Copy link
Copy Markdown
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>
@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 @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
Copy Markdown
Contributor Author

/assign @htuch @tyxia @wbpcode @yanavlasov

Comment thread envoy/upstream/cluster_manager.h
Comment thread test/extensions/filters/http/ext_proc/ext_proc_integration_test.cc
@htuch
Copy link
Copy Markdown
Member

htuch commented Apr 14, 2024

/lgtm api

Copy link
Copy Markdown
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
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