Put dns_resolution_config field in dns_filter.proto as deprecated#18649
Merged
mattklein123 merged 4 commits intoenvoyproxy:mainfrom Oct 22, 2021
Merged
Put dns_resolution_config field in dns_filter.proto as deprecated#18649mattklein123 merged 4 commits intoenvoyproxy:mainfrom
mattklein123 merged 4 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Contributor
Author
|
For reviewers: The changes replaced dns_resolution_config with the newly added typed_dns_resolver_config. The reasons to not test both of them are:
|
Contributor
Author
|
/assign @yanavlasov @htuch |
Contributor
Author
|
/assign @suniltheta @jpeach |
|
neither of @suniltheta, @jpeach can be assigned to this issue. |
yanavlasov
requested changes
Oct 19, 2021
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
suniltheta
suggested changes
Oct 20, 2021
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Signed-off-by: Yanjun Xiang <yanjunxiang@google.com>
Contributor
Author
|
Thanks! Adding a new test like 2) make sense to me. Just pushed the new
changes to the PR.
…On Wed, Oct 20, 2021 at 12:25 PM Sunil Narasimhamurthy < ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test/extensions/filters/udp/dns_filter/dns_filter_test.cc
<#18649 (comment)>:
> @@ -2194,7 +2207,7 @@ stat_prefix: "my_prefix"
}
// test typed_dns_resolver_config exits which overrides dns_resolution_config.
-TEST_F(DnsFilterTest, TypedDnsResolverConfigExist) {
+TEST_F(DnsFilterTest, DEPRECATED_FEATURE_TEST(TypedDnsResolverConfigExist)) {
Sure, I get it now.
In future when we remove the support for deprecated field
dns_resolution_config we should not accidentally remove this test case
entirely.
I am thinking we can do 1 of these now:
1. Add a comment saying when we remove the support for deprecated
field dns_resolution_config entirely just remove the tag
DEPRECATED_FEATURE_TEST and remove dns_resolution_config from the yaml
config.
OR
2. Rename this existing test DEPRECATED_FEATURE_TEST
(TypedDnsResolverConfigExist) --> DEPRECATED_FEATURE_TEST
(TypedDnsResolverConfigOverrideDnsResolutionConfig). Add another unit
test with name TypedDnsResolverConfigExist where we don't include
field dns_resolution_config in the yaml.
What do you think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18649 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASZIHLGXH3BMSKMO4IT6IJTUH3UPVANCNFSM5GDX6EJQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Contributor
|
/retest |
|
Retrying Azure Pipelines: |
Contributor
Author
|
/assign @mattklein123 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem Description:
This PR is the code changes to deprecate dns_resolution_config field in dns_filter.proto for issue: #18053. This is a follow up PR of #17479.
Solution:
Build:
passed
Testing:
passed
Release Notes:
N/A
Issues: deprecate dns_resolution_config #18053
Fix#18053
Signed-off-by: Yanjun Xiang yanjunxiang@google.com
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:]