Last active
August 20, 2022 12:01
-
-
Save renuka-fernando/3cc5b832ae29892f2249a2bb55abd152 to your computer and use it in GitHub Desktop.
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
{ | |
"configs": [ | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump", | |
"bootstrap": { | |
"node": { | |
"id": "Default", | |
"cluster": "default_cluster", | |
"user_agent_name": "envoy", | |
"user_agent_build_version": { | |
"version": { | |
"major_number": 1, | |
"minor_number": 20, | |
"patch": 2 | |
}, | |
"metadata": { | |
"build.label": "dev", | |
"revision.status": "Clean", | |
"revision.sha": "4aaf9593152c6996b9da384c8918e9ad4f0abd4d", | |
"build.type": "RELEASE", | |
"ssl.version": "BoringSSL" | |
} | |
}, | |
"extensions": [ | |
{ | |
"name": "envoy.rate_limit_descriptors.expr", | |
"category": "envoy.rate_limit_descriptors" | |
}, | |
{ | |
"name": "envoy.access_loggers.file", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.access_loggers.http_grpc", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.access_loggers.open_telemetry", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.access_loggers.stderr", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.access_loggers.stdout", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.access_loggers.tcp_grpc", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.access_loggers.wasm", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.file_access_log", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.http_grpc_access_log", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.open_telemetry_access_log", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.stderr_access_log", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.stdout_access_log", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.tcp_grpc_access_log", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.wasm_access_log", | |
"category": "envoy.access_loggers" | |
}, | |
{ | |
"name": "envoy.bootstrap.wasm", | |
"category": "envoy.bootstrap" | |
}, | |
{ | |
"name": "envoy.extensions.network.socket_interface.default_socket_interface", | |
"category": "envoy.bootstrap" | |
}, | |
{ | |
"name": "envoy.bandwidth_limit", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.buffer", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.cors", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.csrf", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.ext_authz", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.ext_proc", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.fault", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.adaptive_concurrency", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.admission_control", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.alternate_protocols_cache", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.aws_lambda", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.aws_request_signing", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.bandwidth_limit", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.buffer", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.cache", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.cdn_loop", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.composite", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.compressor", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.cors", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.csrf", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.decompressor", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.dynamic_forward_proxy", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.dynamo", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.ext_authz", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.ext_proc", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.fault", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.grpc_http1_bridge", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.grpc_http1_reverse_bridge", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.grpc_json_transcoder", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.grpc_stats", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.grpc_web", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.header_to_metadata", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.health_check", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.ip_tagging", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.jwt_authn", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.local_ratelimit", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.lua", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.oauth2", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.on_demand", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.original_src", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.ratelimit", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.rbac", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.router", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.set_metadata", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.tap", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.http.wasm", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.grpc_http1_bridge", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.grpc_json_transcoder", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.grpc_web", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.health_check", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.http_dynamo_filter", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.ip_tagging", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.local_rate_limit", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.lua", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.rate_limit", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.router", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "match-wrapper", | |
"category": "envoy.filters.http" | |
}, | |
{ | |
"name": "envoy.filters.thrift.rate_limit", | |
"category": "envoy.thrift_proxy.filters" | |
}, | |
{ | |
"name": "envoy.filters.thrift.router", | |
"category": "envoy.thrift_proxy.filters" | |
}, | |
{ | |
"name": "envoy.filters.connection_pools.tcp.generic", | |
"category": "envoy.upstreams" | |
}, | |
{ | |
"name": "request-headers", | |
"category": "envoy.matching.http.input" | |
}, | |
{ | |
"name": "request-trailers", | |
"category": "envoy.matching.http.input" | |
}, | |
{ | |
"name": "response-headers", | |
"category": "envoy.matching.http.input" | |
}, | |
{ | |
"name": "response-trailers", | |
"category": "envoy.matching.http.input" | |
}, | |
{ | |
"name": "envoy.cluster.eds", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "envoy.cluster.logical_dns", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "envoy.cluster.original_dst", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "envoy.cluster.static", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "envoy.cluster.strict_dns", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "envoy.clusters.aggregate", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "envoy.clusters.dynamic_forward_proxy", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "envoy.clusters.redis", | |
"category": "envoy.clusters" | |
}, | |
{ | |
"name": "auto", | |
"category": "envoy.thrift_proxy.protocols" | |
}, | |
{ | |
"name": "binary", | |
"category": "envoy.thrift_proxy.protocols" | |
}, | |
{ | |
"name": "binary/non-strict", | |
"category": "envoy.thrift_proxy.protocols" | |
}, | |
{ | |
"name": "compact", | |
"category": "envoy.thrift_proxy.protocols" | |
}, | |
{ | |
"name": "twitter", | |
"category": "envoy.thrift_proxy.protocols" | |
}, | |
{ | |
"name": "envoy.matching.common_inputs.environment_variable", | |
"category": "envoy.matching.common_inputs" | |
}, | |
{ | |
"name": "envoy.request_id.uuid", | |
"category": "envoy.request_id" | |
}, | |
{ | |
"name": "composite-action", | |
"category": "envoy.matching.action" | |
}, | |
{ | |
"name": "skip", | |
"category": "envoy.matching.action" | |
}, | |
{ | |
"name": "envoy.compression.brotli.compressor", | |
"category": "envoy.compression.compressor" | |
}, | |
{ | |
"name": "envoy.compression.gzip.compressor", | |
"category": "envoy.compression.compressor" | |
}, | |
{ | |
"name": "envoy.client_ssl_auth", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.echo", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.ext_authz", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.client_ssl_auth", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.connection_limit", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.direct_response", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.dubbo_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.echo", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.ext_authz", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.local_ratelimit", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.mongo_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.ratelimit", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.rbac", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.redis_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.sni_cluster", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.sni_dynamic_forward_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.tcp_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.thrift_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.wasm", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.filters.network.zookeeper_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.http_connection_manager", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.mongo_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.ratelimit", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.redis_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "envoy.tcp_proxy", | |
"category": "envoy.filters.network" | |
}, | |
{ | |
"name": "default", | |
"category": "envoy.dubbo_proxy.route_matchers" | |
}, | |
{ | |
"name": "envoy.transport_sockets.alts", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.quic", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.raw_buffer", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.starttls", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.tap", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.tls", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "raw_buffer", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "starttls", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "tls", | |
"category": "envoy.transport_sockets.downstream" | |
}, | |
{ | |
"name": "envoy.retry_host_predicates.omit_canary_hosts", | |
"category": "envoy.retry_host_predicates" | |
}, | |
{ | |
"name": "envoy.retry_host_predicates.omit_host_metadata", | |
"category": "envoy.retry_host_predicates" | |
}, | |
{ | |
"name": "envoy.retry_host_predicates.previous_hosts", | |
"category": "envoy.retry_host_predicates" | |
}, | |
{ | |
"name": "envoy.retry_priorities.previous_priorities", | |
"category": "envoy.retry_priorities" | |
}, | |
{ | |
"name": "dubbo.hessian2", | |
"category": "envoy.dubbo_proxy.serializers" | |
}, | |
{ | |
"name": "envoy.health_checkers.redis", | |
"category": "envoy.health_checkers" | |
}, | |
{ | |
"name": "envoy.internal_redirect_predicates.allow_listed_routes", | |
"category": "envoy.internal_redirect_predicates" | |
}, | |
{ | |
"name": "envoy.internal_redirect_predicates.previous_routes", | |
"category": "envoy.internal_redirect_predicates" | |
}, | |
{ | |
"name": "envoy.internal_redirect_predicates.safe_cross_scheme", | |
"category": "envoy.internal_redirect_predicates" | |
}, | |
{ | |
"name": "envoy.transport_sockets.alts", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.quic", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.raw_buffer", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.starttls", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.tap", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.tls", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "envoy.transport_sockets.upstream_proxy_protocol", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "raw_buffer", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "starttls", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "tls", | |
"category": "envoy.transport_sockets.upstream" | |
}, | |
{ | |
"name": "envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"category": "envoy.upstream_options" | |
}, | |
{ | |
"name": "envoy.upstreams.http.http_protocol_options", | |
"category": "envoy.upstream_options" | |
}, | |
{ | |
"name": "envoy.tls.cert_validator.default", | |
"category": "envoy.tls.cert_validator" | |
}, | |
{ | |
"name": "envoy.tls.cert_validator.spiffe", | |
"category": "envoy.tls.cert_validator" | |
}, | |
{ | |
"name": "envoy.dynamic.ot", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.lightstep", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.tracers.datadog", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.tracers.dynamic_ot", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.tracers.lightstep", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.tracers.opencensus", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.tracers.skywalking", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.tracers.xray", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.tracers.zipkin", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.zipkin", | |
"category": "envoy.tracers" | |
}, | |
{ | |
"name": "envoy.watchdog.abort_action", | |
"category": "envoy.guarddog_actions" | |
}, | |
{ | |
"name": "envoy.watchdog.profile_action", | |
"category": "envoy.guarddog_actions" | |
}, | |
{ | |
"name": "envoy.grpc_credentials.aws_iam", | |
"category": "envoy.grpc_credentials" | |
}, | |
{ | |
"name": "envoy.grpc_credentials.default", | |
"category": "envoy.grpc_credentials" | |
}, | |
{ | |
"name": "envoy.grpc_credentials.file_based_metadata", | |
"category": "envoy.grpc_credentials" | |
}, | |
{ | |
"name": "envoy.dog_statsd", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.graphite_statsd", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.metrics_service", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.stat_sinks.dog_statsd", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.stat_sinks.graphite_statsd", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.stat_sinks.hystrix", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.stat_sinks.metrics_service", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.stat_sinks.statsd", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.stat_sinks.wasm", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.statsd", | |
"category": "envoy.stats_sinks" | |
}, | |
{ | |
"name": "envoy.matching.matchers.consistent_hashing", | |
"category": "envoy.matching.input_matchers" | |
}, | |
{ | |
"name": "envoy.matching.matchers.ip", | |
"category": "envoy.matching.input_matchers" | |
}, | |
{ | |
"name": "dubbo", | |
"category": "envoy.dubbo_proxy.protocols" | |
}, | |
{ | |
"name": "envoy.filters.udp.dns_filter", | |
"category": "envoy.filters.udp_listener" | |
}, | |
{ | |
"name": "envoy.filters.udp_listener.udp_proxy", | |
"category": "envoy.filters.udp_listener" | |
}, | |
{ | |
"name": "envoy.filters.dubbo.router", | |
"category": "envoy.dubbo_proxy.filters" | |
}, | |
{ | |
"name": "envoy.wasm.runtime.null", | |
"category": "envoy.wasm.runtime" | |
}, | |
{ | |
"name": "envoy.wasm.runtime.v8", | |
"category": "envoy.wasm.runtime" | |
}, | |
{ | |
"name": "envoy.http.original_ip_detection.custom_header", | |
"category": "envoy.http.original_ip_detection" | |
}, | |
{ | |
"name": "envoy.http.original_ip_detection.xff", | |
"category": "envoy.http.original_ip_detection" | |
}, | |
{ | |
"name": "envoy.formatter.metadata", | |
"category": "envoy.formatter" | |
}, | |
{ | |
"name": "envoy.formatter.req_without_query", | |
"category": "envoy.formatter" | |
}, | |
{ | |
"name": "auto", | |
"category": "envoy.thrift_proxy.transports" | |
}, | |
{ | |
"name": "framed", | |
"category": "envoy.thrift_proxy.transports" | |
}, | |
{ | |
"name": "header", | |
"category": "envoy.thrift_proxy.transports" | |
}, | |
{ | |
"name": "unframed", | |
"category": "envoy.thrift_proxy.transports" | |
}, | |
{ | |
"name": "envoy.quic.proof_source.filter_chain", | |
"category": "envoy.quic.proof_source" | |
}, | |
{ | |
"name": "envoy.quic.crypto_stream.server.quiche", | |
"category": "envoy.quic.server.crypto_stream" | |
}, | |
{ | |
"name": "preserve_case", | |
"category": "envoy.http.stateful_header_formatters" | |
}, | |
{ | |
"name": "envoy.filters.listener.http_inspector", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.filters.listener.original_dst", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.filters.listener.original_src", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.filters.listener.proxy_protocol", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.filters.listener.tls_inspector", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.listener.http_inspector", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.listener.original_dst", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.listener.original_src", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.listener.proxy_protocol", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.listener.tls_inspector", | |
"category": "envoy.filters.listener" | |
}, | |
{ | |
"name": "envoy.extensions.http.cache.simple", | |
"category": "envoy.http.cache" | |
}, | |
{ | |
"name": "envoy.ip", | |
"category": "envoy.resolvers" | |
}, | |
{ | |
"name": "envoy.resource_monitors.fixed_heap", | |
"category": "envoy.resource_monitors" | |
}, | |
{ | |
"name": "envoy.resource_monitors.injected_resource", | |
"category": "envoy.resource_monitors" | |
}, | |
{ | |
"name": "envoy.rbac.matchers.upstream.upstream_ip_port", | |
"category": "envoy.rbac.matchers" | |
}, | |
{ | |
"name": "envoy.compression.brotli.decompressor", | |
"category": "envoy.compression.decompressor" | |
}, | |
{ | |
"name": "envoy.compression.gzip.decompressor", | |
"category": "envoy.compression.decompressor" | |
}, | |
{ | |
"name": "envoy.key_value.file_based", | |
"category": "envoy.common.key_value" | |
} | |
] | |
}, | |
"static_resources": { | |
"clusters": [ | |
{ | |
"name": "xds_cluster", | |
"type": "STRICT_DNS", | |
"connect_timeout": "1s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "xds_cluster", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "adapter", | |
"port_value": 18000 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
{ | |
"name": "ext-authz", | |
"type": "STRICT_DNS", | |
"connect_timeout": "20s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "ext-authz", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "enforcer", | |
"port_value": 8081 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
{ | |
"name": "access-logger", | |
"type": "STRICT_DNS", | |
"connect_timeout": "200s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "access-logger", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "enforcer", | |
"port_value": 18090 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
{ | |
"name": "token_cluster", | |
"type": "STRICT_DNS", | |
"connect_timeout": "20s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "token_cluster", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "enforcer", | |
"port_value": 8082 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
} | |
} | |
] | |
}, | |
"dynamic_resources": { | |
"lds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
}, | |
"cds_config": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
}, | |
"ads_config": { | |
"api_type": "GRPC", | |
"grpc_services": [ | |
{ | |
"envoy_grpc": { | |
"cluster_name": "xds_cluster" | |
} | |
} | |
], | |
"transport_api_version": "V3" | |
} | |
}, | |
"admin": { | |
"address": { | |
"socket_address": { | |
"address": "0.0.0.0", | |
"port_value": 9000 | |
} | |
} | |
}, | |
"layered_runtime": { | |
"layers": [ | |
{ | |
"name": "deprecation", | |
"static_layer": { | |
"re2.max_program_size.error_level": 1000 | |
} | |
}, | |
{ | |
"name": "globalMaxConnections", | |
"static_layer": { | |
"overload.global_downstream_max_connections": 2147483647 | |
} | |
} | |
] | |
} | |
}, | |
"last_updated": "2022-08-19T10:24:51.342Z" | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.ClustersConfigDump", | |
"version_info": "306304084", | |
"static_clusters": [ | |
{ | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "access-logger", | |
"type": "STRICT_DNS", | |
"connect_timeout": "200s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "access-logger", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "enforcer", | |
"port_value": 18090 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2022-08-19T10:24:51.424Z" | |
}, | |
{ | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "ext-authz", | |
"type": "STRICT_DNS", | |
"connect_timeout": "20s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "ext-authz", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "enforcer", | |
"port_value": 8081 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2022-08-19T10:24:51.412Z" | |
}, | |
{ | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "token_cluster", | |
"type": "STRICT_DNS", | |
"connect_timeout": "20s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "token_cluster", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "enforcer", | |
"port_value": 8082 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
} | |
}, | |
"last_updated": "2022-08-19T10:24:51.435Z" | |
}, | |
{ | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "xds_cluster", | |
"type": "STRICT_DNS", | |
"connect_timeout": "1s", | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_2", | |
"tls_maximum_protocol_version": "TLSv1_2" | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/home/wso2/security/truststore/mg.pem" | |
} | |
} | |
} | |
} | |
}, | |
"load_assignment": { | |
"cluster_name": "xds_cluster", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "adapter", | |
"port_value": 18000 | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"typed_extension_protocol_options": { | |
"envoy.extensions.upstreams.http.v3.HttpProtocolOptions": { | |
"@type": "type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions", | |
"explicit_http_config": { | |
"http2_protocol_options": {} | |
} | |
} | |
} | |
}, | |
"last_updated": "2022-08-19T10:24:51.400Z" | |
} | |
], | |
"dynamic_active_clusters": [ | |
{ | |
"version_info": "306304084", | |
"cluster": { | |
"@type": "type.googleapis.com/envoy.config.cluster.v3.Cluster", | |
"name": "carbon.super_clusterProd_localhost_SwaggerPetstore1.0.6", | |
"type": "STRICT_DNS", | |
"connect_timeout": "20s", | |
"dns_refresh_rate": "5s", | |
"dns_lookup_family": "V4_ONLY", | |
"load_assignment": { | |
"cluster_name": "carbon.super_clusterProd_localhost_SwaggerPetstore1.0.6", | |
"endpoints": [ | |
{ | |
"lb_endpoints": [ | |
{ | |
"endpoint": { | |
"address": { | |
"socket_address": { | |
"address": "petstore.swagger.io", | |
"port_value": 443 | |
} | |
} | |
}, | |
"metadata": { | |
"filter_metadata": { | |
"envoy.transport_socket_match": { | |
"lb_id": "0" | |
} | |
} | |
} | |
} | |
] | |
} | |
] | |
}, | |
"transport_socket_matches": [ | |
{ | |
"name": "ts0", | |
"match": { | |
"lb_id": "0" | |
}, | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.UpstreamTlsContext", | |
"common_tls_context": { | |
"tls_params": { | |
"tls_minimum_protocol_version": "TLSv1_1", | |
"tls_maximum_protocol_version": "TLSv1_2", | |
"cipher_suites": [ | |
"ECDHE-ECDSA-AES128-GCM-SHA256", | |
"ECDHE-RSA-AES128-GCM-SHA256", | |
"ECDHE-ECDSA-AES128-SHA", | |
"ECDHE-RSA-AES128-SHA", | |
"AES128-GCM-SHA256", | |
"AES128-SHA", | |
"ECDHE-ECDSA-AES256-GCM-SHA384", | |
"ECDHE-RSA-AES256-GCM-SHA384", | |
"ECDHE-ECDSA-AES256-SHA", | |
"ECDHE-RSA-AES256-SHA", | |
"AES256-GCM-SHA384", | |
"AES256-SHA" | |
] | |
}, | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
], | |
"validation_context": { | |
"trusted_ca": { | |
"filename": "/etc/ssl/certs/ca-certificates.crt" | |
}, | |
"match_typed_subject_alt_names": [ | |
{ | |
"san_type": "DNS", | |
"matcher": { | |
"exact": "petstore.swagger.io" | |
} | |
} | |
] | |
} | |
}, | |
"sni": "petstore.swagger.io" | |
} | |
} | |
} | |
] | |
}, | |
"last_updated": "2022-08-19T10:25:57.867Z" | |
} | |
] | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.ListenersConfigDump", | |
"version_info": "846688354", | |
"dynamic_listeners": [ | |
{ | |
"name": "HTTPSListener", | |
"active_state": { | |
"version_info": "846688354", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "HTTPSListener", | |
"address": { | |
"socket_address": { | |
"address": "0.0.0.0", | |
"port_value": 9095 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "ingress_http", | |
"rds": { | |
"config_source": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
}, | |
"route_config_name": "default" | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.cors", | |
"typed_config": {} | |
}, | |
{ | |
"name": "envoy.filters.http.ext_authz", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz", | |
"grpc_service": { | |
"envoy_grpc": { | |
"cluster_name": "ext-authz" | |
}, | |
"timeout": "20s" | |
}, | |
"clear_route_cache": true, | |
"transport_api_version": "V3" | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.lua", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua", | |
"inline_code": "function envoy_on_request(request_handle)\nend\nfunction envoy_on_response(response_handle)\nend" | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"filters": [ | |
{ | |
"name": "envoy.filters.http.cors", | |
"typed_config": {} | |
}, | |
{ | |
"name": "envoy.filters.http.ext_authz", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz", | |
"grpc_service": { | |
"envoy_grpc": { | |
"cluster_name": "ext-authz" | |
}, | |
"timeout": "20s" | |
}, | |
"clear_route_cache": true, | |
"transport_api_version": "V3" | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.mgw_WASM_websocket", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm", | |
"config": { | |
"name": "envoy.filters.http.mgw_WASM_websocket", | |
"root_id": "mgw_WASM_websocket_root", | |
"vm_config": { | |
"vm_id": "mgw_WASM_vm", | |
"runtime": "envoy.wasm.runtime.v8", | |
"code": { | |
"local": { | |
"filename": "/home/wso2/wasm/websocket/mgw-websocket.wasm" | |
} | |
}, | |
"allow_precompiled": true | |
}, | |
"configuration": { | |
"@type": "type.googleapis.com/google.protobuf.StringValue", | |
"value": "{\n\t\t\t\"node_id\": \"mgw_node_1\",\n\t\t\t\"rate_limit_service\": \"ext-authz\",\n\t\t\t\"timeout\": \"20s\",\n\t\t\t\"failure_mode_deny\": \"true\"\n\t\t}" | |
} | |
} | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"enabled": true | |
} | |
], | |
"stream_idle_timeout": "300s", | |
"request_timeout": "0s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
}, | |
"local_reply_config": { | |
"mappers": [ | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"NR" | |
] | |
} | |
}, | |
"status_code": 404, | |
"body_format_override": { | |
"json_format": { | |
"code": "404", | |
"message": "Not Found", | |
"description": "The requested resource is not available." | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UAEX" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"description": "Error during validating the request", | |
"code": "102500", | |
"message": "Unclassified Validation Failure" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UF" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102503", | |
"message": "Upstream connection failed", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UT" | |
] | |
} | |
}, | |
"status_code": 504, | |
"body_format_override": { | |
"json_format": { | |
"code": "102504", | |
"message": "Upstream connection timeout", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UO" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102505", | |
"message": "Upstream overflow", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"URX" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"message": "Upstream maximum connect attempts reached", | |
"description": "%LOCAL_REPLY_BODY%", | |
"code": "102506" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"NC" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"code": "102507", | |
"message": "Upstream not configured for the resource", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UH" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102508", | |
"message": "No healthy upstream", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UR" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102509", | |
"message": "Upstream connection reset by the remote", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UC" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102510", | |
"message": "Upstream connection termination", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"LR" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102511", | |
"message": "Connection reset by the gateway", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"IH" | |
] | |
} | |
}, | |
"status_code": 400, | |
"body_format_override": { | |
"json_format": { | |
"code": "102512", | |
"message": "Strictly checked header validation failure", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"SI" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"description": "%LOCAL_REPLY_BODY%", | |
"code": "102513", | |
"message": "Stream idle timeout" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"DPE" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"code": "102514", | |
"message": "HTTP protocol error in downstream request", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UPE" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"code": "102515", | |
"message": "HTTP protocol error in upstream request", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UMSDR" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"message": "Upstream request reached max stream duration", | |
"description": "%LOCAL_REPLY_BODY%", | |
"code": "102516" | |
} | |
} | |
} | |
] | |
}, | |
"request_headers_timeout": "0s" | |
} | |
} | |
], | |
"transport_socket": { | |
"name": "envoy.transport_sockets.tls", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext", | |
"common_tls_context": { | |
"tls_certificates": [ | |
{ | |
"certificate_chain": { | |
"filename": "/home/wso2/security/keystore/mg.pem" | |
}, | |
"private_key": { | |
"filename": "[redacted]" | |
} | |
} | |
] | |
} | |
} | |
} | |
} | |
] | |
}, | |
"last_updated": "2022-08-19T10:24:53.220Z" | |
} | |
}, | |
{ | |
"name": "HTTPListener", | |
"active_state": { | |
"version_info": "846688354", | |
"listener": { | |
"@type": "type.googleapis.com/envoy.config.listener.v3.Listener", | |
"name": "HTTPListener", | |
"address": { | |
"socket_address": { | |
"address": "0.0.0.0", | |
"port_value": 9090 | |
} | |
}, | |
"filter_chains": [ | |
{ | |
"filters": [ | |
{ | |
"name": "envoy.filters.network.http_connection_manager", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", | |
"stat_prefix": "ingress_http", | |
"rds": { | |
"config_source": { | |
"ads": {}, | |
"resource_api_version": "V3" | |
}, | |
"route_config_name": "default" | |
}, | |
"http_filters": [ | |
{ | |
"name": "envoy.filters.http.cors", | |
"typed_config": {} | |
}, | |
{ | |
"name": "envoy.filters.http.ext_authz", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz", | |
"grpc_service": { | |
"envoy_grpc": { | |
"cluster_name": "ext-authz" | |
}, | |
"timeout": "20s" | |
}, | |
"clear_route_cache": true, | |
"transport_api_version": "V3" | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.lua", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.Lua", | |
"inline_code": "function envoy_on_request(request_handle)\nend\nfunction envoy_on_response(response_handle)\nend" | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"filters": [ | |
{ | |
"name": "envoy.filters.http.cors", | |
"typed_config": {} | |
}, | |
{ | |
"name": "envoy.filters.http.ext_authz", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz", | |
"grpc_service": { | |
"envoy_grpc": { | |
"cluster_name": "ext-authz" | |
}, | |
"timeout": "20s" | |
}, | |
"clear_route_cache": true, | |
"transport_api_version": "V3" | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.mgw_WASM_websocket", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.wasm.v3.Wasm", | |
"config": { | |
"name": "envoy.filters.http.mgw_WASM_websocket", | |
"root_id": "mgw_WASM_websocket_root", | |
"vm_config": { | |
"vm_id": "mgw_WASM_vm", | |
"runtime": "envoy.wasm.runtime.v8", | |
"code": { | |
"local": { | |
"filename": "/home/wso2/wasm/websocket/mgw-websocket.wasm" | |
} | |
}, | |
"allow_precompiled": true | |
}, | |
"configuration": { | |
"@type": "type.googleapis.com/google.protobuf.StringValue", | |
"value": "{\n\t\t\t\"node_id\": \"mgw_node_1\",\n\t\t\t\"rate_limit_service\": \"ext-authz\",\n\t\t\t\"timeout\": \"20s\",\n\t\t\t\"failure_mode_deny\": \"true\"\n\t\t}" | |
} | |
} | |
} | |
}, | |
{ | |
"name": "envoy.filters.http.router", | |
"typed_config": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router" | |
} | |
} | |
], | |
"enabled": true | |
} | |
], | |
"stream_idle_timeout": "300s", | |
"request_timeout": "0s", | |
"common_http_protocol_options": { | |
"idle_timeout": "3600s" | |
}, | |
"local_reply_config": { | |
"mappers": [ | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"NR" | |
] | |
} | |
}, | |
"status_code": 404, | |
"body_format_override": { | |
"json_format": { | |
"code": "404", | |
"message": "Not Found", | |
"description": "The requested resource is not available." | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UAEX" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"description": "Error during validating the request", | |
"code": "102500", | |
"message": "Unclassified Validation Failure" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UF" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102503", | |
"message": "Upstream connection failed", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UT" | |
] | |
} | |
}, | |
"status_code": 504, | |
"body_format_override": { | |
"json_format": { | |
"code": "102504", | |
"message": "Upstream connection timeout", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UO" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102505", | |
"message": "Upstream overflow", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"URX" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"message": "Upstream maximum connect attempts reached", | |
"description": "%LOCAL_REPLY_BODY%", | |
"code": "102506" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"NC" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"code": "102507", | |
"message": "Upstream not configured for the resource", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UH" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102508", | |
"message": "No healthy upstream", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UR" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102509", | |
"message": "Upstream connection reset by the remote", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UC" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102510", | |
"message": "Upstream connection termination", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"LR" | |
] | |
} | |
}, | |
"status_code": 503, | |
"body_format_override": { | |
"json_format": { | |
"code": "102511", | |
"message": "Connection reset by the gateway", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"IH" | |
] | |
} | |
}, | |
"status_code": 400, | |
"body_format_override": { | |
"json_format": { | |
"code": "102512", | |
"message": "Strictly checked header validation failure", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"SI" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"description": "%LOCAL_REPLY_BODY%", | |
"code": "102513", | |
"message": "Stream idle timeout" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"DPE" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"code": "102514", | |
"message": "HTTP protocol error in downstream request", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UPE" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"code": "102515", | |
"message": "HTTP protocol error in upstream request", | |
"description": "%LOCAL_REPLY_BODY%" | |
} | |
} | |
}, | |
{ | |
"filter": { | |
"response_flag_filter": { | |
"flags": [ | |
"UMSDR" | |
] | |
} | |
}, | |
"status_code": 500, | |
"body_format_override": { | |
"json_format": { | |
"message": "Upstream request reached max stream duration", | |
"description": "%LOCAL_REPLY_BODY%", | |
"code": "102516" | |
} | |
} | |
} | |
] | |
}, | |
"request_headers_timeout": "0s" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"last_updated": "2022-08-19T10:24:53.236Z" | |
} | |
} | |
] | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.ScopedRoutesConfigDump" | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.RoutesConfigDump", | |
"dynamic_route_configs": [ | |
{ | |
"version_info": "306304084", | |
"route_config": { | |
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration", | |
"name": "default", | |
"virtual_hosts": [ | |
{ | |
"name": "localhost", | |
"domains": [ | |
"localhost", | |
"localhost:*" | |
], | |
"routes": [ | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(POST|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/user(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/user(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
}, | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(POST|PUT|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/pet(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/pet(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/user/logout(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/user/logout(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
}, | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(POST|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/store/order(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/store/order(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/pet/findByStatus(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/pet/findByStatus(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
}, | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/user/login(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/user/login(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/pet/findByTags(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/pet/findByTags(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(POST|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/user/createWithArray(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/user/createWithArray(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(POST|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/user/createWithList(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/user/createWithList(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
}, | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/store/inventory(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/store/inventory(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|DELETE|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/store/order/([^/]+)(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/store/order/([^/]+)(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|POST|DELETE|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/pet/([^/]+)(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/pet/([^/]+)(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
}, | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(GET|PUT|DELETE|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/user/([^/]+)(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/user/([^/]+)(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
}, | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"headers": [ | |
{ | |
"name": ":method", | |
"string_match": { | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^(POST|OPTIONS)$" | |
} | |
} | |
} | |
], | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "^/v2/pet/([^/]+)/uploadImage(\\?([^/]+))?$" | |
} | |
}, | |
"route": { | |
"cluster_header": "x-wso2-cluster-header", | |
"auto_host_rewrite": true, | |
"timeout": "60s", | |
"cors": { | |
"allow_methods": "GET, PUT, POST, DELETE, PATCH, OPTIONS", | |
"allow_headers": "authorization, Access-Control-Allow-Origin, Content-Type, SOAPAction, apikey, testKey, Internal-Key", | |
"allow_credentials": false, | |
"allow_origin_string_match": [ | |
{ | |
"safe_regex": { | |
"google_re2": {}, | |
"regex": "\\*" | |
} | |
} | |
] | |
}, | |
"idle_timeout": "300s", | |
"upgrade_configs": [ | |
{ | |
"upgrade_type": "websocket", | |
"enabled": false | |
} | |
], | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/v2" | |
}, | |
"substitution": "/v2" | |
} | |
}, | |
"decorator": { | |
"operation": "localhost:^/v2/pet/([^/]+)/uploadImage(\\?([^/]+))?$" | |
}, | |
"response_headers_to_remove": [ | |
"x-envoy-upstream-service-time" | |
], | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"check_settings": { | |
"context_extensions": { | |
"basePath": "[redacted]", | |
"method": "[redacted]", | |
"name": "[redacted]", | |
"path": "[redacted]", | |
"prodClusterName": "[redacted]", | |
"sandClusterName": "[redacted]", | |
"vHost": "[redacted]", | |
"version": "[redacted]" | |
}, | |
"disable_request_body_buffering": true | |
} | |
}, | |
"envoy.filters.http.lua": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.lua.v3.LuaPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/v2" | |
}, | |
{ | |
"match": { | |
"path": "/testkey" | |
}, | |
"route": { | |
"cluster": "token_cluster", | |
"auto_host_rewrite": true, | |
"regex_rewrite": { | |
"pattern": { | |
"google_re2": {}, | |
"regex": "/testkey" | |
}, | |
"substitution": "/" | |
} | |
}, | |
"decorator": { | |
"operation": "/testkey" | |
}, | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/testkey" | |
}, | |
{ | |
"match": { | |
"path": "/health" | |
}, | |
"decorator": { | |
"operation": "/health" | |
}, | |
"direct_response": { | |
"status": 200, | |
"body": { | |
"inline_string": "{\"status\": \"healthy\"}" | |
} | |
}, | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/health" | |
}, | |
{ | |
"match": { | |
"path": "/ready" | |
}, | |
"decorator": { | |
"operation": "/ready" | |
}, | |
"direct_response": { | |
"status": 200, | |
"body": { | |
"inline_string": "{\"status\": \"ready\"}" | |
} | |
}, | |
"typed_per_filter_config": { | |
"envoy.filters.http.ext_authz": { | |
"@type": "type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthzPerRoute", | |
"disabled": true | |
} | |
}, | |
"name": "/ready" | |
} | |
] | |
} | |
] | |
}, | |
"last_updated": "2022-08-19T10:25:57.835Z" | |
} | |
] | |
}, | |
{ | |
"@type": "type.googleapis.com/envoy.admin.v3.SecretsConfigDump" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment