Skip to content

Remove the support for hidden_envoy_deprecated_HTTP_JSON_V1 - #17806

Merged
htuch merged 12 commits into
envoyproxy:mainfrom
tyxia:json
Sep 2, 2021
Merged

htuch merged 12 commits into
envoyproxy:mainfrom
tyxia:json

Conversation

@tyxia

@tyxia tyxia commented Aug 23, 2021 •

Copy link
Copy Markdown
Member
  • Removed the JsonV1Serializer and added exception for HTTP_JSON_V1version in Serializer creation.
  • Specified collector_endpoint_version in the test
  • Removed the default value for endpoint_, it is redundant here because in the zipkin.proto, it has PGV rule [(validate.rules).string = {min_len: 1}], so we always need to provide the config for this field.
  • Modified the ConstructBuffer test to create the buffer using ZipkinConfig::HTTP_JSON

Signed-off-by: Tianyu Xia [email protected]

Risk Level: LOW
Testing: CI

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #17806 was opened by tyxia.

see: more, trace.

tyxia added 2 commits August 23, 2021 15:52
Signed-off-by: Tianyu Xia <[email protected]>
Signed-off-by: Tianyu Xia <[email protected]>
@tyxia
tyxia marked this pull request as ready for review August 23, 2021 17:03
@tyxia

tyxia commented Aug 23, 2021 •

Copy link
Copy Markdown
Member Author

/retest

seems to be Bazel issue

Update: The latest failure in the CI seems to be unrelated to this PR: Code coverage for source/extensions/filters/http/cache is lower than limit of 92.7 (92.6

@repokitteh-read-only

Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #17806 (comment) was created by @tyxia.

see: more, trace.

@tyxia tyxia changed the title [WIP] Remove the support for hidden_envoy_deprecated_HTTP_JSON_V1 Remove the support for hidden_envoy_deprecated_HTTP_JSON_V1 Aug 23, 2021
@tyxia

tyxia commented Aug 23, 2021

Copy link
Copy Markdown
Member Author

/assign @htuch
PTAL. Thanks!

The latest failure in the CI : Code coverage for source/extensions/filters/http/cache is lower than limit of 92.7 (92.6)) seems to be unrelated to this PR.

@htuch

htuch commented Aug 26, 2021

Copy link
Copy Markdown
Member

@dio any thoughts on the safety here? I think we've been rejecting V1 without explicit override for some time (2 quarters now), so it would be reasonable, even though it's the proto default.

@htuch htuch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks; a few questions to convince myself this is safe.
/wait

@repokitteh-read-only

Copy link
Copy Markdown

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

🐱

Caused by: #17806 was synchronize by tyxia.

see: more, trace.

@tyxia tyxia left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks for the review!

@tyxia
tyxia requested a review from htuch August 30, 2021 21:03
Signed-off-by: Tianyu Xia <[email protected]>

@htuch htuch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. I think we can wrap this once remaining comments are resolved, thanks.
/wait

Signed-off-by: Tianyu Xia <[email protected]>
Signed-off-by: Tianyu Xia <[email protected]>
@tyxia
tyxia requested a review from htuch September 1, 2021 19:41

@htuch htuch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@repokitteh-read-only repokitteh-read-only Bot removed the api label Sep 2, 2021
@htuch
htuch merged commit db74e31 into envoyproxy:main Sep 2, 2021
dubious90 pushed a commit to envoyproxy/nighthawk that referenced this pull request Sep 8, 2021
- To accommodate the changes in envoyproxy/envoy#17806, we have to specify the collector_endpoint_version as `ZipkinConfig::HTTP_JSON` in the zipkin config.
- I also updated all `/api/v1/spans` to `/api/v2/spans` to keep it consistent with Envoy.

Signed-off-by: jiajunye <[email protected]>
@tyxia
tyxia deleted the json branch January 8, 2024 06: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.

3 participants