2023-07-17 17:49:40 +00:00
|
|
|
{
|
2023-09-07 19:03:09 +00:00
|
|
|
"versionInfo": "00000001",
|
|
|
|
"resources": [
|
2023-07-17 17:49:40 +00:00
|
|
|
{
|
2023-09-07 19:03:09 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "8080",
|
|
|
|
"virtualHosts": [
|
2023-07-17 17:49:40 +00:00
|
|
|
{
|
2023-09-07 19:03:09 +00:00
|
|
|
"name": "api-gateway-listener-9b9265b",
|
|
|
|
"domains": [
|
2023-07-17 17:49:40 +00:00
|
|
|
"*",
|
|
|
|
"*:8080"
|
|
|
|
],
|
2023-09-07 19:03:09 +00:00
|
|
|
"routes": [
|
2023-07-17 17:49:40 +00:00
|
|
|
{
|
2023-09-07 19:03:09 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2023-07-17 17:49:40 +00:00
|
|
|
},
|
2023-09-07 19:03:09 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "service.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul",
|
|
|
|
"timeout": "30s",
|
|
|
|
"idleTimeout": "30s",
|
|
|
|
"retryPolicy": {
|
|
|
|
"retryOn": "cancelled,connect-failure,retriable-status-codes",
|
|
|
|
"numRetries": 3,
|
|
|
|
"retriableStatusCodes": [
|
2023-08-08 21:39:46 +00:00
|
|
|
500
|
|
|
|
]
|
|
|
|
}
|
2023-07-17 17:49:40 +00:00
|
|
|
},
|
2023-09-07 19:03:09 +00:00
|
|
|
"requestHeadersToAdd": [
|
2023-07-17 17:49:40 +00:00
|
|
|
{
|
2023-09-07 19:03:09 +00:00
|
|
|
"header": {
|
|
|
|
"key": "X-Header-Add",
|
|
|
|
"value": "added"
|
2023-07-17 17:49:40 +00:00
|
|
|
},
|
2023-09-07 19:03:09 +00:00
|
|
|
"append": true
|
2023-07-17 17:49:40 +00:00
|
|
|
},
|
|
|
|
{
|
2023-09-07 19:03:09 +00:00
|
|
|
"header": {
|
|
|
|
"key": "X-Header-Set",
|
|
|
|
"value": "set"
|
2023-07-17 17:49:40 +00:00
|
|
|
},
|
2023-09-07 19:03:09 +00:00
|
|
|
"append": false
|
2023-07-17 17:49:40 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-07 19:03:09 +00:00
|
|
|
"requestHeadersToRemove": [
|
2023-07-17 17:49:40 +00:00
|
|
|
"X-Header-Remove"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2023-09-07 19:03:09 +00:00
|
|
|
"validateClusters": true
|
2023-07-17 17:49:40 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-07 19:03:09 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"nonce": "00000001"
|
2023-07-17 17:49:40 +00:00
|
|
|
}
|