From 4eb6f46a37ab23971be3860aee7dba79f3a208ec Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Thu, 27 Aug 2020 14:59:37 +0800 Subject: [PATCH] reorganize the Message service project directory structure --- .../MessageService => }/AbpMessageServiceHttpApiHostModule.cs | 2 +- .../Abp/MessageService => }/Localization/HttpApiHost/en.json | 4 +++- .../MessageService => }/Localization/HttpApiHost/zh-Hans.json | 4 +++- .../Notifications/MessageServiceDefinitionProvider.cs | 0 .../Abp/MessageService => }/Utils/SnowflakeIdGenerator.cs | 0 5 files changed, 7 insertions(+), 3 deletions(-) rename aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/{LINGYUN/Abp/MessageService => }/AbpMessageServiceHttpApiHostModule.cs (99%) rename aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/{LINGYUN/Abp/MessageService => }/Localization/HttpApiHost/en.json (57%) rename aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/{LINGYUN/Abp/MessageService => }/Localization/HttpApiHost/zh-Hans.json (59%) rename aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/{LINGYUN/Abp/MessageService => }/Notifications/MessageServiceDefinitionProvider.cs (100%) rename aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/{LINGYUN/Abp/MessageService => }/Utils/SnowflakeIdGenerator.cs (100%) diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/AbpMessageServiceHttpApiHostModule.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.cs similarity index 99% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/AbpMessageServiceHttpApiHostModule.cs rename to aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.cs index f08f25ff0..874239d66 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/AbpMessageServiceHttpApiHostModule.cs +++ b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.cs @@ -190,7 +190,7 @@ namespace LINGYUN.Abp.MessageService options.Resources .Get() - .AddVirtualJson("/LINGYUN/Abp/MessageService/Localization/HttpApiHost"); + .AddVirtualJson("/Localization/HttpApiHost"); }); context.Services.AddAuthentication("Bearer") diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Localization/HttpApiHost/en.json b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/en.json similarity index 57% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Localization/HttpApiHost/en.json rename to aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/en.json index 2716c4a9b..4c657e174 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Localization/HttpApiHost/en.json +++ b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/en.json @@ -2,6 +2,8 @@ "culture": "en", "texts": { "NewTenantRegisteredNotificationTitle": "Tenants create notification", - "NewTenantRegisteredNotificationMessage": "New tenants to create success, the tenant name: {0}!" + "NewTenantRegisteredNotificationMessage": "New tenants to create success, the tenant name: {0}!", + "Permission:Hangfire": "Hangfire dashboard", + "Permission:ManageQueue": "Manage queue" } } \ No newline at end of file diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Localization/HttpApiHost/zh-Hans.json b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/zh-Hans.json similarity index 59% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Localization/HttpApiHost/zh-Hans.json rename to aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/zh-Hans.json index 175a73b94..746d37822 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Localization/HttpApiHost/zh-Hans.json +++ b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/zh-Hans.json @@ -2,6 +2,8 @@ "culture": "zh-Hans", "texts": { "NewTenantRegisteredNotificationTitle": "租户创建通知", - "NewTenantRegisteredNotificationMessage": "新租户创建成功,租户名称:{0}!" + "NewTenantRegisteredNotificationMessage": "新租户创建成功,租户名称:{0}!", + "Permission:Hangfire": "Hangfire仪表板", + "Permission:ManageQueue": "管理队列" } } \ No newline at end of file diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Notifications/MessageServiceDefinitionProvider.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Notifications/MessageServiceDefinitionProvider.cs similarity index 100% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Notifications/MessageServiceDefinitionProvider.cs rename to aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Notifications/MessageServiceDefinitionProvider.cs diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Utils/SnowflakeIdGenerator.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Utils/SnowflakeIdGenerator.cs similarity index 100% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN/Abp/MessageService/Utils/SnowflakeIdGenerator.cs rename to aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Utils/SnowflakeIdGenerator.cs