Skip to content

http: unifying client types#16606

Merged
alyssawilk merged 5 commits intoenvoyproxy:mainfrom
alyssawilk:rename_actual
May 27, 2021
Merged

http: unifying client types#16606
alyssawilk merged 5 commits intoenvoyproxy:mainfrom
alyssawilk:rename_actual

Conversation

@alyssawilk
Copy link
Copy Markdown
Contributor

It has been a pet peeve of mine for years that the test upstream and test client have different enums for the same codecs.
Unifying them, but leaving legacy typedefs for folks who don't want to update all their filters/tests.

Risk Level: Low (enum change, theoretical legacy support)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Nice, thanks! One small comment

static absl::string_view typeToString(Type type) {
// This is a legacy alias.
using Type = Envoy::Http::CodecType;
// using Type = Envoy::Http::CodecType;
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.

Remove this line?

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
snowp
snowp previously approved these changes May 24, 2021
Copy link
Copy Markdown
Contributor

@snowp snowp left a comment

Choose a reason for hiding this comment

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

Thanks!

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@alyssawilk
Copy link
Copy Markdown
Contributor Author

I think this PR is just too large for clang tidy to finish. @snowp would you be Ok if I just force-merge over that?

@snowp
Copy link
Copy Markdown
Contributor

snowp commented May 27, 2021

Fine with me as long as we don't break main as a result :)

@alyssawilk alyssawilk merged commit f82854f into envoyproxy:main May 27, 2021
@alyssawilk
Copy link
Copy Markdown
Contributor Author

yeah, I think it's just timing out on the diffs. will revert if I'm wrong :-)

leyao-daily pushed a commit to leyao-daily/envoy that referenced this pull request Sep 30, 2021
Unifying test upstream and client codec types, but leaving legacy typedefs for folks who don't want to update all their filters/tests.

Risk Level: Low (enum change, theoretical legacy support)
Testing: n/a
Docs Changes: n/a
Release Notes: n/a

Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
@alyssawilk alyssawilk deleted the rename_actual branch August 4, 2022 00:56
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.

2 participants