Repository navigation
Remove the support for hidden_envoy_deprecated_HTTP_JSON_V1 - #17806
Conversation
Signed-off-by: Tianyu Xia <[email protected]>
Signed-off-by: Tianyu Xia <[email protected]>
Signed-off-by: Tianyu Xia <[email protected]>
Signed-off-by: Tianyu Xia <[email protected]>
|
/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 |
|
Retrying Azure Pipelines: |
hidden_envoy_deprecated_HTTP_JSON_V1hidden_envoy_deprecated_HTTP_JSON_V1
|
/assign @htuch 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. |
|
@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
left a comment
There was a problem hiding this comment.
Thanks; a few questions to convince myself this is safe.
/wait
Signed-off-by: Tianyu Xia <[email protected]>
Signed-off-by: Tianyu Xia <[email protected]>
Signed-off-by: Tianyu Xia <[email protected]>
htuch
left a comment
There was a problem hiding this comment.
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]>
- 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]>
JsonV1Serializerand added exception forHTTP_JSON_V1version in Serializer creation.collector_endpoint_versionin the testendpoint_, 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.ConstructBuffertest to create the buffer usingZipkinConfig::HTTP_JSONSigned-off-by: Tianyu Xia [email protected]
Risk Level: LOW
Testing: CI