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

attribute: add upstream filter state #34284

Merged
merged 2 commits into from
May 31, 2024

Conversation

kyessenov
Copy link
Contributor

Commit Message: Add upstream filter state accessor, for consistency with Wasm and log formatters.
Additional Description:
Risk Level: low
Testing: added
Docs Changes: yes
Release Notes: none

Change-Id: I48b928db0e7b9b2d77dcafab0cbd897a7056b6ff
Signed-off-by: Kuat Yessenov <[email protected]>
Change-Id: If19ba1e687b78a4a763380181f8dcf52ad02558c
Signed-off-by: Kuat Yessenov <[email protected]>
Copy link
Member

@tyxia tyxia left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you!

@kyessenov kyessenov enabled auto-merge (squash) May 28, 2024 21:26
@@ -162,7 +162,17 @@ Data exchanged between filters is available as the following attributes:
:widths: 1, 1, 4

metadata, :ref:`Metadata<envoy_v3_api_msg_config.core.v3.metadata>`, Dynamic request metadata
filter_state, "map<string, bytes>", Mapping from a filter state name to its serialized string value
filter_state, "map<string, Value>", Mapping from the filter state name to the object value
Copy link
Member

Choose a reason for hiding this comment

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

Curious, since this PR introduces new attribute upstream filter state only, why are we updating docs for filter_state attribute? Is it because the doc for this attribute is out of sync with the code?

@kyessenov kyessenov merged commit 97bdf67 into envoyproxy:main May 31, 2024
52 checks passed
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.

None yet

3 participants