diff --git a/BUILD b/BUILD index 9506cb8d..7a6671dd 100644 --- a/BUILD +++ b/BUILD @@ -158,6 +158,7 @@ proto_library( "//envoy/extensions/access_loggers/open_telemetry/v3alpha:pkg", "//envoy/extensions/access_loggers/stream/v3:pkg", "//envoy/extensions/access_loggers/wasm/v3:pkg", + "//envoy/extensions/cache/simple_http_cache/v3alpha:pkg", "//envoy/extensions/clusters/aggregate/v3:pkg", "//envoy/extensions/clusters/dynamic_forward_proxy/v3:pkg", "//envoy/extensions/clusters/redis/v3:pkg", diff --git a/envoy/extensions/cache/simple_http_cache/v3alpha/BUILD b/envoy/extensions/cache/simple_http_cache/v3alpha/BUILD new file mode 100644 index 00000000..ee92fb65 --- /dev/null +++ b/envoy/extensions/cache/simple_http_cache/v3alpha/BUILD @@ -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"], +) diff --git a/envoy/extensions/cache/simple_http_cache/v3alpha/config.proto b/envoy/extensions/cache/simple_http_cache/v3alpha/config.proto new file mode 100644 index 00000000..1b42e9b3 --- /dev/null +++ b/envoy/extensions/cache/simple_http_cache/v3alpha/config.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + +package envoy.extensions.cache.simple_http_cache.v3alpha; + +import "udpa/annotations/status.proto"; + +option java_package = "io.envoyproxy.envoy.extensions.cache.simple_http_cache.v3alpha"; +option java_outer_classname = "ConfigProto"; +option java_multiple_files = true; +option (udpa.annotations.file_status).package_version_status = ACTIVE; + +// [#protodoc-title: SimpleHttpCache CacheFilter storage plugin] + +// [#extension: envoy.cache.simple_http_cache] +message SimpleHttpCacheConfig { +} diff --git a/envoy/extensions/filters/http/cache/v3alpha/cache.proto b/envoy/extensions/filters/http/cache/v3alpha/cache.proto index 9e140a38..5f0a5bef 100644 --- a/envoy/extensions/filters/http/cache/v3alpha/cache.proto +++ b/envoy/extensions/filters/http/cache/v3alpha/cache.proto @@ -19,7 +19,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; // [#protodoc-title: HTTP Cache Filter] -// [#extension: envoy.filters.http.cache.simple_http_cache] +// [#extension: envoy.filters.http.cache] message CacheConfig { option (udpa.annotations.versioning).previous_message_type = "envoy.config.filter.http.cache.v2alpha.CacheConfig"; @@ -50,6 +50,7 @@ message CacheConfig { } // Config specific to the cache storage implementation. + // [#extension-category: envoy.filters.http.cache] google.protobuf.Any typed_config = 1 [(validate.rules).any = {required: true}]; // List of matching rules that defines allowed *Vary* headers. diff --git a/envoy/extensions/filters/http/cache/v4alpha/cache.proto b/envoy/extensions/filters/http/cache/v4alpha/cache.proto index 283e8f53..5297a3d1 100644 --- a/envoy/extensions/filters/http/cache/v4alpha/cache.proto +++ b/envoy/extensions/filters/http/cache/v4alpha/cache.proto @@ -19,7 +19,7 @@ option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSIO // [#protodoc-title: HTTP Cache Filter] -// [#extension: envoy.filters.http.cache.simple_http_cache] +// [#extension: envoy.filters.http.cache] message CacheConfig { option (udpa.annotations.versioning).previous_message_type = "envoy.extensions.filters.http.cache.v3alpha.CacheConfig"; @@ -50,6 +50,7 @@ message CacheConfig { } // Config specific to the cache storage implementation. + // [#extension-category: envoy.filters.http.cache] google.protobuf.Any typed_config = 1 [(validate.rules).any = {required: true}]; // List of matching rules that defines allowed *Vary* headers. diff --git a/versioning/BUILD b/versioning/BUILD index 822e07f0..338a8cdb 100644 --- a/versioning/BUILD +++ b/versioning/BUILD @@ -41,6 +41,7 @@ proto_library( "//envoy/extensions/access_loggers/open_telemetry/v3alpha:pkg", "//envoy/extensions/access_loggers/stream/v3:pkg", "//envoy/extensions/access_loggers/wasm/v3:pkg", + "//envoy/extensions/cache/simple_http_cache/v3alpha:pkg", "//envoy/extensions/clusters/aggregate/v3:pkg", "//envoy/extensions/clusters/dynamic_forward_proxy/v3:pkg", "//envoy/extensions/clusters/redis/v3:pkg",