|
|
|
@ -13,7 +13,13 @@
|
|
|
|
|
"Host": "localhost",
|
|
|
|
|
"Port": 7229
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
"RateLimitOptions": {
|
|
|
|
|
"EnableRateLimiting": true,
|
|
|
|
|
"Period": "1 second",
|
|
|
|
|
"PeriodTimespan": 1,
|
|
|
|
|
"Limit": 1
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"UpstreamPathTemplate": "/gateway/cats",
|
|
|
|
@ -42,7 +48,25 @@
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"UpstreamPathTemplate": "/gateway/bars",
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post" ],
|
|
|
|
|
"UpstreamHttpMethod": [ "Get" ],
|
|
|
|
|
"DownstreamPathTemplate": "/api/bars",
|
|
|
|
|
"DownstreamScheme": "https",
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
{
|
|
|
|
|
"Host": "localhost",
|
|
|
|
|
"Port": 7229
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"RateLimitOptions": {
|
|
|
|
|
"EnableRateLimiting": true,
|
|
|
|
|
"Period": "1 second",
|
|
|
|
|
"PeriodTimespan": 1,
|
|
|
|
|
"Limit": 1
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"UpstreamPathTemplate": "/gateway/bars",
|
|
|
|
|
"UpstreamHttpMethod": [ "Post" ],
|
|
|
|
|
"DownstreamPathTemplate": "/api/bars",
|
|
|
|
|
"DownstreamScheme": "https",
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
@ -67,7 +91,25 @@
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
"UpstreamPathTemplate": "/gateway/customers",
|
|
|
|
|
"UpstreamHttpMethod": [ "Get", "Post" ],
|
|
|
|
|
"UpstreamHttpMethod": [ "Get" ],
|
|
|
|
|
"DownstreamPathTemplate": "/api/customers",
|
|
|
|
|
"DownstreamScheme": "https",
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|
{
|
|
|
|
|
"Host": "localhost",
|
|
|
|
|
"Port": 7229
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"RateLimitOptions": {
|
|
|
|
|
"EnableRateLimiting": true,
|
|
|
|
|
"Period": "1 second",
|
|
|
|
|
"PeriodTimespan": 1,
|
|
|
|
|
"Limit": 1
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"UpstreamPathTemplate": "/gateway/customers",
|
|
|
|
|
"UpstreamHttpMethod": [ "Post" ],
|
|
|
|
|
"DownstreamPathTemplate": "/api/customers",
|
|
|
|
|
"DownstreamScheme": "https",
|
|
|
|
|
"DownstreamHostAndPorts": [
|
|
|
|
|