|
|
|
@ -1,6 +1,5 @@ |
|
|
|
{ |
|
|
|
"Routes": [ |
|
|
|
// ��ܶ˵� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/abp/application-configuration", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -11,7 +10,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/abp/backend-admin/application-configuration", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -26,7 +27,6 @@ |
|
|
|
}, |
|
|
|
"Key": "backend-admin-configuration" |
|
|
|
}, |
|
|
|
// ��ܶ�̬API�˵� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/abp/api-definition", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -37,7 +37,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/abp/backend-admin/api-definition", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -52,7 +54,6 @@ |
|
|
|
}, |
|
|
|
"Key": "backend-admin-api-definition" |
|
|
|
}, |
|
|
|
// �⻧ |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/abp/multi-tenancy/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -63,7 +64,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/abp/multi-tenancy/{everything}", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -77,9 +80,8 @@ |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
// �⻧���� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/saas/{everything}", |
|
|
|
"DownstreamPathTemplate": "/api/tenant-management/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
@ -87,8 +89,13 @@ |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/saas/{everything}", |
|
|
|
"UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ], |
|
|
|
"UpstreamPathTemplate": "/api/tenant-management/{everything}", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -97,7 +104,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -108,7 +115,6 @@ |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
// Ȩ���� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/permission-management/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -119,7 +125,12 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/permission-management/{everything}", |
|
|
|
"UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -128,7 +139,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -139,7 +150,6 @@ |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
// �⻧���� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/settings/by-current-tenant", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -150,7 +160,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/settings/by-current-tenant/app", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -159,7 +171,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -171,7 +183,39 @@ |
|
|
|
}, |
|
|
|
"Key": "setting-current-tenant" |
|
|
|
}, |
|
|
|
// ȫ������ |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/settings/by-current-user", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/settings/by-current-user/app", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
}, |
|
|
|
"Key": "setting-current-user" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/settings/by-global", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -182,7 +226,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/settings/by-global/app", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -191,7 +237,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -203,7 +249,6 @@ |
|
|
|
}, |
|
|
|
"Key": "setting-global" |
|
|
|
}, |
|
|
|
// ���⻧���� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/wechat/by-current-tenant", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -214,7 +259,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/wechat/by-current-tenant", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -223,7 +270,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -235,7 +282,6 @@ |
|
|
|
}, |
|
|
|
"Key": "wechat-setting-current-tenant" |
|
|
|
}, |
|
|
|
// ��ȫ������ |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/wechat/by-global", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -246,7 +292,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/wechat/by-global", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -255,7 +303,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -267,7 +315,72 @@ |
|
|
|
}, |
|
|
|
"Key": "wechat-setting-global" |
|
|
|
}, |
|
|
|
// �������⻧���� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/tencent-cloud/by-current-tenant", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/tencent-cloud/by-current-tenant", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
}, |
|
|
|
"Key": "tencent-cloud-setting-current-tenant" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/tencent-cloud/by-global", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/tencent-cloud/by-global", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
}, |
|
|
|
"Key": "tencent-cloud-setting-global" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/aliyun/by-current-tenant", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -278,7 +391,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/aliyun/by-current-tenant", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -287,7 +402,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -299,7 +414,6 @@ |
|
|
|
}, |
|
|
|
"Key": "aliyun-setting-current-tenant" |
|
|
|
}, |
|
|
|
// ������ȫ������ |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/aliyun/by-global", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -310,7 +424,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/aliyun/by-global", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -319,7 +435,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -331,7 +447,102 @@ |
|
|
|
}, |
|
|
|
"Key": "aliyun-setting-global" |
|
|
|
}, |
|
|
|
// ���ù��� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/settings/change-global", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/settings/change-global", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"PUT" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/settings/change-current-tenant", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/settings/change-current-tenant", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"PUT" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/settings/change-current-user", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/settings/change-current-user", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"PUT" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/setting-management/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -342,7 +553,12 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/setting-management/{everything}", |
|
|
|
"UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -362,7 +578,6 @@ |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
// ���Թ��� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/feature-management/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -373,7 +588,12 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/feature-management/{everything}", |
|
|
|
"UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -382,7 +602,42 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/saas/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/saas/{everything}", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -393,7 +648,6 @@ |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
// �����־ |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/auditing/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -404,7 +658,12 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/auditing/{everything}", |
|
|
|
"UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -413,7 +672,97 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 10000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/text-templating/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/text-templating/{everything}", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": {}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 30000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/caching-management/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/caching-management/{everything}", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET", |
|
|
|
"POST", |
|
|
|
"PUT", |
|
|
|
"DELETE" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": {}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
"DurationOfBreak": 1000, |
|
|
|
"TimeoutValue": 30000 |
|
|
|
}, |
|
|
|
"HttpHandlerOptions": { |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/api/abp/localization/{everything}", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
"DownstreamHostAndPorts": [ |
|
|
|
{ |
|
|
|
"Host": "127.0.0.1", |
|
|
|
"Port": 30010 |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/api/abp/localization/{everything}", |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
"RateLimitOptions": { |
|
|
|
"ClientWhitelist": [], |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |
|
|
|
@ -424,7 +773,6 @@ |
|
|
|
"UseTracing": true |
|
|
|
} |
|
|
|
}, |
|
|
|
// API �ĵ� |
|
|
|
{ |
|
|
|
"DownstreamPathTemplate": "/swagger/v1/swagger.json", |
|
|
|
"DownstreamScheme": "http", |
|
|
|
@ -435,7 +783,9 @@ |
|
|
|
} |
|
|
|
], |
|
|
|
"UpstreamPathTemplate": "/admin/v1/swagger.json", |
|
|
|
"UpstreamHttpMethod": [ "GET" ], |
|
|
|
"UpstreamHttpMethod": [ |
|
|
|
"GET" |
|
|
|
], |
|
|
|
"LoadBalancerOptions": { |
|
|
|
"Type": "RoundRobin" |
|
|
|
}, |
|
|
|
@ -444,7 +794,7 @@ |
|
|
|
"EnableRateLimiting": true, |
|
|
|
"Period": "1s", |
|
|
|
"PeriodTimespan": 1, |
|
|
|
"Limit": 5 |
|
|
|
"Limit": 100 |
|
|
|
}, |
|
|
|
"QoSOptions": { |
|
|
|
"ExceptionsAllowedBeforeBreaking": 10, |