2019-07-17 19:07:08 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"nonce": "00000001",
|
|
|
|
"resources": [
|
2019-07-17 19:07:08 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"name": "db",
|
|
|
|
"validateClusters": true,
|
|
|
|
"virtualHosts": [
|
2019-07-17 19:07:08 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"domains": [
|
2019-07-17 19:07:08 +00:00
|
|
|
"*"
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"name": "db",
|
|
|
|
"routes": [
|
2019-07-17 19:07:08 +00:00
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"path": "/fgrpc.PingServer/Ping"
|
2019-07-17 19:07:08 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "prefix.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
2019-07-17 19:07:08 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-09-11 16:40:19 +00:00
|
|
|
"match": {
|
|
|
|
"prefix": "/"
|
2019-07-17 19:07:08 +00:00
|
|
|
},
|
2023-09-11 16:40:19 +00:00
|
|
|
"route": {
|
|
|
|
"cluster": "db.default.dc1.internal.11111111-2222-3333-4444-555555555555.consul"
|
2019-07-17 19:07:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2023-09-11 16:40:19 +00:00
|
|
|
]
|
2019-07-17 19:07:08 +00:00
|
|
|
}
|
|
|
|
],
|
2023-09-11 16:40:19 +00:00
|
|
|
"typeUrl": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
|
|
|
|
"versionInfo": "00000001"
|
2019-07-17 19:07:08 +00:00
|
|
|
}
|