Skip to content

Abstraction ECDS config discovery header file to make it extendable - #20445

Merged
adisuissa merged 7 commits into
envoyproxy:mainfrom
yanjunxiang-google:listener_ecds
Mar 28, 2022
Merged

adisuissa merged 7 commits into
envoyproxy:mainfrom
yanjunxiang-google:listener_ecds

Conversation

@yanjunxiang-google

@yanjunxiang-google yanjunxiang-google commented Mar 22, 2022 •

Copy link
Copy Markdown
Contributor

Problem description:
Further abstraction ECDS config discovery header file to make it extendable for other filters like lisenter ECDS filter.
This is the follow up work to support listener filter ECDS as in issue: #20049.

The reason for this change is that prior to #20445, the two methods in class DynamicFilterConfigProviderImpl is tied into HTTP listener only:
validateMessage()
instantiateFilterFactory().

Thus #20445 is to abstract them out thus the logic can be implemented in filter type specific class.

Build:
passed

Testing:
passed

Release Notes:
N/A

Issues: ecds: add support for listener filters #20049

Signed-off-by: Yanjun Xiang [email protected]

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:]

@yanjunxiang-google yanjunxiang-google changed the title Further abstraction ECDS config discovery header file to make it exte… Abstraction ECDS config discovery header file to make it extendable Mar 22, 2022
@yanjunxiang-google

Copy link
Copy Markdown
Contributor Author

/assign @adisuissa @yanavlasov

@yanjunxiang-google

Copy link
Copy Markdown
Contributor Author

/assign @kyessenov

Signed-off-by: Yanjun Xiang <[email protected]>

@adisuissa adisuissa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! Left a few comments.
I think this refactor makes sense.
@kyessenov WDYT?

Signed-off-by: Yanjun Xiang <[email protected]>
Signed-off-by: Yanjun Xiang <[email protected]>
@yanjunxiang-google

Copy link
Copy Markdown
Contributor Author

/retest

@repokitteh-read-only

Copy link
Copy Markdown

Retrying Azure Pipelines:
Check envoy-presubmit didn't fail.
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #20445 (comment) was created by @yanjunxiang-google.

see: more, trace.

@kyessenov

kyessenov commented Mar 22, 2022 •

Copy link
Copy Markdown
Contributor

Makes sense to me. Left a comment to confirm that we don't have redundant code.

@adisuissa adisuissa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM other than the nit.
/assign-from @envoyproxy/senior-maintainers

Signed-off-by: Yanjun Xiang <[email protected]>
@adisuissa

Copy link
Copy Markdown
Contributor

@repokitteh-read-only

Copy link
Copy Markdown

@adisuissa

Copy link
Copy Markdown
Contributor

/assign-from @envoyproxy/senior-maintainers

@repokitteh-read-only

Copy link
Copy Markdown

@envoyproxy/senior-maintainers assignee is @yanavlasov

🐱

Caused by: a #20445 (comment) was created by @adisuissa.

see: more, trace.

@yanjunxiang-google

Copy link
Copy Markdown
Contributor Author

Makes sense to me. Left a comment to confirm that we don't have redundant code.
@kyessenov , please let me know if you have any further comments.

@kyessenov

Copy link
Copy Markdown
Contributor

Thanks, my comment was addressed.

@adisuissa
adisuissa merged commit b5d7c59 into envoyproxy:main Mar 28, 2022
@yanjunxiang-google
yanjunxiang-google deleted the listener_ecds branch March 28, 2022 19:37
ravenblackx pushed a commit to ravenblackx/envoy that referenced this pull request Jun 8, 2022
…nvoyproxy#20445)

* Further abstraction ECDS config discovery header file to make it extendable to other filters.

Signed-off-by: Yanjun Xiang <[email protected]>
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.

4 participants