-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: add filter config discovery (#11571)
Define filter config discovery. Add FDS for HTTP filters (HTTP extensions is where the pain is felt the most). Modelled after RDS with a twist of config override for re-use. Risk Level: low (not implemented) Testing: Docs Changes: Release Notes: Issue: #7867 Signed-off-by: Kuat Yessenov <kuat@google.com>
- Loading branch information
Showing
9 changed files
with
239 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
38 changes: 36 additions & 2 deletions
38
.../extensions/filters/network/http_connection_manager/v4alpha/http_connection_manager.proto
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# DO NOT EDIT. This file is generated by tools/proto_sync.py. | ||
|
||
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package") | ||
|
||
licenses(["notice"]) # Apache 2 | ||
|
||
api_proto_package( | ||
has_services = True, | ||
deps = [ | ||
"//envoy/annotations:pkg", | ||
"//envoy/service/discovery/v3:pkg", | ||
"@com_github_cncf_udpa//udpa/annotations:pkg", | ||
], | ||
) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
syntax = "proto3"; | ||
|
||
package envoy.service.filter.v3; | ||
|
||
import "envoy/service/discovery/v3/discovery.proto"; | ||
|
||
import "google/api/annotations.proto"; | ||
|
||
import "envoy/annotations/resource.proto"; | ||
import "udpa/annotations/status.proto"; | ||
import "udpa/annotations/versioning.proto"; | ||
|
||
option java_package = "io.envoyproxy.envoy.service.filter.v3"; | ||
option java_outer_classname = "FilterConfigDiscoveryProto"; | ||
option java_multiple_files = true; | ||
option java_generic_services = true; | ||
option (udpa.annotations.file_status).package_version_status = ACTIVE; | ||
|
||
// [#protodoc-title: FilterConfigDS] | ||
|
||
// Return filter configurations. | ||
service FilterConfigDiscoveryService { | ||
option (envoy.annotations.resource).type = "envoy.config.core.v3.TypedExtensionConfig"; | ||
|
||
rpc StreamFilterConfigs(stream discovery.v3.DiscoveryRequest) | ||
returns (stream discovery.v3.DiscoveryResponse) { | ||
} | ||
|
||
rpc DeltaFilterConfigs(stream discovery.v3.DeltaDiscoveryRequest) | ||
returns (stream discovery.v3.DeltaDiscoveryResponse) { | ||
} | ||
|
||
rpc FetchFilterConfigs(discovery.v3.DiscoveryRequest) returns (discovery.v3.DiscoveryResponse) { | ||
option (google.api.http).post = "/v3/discovery:filter_configs"; | ||
option (google.api.http).body = "*"; | ||
} | ||
} |
This file contains 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
34 changes: 32 additions & 2 deletions
34
...envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 36 additions & 2 deletions
38
.../extensions/filters/network/http_connection_manager/v4alpha/http_connection_manager.proto
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
generated_api_shadow/envoy/service/filter/v3/filter_config_discovery.proto
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.