http: cleaning upstream interfaces for upstream filters. (#22918)
This changes the Upstream Filter code to creating the codec filter via factory which requires adding all UpstreamRequest/CodecFilter interactions to an UpstreamCallback interface accessible through the filter manager requires unhiding the configuration because the presubmit cross-checks for the registered factory require all the config be unhidden allows configuring the codec filter in configuration, in case of eventual alternate terminal filter allows fixing up the filter dependency validator to validate the entire upstream filter chain. Upstream filters flipped on for CI, SHOULD BE FLIPPED OFF BEFORE SUBMITTING Risk Level: low assuming it's flipped back off Testing: updated unit tests, covered by filter integration tests Docs Changes: n/a Release Notes: n/a (off by default) Part of #10455 Signed-off-by: Alyssa Wilk <alyssar@chromium.org> Mirrored from https://github.com/envoyproxy/envoy @ 978004308203aa9e86886512adf6b26376958405pull/626/head
parent
a089dab41a
commit
148bedcd80
5 changed files with 41 additions and 1 deletions
@ -0,0 +1,9 @@ |
|||||||
|
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py. |
||||||
|
|
||||||
|
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") |
||||||
|
|
||||||
|
licenses(["notice"]) # Apache 2 |
||||||
|
|
||||||
|
api_proto_package( |
||||||
|
deps = ["@com_github_cncf_udpa//udpa/annotations:pkg"], |
||||||
|
) |
@ -0,0 +1,18 @@ |
|||||||
|
syntax = "proto3"; |
||||||
|
|
||||||
|
package envoy.extensions.filters.http.upstream_codec.v3; |
||||||
|
|
||||||
|
import "udpa/annotations/status.proto"; |
||||||
|
|
||||||
|
option java_package = "io.envoyproxy.envoy.extensions.filters.http.upstream_codec.v3"; |
||||||
|
option java_outer_classname = "UpstreamCodecProto"; |
||||||
|
option java_multiple_files = true; |
||||||
|
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/upstream_codec/v3;upstream_codecv3"; |
||||||
|
option (udpa.annotations.file_status).package_version_status = ACTIVE; |
||||||
|
|
||||||
|
// [#protodoc-title: UpstreamCodec] |
||||||
|
// Codec :ref:`configuration overview <config_http_filters_upstream_codec>`. |
||||||
|
// [#extension: envoy.filters.http.upstream_codec] |
||||||
|
|
||||||
|
message UpstreamCodec { |
||||||
|
} |
Loading…
Reference in new issue