From cf2e160a97254236523d01fb9612ca8151d10525 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Sat, 6 Aug 2022 14:35:00 +0800 Subject: [PATCH] feat: add missing menu definition. --- .../Localization/Resources/en.json | 1 + .../Localization/Resources/zh-Hans.json | 1 + ...ueVbenAdminNavigationDefinitionProvider.cs | 33 +- .../ocelot.Development.json | 849 +++++++++++++++--- 4 files changed, 748 insertions(+), 136 deletions(-) diff --git a/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/en.json b/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/en.json index fd3e1b580..453a667b2 100644 --- a/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/en.json +++ b/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/en.json @@ -6,6 +6,7 @@ "Permission:Refresh": "Refresh", "Permission:Delete": "Delete", "Caches": "Caches", + "CacheInfo": "Cache Info", "DisplayName:Marker": "Marker", "DisplayName:NextMarker": "Next Marker", "DisplayName:Type": "Type", diff --git a/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/zh-Hans.json b/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/zh-Hans.json index 738e83419..8e576fd56 100644 --- a/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/zh-Hans.json +++ b/aspnet-core/modules/caching/LINGYUN.Abp.CachingManagement.Application.Contracts/LINGYUN/Abp/CachingManagement/Localization/Resources/zh-Hans.json @@ -6,6 +6,7 @@ "Permission:Refresh": "刷新", "Permission:Delete": "删除", "Caches": "缓存列表", + "CacheInfo": "缓存详情", "DisplayName:Marker": "标记", "DisplayName:NextMarker": "下一个标记", "DisplayName:Type": "类型", diff --git a/aspnet-core/modules/platform/LINGYUN.Abp.UI.Navigation.VueVbenAdmin/LINGYUN/Abp/UI/Navigation/VueVbenAdmin/AbpUINavigationVueVbenAdminNavigationDefinitionProvider.cs b/aspnet-core/modules/platform/LINGYUN.Abp.UI.Navigation.VueVbenAdmin/LINGYUN/Abp/UI/Navigation/VueVbenAdmin/AbpUINavigationVueVbenAdminNavigationDefinitionProvider.cs index 9069b6a08..c85f87607 100644 --- a/aspnet-core/modules/platform/LINGYUN.Abp.UI.Navigation.VueVbenAdmin/LINGYUN/Abp/UI/Navigation/VueVbenAdmin/AbpUINavigationVueVbenAdminNavigationDefinitionProvider.cs +++ b/aspnet-core/modules/platform/LINGYUN.Abp.UI.Navigation.VueVbenAdmin/LINGYUN/Abp/UI/Navigation/VueVbenAdmin/AbpUINavigationVueVbenAdminNavigationDefinitionProvider.cs @@ -18,6 +18,7 @@ namespace LINGYUN.Abp.UI.Navigation.VueVbenAdmin context.Add(GetTaskManagement()); context.Add(GetWebhooksManagement()); context.Add(GetMessages()); + context.Add(GetTextTemplating()); } private static NavigationDefinition GetDashboard() @@ -193,6 +194,14 @@ namespace LINGYUN.Abp.UI.Navigation.VueVbenAdmin // TODO: 注意在部署完毕之后手动修改此菜单iframe地址 .SetProperty("frameSrc", "http://127.0.0.1:30000/swagger/index.html")); + manage.AddItem( + new ApplicationMenu( + name: "Caches", + displayName: "缓存管理", + url: "/manage/cache", + component: "/caching-management/cache/index", + description: "缓存管理")); + return new NavigationDefinition(manage); } @@ -447,10 +456,32 @@ namespace LINGYUN.Abp.UI.Navigation.VueVbenAdmin name: "Notifications", displayName: "通知管理", url: "/messages/notifications", - component: "/messages/notifications/index.vue", + component: "/messages/notifications/index", description: "通知管理")); return new NavigationDefinition(messages); } + + private static NavigationDefinition GetTextTemplating() + { + var textTemplating = new ApplicationMenu( + name: "Templates", + displayName: "模板管理", + url: "/text-templating", + component: "", + description: "模板管理", + icon: "eos-icons:templates-outlined", + multiTenancySides: MultiTenancySides.Host); + textTemplating.AddItem( + new ApplicationMenu( + name: "TextTemplates", + displayName: "文本模板", + url: "/text-templating/text-templates", + component: "/text-templating/templates/index", + description: "文本模板", + multiTenancySides: MultiTenancySides.Host)); + + return new NavigationDefinition(textTemplating); + } } } diff --git a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json index f2d556ab1..264748395 100644 --- a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json +++ b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/ocelot.Development.json @@ -22,6 +22,59 @@ } }, "Routes": [ + { + "DownstreamPathTemplate": "/.well-known/openid-configuration", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 44385 + } + ], + "UpstreamPathTemplate": "/.well-known/openid-configuration", + "UpstreamHttpMethod": [ + "GET" + ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 10000 + }, + "HttpHandlerOptions": { + "UseTracing": true + } + }, + { + "DownstreamPathTemplate": "/connect/{everything}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 44385 + } + ], + "UpstreamPathTemplate": "/connect/{everything}", + "UpstreamHttpMethod": [ + "GET", + "POST" + ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 10000 + }, + "HttpHandlerOptions": { + "UseTracing": true + } + }, { "DownstreamPathTemplate": "/api/abp/application-configuration", "DownstreamScheme": "http", @@ -103,7 +156,7 @@ } }, { - "DownstreamPathTemplate": "/api/saas/{everything}", + "DownstreamPathTemplate": "/api/tenant-management/{everything}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -111,7 +164,7 @@ "Port": 30010 } ], - "UpstreamPathTemplate": "/api/saas/{everything}", + "UpstreamPathTemplate": "/api/tenant-management/{everything}", "UpstreamHttpMethod": [ "GET", "POST", @@ -126,7 +179,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -161,7 +214,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -193,7 +246,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -205,6 +258,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", @@ -226,7 +312,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -259,7 +345,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -292,7 +378,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -304,6 +390,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", @@ -325,7 +477,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -358,7 +510,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -371,7 +523,97 @@ "Key": "aliyun-setting-global" }, { - "DownstreamPathTemplate": "/api/setting-management/{everything}", + "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/feature-management/{everything}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -379,7 +621,7 @@ "Port": 30010 } ], - "UpstreamPathTemplate": "/api/setting-management/{everything}", + "UpstreamPathTemplate": "/api/feature-management/{everything}", "UpstreamHttpMethod": [ "GET", "POST", @@ -394,7 +636,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -406,7 +648,7 @@ } }, { - "DownstreamPathTemplate": "/api/feature-management/{everything}", + "DownstreamPathTemplate": "/api/saas/{everything}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { @@ -414,7 +656,7 @@ "Port": 30010 } ], - "UpstreamPathTemplate": "/api/feature-management/{everything}", + "UpstreamPathTemplate": "/api/saas/{everything}", "UpstreamHttpMethod": [ "GET", "POST", @@ -429,7 +671,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -464,7 +706,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -496,7 +738,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -585,7 +827,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -620,7 +862,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -655,7 +897,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -687,7 +929,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -707,7 +949,7 @@ "Port": 30030 } ], - "UpstreamPathTemplate": "/api/abp/localization-management/application-configuration", + "UpstreamPathTemplate": "/api/abp/localization/application-configuration", "UpstreamHttpMethod": [ "GET" ], @@ -734,7 +976,7 @@ "Port": 30030 } ], - "UpstreamPathTemplate": "/api/abp/localization-management/api-definition", + "UpstreamPathTemplate": "/api/abp/localization/api-definition", "UpstreamHttpMethod": [ "GET" ], @@ -773,7 +1015,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -808,7 +1050,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -840,7 +1082,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -929,7 +1171,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -961,7 +1203,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -996,7 +1238,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1032,7 +1274,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1064,7 +1306,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1098,7 +1340,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1130,7 +1372,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1165,7 +1407,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1197,7 +1439,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1286,7 +1528,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1321,7 +1563,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1356,7 +1598,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1391,7 +1633,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1403,20 +1645,28 @@ } }, { - "DownstreamPathTemplate": "/api/abp/application-configuration", + "DownstreamPathTemplate": "/api/setting-management/oss-management/by-current-tenant", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30040 + "Port": 30025 } ], - "UpstreamPathTemplate": "/api/abp/task/application-configuration", - "UpstreamHttpMethod": [ "GET" ], + "UpstreamPathTemplate": "/api/setting-management/oss-management/by-current-tenant", + "UpstreamHttpMethod": [ + "GET" + ], "LoadBalancerOptions": { "Type": "RoundRobin" }, - "RateLimitOptions": {}, + "RateLimitOptions": { + "ClientWhitelist": [], + "EnableRateLimiting": true, + "Period": "1s", + "PeriodTimespan": 1, + "Limit": 100 + }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, @@ -1425,23 +1675,31 @@ "HttpHandlerOptions": { "UseTracing": true }, - "Key": "task-configuration" + "Key": "oss-management-setting-current-tenant" }, { - "DownstreamPathTemplate": "/api/abp/api-definition", + "DownstreamPathTemplate": "/api/setting-management/oss-management/by-global", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30040 + "Port": 30025 } ], - "UpstreamPathTemplate": "/api/abp/task/api-definition", - "UpstreamHttpMethod": [ "GET" ], + "UpstreamPathTemplate": "/api/setting-management/oss-management/by-global", + "UpstreamHttpMethod": [ + "GET" + ], "LoadBalancerOptions": { "Type": "RoundRobin" }, - "RateLimitOptions": {}, + "RateLimitOptions": { + "ClientWhitelist": [], + "EnableRateLimiting": true, + "Period": "1s", + "PeriodTimespan": 1, + "Limit": 100 + }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, @@ -1450,23 +1708,20 @@ "HttpHandlerOptions": { "UseTracing": true }, - "Key": "task-api-definition" + "Key": "oss-management-setting-global" }, { - "DownstreamPathTemplate": "/api/task-management/{everything}", + "DownstreamPathTemplate": "/swagger/v1/swagger.json", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30040 + "Port": 30025 } ], - "UpstreamPathTemplate": "/api/task-management/{everything}", + "UpstreamPathTemplate": "/platform/v1/swagger.json", "UpstreamHttpMethod": [ - "GET", - "POST", - "PUT", - "DELETE" + "GET" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -1476,7 +1731,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1488,28 +1743,94 @@ } }, { - "DownstreamPathTemplate": "/api/setting-management/oss-management/by-current-tenant", - "DownstreamScheme": "http", + "DownstreamPathTemplate": "/signalr-hubs/messages", + "DownstreamScheme": "ws", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30025 + "Port": 30020 } ], - "UpstreamPathTemplate": "/api/setting-management/oss-management/by-current-tenant", - "UpstreamHttpMethod": [ - "GET" + "UpstreamPathTemplate": "/signalr-hubs/messages", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 10000 + }, + "HttpHandlerOptions": {}, + "DangerousAcceptAnyServerCertificateValidator": true, + "RouteIsCaseSensitive": false, + "Priority": 99 + }, + { + "DownstreamPathTemplate": "/signalr-hubs/notifications", + "DownstreamScheme": "ws", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 30020 + } ], + "UpstreamPathTemplate": "/signalr-hubs/notifications", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], "LoadBalancerOptions": { "Type": "RoundRobin" }, - "RateLimitOptions": { - "ClientWhitelist": [], - "EnableRateLimiting": true, - "Period": "1s", - "PeriodTimespan": 1, - "Limit": 5 + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 10000 + }, + "HttpHandlerOptions": {}, + "DangerousAcceptAnyServerCertificateValidator": true, + "RouteIsCaseSensitive": false, + "Priority": 99 + }, + { + "DownstreamPathTemplate": "/signalr-hubs/{everything}", + "DownstreamScheme": "ws", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 30020 + } + ], + "UpstreamPathTemplate": "/signalr-hubs/{everything}", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 10000 + }, + "HttpHandlerOptions": {}, + "DangerousAcceptAnyServerCertificateValidator": true, + "RouteIsCaseSensitive": false + }, + { + "DownstreamPathTemplate": "/api/abp/application-configuration", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 30040 + } + ], + "UpstreamPathTemplate": "/api/abp/task/application-configuration", + "UpstreamHttpMethod": [ "GET" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, @@ -1518,20 +1839,48 @@ "HttpHandlerOptions": { "UseTracing": true }, - "Key": "oss-management-setting-current-tenant" + "Key": "task-configuration" }, { - "DownstreamPathTemplate": "/api/setting-management/oss-management/by-global", + "DownstreamPathTemplate": "/api/abp/api-definition", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30025 + "Port": 30040 } ], - "UpstreamPathTemplate": "/api/setting-management/oss-management/by-global", + "UpstreamPathTemplate": "/api/abp/task/api-definition", + "UpstreamHttpMethod": [ "GET" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 10000 + }, + "HttpHandlerOptions": { + "UseTracing": true + }, + "Key": "task-api-definition" + }, + { + "DownstreamPathTemplate": "/api/task-management/{everything}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 30040 + } + ], + "UpstreamPathTemplate": "/api/task-management/{everything}", "UpstreamHttpMethod": [ - "GET" + "GET", + "POST", + "PUT", + "DELETE" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -1541,7 +1890,7 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, @@ -1550,51 +1899,121 @@ }, "HttpHandlerOptions": { "UseTracing": true + } + }, { + "DownstreamPathTemplate": "/api/manufacture/settings/by-current-user", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 33330 + } + ], + "Key": "manufacture-setting-current-user", + "UpstreamPathTemplate": "/api/manufacture/settings/by-current-user/app", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" }, - "Key": "oss-management-setting-global" + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 30000 + }, + "HttpHandlerOptions": { + "UseTracing": true + }, + "Priority": 99 }, { - "DownstreamPathTemplate": "/swagger/v1/swagger.json", + "DownstreamPathTemplate": "/api/manufacture/{everything}", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30025 + "Port": 33330 } ], - "UpstreamPathTemplate": "/platform/v1/swagger.json", - "UpstreamHttpMethod": [ - "GET" + "UpstreamPathTemplate": "/api/manufacture/{everything}", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 30000 + }, + "UpstreamHeaderTransform": { + "X-Forwarded-For": "{RemoteIpAddress}" + }, + "DownstreamHeaderTransform": { + "X-Forwarded-For": "{RemoteIpAddress}" + }, + "HttpHandlerOptions": { + "UseTracing": true + } + }, + { + "DownstreamPathTemplate": "/api/certificate/{everything}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 33339 + } ], + "UpstreamPathTemplate": "/api/certificate/{everything}", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], "LoadBalancerOptions": { "Type": "RoundRobin" }, - "RateLimitOptions": { - "ClientWhitelist": [], - "EnableRateLimiting": true, - "Period": "1s", - "PeriodTimespan": 1, - "Limit": 5 + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 30000 }, + "HttpHandlerOptions": { + "UseTracing": true + } + }, + { + "DownstreamPathTemplate": "/api/ufsoft/{everything}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 33320 + } + ], + "UpstreamPathTemplate": "/api/ufsoft/{everything}", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, - "TimeoutValue": 10000 + "TimeoutValue": 30000 }, "HttpHandlerOptions": { "UseTracing": true } }, { - "DownstreamPathTemplate": "/signalr-hubs/messages", - "DownstreamScheme": "ws", + "DownstreamPathTemplate": "/api/marketing/{everything}", + "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30020 + "Port": 33335 } ], - "UpstreamPathTemplate": "/signalr-hubs/messages", + "UpstreamPathTemplate": "/api/marketing/{everything}", "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -1603,23 +2022,22 @@ "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, - "TimeoutValue": 10000 + "TimeoutValue": 30000 }, - "HttpHandlerOptions": {}, - "DangerousAcceptAnyServerCertificateValidator": true, - "RouteIsCaseSensitive": false, - "Priority": 99 + "HttpHandlerOptions": { + "UseTracing": true + } }, { - "DownstreamPathTemplate": "/signalr-hubs/notifications", - "DownstreamScheme": "ws", + "DownstreamPathTemplate": "/api/product-management/{everything}", + "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30020 + "Port": 33333 } ], - "UpstreamPathTemplate": "/signalr-hubs/notifications", + "UpstreamPathTemplate": "/api/product-management/{everything}", "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -1628,23 +2046,22 @@ "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, - "TimeoutValue": 10000 + "TimeoutValue": 30000 }, - "HttpHandlerOptions": {}, - "DangerousAcceptAnyServerCertificateValidator": true, - "RouteIsCaseSensitive": false, - "Priority": 99 + "HttpHandlerOptions": { + "UseTracing": true + } }, { - "DownstreamPathTemplate": "/signalr-hubs/{everything}", - "DownstreamScheme": "ws", + "DownstreamPathTemplate": "/api/stock-management/{everything}", + "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30020 + "Port": 33334 } ], - "UpstreamPathTemplate": "/signalr-hubs/{everything}", + "UpstreamPathTemplate": "/api/stock-management/{everything}", "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE", "OPTIONS" ], "LoadBalancerOptions": { "Type": "RoundRobin" @@ -1653,29 +2070,59 @@ "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, - "TimeoutValue": 10000 + "TimeoutValue": 30000 }, - "HttpHandlerOptions": {}, - "DangerousAcceptAnyServerCertificateValidator": true, - "RouteIsCaseSensitive": false + "HttpHandlerOptions": { + "UseTracing": true + } }, { - "DownstreamPathTemplate": "/api/abp/api-definition", + "DownstreamPathTemplate": "/api/micro-mall/{everything}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "10.21.15.13", + "Port": 52178 + } + ], + "UpstreamPathTemplate": "/api/micro-mall/{everything}", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 30000 + }, + "HttpHandlerOptions": { + "UseTracing": true + } + }, + { + "DownstreamPathTemplate": "/api/invoice-management/settings/by-current-tenant", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30045 + "Port": 30010 } ], - "UpstreamPathTemplate": "/api/abp/webhook/api-definition", + "UpstreamPathTemplate": "/api/setting-management/invoice/by-current-tenant", "UpstreamHttpMethod": [ "GET" ], "LoadBalancerOptions": { "Type": "RoundRobin" }, - "RateLimitOptions": {}, + "RateLimitOptions": { + "ClientWhitelist": [], + "EnableRateLimiting": true, + "Period": "1s", + "PeriodTimespan": 1, + "Limit": 100 + }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, @@ -1684,18 +2131,18 @@ "HttpHandlerOptions": { "UseTracing": true }, - "Key": "webhook-api-definition" + "Key": "invoice-setting-current-tenant" }, { - "DownstreamPathTemplate": "/swagger/v1/swagger.json", + "DownstreamPathTemplate": "/api/invoice-management/settings/by-global", "DownstreamScheme": "http", "DownstreamHostAndPorts": [ { "Host": "127.0.0.1", - "Port": 30045 + "Port": 30010 } ], - "UpstreamPathTemplate": "/webhooks/v1/swagger.json", + "UpstreamPathTemplate": "/api/setting-management/invoice/by-global", "UpstreamHttpMethod": [ "GET" ], @@ -1707,17 +2154,94 @@ "EnableRateLimiting": true, "Period": "1s", "PeriodTimespan": 1, - "Limit": 5 + "Limit": 100 }, "QoSOptions": { "ExceptionsAllowedBeforeBreaking": 10, "DurationOfBreak": 1000, "TimeoutValue": 10000 }, + "HttpHandlerOptions": { + "UseTracing": true + }, + "Key": "invoice-setting-global" + }, + { + "DownstreamPathTemplate": "/api/invoice-management/invoices-reports/{everything}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 33341 + } + ], + "UpstreamPathTemplate": "/api/invoice-management/invoices-reports/{everything}", + "UpstreamHttpMethod": [ "GET" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 120000 + }, + "HttpHandlerOptions": { + "UseTracing": true + }, + "Prioirty": 10 + }, + { + "DownstreamPathTemplate": "/api/invoice-management/{everything}", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 33341 + } + ], + "UpstreamPathTemplate": "/api/invoice-management/{everything}", + "UpstreamHttpMethod": [ "GET", "POST", "PUT", "DELETE" ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 30000 + }, "HttpHandlerOptions": { "UseTracing": true } }, + { + "DownstreamPathTemplate": "/api/abp/api-definition", + "DownstreamScheme": "http", + "DownstreamHostAndPorts": [ + { + "Host": "127.0.0.1", + "Port": 30045 + } + ], + "UpstreamPathTemplate": "/api/abp/webhook/api-definition", + "UpstreamHttpMethod": [ + "GET" + ], + "LoadBalancerOptions": { + "Type": "RoundRobin" + }, + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 10000 + }, + "HttpHandlerOptions": { + "UseTracing": true + }, + "Key": "webhook-api-definition" + }, { "DownstreamPathTemplate": "/api/webhooks/{everything}", "DownstreamScheme": "http", @@ -1732,17 +2256,59 @@ "LoadBalancerOptions": { "Type": "RoundRobin" }, - "RateLimitOptions": { - "ClientWhitelist": [], - "EnableRateLimiting": true, - "Period": "1s", - "PeriodTimespan": 1, - "Limit": 5 + "RateLimitOptions": {}, + "QoSOptions": { + "ExceptionsAllowedBeforeBreaking": 10, + "DurationOfBreak": 1000, + "TimeoutValue": 30000 }, + "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": 10000 + "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 @@ -1780,8 +2346,10 @@ "RouteKeys": [ "setting-global", "wechat-setting-global", + "tencent-cloud-setting-global", "aliyun-setting-global", - "oss-management-setting-global" + "oss-management-setting-global", + "invoice-setting-global" ], "UpstreamPathTemplate": "/api/setting-management/settings/by-global", "Aggregator": "AbpResponseMergeAggregator", @@ -1791,13 +2359,24 @@ "RouteKeys": [ "setting-current-tenant", "wechat-setting-current-tenant", + "tencent-cloud-setting-current-tenant", "aliyun-setting-current-tenant", - "oss-management-setting-current-tenant" + "oss-management-setting-current-tenant", + "invoice-setting-current-tenant" ], "UpstreamPathTemplate": "/api/setting-management/settings/by-current-tenant", "Aggregator": "AbpResponseMergeAggregator", "Priority": 99 }, + { + "RouteKeys": [ + "setting-current-user", + "manufacture-setting-current-user" + ], + "UpstreamPathTemplate": "/api/setting-management/settings/by-current-user", + "Aggregator": "AbpResponseMergeAggregator", + "Priority": 99 + }, { "RouteKeys": [ "assignables-notifilers",