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

xdstp: CDS/RDS/SRDS/EDS support added. #15593

Merged
merged 5 commits into from
Mar 25, 2021
Merged

Conversation

htuch
Copy link
Member

@htuch htuch commented Mar 21, 2021

This adds the foundations of support for glob collections in CDS/SRDS
(in addition to LDS from #14311) and singletons in RDS/EDS.

xdstp:// URLs are not normalized across the internal resource graph yet,
so this is only safe to use for sorted context parameters (followup PRs
planned on this).

Part of #11264.

Risk level: Low (opt-in)
Testing: ADS/SRDS integration tests added, various unit tests in
//test/common/config/...

Signed-off-by: Harvey Tuch [email protected]

This adds the foundations of support for glob collections in CDS/SRDS
(in addition to LDS from envoyproxy#14311) and singleton collections in RDS/EDS.

xdstp:// URLs are not normalized across the internal resource graph yet,
so this is only safe to use for sorted context parameters (followup PRs
planned on this).

Part of envoyproxy#11264.

Risk level: Low (opt-in)
Testing: ADS/SRDS integration tests added, various unit tests in
  //test/common/config/...

Signed-off-by: Harvey Tuch <[email protected]>
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/envoy/.
API shepherd assignee is @mattklein123
CC @envoyproxy/api-watchers: FYI only for changes made to api/envoy/.

🐱

Caused by: #15593 was opened by htuch.

see: more, trace.

Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

Overall looks good, thanks!

source/common/config/new_grpc_mux_impl.cc Outdated Show resolved Hide resolved
source/common/config/subscription_factory_impl.cc Outdated Show resolved Hide resolved
source/common/config/watch_map.cc Outdated Show resolved Hide resolved
source/common/router/scoped_rds.cc Outdated Show resolved Hide resolved
Copy link
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

Overall looks good.
Left a couple of minor comments.

source/common/router/scoped_rds.cc Outdated Show resolved Hide resolved
source/common/config/new_grpc_mux_impl.cc Show resolved Hide resolved
Signed-off-by: Harvey Tuch <[email protected]>
Copy link
Contributor

@adisuissa adisuissa 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!

@htuch
Copy link
Member Author

htuch commented Mar 25, 2021

@mattklein123 this is ready for review, @adisuissa has done first pass and LGTMed.

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

@htuch htuch merged commit fbb7f9a into envoyproxy:main Mar 25, 2021
@htuch htuch deleted the cds-xdstp-glob branch March 25, 2021 20:41
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.

3 participants