mirror of
https://github.com/hanzoai/gateway.git
synced 2026-11-02 23:52:23 +00:00
The check asked whether the config states a policy ANYWHERE. A config written against the older contract satisfies that with the routes it gated and says nothing about the routes it left open — so it boots, reports healthy, and every one of those open routes demands an identity nothing sends. One classified route out of sixty-three satisfied it too. It now asks whether every route says which it is: routes == open + gated. A config with no endpoints still passes, because 0 == 0+0. The shipped hanzo config states the 216 routes canon gated with auth/validator as `auth/public: false`, which is what they already were — the migration moved where that is written down, not which routes are which. TestShippedConfigMatchesTheGatingItReplaced parses canon's copy through the same parser and compares route by route, so the two cannot drift apart quietly. POST /v1/admin on the lux edge reaches a node's admin API and was open by omission. Written down, that becomes a decision, and it is not one anyone made. It states false. The boot test polls the port while the process is alive. Asking once, after the process is gone, asks about a socket that is closed either way — it answers "nothing is listening" for a binary that bound the port, served, and then exited, which is the failure it exists to rule out. TestWatchCatchesATransientBind holds the watcher to that. Co-authored-by: Hanzo Dev <[email protected]>
7216 lines
162 KiB
JSON
7216 lines
162 KiB
JSON
{
|
|
"$schema": "https://gateway.hanzo.ai/schema/v3.json",
|
|
"version": 3,
|
|
"name": "Hanzo API Gateway",
|
|
"port": 8080,
|
|
"timeout": "120s",
|
|
"cache_ttl": "0s",
|
|
"output_encoding": "no-op",
|
|
"extra_config": {
|
|
"router": {
|
|
"return_error_msg": true
|
|
},
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip"
|
|
},
|
|
"telemetry/logging": {
|
|
"level": "INFO",
|
|
"prefix": "[GATEWAY]",
|
|
"syslog": false,
|
|
"stdout": true
|
|
},
|
|
"telemetry/opentelemetry": {
|
|
"service_name": "gateway",
|
|
"service_version": "2.13.0",
|
|
"trace_sample_rate": 0.1,
|
|
"metric_reporting_period": 30,
|
|
"exporters": {
|
|
"otlp": [
|
|
{
|
|
"name": "hanzo-o11y",
|
|
"host": "otel-collector.hanzo.svc",
|
|
"port": 4317,
|
|
"use_http": false,
|
|
"disable_metrics": false,
|
|
"disable_traces": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"endpoints": [
|
|
{
|
|
"endpoint": "/v1/memory/{action}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"input_query_strings": [
|
|
"*"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/memory/{action}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/memory/{action}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/memory/{action}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/chat",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/chat",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/chat/completions",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/chat/completions",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/completions",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/completions",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/models",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/models",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/messages",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/messages",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/embeddings",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/embeddings",
|
|
"host": [
|
|
"https://inference.do-ai.run"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/images/generations",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/images/generations",
|
|
"host": [
|
|
"https://inference.do-ai.run"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/audio/transcriptions",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/audio/transcriptions",
|
|
"host": [
|
|
"https://inference.do-ai.run"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/audio/speech",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/audio/speech",
|
|
"host": [
|
|
"https://inference.do-ai.run"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/async-invoke",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/async-invoke",
|
|
"host": [
|
|
"https://inference.do-ai.run"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/async-invoke/{request_id}/status",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/async-invoke/{request_id}/status",
|
|
"host": [
|
|
"https://inference.do-ai.run"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/async-invoke/{request_id}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/async-invoke/{request_id}",
|
|
"host": [
|
|
"https://inference.do-ai.run"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/cloud/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/cloud/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/cloud/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/cloud/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/cloud/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/cloud/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/cloud/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/cloud/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/ai/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ai/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/ai/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ai/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op",
|
|
"extra_config": {
|
|
"github.com/hanzoai/gateway/zap": {
|
|
"node_id": "gateway",
|
|
"peer_addr": "cloud.hanzo.svc.cluster.local:9651",
|
|
"no_discovery": true,
|
|
"timeout_ms": 120000
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/subscriptions",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/subscriptions",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/subscriptions",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/subscriptions",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/subscriptions/{id}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/subscriptions/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/subscriptions/{id}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/subscriptions/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/subscriptions/{id}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/subscriptions/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/subscriptions/{id}/promotion",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/subscriptions/{id}/promotion",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/plans",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/plans",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/plans/{id}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/plans/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/auth/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 1000,
|
|
"client_max_rate": 50,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
},
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://iam.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"endpoint": "/v1/auth/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://iam.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/auth/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 1000,
|
|
"client_max_rate": 50,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
},
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://iam.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"endpoint": "/auth/{path}",
|
|
"method": "PUT",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 1000,
|
|
"client_max_rate": 50,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
},
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://iam.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"endpoint": "/auth/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 1000,
|
|
"client_max_rate": 50,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
},
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://iam.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"endpoint": "/auth/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 1000,
|
|
"client_max_rate": 50,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
},
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://iam.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"endpoint": "/v1/auth/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://iam.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/analytics/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://analytics.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/analytics/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://analytics.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/analytics/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://analytics.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/analytics/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://analytics.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/operative/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://operative.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/operative/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://operative.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/operative/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://operative.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/operative/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://operative.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/agents/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://agents.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/agents/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://agents.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/agents/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://agents.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/agents/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://agents.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/console/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://console.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/console/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://console.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/console/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://console.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/console/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://console.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/infra/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://visor.hanzo.svc.cluster.local:19000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/infra/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://visor.hanzo.svc.cluster.local:19000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/infra/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://visor.hanzo.svc.cluster.local:19000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/infra/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://visor.hanzo.svc.cluster.local:19000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/chat/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://chat.hanzo.svc.cluster.local:3080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/chat/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://chat.hanzo.svc.cluster.local:3080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/chat/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://chat.hanzo.svc.cluster.local:3080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/chat/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://chat.hanzo.svc.cluster.local:3080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/base/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://base.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/base/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://base.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/base/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://base.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/base/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://base.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/platform/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://platform.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/platform/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://platform.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/platform/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://platform.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/platform/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://platform.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/functions/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://router.fission.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/functions/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://router.fission.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/functions/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://router.fission.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/functions/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://router.fission.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/search/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://search.hanzo.svc.cluster.local:7700"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/search/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://search.hanzo.svc.cluster.local:7700"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/search/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://search.hanzo.svc.cluster.local:7700"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/search/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://search.hanzo.svc.cluster.local:7700"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/vector/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://vector.hanzo.svc.cluster.local:6333"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/vector/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://vector.hanzo.svc.cluster.local:6333"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/vector/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://vector.hanzo.svc.cluster.local:6333"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/vector/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://vector.hanzo.svc.cluster.local:6333"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/kms/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/orgs/{org}/secrets",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/orgs/{org}/secrets",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/orgs/{org}/secrets",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/orgs/{org}/secrets",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/orgs/{org}/secrets/{name}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/kms/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/kms/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/kms/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/kms/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/kms/{path}",
|
|
"host": [
|
|
"http://kms.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/web3/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/web3/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/web3/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/web3/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/web3/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/web3/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/web3/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/web3/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/{path}",
|
|
"host": [
|
|
"http://bootnode-api.bootnode.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/bot/health",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/health",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/bot/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/bot/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/bot/ws",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/ws",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:18790"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/bot/health",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/health",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/bot/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/bot/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/bot/ws",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/ws",
|
|
"host": [
|
|
"http://bot-gateway.hanzo.svc.cluster.local:18790"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/team/_accounts/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-account.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/team/_accounts/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-account.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/team/_accounts/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-account.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/team/_accounts/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-account.hanzo.svc.cluster.local:3000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/team/_collaborator/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-collaborator.hanzo.svc.cluster.local:3078"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/team/_collaborator/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-collaborator.hanzo.svc.cluster.local:3078"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/team/_transactor/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-transactor.hanzo.svc.cluster.local:3333"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/team/_transactor/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-transactor.hanzo.svc.cluster.local:3333"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/team/_rekoni/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-rekoni.hanzo.svc.cluster.local:4004"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/team/_rekoni/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://team-rekoni.hanzo.svc.cluster.local:4004"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/balance",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/balance",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/deposit",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/deposit",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/topup/token",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id",
|
|
"X-Hanzo-Test"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/topup/token",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/topup",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id",
|
|
"X-Hanzo-Test"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/topup",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/me/balance",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/me/balance",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/me/welcome",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/me/welcome",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/customers/{id}/default-payment-method",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/customers/{id}/default-payment-method",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/credit",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/credit",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/transactions",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/transactions",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/invoices",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/invoices",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/payment-methods",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/payment-methods",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/payment-methods",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/payment-methods",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/payment-methods/{id}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/payment-methods/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/payment-methods/{id}/default",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/payment-methods/{id}/default",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/usage",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/usage",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/spend-alerts",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/spend-alerts",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/spend-alerts",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/spend-alerts",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/spend-alerts/{id}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/spend-alerts/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/spend-alerts/{id}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/spend-alerts/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/discount/validate",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/discount/validate",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/credit-grants",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/credit-grants",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/credit-balance",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/credit-balance",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/payment",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/payment",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/portal/overview",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/portal/overview",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/meters",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/meters",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/meter-events/summary",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/meter-events/summary",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/accounts",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/accounts",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/accounts",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/accounts",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/accounts/{id}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/accounts/{id}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/accounts/{id}/members",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/accounts/{id}/members",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/accounts/{id}/members",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/accounts/{id}/members",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/accounts/{id}/members/{mid}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/accounts/{id}/members/{mid}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/billing/accounts/{id}/members/{mid}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/billing/accounts/{id}/members/{mid}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pricing",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pricing/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing/{path}",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pricing/model/{name}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing/model/{name}",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pricing/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing/{path}",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pricing",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pricing/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing/{path}",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pricing/model/{name}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing/model/{name}",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pricing/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing/{path}",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/plans",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/plans",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/cloud",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/cloud",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/gpu",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/gpu",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/tools",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/tools",
|
|
"host": [
|
|
"http://pricing.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pubsub/varz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/varz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pubsub/varz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/varz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pubsub/connz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/connz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pubsub/connz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/connz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pubsub/subsz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/subsz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pubsub/subsz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/subsz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pubsub/jsz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/jsz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pubsub/jsz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/jsz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pubsub/healthz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/healthz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/pubsub/healthz",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/healthz",
|
|
"host": [
|
|
"http://pubsub.hanzo.svc.cluster.local:8222"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/health",
|
|
"method": "GET",
|
|
"output_encoding": "json",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/healthz",
|
|
"host": [
|
|
"http://localhost:8080"
|
|
],
|
|
"encoding": "json"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/",
|
|
"method": "GET",
|
|
"output_encoding": "json",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/healthz",
|
|
"host": [
|
|
"http://localhost:8080"
|
|
],
|
|
"encoding": "json"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/world/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/world/{path}",
|
|
"host": [
|
|
"http://world.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/world/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/world/{path}",
|
|
"host": [
|
|
"http://world.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/world/{path}",
|
|
"method": "PUT",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/world/{path}",
|
|
"host": [
|
|
"http://world.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/world/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/world/{path}",
|
|
"host": [
|
|
"http://world.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/world/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/world/{path}",
|
|
"host": [
|
|
"http://world.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ai/providers/global",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ai/providers/global",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ai/providers",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ai/providers",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ai/providers/{owner}/{name}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ai/providers/{owner}/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ai/providers",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ai/providers",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ai/providers/{owner}/{name}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ai/providers/{owner}/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/pricing-policy",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/pricing-policy",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/o11y/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/o11y/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/o11y/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/o11y/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/usage/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/usage/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/usage/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/usage/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/audit",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/audit",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/audit",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/audit",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/insights/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://insights-web.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/insights/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/{path}",
|
|
"host": [
|
|
"http://insights-web.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/analytics/heartbeat",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/api/heartbeat",
|
|
"host": [
|
|
"http://analytics.hanzo.svc.cluster.local:80"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/evals/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/evals/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/evals/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/evals/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ml/models",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ml/models",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ml/models",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ml/models",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ml/models/{name}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ml/models/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ml/models/{name}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ml/models/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ml/models/{name}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ml/models/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ml/models/{name}/predict",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ml/models/{name}/predict",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/jobs",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/jobs",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/jobs",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/jobs",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/jobs/{name}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/jobs/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/jobs/{name}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/jobs/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/experiments",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/experiments",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/experiments",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/experiments",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/experiments/{name}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/experiments/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/experiments/{name}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/experiments/{name}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/experiments/{name}/trials",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/experiments/{name}/trials",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/ml/health",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/ml/health",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/train/health",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/train/health",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": true
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/product/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/product/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/product/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/product/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/licensing/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/licensing/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/licensing/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/licensing/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/provisioning/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/provisioning/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/provisioning/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/provisioning/{path}",
|
|
"host": [
|
|
"http://cloud.hanzo.svc.cluster.local:8000"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/mpc/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/api/{path}",
|
|
"host": [
|
|
"http://hanzo-mpc.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/mpc/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/api/{path}",
|
|
"host": [
|
|
"http://hanzo-mpc.hanzo.svc.cluster.local:8080"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/commerce/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/commerce/{path}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/commerce/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/commerce/{path}",
|
|
"host": [
|
|
"http://commerce.hanzo.svc.cluster.local:8001"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/tasks/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/tasks/{path}",
|
|
"host": [
|
|
"http://tasks.hanzo.svc.cluster.local:7243"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/tasks/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/tasks/{path}",
|
|
"host": [
|
|
"http://tasks.hanzo.svc.cluster.local:7243"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/dns/{path}",
|
|
"method": "GET",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/dns/{path}",
|
|
"host": [
|
|
"http://dns.hanzo.svc.cluster.local:8443"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/dns/{path}",
|
|
"method": "POST",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/dns/{path}",
|
|
"host": [
|
|
"http://dns.hanzo.svc.cluster.local:8443"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/dns/{path}",
|
|
"method": "PATCH",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/dns/{path}",
|
|
"host": [
|
|
"http://dns.hanzo.svc.cluster.local:8443"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
},
|
|
{
|
|
"endpoint": "/v1/dns/{path}",
|
|
"method": "DELETE",
|
|
"input_headers": [
|
|
"Authorization",
|
|
"Content-Type",
|
|
"Accept",
|
|
"X-Request-ID",
|
|
"X-Org-Id",
|
|
"X-Project-Id",
|
|
"X-Billing-Account-Id",
|
|
"X-User-Id"
|
|
],
|
|
"output_encoding": "no-op",
|
|
"backend": [
|
|
{
|
|
"url_pattern": "/v1/dns/{path}",
|
|
"host": [
|
|
"http://dns.hanzo.svc.cluster.local:8443"
|
|
],
|
|
"encoding": "no-op"
|
|
}
|
|
],
|
|
"extra_config": {
|
|
"qos/ratelimit/router": {
|
|
"max_rate": 5000,
|
|
"client_max_rate": 100,
|
|
"strategy": "ip",
|
|
"every": "1m"
|
|
},
|
|
"auth/public": false
|
|
}
|
|
}
|
|
]
|
|
}
|