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

docs: update deprecation note for operation_name #8207

Merged
merged 1 commit into from
Sep 17, 2019

Conversation

kyessenov
Copy link
Contributor

@kyessenov kyessenov commented Sep 11, 2019

Signed-off-by: Kuat Yessenov kuat@google.com

Description: Minor clarification explaining why operation_name: INGRESS is not triggering the deprecation warnings.

Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Signed-off-by: Kuat Yessenov <kuat@google.com>
Copy link
Member

@junr03 junr03 left a comment

Choose a reason for hiding this comment

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

Should we trigger the deprecation warning? Is that possible? I know people rely on the warning way more reliably than reading the release notes.

@junr03 junr03 self-assigned this Sep 11, 2019
@kyessenov
Copy link
Contributor Author

We can't detect the default enum value once the config is converted to proto. So that means we might need to perform a pass at the JSON/YAML level (or hack into jsonpb). I don't know how easy it is in C++. Perhaps, API folks have seen this issue before.

@mattklein123
Copy link
Member

We can't detect the default enum value once the config is converted to proto. So that means we might need to perform a pass at the JSON/YAML level (or hack into jsonpb). I don't know how easy it is in C++. Perhaps, API folks have seen this issue before.

Can't we just look at the enum value directly and just call into the deprecation warning/stat code? cc @alyssawilk

@alyssawilk
Copy link
Contributor

I think the current deprecated code looks at deprecated fields, not deprecated values.
#8253 for tracking

@mattklein123
Copy link
Member

OK let's merge this and track the improvement in the follow up issue.

@mattklein123 mattklein123 merged commit 4d19eda into envoyproxy:master Sep 17, 2019
alyssawilk added a commit that referenced this pull request Sep 24, 2019
Handling deprecated and deprecated-default enum values as part of our config checking.

Risk Level: Medium
Testing: new unit tests
Docs Changes: updated runtime docs
Release Notes: reverted #8207
Fixes #8253
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Sep 24, 2019
Signed-off-by: Kuat Yessenov <kuat@google.com>
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
Signed-off-by: Kuat Yessenov <kuat@google.com>
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
Handling deprecated and deprecated-default enum values as part of our config checking.

Risk Level: Medium
Testing: new unit tests
Docs Changes: updated runtime docs
Release Notes: reverted envoyproxy#8207
Fixes envoyproxy#8253
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
danzh2010 pushed a commit to danzh2010/envoy that referenced this pull request Oct 4, 2019
Signed-off-by: Kuat Yessenov <kuat@google.com>
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