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

feat(translator): support ext-proc dynamic metadata options #5023

Merged
merged 5 commits into from
Jan 11, 2025

Conversation

guydc
Copy link
Contributor

@guydc guydc commented Jan 7, 2025

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #3170, #4160

Release Notes: Yes

Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.71%. Comparing base (8dbe6e0) to head (5c7fb9c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5023      +/-   ##
==========================================
- Coverage   66.77%   66.71%   -0.07%     
==========================================
  Files         209      209              
  Lines       32383    32409      +26     
==========================================
- Hits        21625    21622       -3     
- Misses       9458     9479      +21     
- Partials     1300     1308       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arkodg arkodg modified the milestones: v1.3.0, v1.3.0-rc.1 Jan 8, 2025
// Default: no metadata context is sent or received from the external processor
//
// +optional
MetadataOptions *ExtProcMetadataOptions `json:"metadataOptions,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

prefer just Metadata

// metadata namespaces forwarded to external processor
//
// +optional
ForwardingNamespaces []string `json:"forwardingNamespaces,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

some options from ChatGPT

Field for Reading	Field for Writing
readNamespaces	writeNamespaces
inputNamespaces	outputNamespaces
sourceNamespaces	targetNamespaces
namespacesForRead	namespacesForWrite
accessibleNamespaces	writableNamespaces

I like readNamespaces / writeNamespaces and accessibleNamespaces/writableNamespaces

@guydc guydc force-pushed the feat-extproc-metadata branch from 1b9195a to 51a3df4 Compare January 8, 2025 17:37
@guydc guydc marked this pull request as ready for review January 8, 2025 22:45
@guydc guydc requested a review from a team as a code owner January 8, 2025 22:45
@guydc
Copy link
Contributor Author

guydc commented Jan 9, 2025

cc @zirain, you were interested in this in #4160

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

guydc added 5 commits January 11, 2025 09:45
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Guy Daich <guy.daich@sap.com>
@zirain zirain force-pushed the feat-extproc-metadata branch from 7950ffd to 5c7fb9c Compare January 11, 2025 01:45
@zirain zirain merged commit 9cbdded into envoyproxy:main Jan 11, 2025
28 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.

Support Additional External Processing Options
3 participants