Skip to content

Docs and tests: Struct deprecation for Any and hosts deprecation for load_assignment#6409

Closed
moderation wants to merge 13 commits intoenvoyproxy:masterfrom
moderation:master
Closed

Docs and tests: Struct deprecation for Any and hosts deprecation for load_assignment#6409
moderation wants to merge 13 commits intoenvoyproxy:masterfrom
moderation:master

Conversation

@moderation
Copy link
Contributor

Description: update docs and tests for Struct -> Any and hosts -> load_assignment. This should complete the docs, examples, sandboxes and testing configs. TODO is to update the code tests.
Risk Level: Low, documentation and tests
Testing: bazel test //test/...
Docs Changes: XDS protocol, Zookeeper filter & flow control
Release Notes: None required
Related: #6346

…onfigs, updates Sandbox docs.

Signed-off-by: Michael Payne <michael@sooper.org>
Signed-off-by: Michael Payne <michael@sooper.org>
…hine running DoH / DoT - enable successful download of libjaegertracing_plugin.linux_amd64.so for jaeger-native-tracing sandbox.

Signed-off-by: Michael Payne <michael@sooper.org>
Signed-off-by: Michael Payne <michael@sooper.org>
Signed-off-by: Michael Payne <michael@sooper.org>
Signed-off-by: Michael Payne <michael@sooper.org>
Signed-off-by: Michael Payne <michael@sooper.org>
…load_assignment.

Signed-off-by: Michael Payne <michael@sooper.org>
@moderation
Copy link
Contributor Author

/cc @dio @htuch I didn't update https://github.com/envoyproxy/envoy/blob/master/test/config/integration/server.json which is a config that is very out of date. I couldn't find a way to trigger this in tests and for example could delete sections of the JSON to cause invalid JSON and all tests would pass. The references for server.json are https://github.com/envoyproxy/envoy/search?q=%22server.json%22&unscoped_q=%22server.json%22. If this config is note being used at all can we just remove it? (converting server.yaml was a huge undertaking)

@lizan lizan requested review from dio and htuch March 28, 2019 13:58
@moderation
Copy link
Contributor Author

/retest

@repokitteh-read-only
Copy link

🙀 failed invoking rebuild of ci/circleci: asan: 500 Internal Server Error

🐱

Caused by: a #6409 (comment) was created by @moderation.

see: more, trace.

@mattklein123
Copy link
Member

@moderation if you find a config that is not used and not tested, definitely delete it. Can you confirm that all configs that you have been fixing are covered by some test? I just want to make sure that we don't have a test bug somewhere that is causing a config to not get tested.

@mattklein123 mattklein123 self-assigned this Mar 28, 2019
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 so much for cranking on this. I have 1 question and if you could delete the dead config(s) that would be great (and also confirm that all the configs you are touching are getting tested somewhere).

Thank you!!!

name: redirect
- routes:
- prefix: "/"
typed_config:
Copy link
Member

Choose a reason for hiding this comment

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

I'm a little confused why all this churn was needed. Isn't it as simple as just specifying the type param in various places as was done elsewhere? I must be missing something?

Copy link
Member

Choose a reason for hiding this comment

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

The places where we switch to load_assignment make sense to me, but this particular file has a lot of churn. Most of this seems legit, but it would be helpful if @moderation could walk reviewers through this.

Copy link
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

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

Thanks @moderation!

address: <ADS management server IP address>
port_value: <ADS management server port>
load_assignment:
cluster_name: ads_cluster
Copy link
Member

Choose a reason for hiding this comment

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

I wonder if we should make cluster_name optional for these embedded scenarios? This information is strictly redundant. @dio @mattklein123 ?

Copy link
Member

Choose a reason for hiding this comment

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

@htuch do you think this does make sense?

Copy link
Member

Choose a reason for hiding this comment

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

@dio sort of. I think we can do this today by removing the check from PGV and putting it in Envoy at the consuming sites. I'm not sure how to do it generically though, ideas?

name: redirect
- routes:
- prefix: "/"
typed_config:
Copy link
Member

Choose a reason for hiding this comment

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

The places where we switch to load_assignment make sense to me, but this particular file has a lot of churn. Most of this seems legit, but it would be helpful if @moderation could walk reviewers through this.

@stale
Copy link

stale bot commented Apr 5, 2019

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale stalebot believes this issue/PR has not been touched recently label Apr 5, 2019
@moderation
Copy link
Contributor Author

/wait

Not stale, just haven't had a chance to work on this this week.

@stale stale bot removed the stale stalebot believes this issue/PR has not been touched recently label Apr 5, 2019
@stale
Copy link

stale bot commented Apr 12, 2019

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale stalebot believes this issue/PR has not been touched recently label Apr 12, 2019
@moderation
Copy link
Contributor Author

Still not stale.

@stale stale bot removed the stale stalebot believes this issue/PR has not been touched recently label Apr 12, 2019
@stale
Copy link

stale bot commented Apr 19, 2019

This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot added the stale stalebot believes this issue/PR has not been touched recently label Apr 19, 2019
@stale
Copy link

stale bot commented Apr 26, 2019

This pull request has been automatically closed because it has not had activity in the last 14 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@stale stale bot closed this Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale stalebot believes this issue/PR has not been touched recently waiting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants