From ec4911c2d7ff31c25d77ce35b8d17a9ce1a84322 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Tue, 7 Dec 2021 16:07:32 +0800 Subject: [PATCH] refactor: redefine the startup project structure --- aspnet-core/LINGYUN.MicroService.All.sln | 90 ++--- .../LINGYUN.MicroService.ApiGateway.sln | 135 ------- .../LINGYUN.MicroService.BackendAdmin.sln | 282 --------------- .../LINGYUN.MicroService.IdentityServer.sln | 229 ------------ ...NGYUN.MicroService.IdentityServerAdmin.sln | 266 -------------- .../LINGYUN.MicroService.Localization.sln | 142 -------- aspnet-core/LINGYUN.MicroService.Messages.sln | 308 ---------------- aspnet-core/LINGYUN.MicroService.Platform.sln | 292 --------------- aspnet-core/cleanup-logs.bat | 13 + ...BackendAdminHttpApiHostModule.Configure.cs | 278 +++++++++++++++ .../BackendAdminHttpApiHostModule.Seeder.cs | 22 ++ .../BackendAdminHttpApiHostModule.cs} | 116 +++--- .../Controllers/HomeController.cs | 12 + .../Dockerfile | 2 +- .../BackendAdminMigrationsDbContext.cs | 27 ++ .../BackendAdminMigrationsDbContextFactory.cs | 30 ++ .../EventBus/Handlers/TenantSynchronizer.cs | 187 ++++++++++ .../FodyWeavers.xml | 0 ...oService.BackendAdmin.HttpApi.Host.csproj} | 59 ++-- .../Localization/Resources}/en.json | 0 .../Localization/Resources}/zh-Hans.json | 0 ...90436_Re-Initlize-Db-Migration.Designer.cs | 6 +- ...20211030090436_Re-Initlize-Db-Migration.cs | 2 +- ...minHostMigrationsDbContextModelSnapshot.cs | 6 +- .../Program.cs | 49 +++ .../Properties/launchSettings.json | 8 +- .../AccountSettingDefinitionProvider.cs | 34 ++ .../Startup.cs | 30 ++ .../TenantHeaderParamter.cs | 32 ++ .../Dockerfile | 2 +- ...calizationManagementMigrationsDbContext.cs | 23 ++ ...onManagementMigrationsDbContextFactory.cs} | 10 +- .../EventBus/Handlers/TenantSynchronizer.cs | 8 +- .../FodyWeavers.xml | 0 ...ocalizationManagement.HttpApi.Host.csproj} | 24 +- ...onManagementHttpApiHostModule.Configure.cs | 227 ++++++++++++ ...ationManagementHttpApiHostModule.Seeder.cs | 20 ++ ...ocalizationManagementHttpApiHostModule.cs} | 5 +- ...Module-Localization-Management.Designer.cs | 6 +- ...0255_Add-Module-Localization-Management.cs | 2 +- ...326100405_Rmove-Field-TenantId.Designer.cs | 6 +- .../20210326100405_Rmove-Field-TenantId.cs | 2 +- ...eld-ResourceId-To-ResourceName.Designer.cs | 6 +- ...Rename-Field-ResourceId-To-ResourceName.cs | 2 +- ...gementMigrationsDbContextModelSnapshot.cs} | 8 +- .../Program.cs | 51 +++ .../Properties/launchSettings.json | 21 ++ .../Startup.cs | 30 ++ .../TenantHeaderParamter.cs | 32 ++ .../Dockerfile | 0 .../PlatformManagementMigrationsDbContext.cs | 21 ++ ...ormManagementMigrationsDbContextFactory.cs | 29 ++ .../EventBus/Handlers/TenantSynchronizer.cs | 69 ++++ .../FodyWeavers.xml | 0 ...ice.PlatformManagement.HttpApi.Host.csproj | 68 ++++ ...32911_Re-Initlize-Db-Migration.Designer.cs | 6 +- ...20211030132911_Re-Initlize-Db-Migration.cs | 2 +- ...ApiHostMigrationsDbContextModelSnapshot.cs | 6 +- ...rmManagementHttpApiHostModule.Configure.cs | 272 ++++++++++++++ ...tformManagementHttpApiHostModule.Seeder.cs | 20 ++ .../PlatformManagementHttpApiHostModule.cs} | 122 +++---- .../Program.cs | 52 +++ .../Properties/launchSettings.json | 21 ++ .../Startup.cs | 30 ++ .../TenantHeaderParamter.cs | 2 +- .../Dockerfile | 2 +- .../RealtimeMessageMigrationsDbContext.cs | 22 ++ ...ltimeMessageMigrationsDbContextFactory.cs} | 15 +- .../Distributed/ChatMessageEventHandler.cs | 2 +- .../Distributed/NotificationEventHandler.cs | 2 +- .../Distributed/TenantSynchronizer.cs | 8 +- .../Distributed/UserCreateEventHandler.cs | 2 +- .../Local/UserCreateJoinIMEventHandler.cs | 2 +- .../UserCreateSendWelcomeEventHandler.cs | 2 +- .../FodyWeavers.xml | 0 ...ervice.RealtimeMessage.HttpApi.Host.csproj | 68 ++++ .../Localization/Resources}/en.json | 0 .../Localization/Resources}/zh-Hans.json | 0 ...31449_Re-Initlize-Db-Migration.Designer.cs | 6 +- ...20211030131449_Re-Initlize-Db-Migration.cs | 2 +- ...144233_Add-Field-Online-Avatar.Designer.cs | 6 +- .../20211110144233_Add-Field-Online-Avatar.cs | 2 +- ...Type-ExtraProp-To-Notification.Designer.cs | 6 +- ...Add-Base-Type-ExtraProp-To-Notification.cs | 2 +- ...dd-Source-Type-To-Chat-Message.Designer.cs | 6 +- ...1080938_Add-Source-Type-To-Chat-Message.cs | 2 +- ...dd-Field-Static-To-Chat-Friend.Designer.cs | 6 +- ...1221335_Add-Field-Static-To-Chat-Friend.cs | 2 +- ...ename-Field-SendState-To-State.Designer.cs | 6 +- ...2083050_Rename-Field-SendState-To-State.cs | 2 +- ...essageMigrationsDbContextModelSnapshot.cs} | 8 +- .../Program.cs | 52 +++ .../Properties/launchSettings.json | 41 +-- ...ltimeMessageHttpApiHostModule.Configure.cs | 292 +++++++++++++++ ...RealtimeMessageHttpApiHostModule.Seeder.cs | 20 ++ .../RealtimeMessageHttpApiHostModule.cs} | 7 +- .../Startup.cs | 30 ++ .../TenantHeaderParamter.cs | 32 ++ .../Dockerfile | 2 +- .../FodyWeavers.xml | 0 ...entityServerHttpApiHostModule.Configure.cs | 273 ++++++++++++++ .../IdentityServerHttpApiHostModule.Seeder.cs | 10 + .../IdentityServerHttpApiHostModule.cs} | 119 ++++--- ...ervice.identityServer.HttpApi.Host.csproj} | 48 ++- .../Localization/Resources}/en.json | 0 .../Localization/Resources}/zh-Hans.json | 0 .../Program.cs | 52 +++ .../Properties/launchSettings.json | 21 ++ .../Startup.cs | 30 ++ .../TenantHeaderParamter.cs | 32 ++ .../UserSecurityCodeSender.cs | 65 ++++ .../IdentityServerDataSeedContributor.cs | 333 +++++++++++++++++ .../Dockerfile | 0 .../Emailing/AccountEmailVerifySender.cs | 104 ++++++ .../Emailing/IAccountEmailVerifySender.cs | 17 + .../AccountEmailTemplateDefinitionProvider.cs | 21 ++ .../Templates/AccountEmailTemplates.cs | 9 + .../Emailing/Templates/MailSecurityVerify.tpl | 0 .../IdentityServertMigrationsDbContext.cs | 23 ++ ...entityServertMigrationsDbContextFactory.cs | 29 ++ .../EventBus/Handlers/TenantSynchronizer.cs | 137 +++++++ .../CustomIdentityResources.cs | 18 + .../IdentityServerModule.Configure.cs | 256 ++++++++++++++ .../IdentityServerModule.Seeder.cs | 22 ++ .../IdentityServerModule.cs} | 122 ++++--- .../LY.MicroService.IdentityServer.csproj | 65 ++++ .../Localization/Resources/en.json | 0 .../Localization/Resources/zh-Hans.json | 0 ...eSiteCookiesServiceCollectionExtensions.cs | 0 ...24247_Re-Initlize-Db-Migration.Designer.cs | 6 +- ...20211030124247_Re-Initlize-Db-Migration.cs | 2 +- ...ld-AvatarUrl-With-IdentityUser.Designer.cs | 6 +- ...emove-Field-AvatarUrl-With-IdentityUser.cs | 2 +- ...2741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs | 6 +- ...0211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs | 2 +- ...ervertMigrationsDbContextModelSnapshot.cs} | 8 +- .../Pages/Account/SendCode.cshtml | 2 +- .../Pages/Account/SendCode.cshtml.cs | 4 +- .../Account/TwoFactorSupportedLoginModel.cs | 2 +- .../Pages/Account/UseRecoveryCode.cshtml | 4 + .../Pages/Account/UseRecoveryCode.cshtml.cs | 2 +- .../Account/VerifyAuthenticatorCode.cshtml | 2 +- .../Account/VerifyAuthenticatorCode.cshtml.cs | 2 +- .../Pages/Account/VerifyCode.cshtml | 2 +- .../Pages/Account/VerifyCode.cshtml.cs | 2 +- .../Pages/Index.cshtml | 2 +- .../Pages/Index.cshtml.cs | 2 +- .../Pages/_ViewImports.cshtml | 0 .../LY.MicroService.identityServer/Program.cs | 50 +++ .../Properties/launchSettings.json | 21 ++ .../LY.MicroService.identityServer/Startup.cs | 32 ++ .../abp.resourcemapping.js | 0 .../gulpfile.js | 0 .../package.json | 0 .../@fortawesome/fontawesome-free/css/all.css | 0 .../fontawesome-free/css/v4-shims.css | 0 .../webfonts/fa-brands-400.eot | Bin .../webfonts/fa-brands-400.svg | 0 .../webfonts/fa-brands-400.ttf | Bin .../webfonts/fa-brands-400.woff | Bin .../webfonts/fa-brands-400.woff2 | Bin .../webfonts/fa-regular-400.eot | Bin .../webfonts/fa-regular-400.svg | 0 .../webfonts/fa-regular-400.ttf | Bin .../webfonts/fa-regular-400.woff | Bin .../webfonts/fa-regular-400.woff2 | Bin .../webfonts/fa-solid-900.eot | Bin .../webfonts/fa-solid-900.svg | 0 .../webfonts/fa-solid-900.ttf | Bin .../webfonts/fa-solid-900.woff | Bin .../webfonts/fa-solid-900.woff2 | Bin .../wwwroot/libs/abp/core/abp.css | 0 .../wwwroot/libs/abp/core/abp.js | 0 .../wwwroot/libs/abp/jquery/abp.jquery.js | 0 .../wwwroot/libs/abp/luxon/abp.luxon.js | 0 .../wwwroot/libs/abp/utils/abp-utils.umd.js | 0 .../libs/abp/utils/abp-utils.umd.js.map | 0 .../libs/abp/utils/abp-utils.umd.min.js | 0 .../libs/abp/utils/abp-utils.umd.min.js.map | 0 .../bootstrap-datepicker.css.map | 0 .../bootstrap-datepicker.min.css | 0 .../bootstrap-datepicker.min.js | 0 .../locales/bootstrap-datepicker-en-CA.min.js | 0 .../locales/bootstrap-datepicker.ar-tn.min.js | 0 .../locales/bootstrap-datepicker.ar.min.js | 0 .../locales/bootstrap-datepicker.az.min.js | 0 .../locales/bootstrap-datepicker.bg.min.js | 0 .../locales/bootstrap-datepicker.bm.min.js | 0 .../locales/bootstrap-datepicker.bn.min.js | 0 .../locales/bootstrap-datepicker.br.min.js | 0 .../locales/bootstrap-datepicker.bs.min.js | 0 .../locales/bootstrap-datepicker.ca.min.js | 0 .../locales/bootstrap-datepicker.cs.min.js | 0 .../locales/bootstrap-datepicker.cy.min.js | 0 .../locales/bootstrap-datepicker.da.min.js | 0 .../locales/bootstrap-datepicker.de.min.js | 0 .../locales/bootstrap-datepicker.el.min.js | 0 .../locales/bootstrap-datepicker.en-AU.min.js | 0 .../locales/bootstrap-datepicker.en-CA.min.js | 0 .../locales/bootstrap-datepicker.en-GB.min.js | 0 .../locales/bootstrap-datepicker.en-IE.min.js | 0 .../locales/bootstrap-datepicker.en-NZ.min.js | 0 .../locales/bootstrap-datepicker.en-ZA.min.js | 0 .../locales/bootstrap-datepicker.eo.min.js | 0 .../locales/bootstrap-datepicker.es.min.js | 0 .../locales/bootstrap-datepicker.et.min.js | 0 .../locales/bootstrap-datepicker.eu.min.js | 0 .../locales/bootstrap-datepicker.fa.min.js | 0 .../locales/bootstrap-datepicker.fi.min.js | 0 .../locales/bootstrap-datepicker.fo.min.js | 0 .../locales/bootstrap-datepicker.fr-CH.min.js | 0 .../locales/bootstrap-datepicker.fr.min.js | 0 .../locales/bootstrap-datepicker.gl.min.js | 0 .../locales/bootstrap-datepicker.he.min.js | 0 .../locales/bootstrap-datepicker.hi.min.js | 0 .../locales/bootstrap-datepicker.hr.min.js | 0 .../locales/bootstrap-datepicker.hu.min.js | 0 .../locales/bootstrap-datepicker.hy.min.js | 0 .../locales/bootstrap-datepicker.id.min.js | 0 .../locales/bootstrap-datepicker.is.min.js | 0 .../locales/bootstrap-datepicker.it-CH.min.js | 0 .../locales/bootstrap-datepicker.it.min.js | 0 .../locales/bootstrap-datepicker.ja.min.js | 0 .../locales/bootstrap-datepicker.ka.min.js | 0 .../locales/bootstrap-datepicker.kh.min.js | 0 .../locales/bootstrap-datepicker.kk.min.js | 0 .../locales/bootstrap-datepicker.km.min.js | 0 .../locales/bootstrap-datepicker.ko.min.js | 0 .../locales/bootstrap-datepicker.kr.min.js | 0 .../locales/bootstrap-datepicker.lt.min.js | 0 .../locales/bootstrap-datepicker.lv.min.js | 0 .../locales/bootstrap-datepicker.me.min.js | 0 .../locales/bootstrap-datepicker.mk.min.js | 0 .../locales/bootstrap-datepicker.mn.min.js | 0 .../locales/bootstrap-datepicker.ms.min.js | 0 .../locales/bootstrap-datepicker.nl-BE.min.js | 0 .../locales/bootstrap-datepicker.nl.min.js | 0 .../locales/bootstrap-datepicker.no.min.js | 0 .../locales/bootstrap-datepicker.oc.min.js | 0 .../locales/bootstrap-datepicker.pl.min.js | 0 .../locales/bootstrap-datepicker.pt-BR.min.js | 0 .../locales/bootstrap-datepicker.pt.min.js | 0 .../locales/bootstrap-datepicker.ro.min.js | 0 .../bootstrap-datepicker.rs-latin.min.js | 0 .../locales/bootstrap-datepicker.rs.min.js | 0 .../locales/bootstrap-datepicker.ru.min.js | 0 .../locales/bootstrap-datepicker.si.min.js | 0 .../locales/bootstrap-datepicker.sk.min.js | 0 .../locales/bootstrap-datepicker.sl.min.js | 0 .../locales/bootstrap-datepicker.sq.min.js | 0 .../bootstrap-datepicker.sr-latin.min.js | 0 .../locales/bootstrap-datepicker.sr.min.js | 0 .../locales/bootstrap-datepicker.sv.min.js | 0 .../locales/bootstrap-datepicker.ta.min.js | 0 .../locales/bootstrap-datepicker.tg.min.js | 0 .../locales/bootstrap-datepicker.th.min.js | 0 .../locales/bootstrap-datepicker.tk.min.js | 0 .../locales/bootstrap-datepicker.tr.min.js | 0 .../locales/bootstrap-datepicker.uk.min.js | 0 .../bootstrap-datepicker.uz-cyrl.min.js | 0 .../bootstrap-datepicker.uz-latn.min.js | 0 .../locales/bootstrap-datepicker.vi.min.js | 0 .../locales/bootstrap-datepicker.zh-CN.min.js | 0 .../locales/bootstrap-datepicker.zh-TW.min.js | 0 .../libs/bootstrap/css/bootstrap-rtl.css | 0 .../libs/bootstrap/css/bootstrap-rtl.css.map | 0 .../libs/bootstrap/css/bootstrap-rtl.min.css | 0 .../bootstrap/css/bootstrap-rtl.min.css.map | 0 .../wwwroot/libs/bootstrap/css/bootstrap.css | 0 .../libs/bootstrap/css/bootstrap.css.map | 0 .../libs/bootstrap/css/bootstrap.min.css | 0 .../libs/bootstrap/css/bootstrap.min.css.map | 0 .../libs/bootstrap/css/bootstrap.rtl.css | 0 .../libs/bootstrap/css/bootstrap.rtl.css.map | 0 .../libs/bootstrap/css/bootstrap.rtl.min.css | 0 .../bootstrap/css/bootstrap.rtl.min.css.map | 0 .../libs/bootstrap/js/bootstrap.bundle.js | 0 .../libs/bootstrap/js/bootstrap.bundle.js.map | 0 .../libs/bootstrap/js/bootstrap.bundle.min.js | 0 .../bootstrap/js/bootstrap.bundle.min.js.map | 0 .../bootstrap.enable.tooltips.everywhere.js | 0 .../css/dataTables.bootstrap4.css | 0 .../js/dataTables.bootstrap4.js | 0 .../css/dataTables.bootstrap5.css | 0 .../js/dataTables.bootstrap5.js | 0 .../datatables.net/js/jquery.dataTables.js | 0 .../libs/jquery-form/jquery.form.min.js | 0 .../libs/jquery-form/jquery.form.min.js.map | 0 .../jquery.validate.unobtrusive.js | 0 .../libs/jquery-validation/jquery.validate.js | 0 .../localization/messages_ar.js | 0 .../localization/messages_ar.min.js | 0 .../localization/messages_az.js | 0 .../localization/messages_az.min.js | 0 .../localization/messages_bg.js | 0 .../localization/messages_bg.min.js | 0 .../localization/messages_bn_BD.js | 0 .../localization/messages_bn_BD.min.js | 0 .../localization/messages_ca.js | 0 .../localization/messages_ca.min.js | 0 .../localization/messages_cs.js | 0 .../localization/messages_cs.min.js | 0 .../localization/messages_da.js | 0 .../localization/messages_da.min.js | 0 .../localization/messages_de.js | 0 .../localization/messages_de.min.js | 0 .../localization/messages_el.js | 0 .../localization/messages_el.min.js | 0 .../localization/messages_es.js | 0 .../localization/messages_es.min.js | 0 .../localization/messages_es_AR.js | 0 .../localization/messages_es_AR.min.js | 0 .../localization/messages_es_PE.js | 0 .../localization/messages_es_PE.min.js | 0 .../localization/messages_et.js | 0 .../localization/messages_et.min.js | 0 .../localization/messages_eu.js | 0 .../localization/messages_eu.min.js | 0 .../localization/messages_fa.js | 0 .../localization/messages_fa.min.js | 0 .../localization/messages_fi.js | 0 .../localization/messages_fi.min.js | 0 .../localization/messages_fr.js | 0 .../localization/messages_fr.min.js | 0 .../localization/messages_ge.js | 0 .../localization/messages_ge.min.js | 0 .../localization/messages_gl.js | 0 .../localization/messages_gl.min.js | 0 .../localization/messages_he.js | 0 .../localization/messages_he.min.js | 0 .../localization/messages_hr.js | 0 .../localization/messages_hr.min.js | 0 .../localization/messages_hu.js | 0 .../localization/messages_hu.min.js | 0 .../localization/messages_hy_AM.js | 0 .../localization/messages_hy_AM.min.js | 0 .../localization/messages_id.js | 0 .../localization/messages_id.min.js | 0 .../localization/messages_is.js | 0 .../localization/messages_is.min.js | 0 .../localization/messages_it.js | 0 .../localization/messages_it.min.js | 0 .../localization/messages_ja.js | 0 .../localization/messages_ja.min.js | 0 .../localization/messages_ka.js | 0 .../localization/messages_ka.min.js | 0 .../localization/messages_kk.js | 0 .../localization/messages_kk.min.js | 0 .../localization/messages_ko.js | 0 .../localization/messages_ko.min.js | 0 .../localization/messages_lt.js | 0 .../localization/messages_lt.min.js | 0 .../localization/messages_lv.js | 0 .../localization/messages_lv.min.js | 0 .../localization/messages_mk.js | 0 .../localization/messages_mk.min.js | 0 .../localization/messages_my.js | 0 .../localization/messages_my.min.js | 0 .../localization/messages_nl.js | 0 .../localization/messages_nl.min.js | 0 .../localization/messages_no.js | 0 .../localization/messages_no.min.js | 0 .../localization/messages_pl.js | 0 .../localization/messages_pl.min.js | 0 .../localization/messages_pt_BR.js | 0 .../localization/messages_pt_BR.min.js | 0 .../localization/messages_pt_PT.js | 0 .../localization/messages_pt_PT.min.js | 0 .../localization/messages_ro.js | 0 .../localization/messages_ro.min.js | 0 .../localization/messages_ru.js | 0 .../localization/messages_ru.min.js | 0 .../localization/messages_sd.js | 0 .../localization/messages_sd.min.js | 0 .../localization/messages_si.js | 0 .../localization/messages_si.min.js | 0 .../localization/messages_sk.js | 0 .../localization/messages_sk.min.js | 0 .../localization/messages_sl.js | 0 .../localization/messages_sl.min.js | 0 .../localization/messages_sr.js | 0 .../localization/messages_sr.min.js | 0 .../localization/messages_sr_lat.js | 0 .../localization/messages_sr_lat.min.js | 0 .../localization/messages_sv.js | 0 .../localization/messages_sv.min.js | 0 .../localization/messages_th.js | 0 .../localization/messages_th.min.js | 0 .../localization/messages_tj.js | 0 .../localization/messages_tj.min.js | 0 .../localization/messages_tr.js | 0 .../localization/messages_tr.min.js | 0 .../localization/messages_uk.js | 0 .../localization/messages_uk.min.js | 0 .../localization/messages_ur.js | 0 .../localization/messages_ur.min.js | 0 .../localization/messages_vi.js | 0 .../localization/messages_vi.min.js | 0 .../localization/messages_zh.js | 0 .../localization/messages_zh.min.js | 0 .../localization/messages_zh_TW.js | 0 .../localization/messages_zh_TW.min.js | 0 .../localization/methods_de.js | 0 .../localization/methods_de.min.js | 0 .../localization/methods_es_CL.js | 0 .../localization/methods_es_CL.min.js | 0 .../localization/methods_fi.js | 0 .../localization/methods_fi.min.js | 0 .../localization/methods_it.js | 0 .../localization/methods_it.min.js | 0 .../localization/methods_nl.js | 0 .../localization/methods_nl.min.js | 0 .../localization/methods_pt.js | 0 .../localization/methods_pt.min.js | 0 .../wwwroot/libs/jquery/jquery.js | 0 .../wwwroot/libs/lodash/lodash.min.js | 0 .../wwwroot/libs/luxon/luxon.js | 0 .../wwwroot/libs/luxon/luxon.js.map | 0 .../wwwroot/libs/luxon/luxon.min.js | 0 .../wwwroot/libs/luxon/luxon.min.js.map | 0 .../jquery.mCustomScrollbar.concat.min.js | 0 .../jquery.mCustomScrollbar.css | 0 .../jquery.mCustomScrollbar.js | 0 .../mCSB_buttons.png | Bin .../package.json | 0 .../malihu-custom-scrollbar-plugin/readme.md | 0 .../wwwroot/libs/select2/css/select2.min.css | 0 .../wwwroot/libs/select2/js/i18n/af.js | 0 .../wwwroot/libs/select2/js/i18n/ar.js | 0 .../wwwroot/libs/select2/js/i18n/az.js | 0 .../wwwroot/libs/select2/js/i18n/bg.js | 0 .../wwwroot/libs/select2/js/i18n/bn.js | 0 .../wwwroot/libs/select2/js/i18n/bs.js | 0 .../wwwroot/libs/select2/js/i18n/ca.js | 0 .../wwwroot/libs/select2/js/i18n/cs.js | 0 .../wwwroot/libs/select2/js/i18n/da.js | 0 .../wwwroot/libs/select2/js/i18n/de.js | 0 .../wwwroot/libs/select2/js/i18n/dsb.js | 0 .../wwwroot/libs/select2/js/i18n/el.js | 0 .../wwwroot/libs/select2/js/i18n/en.js | 0 .../wwwroot/libs/select2/js/i18n/es.js | 0 .../wwwroot/libs/select2/js/i18n/et.js | 0 .../wwwroot/libs/select2/js/i18n/eu.js | 0 .../wwwroot/libs/select2/js/i18n/fa.js | 0 .../wwwroot/libs/select2/js/i18n/fi.js | 0 .../wwwroot/libs/select2/js/i18n/fr.js | 0 .../wwwroot/libs/select2/js/i18n/gl.js | 0 .../wwwroot/libs/select2/js/i18n/he.js | 0 .../wwwroot/libs/select2/js/i18n/hi.js | 0 .../wwwroot/libs/select2/js/i18n/hr.js | 0 .../wwwroot/libs/select2/js/i18n/hsb.js | 0 .../wwwroot/libs/select2/js/i18n/hu.js | 0 .../wwwroot/libs/select2/js/i18n/hy.js | 0 .../wwwroot/libs/select2/js/i18n/id.js | 0 .../wwwroot/libs/select2/js/i18n/is.js | 0 .../wwwroot/libs/select2/js/i18n/it.js | 0 .../wwwroot/libs/select2/js/i18n/ja.js | 0 .../wwwroot/libs/select2/js/i18n/ka.js | 0 .../wwwroot/libs/select2/js/i18n/km.js | 0 .../wwwroot/libs/select2/js/i18n/ko.js | 0 .../wwwroot/libs/select2/js/i18n/lt.js | 0 .../wwwroot/libs/select2/js/i18n/lv.js | 0 .../wwwroot/libs/select2/js/i18n/mk.js | 0 .../wwwroot/libs/select2/js/i18n/ms.js | 0 .../wwwroot/libs/select2/js/i18n/nb.js | 0 .../wwwroot/libs/select2/js/i18n/ne.js | 0 .../wwwroot/libs/select2/js/i18n/nl.js | 0 .../wwwroot/libs/select2/js/i18n/pl.js | 0 .../wwwroot/libs/select2/js/i18n/ps.js | 0 .../wwwroot/libs/select2/js/i18n/pt-BR.js | 0 .../wwwroot/libs/select2/js/i18n/pt.js | 0 .../wwwroot/libs/select2/js/i18n/ro.js | 0 .../wwwroot/libs/select2/js/i18n/ru.js | 0 .../wwwroot/libs/select2/js/i18n/sk.js | 0 .../wwwroot/libs/select2/js/i18n/sl.js | 0 .../wwwroot/libs/select2/js/i18n/sq.js | 0 .../wwwroot/libs/select2/js/i18n/sr-Cyrl.js | 0 .../wwwroot/libs/select2/js/i18n/sr.js | 0 .../wwwroot/libs/select2/js/i18n/sv.js | 0 .../wwwroot/libs/select2/js/i18n/th.js | 0 .../wwwroot/libs/select2/js/i18n/tk.js | 0 .../wwwroot/libs/select2/js/i18n/tr.js | 0 .../wwwroot/libs/select2/js/i18n/uk.js | 0 .../wwwroot/libs/select2/js/i18n/vi.js | 0 .../wwwroot/libs/select2/js/i18n/zh-CN.js | 0 .../wwwroot/libs/select2/js/i18n/zh-TW.js | 0 .../js/select2-bootstrap-modal-patch.js | 0 .../libs/select2/js/select2.full.min.js | 0 .../wwwroot/libs/select2/js/select2.min.js | 0 .../wwwroot/libs/sweetalert/sweetalert.min.js | 0 .../libs/sweetalert2/sweetalert2.all.js | 0 .../libs/sweetalert2/sweetalert2.all.min.js | 0 .../wwwroot/libs/sweetalert2/sweetalert2.css | 0 .../wwwroot/libs/sweetalert2/sweetalert2.js | 0 .../libs/sweetalert2/sweetalert2.min.css | 0 .../libs/sweetalert2/sweetalert2.min.js | 0 .../wwwroot/libs/timeago/jquery.timeago.js | 0 .../wwwroot/libs/timeago/locales/README.md | 0 .../libs/timeago/locales/jquery.timeago.af.js | 0 .../libs/timeago/locales/jquery.timeago.am.js | 0 .../libs/timeago/locales/jquery.timeago.ar.js | 0 .../locales/jquery.timeago.az-short.js | 0 .../libs/timeago/locales/jquery.timeago.az.js | 0 .../libs/timeago/locales/jquery.timeago.be.js | 0 .../libs/timeago/locales/jquery.timeago.bg.js | 0 .../libs/timeago/locales/jquery.timeago.bs.js | 0 .../libs/timeago/locales/jquery.timeago.ca.js | 0 .../libs/timeago/locales/jquery.timeago.cs.js | 0 .../libs/timeago/locales/jquery.timeago.cy.js | 0 .../libs/timeago/locales/jquery.timeago.da.js | 0 .../locales/jquery.timeago.de-short.js | 0 .../libs/timeago/locales/jquery.timeago.de.js | 0 .../libs/timeago/locales/jquery.timeago.dv.js | 0 .../libs/timeago/locales/jquery.timeago.el.js | 0 .../locales/jquery.timeago.en-short.js | 0 .../libs/timeago/locales/jquery.timeago.en.js | 0 .../locales/jquery.timeago.es-short.js | 0 .../libs/timeago/locales/jquery.timeago.es.js | 0 .../libs/timeago/locales/jquery.timeago.et.js | 0 .../libs/timeago/locales/jquery.timeago.eu.js | 0 .../locales/jquery.timeago.fa-short.js | 0 .../libs/timeago/locales/jquery.timeago.fa.js | 0 .../libs/timeago/locales/jquery.timeago.fi.js | 0 .../locales/jquery.timeago.fr-short.js | 0 .../libs/timeago/locales/jquery.timeago.fr.js | 0 .../libs/timeago/locales/jquery.timeago.gl.js | 0 .../libs/timeago/locales/jquery.timeago.he.js | 0 .../libs/timeago/locales/jquery.timeago.hr.js | 0 .../libs/timeago/locales/jquery.timeago.hu.js | 0 .../libs/timeago/locales/jquery.timeago.hy.js | 0 .../libs/timeago/locales/jquery.timeago.id.js | 0 .../libs/timeago/locales/jquery.timeago.is.js | 0 .../locales/jquery.timeago.it-short.js | 0 .../libs/timeago/locales/jquery.timeago.it.js | 0 .../libs/timeago/locales/jquery.timeago.ja.js | 0 .../libs/timeago/locales/jquery.timeago.jv.js | 0 .../libs/timeago/locales/jquery.timeago.ko.js | 0 .../libs/timeago/locales/jquery.timeago.ky.js | 0 .../libs/timeago/locales/jquery.timeago.lt.js | 0 .../libs/timeago/locales/jquery.timeago.lv.js | 0 .../libs/timeago/locales/jquery.timeago.mk.js | 0 .../libs/timeago/locales/jquery.timeago.nl.js | 0 .../libs/timeago/locales/jquery.timeago.no.js | 0 .../libs/timeago/locales/jquery.timeago.pl.js | 0 .../locales/jquery.timeago.pt-br-short.js | 0 .../timeago/locales/jquery.timeago.pt-br.js | 0 .../locales/jquery.timeago.pt-short.js | 0 .../libs/timeago/locales/jquery.timeago.pt.js | 0 .../libs/timeago/locales/jquery.timeago.ro.js | 0 .../libs/timeago/locales/jquery.timeago.rs.js | 0 .../libs/timeago/locales/jquery.timeago.ru.js | 0 .../libs/timeago/locales/jquery.timeago.rw.js | 0 .../libs/timeago/locales/jquery.timeago.si.js | 0 .../libs/timeago/locales/jquery.timeago.sk.js | 0 .../libs/timeago/locales/jquery.timeago.sl.js | 0 .../libs/timeago/locales/jquery.timeago.sq.js | 0 .../libs/timeago/locales/jquery.timeago.sr.js | 0 .../libs/timeago/locales/jquery.timeago.sv.js | 0 .../libs/timeago/locales/jquery.timeago.th.js | 0 .../locales/jquery.timeago.tr-short.js | 0 .../libs/timeago/locales/jquery.timeago.tr.js | 0 .../libs/timeago/locales/jquery.timeago.uk.js | 0 .../libs/timeago/locales/jquery.timeago.ur.js | 0 .../libs/timeago/locales/jquery.timeago.uz.js | 0 .../libs/timeago/locales/jquery.timeago.vi.js | 0 .../timeago/locales/jquery.timeago.zh-CN.js | 0 .../timeago/locales/jquery.timeago.zh-TW.js | 0 .../wwwroot/libs/toastr/toastr.css | 0 .../wwwroot/libs/toastr/toastr.js.map | 0 .../wwwroot/libs/toastr/toastr.min.css | 0 .../wwwroot/libs/toastr/toastr.min.js | 0 .../account/AuthServer.Host/.gitignore | 7 - .../AuthIdentityServerModule.Configure.cs | 257 -------------- .../AuthIdentityServerModule.Seeder.cs | 23 -- .../AuthServer.Host/AuthServer.Host.csproj | 75 ---- .../IdentityServerDataSeedContributor.cs | 334 ------------------ ...tityServerExtendUserDataSeedContributor.cs | 113 ------ .../Emailing/AccountEmailVerifySender.cs | 105 ------ .../Emailing/IAccountEmailVerifySender.cs | 18 - .../AccountEmailTemplateDefinitionProvider.cs | 22 -- .../Templates/AccountEmailTemplates.cs | 10 - .../AuthServerHostMigrationsDbContext.cs | 24 -- ...uthServerHostMigrationsDbContextFactory.cs | 38 -- .../EventBus/Handlers/TenantSynchronizer.cs | 138 -------- .../CustomIdentityResources.cs | 19 - .../Pages/Account/UseRecoveryCode.cshtml | 4 - .../account/AuthServer.Host/Program.cs | 50 --- .../Properties/launchSettings.json | 20 -- .../account/AuthServer.Host/Startup.cs | 33 -- .../appsettings.Development.json | 125 ------- .../account/AuthServer.Host/appsettings.json | 72 ---- .../identity-server-upgrate-4.1.sql | 314 ---------------- .../account/AuthServer.Host/tempkey.rsa | 1 - .../.gitignore | 5 - .../BackendAdminHostModule.Configure.cs | 279 --------------- .../BackendAdminHostModule.Development.cs | 17 - .../BackendAdminHostModule.Seeder.cs | 23 -- .../BackendAdminHostMigrationsDbContext.cs | 28 -- .../EventBus/Handlers/TenantSynchronizer.cs | 188 ---------- .../FodyWeavers.xsd | 30 -- .../Program.cs | 51 --- .../Properties/launchSettings.json | 20 -- .../AccountSettingDefinitionProvider.cs | 35 -- .../Startup.cs | 31 -- .../TenantHeaderParamter.cs | 33 -- .../Tests/ProxyConnectTestMiddleware.cs | 44 --- .../ProxyConnectTestMiddlewareExtensions.cs | 12 - .../appsettings.Development.json | 100 ------ .../appsettings.json | 72 ---- .../tempkey.rsa | 1 - aspnet-core/services/cleanup-logs.bat | 13 - ...yServerAdminHttpApiHostModule.Configure.cs | 274 -------------- ...tityServerAdminHttpApiHostModule.Seeder.cs | 11 - .../Emailing/Templates/EmailConfirmed.tpl | 5 - ...IdentityEmailTemplateDefinitionProvider.cs | 26 -- .../Templates/IdentityEmailTemplates.cs | 7 - .../FodyWeavers.xsd | 30 -- .../Program.cs | 53 --- .../Startup.cs | 31 -- .../TenantHeaderParamter.cs | 33 -- .../UserSecurityCodeSender.cs | 66 ---- .../appsettings.Development.json | 89 ----- .../appsettings.json | 72 ---- .../tempkey.rsa | 13 - ...onManagementHttpApiHostModule.Configure.cs | 228 ------------ ...ationManagementHttpApiHostModule.Seeder.cs | 21 -- ...anagementHttpApiHostMigrationsDbContext.cs | 22 -- .../FodyWeavers.xsd | 30 -- .../Program.cs | 53 --- .../Startup.cs | 38 -- .../appsettings.Development.json | 84 ----- .../appsettings.json | 74 ---- ...ssageServiceHttpApiHostModule.Configure.cs | 293 --------------- ...pMessageServiceHttpApiHostModule.Seeder.cs | 20 -- .../MessageServiceHostMigrationsDbContext.cs | 21 -- ...geServiceHostMigrationsDbContextFactory.cs | 30 -- .../FodyWeavers.xsd | 30 -- ...YUN.Abp.MessageService.HttpApi.Host.csproj | 74 ---- .../Program.cs | 53 --- .../Properties/launchSettings.json | 20 -- .../Startup.cs | 31 -- .../TenantHeaderParamter.cs | 33 -- .../appsettings.Development.json | 118 ------- .../appsettings.json | 74 ---- .../LINGYUN.Platform.HttpApi.Host/.gitignore | 2 - .../AppPlatformHttpApiHostModule.Configure.cs | 273 -------------- .../AppPlatformHttpApiHostModule.Seeder.cs | 21 -- .../PlatformHttpApiHostMigrationsDbContext.cs | 21 -- ...rmHttpApiHostMigrationsDbContextFactory.cs | 30 -- .../EventBus/Handlers/TenantSynchronizer.cs | 70 ---- .../FodyWeavers.xsd | 30 -- .../LINGYUN.Platform.HttpApi.Host.csproj | 75 ---- .../LINGYUN.Platform.HttpApi.Host.csproj.user | 6 - .../LINGYUN.Platform.HttpApi.Host/Program.cs | 53 --- .../Properties/launchSettings.json | 20 -- .../LINGYUN.Platform.HttpApi.Host/Startup.cs | 31 -- .../TenantHeaderParamter.cs | 33 -- .../appsettings.Development.json | 115 ------ .../appsettings.json | 74 ---- aspnet-core/services/start-all-service.bat | 9 - aspnet-core/services/start-auth-server.bat | 31 -- aspnet-core/services/start-backend-admin.bat | 31 -- .../services/start-identity-server.bat | 26 -- aspnet-core/services/start-localization.bat | 31 -- aspnet-core/services/start-messages.bat | 31 -- aspnet-core/services/start-platform.bat | 31 -- 666 files changed, 4324 insertions(+), 8047 deletions(-) delete mode 100644 aspnet-core/LINGYUN.MicroService.ApiGateway.sln delete mode 100644 aspnet-core/LINGYUN.MicroService.BackendAdmin.sln delete mode 100644 aspnet-core/LINGYUN.MicroService.IdentityServer.sln delete mode 100644 aspnet-core/LINGYUN.MicroService.IdentityServerAdmin.sln delete mode 100644 aspnet-core/LINGYUN.MicroService.Localization.sln delete mode 100644 aspnet-core/LINGYUN.MicroService.Messages.sln delete mode 100644 aspnet-core/LINGYUN.MicroService.Platform.sln create mode 100644 aspnet-core/cleanup-logs.bat create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Configure.cs create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Seeder.cs rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.cs => LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.cs} (59%) create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Controllers/HomeController.cs rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.BackendAdmin.HttpApi.Host}/Dockerfile (76%) create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContext.cs create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContextFactory.cs create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host => LY.MicroService.BackendAdmin.HttpApi.Host}/FodyWeavers.xml (100%) rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj => LY.MicroService.BackendAdmin.HttpApi.Host/LY.MicroService.BackendAdmin.HttpApi.Host.csproj} (52%) rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization => LY.MicroService.BackendAdmin.HttpApi.Host/Localization/Resources}/en.json (100%) rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization => LY.MicroService.BackendAdmin.HttpApi.Host/Localization/Resources}/zh-Hans.json (100%) rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host => LY.MicroService.BackendAdmin.HttpApi.Host}/Migrations/20211030090436_Re-Initlize-Db-Migration.Designer.cs (95%) rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host => LY.MicroService.BackendAdmin.HttpApi.Host}/Migrations/20211030090436_Re-Initlize-Db-Migration.cs (97%) rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host => LY.MicroService.BackendAdmin.HttpApi.Host}/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs (95%) create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Program.cs rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.BackendAdmin.HttpApi.Host}/Properties/launchSettings.json (60%) create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Startup.cs create mode 100644 aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/Dockerfile (74%) create mode 100644 aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContext.cs rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContextFactory.cs => LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContextFactory.cs} (62%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/EventBus/Handlers/TenantSynchronizer.cs (85%) rename aspnet-core/services/{identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/FodyWeavers.xml (100%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/LINGYUN.Abp.LocalizationManagement.HttpApi.Host.csproj => LY.MicroService.LocalizationManagement.HttpApi.Host/LY.MicroService.LocalizationManagement.HttpApi.Host.csproj} (63%) create mode 100644 aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Configure.cs create mode 100644 aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Seeder.cs rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.cs => LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.cs} (93%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/Migrations/20210326090255_Add-Module-Localization-Management.Designer.cs (97%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/Migrations/20210326090255_Add-Module-Localization-Management.cs (98%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/Migrations/20210326100405_Rmove-Field-TenantId.Designer.cs (96%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/Migrations/20210326100405_Rmove-Field-TenantId.cs (95%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.Designer.cs (97%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.LocalizationManagement.HttpApi.Host}/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.cs (94%) rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementHttpApiHostMigrationsDbContextModelSnapshot.cs => LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementMigrationsDbContextModelSnapshot.cs} (95%) create mode 100644 aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Program.cs create mode 100644 aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Properties/launchSettings.json create mode 100644 aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Startup.cs create mode 100644 aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/TenantHeaderParamter.cs rename aspnet-core/services/{platform/LINGYUN.Platform.HttpApi.Host => LY.MicroService.PlatformManagement.HttpApi.Host}/Dockerfile (100%) create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContext.cs create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContextFactory.cs create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.PlatformManagement.HttpApi.Host}/FodyWeavers.xml (100%) create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/LY.MicroService.PlatformManagement.HttpApi.Host.csproj rename aspnet-core/services/{platform/LINGYUN.Platform.HttpApi.Host => LY.MicroService.PlatformManagement.HttpApi.Host}/Migrations/20211030132911_Re-Initlize-Db-Migration.Designer.cs (96%) rename aspnet-core/services/{platform/LINGYUN.Platform.HttpApi.Host => LY.MicroService.PlatformManagement.HttpApi.Host}/Migrations/20211030132911_Re-Initlize-Db-Migration.cs (98%) rename aspnet-core/services/{platform/LINGYUN.Platform.HttpApi.Host => LY.MicroService.PlatformManagement.HttpApi.Host}/Migrations/PlatformHttpApiHostMigrationsDbContextModelSnapshot.cs (96%) create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Configure.cs create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Seeder.cs rename aspnet-core/services/{platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.cs => LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.cs} (58%) create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Program.cs create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Properties/launchSettings.json create mode 100644 aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Startup.cs rename aspnet-core/services/{localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host => LY.MicroService.PlatformManagement.HttpApi.Host}/TenantHeaderParamter.cs (92%) rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Dockerfile (76%) create mode 100644 aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContext.cs rename aspnet-core/services/{admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContextFactory.cs => LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContextFactory.cs} (57%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/EventBus/Distributed/ChatMessageEventHandler.cs (94%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/EventBus/Distributed/NotificationEventHandler.cs (97%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/EventBus/Distributed/TenantSynchronizer.cs (91%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/EventBus/Distributed/UserCreateEventHandler.cs (94%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/EventBus/Local/UserCreateJoinIMEventHandler.cs (94%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/EventBus/Local/UserCreateSendWelcomeEventHandler.cs (96%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/FodyWeavers.xml (100%) create mode 100644 aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/LY.MicroService.RealtimeMessage.HttpApi.Host.csproj rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost => LY.MicroService.RealtimeMessage.HttpApi.Host/Localization/Resources}/en.json (100%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost => LY.MicroService.RealtimeMessage.HttpApi.Host/Localization/Resources}/zh-Hans.json (100%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211030131449_Re-Initlize-Db-Migration.Designer.cs (96%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211030131449_Re-Initlize-Db-Migration.cs (98%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211110144233_Add-Field-Online-Avatar.Designer.cs (96%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211110144233_Add-Field-Online-Avatar.cs (93%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.Designer.cs (96%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.cs (92%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.Designer.cs (96%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.cs (91%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.Designer.cs (96%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.cs (89%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211112083050_Rename-Field-SendState-To-State.Designer.cs (96%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Migrations/20211112083050_Rename-Field-SendState-To-State.cs (91%) rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/MessageServiceHostMigrationsDbContextModelSnapshot.cs => LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/RealtimeMessageMigrationsDbContextModelSnapshot.cs} (95%) create mode 100644 aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Program.cs rename aspnet-core/services/{identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host => LY.MicroService.RealtimeMessage.HttpApi.Host}/Properties/launchSettings.json (52%) create mode 100644 aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Configure.cs create mode 100644 aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Seeder.cs rename aspnet-core/services/{messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.cs => LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.cs} (94%) create mode 100644 aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Startup.cs create mode 100644 aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/TenantHeaderParamter.cs rename aspnet-core/services/{identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host => LY.MicroService.identityServer.HttpApi.Host}/Dockerfile (76%) rename aspnet-core/services/{platform/LINGYUN.Platform.HttpApi.Host => LY.MicroService.identityServer.HttpApi.Host}/FodyWeavers.xml (100%) create mode 100644 aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Configure.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Seeder.cs rename aspnet-core/services/{identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.cs => LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.cs} (51%) rename aspnet-core/services/{identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/LINGYUN.Abp.IdentityServer4.HttpApi.Host.csproj => LY.MicroService.identityServer.HttpApi.Host/LY.MicroService.identityServer.HttpApi.Host.csproj} (55%) rename aspnet-core/services/{identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Localization => LY.MicroService.identityServer.HttpApi.Host/Localization/Resources}/en.json (100%) rename aspnet-core/services/{identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Localization => LY.MicroService.identityServer.HttpApi.Host/Localization/Resources}/zh-Hans.json (100%) create mode 100644 aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Program.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Properties/launchSettings.json create mode 100644 aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Startup.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/TenantHeaderParamter.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/UserSecurityCodeSender.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/DataSeeder/IdentityServerDataSeedContributor.cs rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Dockerfile (100%) create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Emailing/AccountEmailVerifySender.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Emailing/IAccountEmailVerifySender.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplates.cs rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Emailing/Templates/MailSecurityVerify.tpl (100%) create mode 100644 aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContext.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContextFactory.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/EventBus/Handlers/TenantSynchronizer.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/IdentityResources/CustomIdentityResources.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Configure.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Seeder.cs rename aspnet-core/services/{account/AuthServer.Host/AuthIdentityServerModule.cs => LY.MicroService.identityServer/IdentityServerModule.cs} (52%) create mode 100644 aspnet-core/services/LY.MicroService.identityServer/LY.MicroService.IdentityServer.csproj rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Localization/Resources/en.json (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Localization/Resources/zh-Hans.json (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Migrations/20211030124247_Re-Initlize-Db-Migration.Designer.cs (97%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Migrations/20211030124247_Re-Initlize-Db-Migration.cs (98%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.Designer.cs (97%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.cs (90%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs (97%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs (89%) rename aspnet-core/services/{account/AuthServer.Host/Migrations/AuthServerHostMigrationsDbContextModelSnapshot.cs => LY.MicroService.identityServer/Migrations/IdentityServertMigrationsDbContextModelSnapshot.cs} (97%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/SendCode.cshtml (92%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/SendCode.cshtml.cs (97%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/TwoFactorSupportedLoginModel.cs (96%) create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Pages/Account/UseRecoveryCode.cshtml rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/UseRecoveryCode.cshtml.cs (83%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/VerifyAuthenticatorCode.cshtml (91%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/VerifyAuthenticatorCode.cshtml.cs (96%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/VerifyCode.cshtml (93%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Account/VerifyCode.cshtml.cs (98%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Index.cshtml (96%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/Index.cshtml.cs (75%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/Pages/_ViewImports.cshtml (100%) create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Program.cs create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Properties/launchSettings.json create mode 100644 aspnet-core/services/LY.MicroService.identityServer/Startup.cs rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/abp.resourcemapping.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/gulpfile.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/package.json (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/css/all.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/css/v4-shims.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.eot (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.svg (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2 (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.eot (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.svg (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.eot (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.svg (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/core/abp.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/core/abp.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/jquery/abp.jquery.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/luxon/abp.luxon.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/utils/abp-utils.umd.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/utils/abp-utils.umd.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/utils/abp-utils.umd.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/abp/utils/abp-utils.umd.min.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.css.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker-en-CA.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bn.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kh.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap-rtl.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap-rtl.css.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.css.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.min.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.min.css.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.rtl.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.rtl.css.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/js/bootstrap.bundle.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/js/bootstrap.bundle.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/datatables.net/js/jquery.dataTables.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-form/jquery.form.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-form/jquery.form.min.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/jquery.validate.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ar.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ar.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_az.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_az.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_bg.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_bg.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_bn_BD.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_bn_BD.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ca.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ca.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_cs.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_cs.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_da.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_da.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_de.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_de.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_el.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_el.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_es.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_es.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_es_AR.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_es_AR.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_es_PE.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_es_PE.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_et.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_et.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_eu.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_eu.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_fa.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_fa.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_fi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_fi.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_fr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_fr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ge.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ge.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_gl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_gl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_he.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_he.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_hr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_hr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_hu.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_hu.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_hy_AM.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_hy_AM.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_id.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_id.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_is.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_is.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_it.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_it.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ja.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ja.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ka.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ka.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_kk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_kk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ko.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ko.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_lt.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_lt.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_lv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_lv.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_mk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_mk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_my.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_my.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_nl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_nl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_no.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_no.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_pl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_pl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_pt_BR.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_pt_BR.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_pt_PT.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_pt_PT.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ro.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ro.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ru.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ru.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sd.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sd.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_si.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_si.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sr_lat.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sr_lat.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_sv.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_th.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_th.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_tj.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_tj.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_tr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_tr.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_uk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_uk.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ur.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_ur.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_vi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_vi.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_zh.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_zh.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_zh_TW.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/messages_zh_TW.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_de.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_de.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_es_CL.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_es_CL.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_fi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_fi.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_it.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_it.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_nl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_nl.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_pt.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery-validation/localization/methods_pt.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/jquery/jquery.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/lodash/lodash.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/luxon/luxon.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/luxon/luxon.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/luxon/luxon.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/luxon/luxon.min.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/malihu-custom-scrollbar-plugin/mCSB_buttons.png (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/malihu-custom-scrollbar-plugin/package.json (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/malihu-custom-scrollbar-plugin/readme.md (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/css/select2.min.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/af.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ar.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/az.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/bg.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/bn.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/bs.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ca.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/cs.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/da.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/de.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/dsb.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/el.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/en.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/es.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/et.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/eu.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/fa.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/fi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/fr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/gl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/he.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/hi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/hr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/hsb.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/hu.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/hy.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/id.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/is.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/it.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ja.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ka.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/km.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ko.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/lt.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/lv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/mk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ms.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/nb.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ne.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/nl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/pl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ps.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/pt-BR.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/pt.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ro.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/ru.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/sk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/sl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/sq.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/sr-Cyrl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/sr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/sv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/th.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/tk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/tr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/uk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/vi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/zh-CN.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/i18n/zh-TW.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/select2-bootstrap-modal-patch.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/select2.full.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/select2/js/select2.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/sweetalert/sweetalert.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/sweetalert2/sweetalert2.all.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/sweetalert2/sweetalert2.all.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/sweetalert2/sweetalert2.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/sweetalert2/sweetalert2.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/sweetalert2/sweetalert2.min.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/sweetalert2/sweetalert2.min.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/jquery.timeago.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/README.md (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.af.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.am.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ar.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.az-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.az.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.be.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.bg.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.bs.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ca.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.cs.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.cy.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.da.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.de-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.de.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.dv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.el.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.en-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.en.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.es-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.es.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.et.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.eu.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.fa-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.fa.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.fi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.fr-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.fr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.gl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.he.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.hr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.hu.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.hy.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.id.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.is.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.it-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.it.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ja.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.jv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ko.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ky.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.lt.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.lv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.mk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.nl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.no.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.pl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.pt-br-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.pt-br.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.pt-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.pt.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ro.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.rs.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ru.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.rw.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.si.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.sk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.sl.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.sq.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.sr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.sv.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.th.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.tr-short.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.tr.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.uk.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.ur.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.uz.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.vi.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.zh-CN.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/timeago/locales/jquery.timeago.zh-TW.js (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/toastr/toastr.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/toastr/toastr.js.map (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/toastr/toastr.min.css (100%) rename aspnet-core/services/{account/AuthServer.Host => LY.MicroService.identityServer}/wwwroot/libs/toastr/toastr.min.js (100%) delete mode 100644 aspnet-core/services/account/AuthServer.Host/.gitignore delete mode 100644 aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Configure.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Seeder.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/AuthServer.Host.csproj delete mode 100644 aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerDataSeedContributor.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerExtendUserDataSeedContributor.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/Emailing/AccountEmailVerifySender.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/Emailing/IAccountEmailVerifySender.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplates.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContext.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContextFactory.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/EventBus/Handlers/TenantSynchronizer.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/IdentityResources/CustomIdentityResources.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/Pages/Account/UseRecoveryCode.cshtml delete mode 100644 aspnet-core/services/account/AuthServer.Host/Program.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/Properties/launchSettings.json delete mode 100644 aspnet-core/services/account/AuthServer.Host/Startup.cs delete mode 100644 aspnet-core/services/account/AuthServer.Host/appsettings.Development.json delete mode 100644 aspnet-core/services/account/AuthServer.Host/appsettings.json delete mode 100644 aspnet-core/services/account/AuthServer.Host/identity-server-upgrate-4.1.sql delete mode 100644 aspnet-core/services/account/AuthServer.Host/tempkey.rsa delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/.gitignore delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Configure.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Development.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Seeder.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContext.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/FodyWeavers.xsd delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Program.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Properties/launchSettings.json delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Startup.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddleware.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddlewareExtensions.cs delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.Development.json delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.json delete mode 100644 aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/tempkey.rsa delete mode 100644 aspnet-core/services/cleanup-logs.bat delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Configure.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Seeder.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/EmailConfirmed.tpl delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplateDefinitionProvider.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplates.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/FodyWeavers.xsd delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Program.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Startup.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/TenantHeaderParamter.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/UserSecurityCodeSender.cs delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.Development.json delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.json delete mode 100644 aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/tempkey.rsa delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Configure.cs delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Seeder.cs delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContext.cs delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/FodyWeavers.xsd delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Program.cs delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Startup.cs delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.Development.json delete mode 100644 aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.json delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Configure.cs delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Seeder.cs delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContext.cs delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContextFactory.cs delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/FodyWeavers.xsd delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN.Abp.MessageService.HttpApi.Host.csproj delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Program.cs delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Properties/launchSettings.json delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Startup.cs delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/TenantHeaderParamter.cs delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.Development.json delete mode 100644 aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.json delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/.gitignore delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Configure.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Seeder.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContext.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContextFactory.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/FodyWeavers.xsd delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj.user delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Program.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Properties/launchSettings.json delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Startup.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/TenantHeaderParamter.cs delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.Development.json delete mode 100644 aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.json delete mode 100644 aspnet-core/services/start-all-service.bat delete mode 100644 aspnet-core/services/start-auth-server.bat delete mode 100644 aspnet-core/services/start-backend-admin.bat delete mode 100644 aspnet-core/services/start-identity-server.bat delete mode 100644 aspnet-core/services/start-localization.bat delete mode 100644 aspnet-core/services/start-messages.bat delete mode 100644 aspnet-core/services/start-platform.bat diff --git a/aspnet-core/LINGYUN.MicroService.All.sln b/aspnet-core/LINGYUN.MicroService.All.sln index 295ef07a0..0fef67ffb 100644 --- a/aspnet-core/LINGYUN.MicroService.All.sln +++ b/aspnet-core/LINGYUN.MicroService.All.sln @@ -15,9 +15,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.SettingManageme EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.SettingManagement.HttpApi", "modules\settings\LINGYUN.Abp.SettingManagement.HttpApi\LINGYUN.Abp.SettingManagement.HttpApi.csproj", "{FFD1E99C-49DA-4ADC-BC92-B14B51B45CAF}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identityServer", "identityServer", "{E2408063-FB1F-4513-B4A7-1FE50667C6E8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AuthServer.Host", "services\account\AuthServer.Host\AuthServer.Host.csproj", "{C1F56ED5-E898-45F1-97B5-61F4AB30FB58}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identity-server-api", "identity-server-api", "{E2408063-FB1F-4513-B4A7-1FE50667C6E8}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identityServer", "identityServer", "{0439B173-F41E-4CE0-A44A-CCB70328F272}" EndProject @@ -37,8 +35,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TenantManagemen EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "platform", "platform", "{E5D1B78A-1A8F-4D52-BF99-A4A863ADE898}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.BackendAdmin.HttpApi.Host", "services\admin\LINGYUN.Abp.BackendAdmin.HttpApi.Host\LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj", "{85090598-6B03-43D3-BE61-1E9777252D50}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{8AC72641-30D3-4ACF-89FA-808FADC55C2E}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EventBus.CAP", "modules\common\LINGYUN.Abp.EventBus.CAP\LINGYUN.Abp.EventBus.CAP.csproj", "{AEC1E6D3-DC23-41BD-B456-3AAD26E34978}" @@ -77,9 +73,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.RealTime", "mod EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.EntityFrameworkCore", "modules\message\LINGYUN.Abp.MessageService.EntityFrameworkCore\LINGYUN.Abp.MessageService.EntityFrameworkCore.csproj", "{371B293B-0CA9-4385-8EBB-5224332066D2}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "message", "message", "{608A3BD0-FC8D-48B0-B1C5-F3203A3BE99F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.HttpApi.Host", "services\messages\LINGYUN.Abp.MessageService.HttpApi.Host\LINGYUN.Abp.MessageService.HttpApi.Host.csproj", "{0D1DB712-B48D-4FB7-9A47-694C668A62E3}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "realtime-message", "realtime-message", "{608A3BD0-FC8D-48B0-B1C5-F3203A3BE99F}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.HttpApi", "modules\message\LINGYUN.Abp.MessageService.HttpApi\LINGYUN.Abp.MessageService.HttpApi.csproj", "{9E12ADBF-713B-4FE7-B71F-52B5078A57CE}" EndProject @@ -164,8 +158,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.D EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.Domain", "modules\oss-management\LINGYUN.Abp.OssManagement.Domain\LINGYUN.Abp.OssManagement.Domain.csproj", "{14ECCFD6-2DC1-4124-BE26-15E8D28E3E90}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.HttpApi.Host", "services\platform\LINGYUN.Platform.HttpApi.Host\LINGYUN.Platform.HttpApi.Host.csproj", "{372123C3-3AFD-42C8-BB80-778322EA72C3}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.Domain", "modules\identityServer\LINGYUN.Abp.IdentityServer.Domain\LINGYUN.Abp.IdentityServer.Domain.csproj", "{F359AAA1-C854-444A-88F2-1C0D8A07F864}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.EntityFrameworkCore", "modules\identityServer\LINGYUN.Abp.IdentityServer.EntityFrameworkCore\LINGYUN.Abp.IdentityServer.EntityFrameworkCore.csproj", "{5D0ED1FC-3A7C-4531-9512-832E73AD9555}" @@ -174,9 +166,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Domain EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.EntityFrameworkCore", "modules\identity\LINGYUN.Abp.Identity.EntityFrameworkCore\LINGYUN.Abp.Identity.EntityFrameworkCore.csproj", "{6FE7E243-2D99-4567-8786-6C9283D608EF}" EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "account", "account", "{685188AC-A145-4A27-BF5F-9C970A59AA9C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer4.HttpApi.Host", "services\identity-server\LINGYUN.Abp.IdentityServer4.HttpApi.Host\LINGYUN.Abp.IdentityServer4.HttpApi.Host.csproj", "{F85552D4-D22E-483A-B1F8-3DFB840F6F7C}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identity-server", "identity-server", "{685188AC-A145-4A27-BF5F-9C970A59AA9C}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Settings", "modules\common\LINGYUN.Abp.Settings\LINGYUN.Abp.Settings.csproj", "{6AA0785D-9B6C-4EAE-AB83-0C4CF2B6B473}" EndProject @@ -287,8 +277,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationMan EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "localization", "localization", "{A2EA6B3F-AD1A-4FDA-B12E-F71B20A43A6B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.HttpApi.Host", "services\localization\LINGYUN.Abp.LocalizationManagement.HttpApi.Host\LINGYUN.Abp.LocalizationManagement.HttpApi.Host.csproj", "{6FFC14FE-F659-4B23-9746-4B767CE520D2}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "rules", "rules", "{6084D52D-775B-4A39-8CD5-AA2F362B5A61}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Rules", "modules\rules\LINGYUN.Abp.Rules\LINGYUN.Abp.Rules.csproj", "{D60EFB8E-F168-4EF2-8D8F-ED42EB6FB8CF}" @@ -345,6 +333,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Dapr.Actors.Asp EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Localization.CultureMap", "modules\localization\LINGYUN.Abp.Localization.CultureMap\LINGYUN.Abp.Localization.CultureMap.csproj", "{EB73D2CC-B1BE-471A-B76E-35F288CD0E16}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LY.MicroService.BackendAdmin.HttpApi.Host", "services\LY.MicroService.BackendAdmin.HttpApi.Host\LY.MicroService.BackendAdmin.HttpApi.Host.csproj", "{3811B6AE-D86C-429D-AE37-B34AE31B7174}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LY.MicroService.IdentityServer", "services\LY.MicroService.identityServer\LY.MicroService.IdentityServer.csproj", "{6DB63EC6-0278-4DBA-A999-768481018B70}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LY.MicroService.identityServer.HttpApi.Host", "services\LY.MicroService.identityServer.HttpApi.Host\LY.MicroService.identityServer.HttpApi.Host.csproj", "{B6DA1032-ADB7-4F4C-9B32-F5F9160CB6E2}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LY.MicroService.LocalizationManagement.HttpApi.Host", "services\LY.MicroService.LocalizationManagement.HttpApi.Host\LY.MicroService.LocalizationManagement.HttpApi.Host.csproj", "{8BB50CB6-1E99-4617-B8A6-EABDED67405D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LY.MicroService.PlatformManagement.HttpApi.Host", "services\LY.MicroService.PlatformManagement.HttpApi.Host\LY.MicroService.PlatformManagement.HttpApi.Host.csproj", "{A200E783-CBA2-4F64-A6EC-49D5C6482DEB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LY.MicroService.RealtimeMessage.HttpApi.Host", "services\LY.MicroService.RealtimeMessage.HttpApi.Host\LY.MicroService.RealtimeMessage.HttpApi.Host.csproj", "{A17C9F1D-457A-48AC-B89C-722D8B3955DA}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -363,10 +363,6 @@ Global {FFD1E99C-49DA-4ADC-BC92-B14B51B45CAF}.Debug|Any CPU.Build.0 = Debug|Any CPU {FFD1E99C-49DA-4ADC-BC92-B14B51B45CAF}.Release|Any CPU.ActiveCfg = Release|Any CPU {FFD1E99C-49DA-4ADC-BC92-B14B51B45CAF}.Release|Any CPU.Build.0 = Release|Any CPU - {C1F56ED5-E898-45F1-97B5-61F4AB30FB58}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C1F56ED5-E898-45F1-97B5-61F4AB30FB58}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C1F56ED5-E898-45F1-97B5-61F4AB30FB58}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C1F56ED5-E898-45F1-97B5-61F4AB30FB58}.Release|Any CPU.Build.0 = Release|Any CPU {3EE2D2F8-2B57-4EF7-88E8-5E4C851E66C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3EE2D2F8-2B57-4EF7-88E8-5E4C851E66C2}.Debug|Any CPU.Build.0 = Debug|Any CPU {3EE2D2F8-2B57-4EF7-88E8-5E4C851E66C2}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -391,10 +387,6 @@ Global {51305B1E-4B8B-40BC-87B9-C8BFA04C61E6}.Debug|Any CPU.Build.0 = Debug|Any CPU {51305B1E-4B8B-40BC-87B9-C8BFA04C61E6}.Release|Any CPU.ActiveCfg = Release|Any CPU {51305B1E-4B8B-40BC-87B9-C8BFA04C61E6}.Release|Any CPU.Build.0 = Release|Any CPU - {85090598-6B03-43D3-BE61-1E9777252D50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {85090598-6B03-43D3-BE61-1E9777252D50}.Debug|Any CPU.Build.0 = Debug|Any CPU - {85090598-6B03-43D3-BE61-1E9777252D50}.Release|Any CPU.ActiveCfg = Release|Any CPU - {85090598-6B03-43D3-BE61-1E9777252D50}.Release|Any CPU.Build.0 = Release|Any CPU {AEC1E6D3-DC23-41BD-B456-3AAD26E34978}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {AEC1E6D3-DC23-41BD-B456-3AAD26E34978}.Debug|Any CPU.Build.0 = Debug|Any CPU {AEC1E6D3-DC23-41BD-B456-3AAD26E34978}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -459,10 +451,6 @@ Global {371B293B-0CA9-4385-8EBB-5224332066D2}.Debug|Any CPU.Build.0 = Debug|Any CPU {371B293B-0CA9-4385-8EBB-5224332066D2}.Release|Any CPU.ActiveCfg = Release|Any CPU {371B293B-0CA9-4385-8EBB-5224332066D2}.Release|Any CPU.Build.0 = Release|Any CPU - {0D1DB712-B48D-4FB7-9A47-694C668A62E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0D1DB712-B48D-4FB7-9A47-694C668A62E3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0D1DB712-B48D-4FB7-9A47-694C668A62E3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0D1DB712-B48D-4FB7-9A47-694C668A62E3}.Release|Any CPU.Build.0 = Release|Any CPU {9E12ADBF-713B-4FE7-B71F-52B5078A57CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {9E12ADBF-713B-4FE7-B71F-52B5078A57CE}.Debug|Any CPU.Build.0 = Debug|Any CPU {9E12ADBF-713B-4FE7-B71F-52B5078A57CE}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -603,10 +591,6 @@ Global {14ECCFD6-2DC1-4124-BE26-15E8D28E3E90}.Debug|Any CPU.Build.0 = Debug|Any CPU {14ECCFD6-2DC1-4124-BE26-15E8D28E3E90}.Release|Any CPU.ActiveCfg = Release|Any CPU {14ECCFD6-2DC1-4124-BE26-15E8D28E3E90}.Release|Any CPU.Build.0 = Release|Any CPU - {372123C3-3AFD-42C8-BB80-778322EA72C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {372123C3-3AFD-42C8-BB80-778322EA72C3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {372123C3-3AFD-42C8-BB80-778322EA72C3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {372123C3-3AFD-42C8-BB80-778322EA72C3}.Release|Any CPU.Build.0 = Release|Any CPU {F359AAA1-C854-444A-88F2-1C0D8A07F864}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F359AAA1-C854-444A-88F2-1C0D8A07F864}.Debug|Any CPU.Build.0 = Debug|Any CPU {F359AAA1-C854-444A-88F2-1C0D8A07F864}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -623,10 +607,6 @@ Global {6FE7E243-2D99-4567-8786-6C9283D608EF}.Debug|Any CPU.Build.0 = Debug|Any CPU {6FE7E243-2D99-4567-8786-6C9283D608EF}.Release|Any CPU.ActiveCfg = Release|Any CPU {6FE7E243-2D99-4567-8786-6C9283D608EF}.Release|Any CPU.Build.0 = Release|Any CPU - {F85552D4-D22E-483A-B1F8-3DFB840F6F7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F85552D4-D22E-483A-B1F8-3DFB840F6F7C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F85552D4-D22E-483A-B1F8-3DFB840F6F7C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F85552D4-D22E-483A-B1F8-3DFB840F6F7C}.Release|Any CPU.Build.0 = Release|Any CPU {6AA0785D-9B6C-4EAE-AB83-0C4CF2B6B473}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6AA0785D-9B6C-4EAE-AB83-0C4CF2B6B473}.Debug|Any CPU.Build.0 = Debug|Any CPU {6AA0785D-9B6C-4EAE-AB83-0C4CF2B6B473}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -803,10 +783,6 @@ Global {FBE91498-D83B-4873-A67E-0FB9D1C366F0}.Debug|Any CPU.Build.0 = Debug|Any CPU {FBE91498-D83B-4873-A67E-0FB9D1C366F0}.Release|Any CPU.ActiveCfg = Release|Any CPU {FBE91498-D83B-4873-A67E-0FB9D1C366F0}.Release|Any CPU.Build.0 = Release|Any CPU - {6FFC14FE-F659-4B23-9746-4B767CE520D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6FFC14FE-F659-4B23-9746-4B767CE520D2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6FFC14FE-F659-4B23-9746-4B767CE520D2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6FFC14FE-F659-4B23-9746-4B767CE520D2}.Release|Any CPU.Build.0 = Release|Any CPU {D60EFB8E-F168-4EF2-8D8F-ED42EB6FB8CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D60EFB8E-F168-4EF2-8D8F-ED42EB6FB8CF}.Debug|Any CPU.Build.0 = Debug|Any CPU {D60EFB8E-F168-4EF2-8D8F-ED42EB6FB8CF}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -899,6 +875,30 @@ Global {EB73D2CC-B1BE-471A-B76E-35F288CD0E16}.Debug|Any CPU.Build.0 = Debug|Any CPU {EB73D2CC-B1BE-471A-B76E-35F288CD0E16}.Release|Any CPU.ActiveCfg = Release|Any CPU {EB73D2CC-B1BE-471A-B76E-35F288CD0E16}.Release|Any CPU.Build.0 = Release|Any CPU + {3811B6AE-D86C-429D-AE37-B34AE31B7174}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3811B6AE-D86C-429D-AE37-B34AE31B7174}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3811B6AE-D86C-429D-AE37-B34AE31B7174}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3811B6AE-D86C-429D-AE37-B34AE31B7174}.Release|Any CPU.Build.0 = Release|Any CPU + {6DB63EC6-0278-4DBA-A999-768481018B70}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6DB63EC6-0278-4DBA-A999-768481018B70}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6DB63EC6-0278-4DBA-A999-768481018B70}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6DB63EC6-0278-4DBA-A999-768481018B70}.Release|Any CPU.Build.0 = Release|Any CPU + {B6DA1032-ADB7-4F4C-9B32-F5F9160CB6E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B6DA1032-ADB7-4F4C-9B32-F5F9160CB6E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B6DA1032-ADB7-4F4C-9B32-F5F9160CB6E2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B6DA1032-ADB7-4F4C-9B32-F5F9160CB6E2}.Release|Any CPU.Build.0 = Release|Any CPU + {8BB50CB6-1E99-4617-B8A6-EABDED67405D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8BB50CB6-1E99-4617-B8A6-EABDED67405D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8BB50CB6-1E99-4617-B8A6-EABDED67405D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8BB50CB6-1E99-4617-B8A6-EABDED67405D}.Release|Any CPU.Build.0 = Release|Any CPU + {A200E783-CBA2-4F64-A6EC-49D5C6482DEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A200E783-CBA2-4F64-A6EC-49D5C6482DEB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A200E783-CBA2-4F64-A6EC-49D5C6482DEB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A200E783-CBA2-4F64-A6EC-49D5C6482DEB}.Release|Any CPU.Build.0 = Release|Any CPU + {A17C9F1D-457A-48AC-B89C-722D8B3955DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A17C9F1D-457A-48AC-B89C-722D8B3955DA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A17C9F1D-457A-48AC-B89C-722D8B3955DA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A17C9F1D-457A-48AC-B89C-722D8B3955DA}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -909,7 +909,6 @@ Global {573B7B0E-3065-42DE-A391-EE026CE7A366} = {BA00B3F2-199B-40E2-B0EA-0AA4F51A1C52} {FFD1E99C-49DA-4ADC-BC92-B14B51B45CAF} = {BA00B3F2-199B-40E2-B0EA-0AA4F51A1C52} {E2408063-FB1F-4513-B4A7-1FE50667C6E8} = {672E1170-7B18-474B-85C7-1961BF2A48AE} - {C1F56ED5-E898-45F1-97B5-61F4AB30FB58} = {685188AC-A145-4A27-BF5F-9C970A59AA9C} {0439B173-F41E-4CE0-A44A-CCB70328F272} = {C5CAD011-DF84-4914-939C-0C029DCEF26F} {3EE2D2F8-2B57-4EF7-88E8-5E4C851E66C2} = {0439B173-F41E-4CE0-A44A-CCB70328F272} {A584D040-95AC-4422-93FF-7B80532213F0} = {0439B173-F41E-4CE0-A44A-CCB70328F272} @@ -919,7 +918,6 @@ Global {EAE87281-4C33-4E8B-A489-480C55BA9E89} = {A5543E56-DA53-494D-A531-DA75091D46FF} {51305B1E-4B8B-40BC-87B9-C8BFA04C61E6} = {A5543E56-DA53-494D-A531-DA75091D46FF} {E5D1B78A-1A8F-4D52-BF99-A4A863ADE898} = {672E1170-7B18-474B-85C7-1961BF2A48AE} - {85090598-6B03-43D3-BE61-1E9777252D50} = {F4615BCE-D5C1-407A-8681-8EEE92DEF9D0} {8AC72641-30D3-4ACF-89FA-808FADC55C2E} = {C5CAD011-DF84-4914-939C-0C029DCEF26F} {AEC1E6D3-DC23-41BD-B456-3AAD26E34978} = {8AC72641-30D3-4ACF-89FA-808FADC55C2E} {E6B11DE5-B5EC-4C25-BAF6-1AC9FD0409EB} = {0439B173-F41E-4CE0-A44A-CCB70328F272} @@ -940,7 +938,6 @@ Global {4DFA9E60-E9CE-4FD3-A57F-F76EF3FF4873} = {8AC72641-30D3-4ACF-89FA-808FADC55C2E} {371B293B-0CA9-4385-8EBB-5224332066D2} = {3CDBA2A6-DC8A-48C5-8A6C-AF207394B43D} {608A3BD0-FC8D-48B0-B1C5-F3203A3BE99F} = {672E1170-7B18-474B-85C7-1961BF2A48AE} - {0D1DB712-B48D-4FB7-9A47-694C668A62E3} = {608A3BD0-FC8D-48B0-B1C5-F3203A3BE99F} {9E12ADBF-713B-4FE7-B71F-52B5078A57CE} = {3CDBA2A6-DC8A-48C5-8A6C-AF207394B43D} {47CC8F7A-681D-42B9-AE04-78453782C1B6} = {8AC72641-30D3-4ACF-89FA-808FADC55C2E} {F595CB9F-B117-4D62-A1AE-48599927DB36} = {8AC72641-30D3-4ACF-89FA-808FADC55C2E} @@ -980,13 +977,11 @@ Global {854E1A42-FEA4-420E-9E83-0A39EE03F1ED} = {B05CB08F-C088-4D6D-97EE-A94A5D1AE4A6} {21FCEF89-9A3F-476E-833A-A9C2131B2AE6} = {B05CB08F-C088-4D6D-97EE-A94A5D1AE4A6} {14ECCFD6-2DC1-4124-BE26-15E8D28E3E90} = {B05CB08F-C088-4D6D-97EE-A94A5D1AE4A6} - {372123C3-3AFD-42C8-BB80-778322EA72C3} = {E5D1B78A-1A8F-4D52-BF99-A4A863ADE898} {F359AAA1-C854-444A-88F2-1C0D8A07F864} = {0439B173-F41E-4CE0-A44A-CCB70328F272} {5D0ED1FC-3A7C-4531-9512-832E73AD9555} = {0439B173-F41E-4CE0-A44A-CCB70328F272} {2BF7FB73-0C62-4ECF-99F0-0583855D2777} = {52B5D4F7-237B-4E0A-A167-68442164F70A} {6FE7E243-2D99-4567-8786-6C9283D608EF} = {52B5D4F7-237B-4E0A-A167-68442164F70A} {685188AC-A145-4A27-BF5F-9C970A59AA9C} = {672E1170-7B18-474B-85C7-1961BF2A48AE} - {F85552D4-D22E-483A-B1F8-3DFB840F6F7C} = {E2408063-FB1F-4513-B4A7-1FE50667C6E8} {6AA0785D-9B6C-4EAE-AB83-0C4CF2B6B473} = {8AC72641-30D3-4ACF-89FA-808FADC55C2E} {65DE28D5-DFEA-43E5-B820-BAF09A1FC4ED} = {8AC72641-30D3-4ACF-89FA-808FADC55C2E} {D3E65610-4167-4235-9C9D-1E1FAD4C0CE6} = {8AC72641-30D3-4ACF-89FA-808FADC55C2E} @@ -1040,7 +1035,6 @@ Global {A94BE05F-7DAB-461C-93E7-914CBDF4FA93} = {D3BAA44E-8395-4E8A-AA96-6B463356C537} {FBE91498-D83B-4873-A67E-0FB9D1C366F0} = {D3BAA44E-8395-4E8A-AA96-6B463356C537} {A2EA6B3F-AD1A-4FDA-B12E-F71B20A43A6B} = {672E1170-7B18-474B-85C7-1961BF2A48AE} - {6FFC14FE-F659-4B23-9746-4B767CE520D2} = {A2EA6B3F-AD1A-4FDA-B12E-F71B20A43A6B} {6084D52D-775B-4A39-8CD5-AA2F362B5A61} = {C5CAD011-DF84-4914-939C-0C029DCEF26F} {D60EFB8E-F168-4EF2-8D8F-ED42EB6FB8CF} = {6084D52D-775B-4A39-8CD5-AA2F362B5A61} {34BB9810-2983-4E55-A96A-132D32310145} = {6084D52D-775B-4A39-8CD5-AA2F362B5A61} @@ -1069,6 +1063,12 @@ Global {DAF80936-FBEC-45AB-92DF-34966B0148FD} = {DC33925B-264D-421B-96CC-46F853CBCC70} {995756A1-A379-4797-89F0-87D219B5AF00} = {DC33925B-264D-421B-96CC-46F853CBCC70} {EB73D2CC-B1BE-471A-B76E-35F288CD0E16} = {90E88EAC-4291-4406-8D88-EFDF61B11292} + {3811B6AE-D86C-429D-AE37-B34AE31B7174} = {F4615BCE-D5C1-407A-8681-8EEE92DEF9D0} + {6DB63EC6-0278-4DBA-A999-768481018B70} = {685188AC-A145-4A27-BF5F-9C970A59AA9C} + {B6DA1032-ADB7-4F4C-9B32-F5F9160CB6E2} = {E2408063-FB1F-4513-B4A7-1FE50667C6E8} + {8BB50CB6-1E99-4617-B8A6-EABDED67405D} = {A2EA6B3F-AD1A-4FDA-B12E-F71B20A43A6B} + {A200E783-CBA2-4F64-A6EC-49D5C6482DEB} = {E5D1B78A-1A8F-4D52-BF99-A4A863ADE898} + {A17C9F1D-457A-48AC-B89C-722D8B3955DA} = {608A3BD0-FC8D-48B0-B1C5-F3203A3BE99F} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {C95FDF91-16F2-4A8B-A4BE-0E62D1B66718} diff --git a/aspnet-core/LINGYUN.MicroService.ApiGateway.sln b/aspnet-core/LINGYUN.MicroService.ApiGateway.sln deleted file mode 100644 index 425b92e26..000000000 --- a/aspnet-core/LINGYUN.MicroService.ApiGateway.sln +++ /dev/null @@ -1,135 +0,0 @@ -锘 -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30011.22 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modules", "modules", "{630FB448-8C5C-438F-930D-B0209407DE6A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "services", "services", "{F3B1B755-37B6-420B-9E82-A5BDFF2BF647}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "apigateway", "apigateway", "{AD93DD04-989C-40BE-A3F4-25DABF290423}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.Host", "services\apigateway\LINGYUN.ApiGateway.Host\LINGYUN.ApiGateway.Host.csproj", "{A9D125BB-3C5A-4083-AD30-B88947460556}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.HttpApi.Host", "services\apigateway\LINGYUN.ApiGateway.HttpApi.Host\LINGYUN.ApiGateway.HttpApi.Host.csproj", "{54987DD7-5311-430D-BAFF-9F856468C893}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.Domain.Shared", "modules\apigateway\LINGYUN.ApiGateway.Domain.Shared\LINGYUN.ApiGateway.Domain.Shared.csproj", "{DE80ED02-D021-497A-94D9-AD0BA042EA3F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.Domain", "modules\apigateway\LINGYUN.ApiGateway.Domain\LINGYUN.ApiGateway.Domain.csproj", "{38A8F904-E894-4C3D-9C35-DCD6E544AE43}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.Application.Contracts", "modules\apigateway\LINGYUN.ApiGateway.Application.Contracts\LINGYUN.ApiGateway.Application.Contracts.csproj", "{F716F299-267B-430C-BC7F-ECE7E8AB2351}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.Application", "modules\apigateway\LINGYUN.ApiGateway.Application\LINGYUN.ApiGateway.Application.csproj", "{B045F4B7-AE0E-4403-B7C2-A66B06CF6A62}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.EntityFrameworkCore", "modules\apigateway\LINGYUN.ApiGateway.EntityFrameworkCore\LINGYUN.ApiGateway.EntityFrameworkCore.csproj", "{4D686265-3927-43F5-B9BF-8A013F8BC9E8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.HttpApi", "modules\apigateway\LINGYUN.ApiGateway.HttpApi\LINGYUN.ApiGateway.HttpApi.csproj", "{D890BEBE-563A-47ED-B767-2E80077B5D37}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.ApiGateway.HttpApi.Client", "modules\apigateway\LINGYUN.ApiGateway.HttpApi.Client\LINGYUN.ApiGateway.HttpApi.Client.csproj", "{4757C7D9-6AE9-477D-9829-55D9906AC3E6}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{D6629DD3-BA0F-44B5-A97F-3B992ECAB85D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EventBus.CAP", "modules\common\LINGYUN.Abp.EventBus.CAP\LINGYUN.Abp.EventBus.CAP.csproj", "{1DA1835B-9EA4-4095-A8CF-10E2778206D3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AspNetCore.HttpOverrides", "modules\common\LINGYUN.Abp.AspNetCore.HttpOverrides\LINGYUN.Abp.AspNetCore.HttpOverrides.csproj", "{7588F35B-7C0E-4D80-B43A-8A5C9AC6FE03}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logging", "logging", "{68A9661A-E4CF-435A-BEAF-36A6A0A067CD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Serilog.Enrichers.Application", "modules\logging\LINGYUN.Abp.Serilog.Enrichers.Application\LINGYUN.Abp.Serilog.Enrichers.Application.csproj", "{BFF44515-64C7-48C9-BD3E-6ABEDA863F6A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "auditing", "auditing", "{7E784A72-D62C-4ECF-9CA6-F6EE88619ACF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging", "modules\auditing\LINGYUN.Abp.AuditLogging\LINGYUN.Abp.AuditLogging.csproj", "{767322CA-5502-4BF7-A324-691DFE17384A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.Elasticsearch", "modules\auditing\LINGYUN.Abp.AuditLogging.Elasticsearch\LINGYUN.Abp.AuditLogging.Elasticsearch.csproj", "{2E2D0BF4-85EC-45CE-9842-CDED25EE30A7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A9D125BB-3C5A-4083-AD30-B88947460556}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A9D125BB-3C5A-4083-AD30-B88947460556}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A9D125BB-3C5A-4083-AD30-B88947460556}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A9D125BB-3C5A-4083-AD30-B88947460556}.Release|Any CPU.Build.0 = Release|Any CPU - {54987DD7-5311-430D-BAFF-9F856468C893}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {54987DD7-5311-430D-BAFF-9F856468C893}.Debug|Any CPU.Build.0 = Debug|Any CPU - {54987DD7-5311-430D-BAFF-9F856468C893}.Release|Any CPU.ActiveCfg = Release|Any CPU - {54987DD7-5311-430D-BAFF-9F856468C893}.Release|Any CPU.Build.0 = Release|Any CPU - {DE80ED02-D021-497A-94D9-AD0BA042EA3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DE80ED02-D021-497A-94D9-AD0BA042EA3F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DE80ED02-D021-497A-94D9-AD0BA042EA3F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DE80ED02-D021-497A-94D9-AD0BA042EA3F}.Release|Any CPU.Build.0 = Release|Any CPU - {38A8F904-E894-4C3D-9C35-DCD6E544AE43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {38A8F904-E894-4C3D-9C35-DCD6E544AE43}.Debug|Any CPU.Build.0 = Debug|Any CPU - {38A8F904-E894-4C3D-9C35-DCD6E544AE43}.Release|Any CPU.ActiveCfg = Release|Any CPU - {38A8F904-E894-4C3D-9C35-DCD6E544AE43}.Release|Any CPU.Build.0 = Release|Any CPU - {F716F299-267B-430C-BC7F-ECE7E8AB2351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F716F299-267B-430C-BC7F-ECE7E8AB2351}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F716F299-267B-430C-BC7F-ECE7E8AB2351}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F716F299-267B-430C-BC7F-ECE7E8AB2351}.Release|Any CPU.Build.0 = Release|Any CPU - {B045F4B7-AE0E-4403-B7C2-A66B06CF6A62}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B045F4B7-AE0E-4403-B7C2-A66B06CF6A62}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B045F4B7-AE0E-4403-B7C2-A66B06CF6A62}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B045F4B7-AE0E-4403-B7C2-A66B06CF6A62}.Release|Any CPU.Build.0 = Release|Any CPU - {4D686265-3927-43F5-B9BF-8A013F8BC9E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4D686265-3927-43F5-B9BF-8A013F8BC9E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4D686265-3927-43F5-B9BF-8A013F8BC9E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4D686265-3927-43F5-B9BF-8A013F8BC9E8}.Release|Any CPU.Build.0 = Release|Any CPU - {D890BEBE-563A-47ED-B767-2E80077B5D37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D890BEBE-563A-47ED-B767-2E80077B5D37}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D890BEBE-563A-47ED-B767-2E80077B5D37}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D890BEBE-563A-47ED-B767-2E80077B5D37}.Release|Any CPU.Build.0 = Release|Any CPU - {4757C7D9-6AE9-477D-9829-55D9906AC3E6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4757C7D9-6AE9-477D-9829-55D9906AC3E6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4757C7D9-6AE9-477D-9829-55D9906AC3E6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4757C7D9-6AE9-477D-9829-55D9906AC3E6}.Release|Any CPU.Build.0 = Release|Any CPU - {1DA1835B-9EA4-4095-A8CF-10E2778206D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1DA1835B-9EA4-4095-A8CF-10E2778206D3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1DA1835B-9EA4-4095-A8CF-10E2778206D3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1DA1835B-9EA4-4095-A8CF-10E2778206D3}.Release|Any CPU.Build.0 = Release|Any CPU - {7588F35B-7C0E-4D80-B43A-8A5C9AC6FE03}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7588F35B-7C0E-4D80-B43A-8A5C9AC6FE03}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7588F35B-7C0E-4D80-B43A-8A5C9AC6FE03}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7588F35B-7C0E-4D80-B43A-8A5C9AC6FE03}.Release|Any CPU.Build.0 = Release|Any CPU - {BFF44515-64C7-48C9-BD3E-6ABEDA863F6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BFF44515-64C7-48C9-BD3E-6ABEDA863F6A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BFF44515-64C7-48C9-BD3E-6ABEDA863F6A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BFF44515-64C7-48C9-BD3E-6ABEDA863F6A}.Release|Any CPU.Build.0 = Release|Any CPU - {767322CA-5502-4BF7-A324-691DFE17384A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {767322CA-5502-4BF7-A324-691DFE17384A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {767322CA-5502-4BF7-A324-691DFE17384A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {767322CA-5502-4BF7-A324-691DFE17384A}.Release|Any CPU.Build.0 = Release|Any CPU - {2E2D0BF4-85EC-45CE-9842-CDED25EE30A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2E2D0BF4-85EC-45CE-9842-CDED25EE30A7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2E2D0BF4-85EC-45CE-9842-CDED25EE30A7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2E2D0BF4-85EC-45CE-9842-CDED25EE30A7}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {AD93DD04-989C-40BE-A3F4-25DABF290423} = {630FB448-8C5C-438F-930D-B0209407DE6A} - {A9D125BB-3C5A-4083-AD30-B88947460556} = {F3B1B755-37B6-420B-9E82-A5BDFF2BF647} - {54987DD7-5311-430D-BAFF-9F856468C893} = {F3B1B755-37B6-420B-9E82-A5BDFF2BF647} - {DE80ED02-D021-497A-94D9-AD0BA042EA3F} = {AD93DD04-989C-40BE-A3F4-25DABF290423} - {38A8F904-E894-4C3D-9C35-DCD6E544AE43} = {AD93DD04-989C-40BE-A3F4-25DABF290423} - {F716F299-267B-430C-BC7F-ECE7E8AB2351} = {AD93DD04-989C-40BE-A3F4-25DABF290423} - {B045F4B7-AE0E-4403-B7C2-A66B06CF6A62} = {AD93DD04-989C-40BE-A3F4-25DABF290423} - {4D686265-3927-43F5-B9BF-8A013F8BC9E8} = {AD93DD04-989C-40BE-A3F4-25DABF290423} - {D890BEBE-563A-47ED-B767-2E80077B5D37} = {AD93DD04-989C-40BE-A3F4-25DABF290423} - {4757C7D9-6AE9-477D-9829-55D9906AC3E6} = {AD93DD04-989C-40BE-A3F4-25DABF290423} - {D6629DD3-BA0F-44B5-A97F-3B992ECAB85D} = {630FB448-8C5C-438F-930D-B0209407DE6A} - {1DA1835B-9EA4-4095-A8CF-10E2778206D3} = {D6629DD3-BA0F-44B5-A97F-3B992ECAB85D} - {7588F35B-7C0E-4D80-B43A-8A5C9AC6FE03} = {D6629DD3-BA0F-44B5-A97F-3B992ECAB85D} - {68A9661A-E4CF-435A-BEAF-36A6A0A067CD} = {630FB448-8C5C-438F-930D-B0209407DE6A} - {BFF44515-64C7-48C9-BD3E-6ABEDA863F6A} = {68A9661A-E4CF-435A-BEAF-36A6A0A067CD} - {7E784A72-D62C-4ECF-9CA6-F6EE88619ACF} = {630FB448-8C5C-438F-930D-B0209407DE6A} - {767322CA-5502-4BF7-A324-691DFE17384A} = {7E784A72-D62C-4ECF-9CA6-F6EE88619ACF} - {2E2D0BF4-85EC-45CE-9842-CDED25EE30A7} = {7E784A72-D62C-4ECF-9CA6-F6EE88619ACF} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {B327C65A-BD15-480D-825E-9D5A870C521A} - EndGlobalSection -EndGlobal diff --git a/aspnet-core/LINGYUN.MicroService.BackendAdmin.sln b/aspnet-core/LINGYUN.MicroService.BackendAdmin.sln deleted file mode 100644 index 0bd386870..000000000 --- a/aspnet-core/LINGYUN.MicroService.BackendAdmin.sln +++ /dev/null @@ -1,282 +0,0 @@ -锘 -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30011.22 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modules", "modules", "{ED23B2F3-87C1-44B6-8906-9DE739422C2C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "services", "services", "{1E8D56FE-2FA1-4041-AB69-00952BF42EC9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.BackendAdmin.HttpApi.Host", "services\admin\LINGYUN.Abp.BackendAdmin.HttpApi.Host\LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj", "{A12DB303-F90B-4E56-B99F-A40816FCB04A}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tenant-management", "tenant-management", "{CB1A2EB0-34D4-41C4-BF01-C99EFBBF09EE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TenantManagement.Application.Contracts", "modules\tenants\LINGYUN.Abp.TenantManagement.Application.Contracts\LINGYUN.Abp.TenantManagement.Application.Contracts.csproj", "{926E8543-6A0E-4B36-8F3C-9278281E3420}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TenantManagement.Application", "modules\tenants\LINGYUN.Abp.TenantManagement.Application\LINGYUN.Abp.TenantManagement.Application.csproj", "{0DDA914E-CE2A-446F-A43D-09C52704D39C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TenantManagement.HttpApi", "modules\tenants\LINGYUN.Abp.TenantManagement.HttpApi\LINGYUN.Abp.TenantManagement.HttpApi.csproj", "{E7185ACE-4D40-4215-BBD7-73D2DB69F482}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TenantManagement.HttpApi.Client", "modules\tenants\LINGYUN.Abp.TenantManagement.HttpApi.Client\LINGYUN.Abp.TenantManagement.HttpApi.Client.csproj", "{011F5FF0-468F-4423-8DC3-C3ECC3F63829}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "setting-management", "setting-management", "{202AC90B-0E4A-44B4-9A9D-3C869D0D4B8E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.SettingManagement.Application.Contracts", "modules\settings\LINGYUN.Abp.SettingManagement.Application.Contracts\LINGYUN.Abp.SettingManagement.Application.Contracts.csproj", "{35A4661D-12A0-47A9-ACC6-111D1474A88B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.SettingManagement.Application", "modules\settings\LINGYUN.Abp.SettingManagement.Application\LINGYUN.Abp.SettingManagement.Application.csproj", "{9EAAB564-5971-4AE3-9228-3953C228A890}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.SettingManagement.HttpApi", "modules\settings\LINGYUN.Abp.SettingManagement.HttpApi\LINGYUN.Abp.SettingManagement.HttpApi.csproj", "{5BAC138C-2AD5-426E-9D85-BDC6A0B38787}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "auditing", "auditing", "{709E77F9-DABF-47D3-A86E-40CD5448B1E5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Auditing.Application.Contracts", "modules\auditing\LINGYUN.Abp.Auditing.Application.Contracts\LINGYUN.Abp.Auditing.Application.Contracts.csproj", "{BE063443-09F6-4611-AE17-811AD00D51E9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Auditing.Application", "modules\auditing\LINGYUN.Abp.Auditing.Application\LINGYUN.Abp.Auditing.Application.csproj", "{69CBAE90-D5BE-4362-98DE-1505A59DD0A6}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Auditing.HttpApi", "modules\auditing\LINGYUN.Abp.Auditing.HttpApi\LINGYUN.Abp.Auditing.HttpApi.csproj", "{DAD70E78-D4A1-4B19-AF11-9236825FF013}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identity", "identity", "{2F56344F-6E06-4F9B-A0F2-8A6F0AEB096A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.PermissionManagement.Domain.Identity", "modules\identity\LINGYUN.Abp.PermissionManagement.Domain.Identity\LINGYUN.Abp.PermissionManagement.Domain.Identity.csproj", "{376B2235-ADA7-4EC7-A27D-8F97EC6A57CD}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "permissions-management", "permissions-management", "{D25C4814-71AB-4A9D-8C76-298A7DE1A747}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.PermissionManagement.Domain", "modules\permissions-management\LINGYUN.Abp.PermissionManagement.Domain\LINGYUN.Abp.PermissionManagement.Domain.csproj", "{7521486D-2144-4AFA-86AD-8E8021479DE6}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "oss-management", "oss-management", "{8F972C8E-F047-4883-A4BF-3423A2BAED36}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "account", "account", "{9DAD2CA8-16B6-4006-BD8E-EE3E9BAA3770}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Account.Application.Contracts", "modules\account\LINGYUN.Abp.Account.Application.Contracts\LINGYUN.Abp.Account.Application.Contracts.csproj", "{AA2F7243-976C-47F3-9B4E-20CC22F8FCF4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Domain.Shared", "modules\identity\LINGYUN.Abp.Identity.Domain.Shared\LINGYUN.Abp.Identity.Domain.Shared.csproj", "{E758D3A7-DB93-4EAC-A2ED-C2322D4F7D67}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Application.Contracts", "modules\identity\LINGYUN.Abp.Identity.Application.Contracts\LINGYUN.Abp.Identity.Application.Contracts.csproj", "{D4AB1BF0-95EC-4E34-9C39-E888ED30C535}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Account.HttpApi", "modules\account\LINGYUN.Abp.Account.HttpApi\LINGYUN.Abp.Account.HttpApi.csproj", "{A387EF32-1FAD-412F-893D-43485CE59DB4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Application", "modules\identity\LINGYUN.Abp.Identity.Application\LINGYUN.Abp.Identity.Application.csproj", "{9BABF219-AAAA-4611-8B49-BFCCBD046934}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "wechat", "wechat", "{B36F627B-FD7D-4357-A623-F01AFF78B80D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat", "modules\wechat\LINGYUN.Abp.WeChat\LINGYUN.Abp.WeChat.csproj", "{C1514C9C-7FB2-412E-A931-7F2F0C9A65DC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat.MiniProgram", "modules\wechat\LINGYUN.Abp.WeChat.MiniProgram\LINGYUN.Abp.WeChat.MiniProgram.csproj", "{D42CE0F0-331F-4E5C-92CD-6B4DD6854E69}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat.Official", "modules\wechat\LINGYUN.Abp.WeChat.Official\LINGYUN.Abp.WeChat.Official.csproj", "{EAD2F955-88CA-4570-AB81-31FB2FF02605}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat.SettingManagement", "modules\wechat\LINGYUN.Abp.WeChat.SettingManagement\LINGYUN.Abp.WeChat.SettingManagement.csproj", "{3FD9C35C-3A8D-49F5-B7C5-4828AA3407AB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.Application.Contracts", "modules\oss-management\LINGYUN.Abp.OssManagement.Application.Contracts\LINGYUN.Abp.OssManagement.Application.Contracts.csproj", "{5C3D0A48-4EE3-4968-9826-5F52ADDC22C4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MultiTenancy", "modules\tenants\LINGYUN.Abp.MultiTenancy\LINGYUN.Abp.MultiTenancy.csproj", "{360B5928-DD64-42AA-8C99-07EFC5224C24}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "elasticsearch", "elasticsearch", "{0A75BBE9-6757-4319-9C5A-D6315945E8A5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Elasticsearch", "modules\elasticsearch\LINGYUN.Abp.Elasticsearch\LINGYUN.Abp.Elasticsearch.csproj", "{96940212-429F-4BF0-BB41-ADEE3D2DE4C0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging", "modules\auditing\LINGYUN.Abp.AuditLogging\LINGYUN.Abp.AuditLogging.csproj", "{CB71A69A-1C9A-4019-8FFE-42CA9663968E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.Elasticsearch", "modules\auditing\LINGYUN.Abp.AuditLogging.Elasticsearch\LINGYUN.Abp.AuditLogging.Elasticsearch.csproj", "{C92AE96D-9106-492C-901C-722282CF23E3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.EntityFrameworkCore", "modules\auditing\LINGYUN.Abp.AuditLogging.EntityFrameworkCore\LINGYUN.Abp.AuditLogging.EntityFrameworkCore.csproj", "{4F105408-B884-4796-B273-53734485D591}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logging", "logging", "{FC5C41DC-3E6E-4775-A6A2-D5B5B490B13D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Logging", "modules\logging\LINGYUN.Abp.Logging\LINGYUN.Abp.Logging.csproj", "{0C800A57-2658-4640-99A1-A02805EE6E99}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Logging.Serilog.Elasticsearch", "modules\logging\LINGYUN.Abp.Logging.Serilog.Elasticsearch\LINGYUN.Abp.Logging.Serilog.Elasticsearch.csproj", "{EBDD5D30-7F82-46EB-A4E9-213932D14047}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Serilog.Enrichers.Application", "modules\logging\LINGYUN.Abp.Serilog.Enrichers.Application\LINGYUN.Abp.Serilog.Enrichers.Application.csproj", "{2AF1B4CF-471E-40FA-AF7B-CD730DA5EB7F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{380FF8BB-8924-470B-B52A-53A7E28C324D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Data.DbMigrator", "modules\common\LINGYUN.Abp.Data.DbMigrator\LINGYUN.Abp.Data.DbMigrator.csproj", "{765D9D60-9F22-4A58-964E-5747003431BB}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A12DB303-F90B-4E56-B99F-A40816FCB04A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A12DB303-F90B-4E56-B99F-A40816FCB04A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A12DB303-F90B-4E56-B99F-A40816FCB04A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A12DB303-F90B-4E56-B99F-A40816FCB04A}.Release|Any CPU.Build.0 = Release|Any CPU - {926E8543-6A0E-4B36-8F3C-9278281E3420}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {926E8543-6A0E-4B36-8F3C-9278281E3420}.Debug|Any CPU.Build.0 = Debug|Any CPU - {926E8543-6A0E-4B36-8F3C-9278281E3420}.Release|Any CPU.ActiveCfg = Release|Any CPU - {926E8543-6A0E-4B36-8F3C-9278281E3420}.Release|Any CPU.Build.0 = Release|Any CPU - {0DDA914E-CE2A-446F-A43D-09C52704D39C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0DDA914E-CE2A-446F-A43D-09C52704D39C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0DDA914E-CE2A-446F-A43D-09C52704D39C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0DDA914E-CE2A-446F-A43D-09C52704D39C}.Release|Any CPU.Build.0 = Release|Any CPU - {E7185ACE-4D40-4215-BBD7-73D2DB69F482}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E7185ACE-4D40-4215-BBD7-73D2DB69F482}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E7185ACE-4D40-4215-BBD7-73D2DB69F482}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E7185ACE-4D40-4215-BBD7-73D2DB69F482}.Release|Any CPU.Build.0 = Release|Any CPU - {011F5FF0-468F-4423-8DC3-C3ECC3F63829}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {011F5FF0-468F-4423-8DC3-C3ECC3F63829}.Debug|Any CPU.Build.0 = Debug|Any CPU - {011F5FF0-468F-4423-8DC3-C3ECC3F63829}.Release|Any CPU.ActiveCfg = Release|Any CPU - {011F5FF0-468F-4423-8DC3-C3ECC3F63829}.Release|Any CPU.Build.0 = Release|Any CPU - {35A4661D-12A0-47A9-ACC6-111D1474A88B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {35A4661D-12A0-47A9-ACC6-111D1474A88B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {35A4661D-12A0-47A9-ACC6-111D1474A88B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {35A4661D-12A0-47A9-ACC6-111D1474A88B}.Release|Any CPU.Build.0 = Release|Any CPU - {9EAAB564-5971-4AE3-9228-3953C228A890}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9EAAB564-5971-4AE3-9228-3953C228A890}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9EAAB564-5971-4AE3-9228-3953C228A890}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9EAAB564-5971-4AE3-9228-3953C228A890}.Release|Any CPU.Build.0 = Release|Any CPU - {5BAC138C-2AD5-426E-9D85-BDC6A0B38787}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5BAC138C-2AD5-426E-9D85-BDC6A0B38787}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5BAC138C-2AD5-426E-9D85-BDC6A0B38787}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5BAC138C-2AD5-426E-9D85-BDC6A0B38787}.Release|Any CPU.Build.0 = Release|Any CPU - {BE063443-09F6-4611-AE17-811AD00D51E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE063443-09F6-4611-AE17-811AD00D51E9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE063443-09F6-4611-AE17-811AD00D51E9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE063443-09F6-4611-AE17-811AD00D51E9}.Release|Any CPU.Build.0 = Release|Any CPU - {69CBAE90-D5BE-4362-98DE-1505A59DD0A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {69CBAE90-D5BE-4362-98DE-1505A59DD0A6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {69CBAE90-D5BE-4362-98DE-1505A59DD0A6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {69CBAE90-D5BE-4362-98DE-1505A59DD0A6}.Release|Any CPU.Build.0 = Release|Any CPU - {DAD70E78-D4A1-4B19-AF11-9236825FF013}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DAD70E78-D4A1-4B19-AF11-9236825FF013}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DAD70E78-D4A1-4B19-AF11-9236825FF013}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DAD70E78-D4A1-4B19-AF11-9236825FF013}.Release|Any CPU.Build.0 = Release|Any CPU - {376B2235-ADA7-4EC7-A27D-8F97EC6A57CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {376B2235-ADA7-4EC7-A27D-8F97EC6A57CD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {376B2235-ADA7-4EC7-A27D-8F97EC6A57CD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {376B2235-ADA7-4EC7-A27D-8F97EC6A57CD}.Release|Any CPU.Build.0 = Release|Any CPU - {7521486D-2144-4AFA-86AD-8E8021479DE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7521486D-2144-4AFA-86AD-8E8021479DE6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7521486D-2144-4AFA-86AD-8E8021479DE6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7521486D-2144-4AFA-86AD-8E8021479DE6}.Release|Any CPU.Build.0 = Release|Any CPU - {AA2F7243-976C-47F3-9B4E-20CC22F8FCF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AA2F7243-976C-47F3-9B4E-20CC22F8FCF4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AA2F7243-976C-47F3-9B4E-20CC22F8FCF4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AA2F7243-976C-47F3-9B4E-20CC22F8FCF4}.Release|Any CPU.Build.0 = Release|Any CPU - {E758D3A7-DB93-4EAC-A2ED-C2322D4F7D67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E758D3A7-DB93-4EAC-A2ED-C2322D4F7D67}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E758D3A7-DB93-4EAC-A2ED-C2322D4F7D67}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E758D3A7-DB93-4EAC-A2ED-C2322D4F7D67}.Release|Any CPU.Build.0 = Release|Any CPU - {D4AB1BF0-95EC-4E34-9C39-E888ED30C535}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D4AB1BF0-95EC-4E34-9C39-E888ED30C535}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D4AB1BF0-95EC-4E34-9C39-E888ED30C535}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D4AB1BF0-95EC-4E34-9C39-E888ED30C535}.Release|Any CPU.Build.0 = Release|Any CPU - {A387EF32-1FAD-412F-893D-43485CE59DB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A387EF32-1FAD-412F-893D-43485CE59DB4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A387EF32-1FAD-412F-893D-43485CE59DB4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A387EF32-1FAD-412F-893D-43485CE59DB4}.Release|Any CPU.Build.0 = Release|Any CPU - {9BABF219-AAAA-4611-8B49-BFCCBD046934}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9BABF219-AAAA-4611-8B49-BFCCBD046934}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9BABF219-AAAA-4611-8B49-BFCCBD046934}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9BABF219-AAAA-4611-8B49-BFCCBD046934}.Release|Any CPU.Build.0 = Release|Any CPU - {C1514C9C-7FB2-412E-A931-7F2F0C9A65DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C1514C9C-7FB2-412E-A931-7F2F0C9A65DC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C1514C9C-7FB2-412E-A931-7F2F0C9A65DC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C1514C9C-7FB2-412E-A931-7F2F0C9A65DC}.Release|Any CPU.Build.0 = Release|Any CPU - {D42CE0F0-331F-4E5C-92CD-6B4DD6854E69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D42CE0F0-331F-4E5C-92CD-6B4DD6854E69}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D42CE0F0-331F-4E5C-92CD-6B4DD6854E69}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D42CE0F0-331F-4E5C-92CD-6B4DD6854E69}.Release|Any CPU.Build.0 = Release|Any CPU - {EAD2F955-88CA-4570-AB81-31FB2FF02605}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EAD2F955-88CA-4570-AB81-31FB2FF02605}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EAD2F955-88CA-4570-AB81-31FB2FF02605}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EAD2F955-88CA-4570-AB81-31FB2FF02605}.Release|Any CPU.Build.0 = Release|Any CPU - {3FD9C35C-3A8D-49F5-B7C5-4828AA3407AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3FD9C35C-3A8D-49F5-B7C5-4828AA3407AB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3FD9C35C-3A8D-49F5-B7C5-4828AA3407AB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3FD9C35C-3A8D-49F5-B7C5-4828AA3407AB}.Release|Any CPU.Build.0 = Release|Any CPU - {5C3D0A48-4EE3-4968-9826-5F52ADDC22C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5C3D0A48-4EE3-4968-9826-5F52ADDC22C4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5C3D0A48-4EE3-4968-9826-5F52ADDC22C4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5C3D0A48-4EE3-4968-9826-5F52ADDC22C4}.Release|Any CPU.Build.0 = Release|Any CPU - {360B5928-DD64-42AA-8C99-07EFC5224C24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {360B5928-DD64-42AA-8C99-07EFC5224C24}.Debug|Any CPU.Build.0 = Debug|Any CPU - {360B5928-DD64-42AA-8C99-07EFC5224C24}.Release|Any CPU.ActiveCfg = Release|Any CPU - {360B5928-DD64-42AA-8C99-07EFC5224C24}.Release|Any CPU.Build.0 = Release|Any CPU - {96940212-429F-4BF0-BB41-ADEE3D2DE4C0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {96940212-429F-4BF0-BB41-ADEE3D2DE4C0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {96940212-429F-4BF0-BB41-ADEE3D2DE4C0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {96940212-429F-4BF0-BB41-ADEE3D2DE4C0}.Release|Any CPU.Build.0 = Release|Any CPU - {CB71A69A-1C9A-4019-8FFE-42CA9663968E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CB71A69A-1C9A-4019-8FFE-42CA9663968E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CB71A69A-1C9A-4019-8FFE-42CA9663968E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CB71A69A-1C9A-4019-8FFE-42CA9663968E}.Release|Any CPU.Build.0 = Release|Any CPU - {C92AE96D-9106-492C-901C-722282CF23E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C92AE96D-9106-492C-901C-722282CF23E3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C92AE96D-9106-492C-901C-722282CF23E3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C92AE96D-9106-492C-901C-722282CF23E3}.Release|Any CPU.Build.0 = Release|Any CPU - {4F105408-B884-4796-B273-53734485D591}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4F105408-B884-4796-B273-53734485D591}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4F105408-B884-4796-B273-53734485D591}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4F105408-B884-4796-B273-53734485D591}.Release|Any CPU.Build.0 = Release|Any CPU - {0C800A57-2658-4640-99A1-A02805EE6E99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0C800A57-2658-4640-99A1-A02805EE6E99}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0C800A57-2658-4640-99A1-A02805EE6E99}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0C800A57-2658-4640-99A1-A02805EE6E99}.Release|Any CPU.Build.0 = Release|Any CPU - {EBDD5D30-7F82-46EB-A4E9-213932D14047}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EBDD5D30-7F82-46EB-A4E9-213932D14047}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EBDD5D30-7F82-46EB-A4E9-213932D14047}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EBDD5D30-7F82-46EB-A4E9-213932D14047}.Release|Any CPU.Build.0 = Release|Any CPU - {2AF1B4CF-471E-40FA-AF7B-CD730DA5EB7F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2AF1B4CF-471E-40FA-AF7B-CD730DA5EB7F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2AF1B4CF-471E-40FA-AF7B-CD730DA5EB7F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2AF1B4CF-471E-40FA-AF7B-CD730DA5EB7F}.Release|Any CPU.Build.0 = Release|Any CPU - {765D9D60-9F22-4A58-964E-5747003431BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {765D9D60-9F22-4A58-964E-5747003431BB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {765D9D60-9F22-4A58-964E-5747003431BB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {765D9D60-9F22-4A58-964E-5747003431BB}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {A12DB303-F90B-4E56-B99F-A40816FCB04A} = {1E8D56FE-2FA1-4041-AB69-00952BF42EC9} - {CB1A2EB0-34D4-41C4-BF01-C99EFBBF09EE} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {926E8543-6A0E-4B36-8F3C-9278281E3420} = {CB1A2EB0-34D4-41C4-BF01-C99EFBBF09EE} - {0DDA914E-CE2A-446F-A43D-09C52704D39C} = {CB1A2EB0-34D4-41C4-BF01-C99EFBBF09EE} - {E7185ACE-4D40-4215-BBD7-73D2DB69F482} = {CB1A2EB0-34D4-41C4-BF01-C99EFBBF09EE} - {011F5FF0-468F-4423-8DC3-C3ECC3F63829} = {CB1A2EB0-34D4-41C4-BF01-C99EFBBF09EE} - {202AC90B-0E4A-44B4-9A9D-3C869D0D4B8E} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {35A4661D-12A0-47A9-ACC6-111D1474A88B} = {202AC90B-0E4A-44B4-9A9D-3C869D0D4B8E} - {9EAAB564-5971-4AE3-9228-3953C228A890} = {202AC90B-0E4A-44B4-9A9D-3C869D0D4B8E} - {5BAC138C-2AD5-426E-9D85-BDC6A0B38787} = {202AC90B-0E4A-44B4-9A9D-3C869D0D4B8E} - {709E77F9-DABF-47D3-A86E-40CD5448B1E5} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {BE063443-09F6-4611-AE17-811AD00D51E9} = {709E77F9-DABF-47D3-A86E-40CD5448B1E5} - {69CBAE90-D5BE-4362-98DE-1505A59DD0A6} = {709E77F9-DABF-47D3-A86E-40CD5448B1E5} - {DAD70E78-D4A1-4B19-AF11-9236825FF013} = {709E77F9-DABF-47D3-A86E-40CD5448B1E5} - {2F56344F-6E06-4F9B-A0F2-8A6F0AEB096A} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {376B2235-ADA7-4EC7-A27D-8F97EC6A57CD} = {2F56344F-6E06-4F9B-A0F2-8A6F0AEB096A} - {D25C4814-71AB-4A9D-8C76-298A7DE1A747} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {7521486D-2144-4AFA-86AD-8E8021479DE6} = {D25C4814-71AB-4A9D-8C76-298A7DE1A747} - {8F972C8E-F047-4883-A4BF-3423A2BAED36} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {9DAD2CA8-16B6-4006-BD8E-EE3E9BAA3770} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {AA2F7243-976C-47F3-9B4E-20CC22F8FCF4} = {9DAD2CA8-16B6-4006-BD8E-EE3E9BAA3770} - {E758D3A7-DB93-4EAC-A2ED-C2322D4F7D67} = {2F56344F-6E06-4F9B-A0F2-8A6F0AEB096A} - {D4AB1BF0-95EC-4E34-9C39-E888ED30C535} = {2F56344F-6E06-4F9B-A0F2-8A6F0AEB096A} - {A387EF32-1FAD-412F-893D-43485CE59DB4} = {9DAD2CA8-16B6-4006-BD8E-EE3E9BAA3770} - {9BABF219-AAAA-4611-8B49-BFCCBD046934} = {2F56344F-6E06-4F9B-A0F2-8A6F0AEB096A} - {B36F627B-FD7D-4357-A623-F01AFF78B80D} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {C1514C9C-7FB2-412E-A931-7F2F0C9A65DC} = {B36F627B-FD7D-4357-A623-F01AFF78B80D} - {D42CE0F0-331F-4E5C-92CD-6B4DD6854E69} = {B36F627B-FD7D-4357-A623-F01AFF78B80D} - {EAD2F955-88CA-4570-AB81-31FB2FF02605} = {B36F627B-FD7D-4357-A623-F01AFF78B80D} - {3FD9C35C-3A8D-49F5-B7C5-4828AA3407AB} = {B36F627B-FD7D-4357-A623-F01AFF78B80D} - {5C3D0A48-4EE3-4968-9826-5F52ADDC22C4} = {8F972C8E-F047-4883-A4BF-3423A2BAED36} - {360B5928-DD64-42AA-8C99-07EFC5224C24} = {CB1A2EB0-34D4-41C4-BF01-C99EFBBF09EE} - {0A75BBE9-6757-4319-9C5A-D6315945E8A5} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {96940212-429F-4BF0-BB41-ADEE3D2DE4C0} = {0A75BBE9-6757-4319-9C5A-D6315945E8A5} - {CB71A69A-1C9A-4019-8FFE-42CA9663968E} = {709E77F9-DABF-47D3-A86E-40CD5448B1E5} - {C92AE96D-9106-492C-901C-722282CF23E3} = {709E77F9-DABF-47D3-A86E-40CD5448B1E5} - {4F105408-B884-4796-B273-53734485D591} = {709E77F9-DABF-47D3-A86E-40CD5448B1E5} - {FC5C41DC-3E6E-4775-A6A2-D5B5B490B13D} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {0C800A57-2658-4640-99A1-A02805EE6E99} = {FC5C41DC-3E6E-4775-A6A2-D5B5B490B13D} - {EBDD5D30-7F82-46EB-A4E9-213932D14047} = {FC5C41DC-3E6E-4775-A6A2-D5B5B490B13D} - {2AF1B4CF-471E-40FA-AF7B-CD730DA5EB7F} = {FC5C41DC-3E6E-4775-A6A2-D5B5B490B13D} - {380FF8BB-8924-470B-B52A-53A7E28C324D} = {ED23B2F3-87C1-44B6-8906-9DE739422C2C} - {765D9D60-9F22-4A58-964E-5747003431BB} = {380FF8BB-8924-470B-B52A-53A7E28C324D} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {1573B900-87BA-4AD3-B785-6DD78127ADEF} - EndGlobalSection -EndGlobal diff --git a/aspnet-core/LINGYUN.MicroService.IdentityServer.sln b/aspnet-core/LINGYUN.MicroService.IdentityServer.sln deleted file mode 100644 index ebbd75add..000000000 --- a/aspnet-core/LINGYUN.MicroService.IdentityServer.sln +++ /dev/null @@ -1,229 +0,0 @@ -锘 -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modules", "modules", "{7C727110-59CA-495B-8143-C5DDEDE41289}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "services", "services", "{DDCA574F-911B-4547-BA21-12CCE1022D95}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AuthServer.Host", "services\account\AuthServer.Host\AuthServer.Host.csproj", "{BF8073FF-6403-4ED6-A3CD-74F240DC8044}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identity-server", "identity-server", "{98887A8F-7040-4FA1-842F-A4C77A61ED09}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.SmsValidator", "modules\identityServer\LINGYUN.Abp.IdentityServer.SmsValidator\LINGYUN.Abp.IdentityServer.SmsValidator.csproj", "{9EA06629-DBAC-4369-9850-B7415D0470B0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identity", "identity", "{70B8D735-1E89-4163-8EDB-56A74E374CF4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.PermissionManagement.Domain.Identity", "modules\identity\LINGYUN.Abp.PermissionManagement.Domain.Identity\LINGYUN.Abp.PermissionManagement.Domain.Identity.csproj", "{F87B2BA3-40BC-4CB8-B53E-793C860F285D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "wechat", "wechat", "{AF8AECC8-0F42-4FC5-B3C0-00987BA8279F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "permission-management", "permission-management", "{2FEA83BA-2E6D-40AF-8781-12CFD042457F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.PermissionManagement.Domain", "modules\permissions-management\LINGYUN.Abp.PermissionManagement.Domain\LINGYUN.Abp.PermissionManagement.Domain.csproj", "{A0A11373-635B-4343-8EE7-1DFC3611F05A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat", "modules\wechat\LINGYUN.Abp.WeChat\LINGYUN.Abp.WeChat.csproj", "{6F13C138-1D71-48F5-A404-94047242E98F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{572DBB40-4637-4C01-8491-8686F7E22B45}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EventBus.CAP", "modules\common\LINGYUN.Abp.EventBus.CAP\LINGYUN.Abp.EventBus.CAP.csproj", "{843012AC-78C3-4A25-904C-353ED26C8524}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MultiTenancy.DbFinder", "modules\tenants\LINGYUN.Abp.MultiTenancy.DbFinder\LINGYUN.Abp.MultiTenancy.DbFinder.csproj", "{FEEA68C2-D545-4AD6-81C7-71D0E2747CC3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MultiTenancy", "modules\tenants\LINGYUN.Abp.MultiTenancy\LINGYUN.Abp.MultiTenancy.csproj", "{D879BE04-BEFC-423B-868C-E8BA10605E16}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tenants", "tenants", "{6CB9D0F3-8D50-49B5-98E2-D777717E51E8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Aliyun.Authorization", "modules\common\LINGYUN.Abp.Aliyun.Authorization\LINGYUN.Abp.Aliyun.Authorization.csproj", "{C675C7DB-5825-4F64-BF76-8A4452A448D2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Sms.Aliyun", "modules\common\LINGYUN.Abp.Sms.Aliyun\LINGYUN.Abp.Sms.Aliyun.csproj", "{A51E2EB5-EEC0-4FB0-99B9-A0FBE0D8B0EB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Domain.Shared", "modules\identity\LINGYUN.Abp.Identity.Domain.Shared\LINGYUN.Abp.Identity.Domain.Shared.csproj", "{E5E51981-864A-4B54-8E50-B5AE8B81245C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Domain", "modules\identity\LINGYUN.Abp.Identity.Domain\LINGYUN.Abp.Identity.Domain.csproj", "{6514E12E-D97C-4311-8301-F270D4E04A9F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.EntityFrameworkCore", "modules\identity\LINGYUN.Abp.Identity.EntityFrameworkCore\LINGYUN.Abp.Identity.EntityFrameworkCore.csproj", "{77F424CB-75F2-4D7F-8B52-BBE2E09CB423}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.EntityFrameworkCore", "modules\identityServer\LINGYUN.Abp.IdentityServer.EntityFrameworkCore\LINGYUN.Abp.IdentityServer.EntityFrameworkCore.csproj", "{644FAB8F-ED83-4539-AF43-8F8FE61EF778}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat.MiniProgram", "modules\wechat\LINGYUN.Abp.WeChat.MiniProgram\LINGYUN.Abp.WeChat.MiniProgram.csproj", "{648D7B5D-8B78-4F90-BDE0-4AC50C902CC3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat.Official", "modules\wechat\LINGYUN.Abp.WeChat.Official\LINGYUN.Abp.WeChat.Official.csproj", "{F762D1BB-66FB-421A-A917-D80B7DCC0DC0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.WeChat", "modules\identityServer\LINGYUN.Abp.IdentityServer.WeChat\LINGYUN.Abp.IdentityServer.WeChat.csproj", "{D63C0CA8-554D-43F2-8DB4-8B464E4C1CDA}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.Domain", "modules\identityServer\LINGYUN.Abp.IdentityServer.Domain\LINGYUN.Abp.IdentityServer.Domain.csproj", "{79CAF2CA-E9E1-48A5-A21F-3786383C12E0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "theming", "theming", "{1D7CE7E0-37AB-477B-919B-B1EB2899A17E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.WeChat", "modules\wechat\LINGYUN.Abp.Identity.WeChat\LINGYUN.Abp.Identity.WeChat.csproj", "{46C3E5D2-7738-4C0F-AC51-C61A024CAF23}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logging", "logging", "{ACA1734A-4BF5-4DF9-94CF-3E5B3535B480}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "auditing", "auditing", "{42D02351-CF36-402A-B89A-F10D3DAD8EC8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging", "modules\auditing\LINGYUN.Abp.AuditLogging\LINGYUN.Abp.AuditLogging.csproj", "{6D86FA60-9969-4401-851C-6B8845B3FCC9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.Elasticsearch", "modules\auditing\LINGYUN.Abp.AuditLogging.Elasticsearch\LINGYUN.Abp.AuditLogging.Elasticsearch.csproj", "{489CC1F9-C648-4E3C-869B-0CEE0454EE9E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Serilog.Enrichers.Application", "modules\logging\LINGYUN.Abp.Serilog.Enrichers.Application\LINGYUN.Abp.Serilog.Enrichers.Application.csproj", "{596F645E-19F4-45C4-BED6-7BB6B32F5684}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Data.DbMigrator", "modules\common\LINGYUN.Abp.Data.DbMigrator\LINGYUN.Abp.Data.DbMigrator.csproj", "{0F8184B5-37B8-432E-8017-04B903175D31}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "localization", "localization", "{0A54DCB0-29EA-45AA-974A-A0FFEA8F20DC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Localization.CultureMap", "modules\localization\LINGYUN.Abp.Localization.CultureMap\LINGYUN.Abp.Localization.CultureMap.csproj", "{1D2790A9-7871-4918-99CA-5BA00D2F9038}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AspNetCore.HttpOverrides", "modules\common\LINGYUN.Abp.AspNetCore.HttpOverrides\LINGYUN.Abp.AspNetCore.HttpOverrides.csproj", "{CFE2828B-8F60-4852-B79D-27D0032638A1}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {BF8073FF-6403-4ED6-A3CD-74F240DC8044}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BF8073FF-6403-4ED6-A3CD-74F240DC8044}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BF8073FF-6403-4ED6-A3CD-74F240DC8044}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BF8073FF-6403-4ED6-A3CD-74F240DC8044}.Release|Any CPU.Build.0 = Release|Any CPU - {9EA06629-DBAC-4369-9850-B7415D0470B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9EA06629-DBAC-4369-9850-B7415D0470B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9EA06629-DBAC-4369-9850-B7415D0470B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9EA06629-DBAC-4369-9850-B7415D0470B0}.Release|Any CPU.Build.0 = Release|Any CPU - {F87B2BA3-40BC-4CB8-B53E-793C860F285D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F87B2BA3-40BC-4CB8-B53E-793C860F285D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F87B2BA3-40BC-4CB8-B53E-793C860F285D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F87B2BA3-40BC-4CB8-B53E-793C860F285D}.Release|Any CPU.Build.0 = Release|Any CPU - {A0A11373-635B-4343-8EE7-1DFC3611F05A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A0A11373-635B-4343-8EE7-1DFC3611F05A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A0A11373-635B-4343-8EE7-1DFC3611F05A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A0A11373-635B-4343-8EE7-1DFC3611F05A}.Release|Any CPU.Build.0 = Release|Any CPU - {6F13C138-1D71-48F5-A404-94047242E98F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6F13C138-1D71-48F5-A404-94047242E98F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6F13C138-1D71-48F5-A404-94047242E98F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6F13C138-1D71-48F5-A404-94047242E98F}.Release|Any CPU.Build.0 = Release|Any CPU - {843012AC-78C3-4A25-904C-353ED26C8524}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {843012AC-78C3-4A25-904C-353ED26C8524}.Debug|Any CPU.Build.0 = Debug|Any CPU - {843012AC-78C3-4A25-904C-353ED26C8524}.Release|Any CPU.ActiveCfg = Release|Any CPU - {843012AC-78C3-4A25-904C-353ED26C8524}.Release|Any CPU.Build.0 = Release|Any CPU - {FEEA68C2-D545-4AD6-81C7-71D0E2747CC3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FEEA68C2-D545-4AD6-81C7-71D0E2747CC3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FEEA68C2-D545-4AD6-81C7-71D0E2747CC3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FEEA68C2-D545-4AD6-81C7-71D0E2747CC3}.Release|Any CPU.Build.0 = Release|Any CPU - {D879BE04-BEFC-423B-868C-E8BA10605E16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D879BE04-BEFC-423B-868C-E8BA10605E16}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D879BE04-BEFC-423B-868C-E8BA10605E16}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D879BE04-BEFC-423B-868C-E8BA10605E16}.Release|Any CPU.Build.0 = Release|Any CPU - {C675C7DB-5825-4F64-BF76-8A4452A448D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C675C7DB-5825-4F64-BF76-8A4452A448D2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C675C7DB-5825-4F64-BF76-8A4452A448D2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C675C7DB-5825-4F64-BF76-8A4452A448D2}.Release|Any CPU.Build.0 = Release|Any CPU - {A51E2EB5-EEC0-4FB0-99B9-A0FBE0D8B0EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A51E2EB5-EEC0-4FB0-99B9-A0FBE0D8B0EB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A51E2EB5-EEC0-4FB0-99B9-A0FBE0D8B0EB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A51E2EB5-EEC0-4FB0-99B9-A0FBE0D8B0EB}.Release|Any CPU.Build.0 = Release|Any CPU - {E5E51981-864A-4B54-8E50-B5AE8B81245C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E5E51981-864A-4B54-8E50-B5AE8B81245C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E5E51981-864A-4B54-8E50-B5AE8B81245C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E5E51981-864A-4B54-8E50-B5AE8B81245C}.Release|Any CPU.Build.0 = Release|Any CPU - {6514E12E-D97C-4311-8301-F270D4E04A9F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6514E12E-D97C-4311-8301-F270D4E04A9F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6514E12E-D97C-4311-8301-F270D4E04A9F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6514E12E-D97C-4311-8301-F270D4E04A9F}.Release|Any CPU.Build.0 = Release|Any CPU - {77F424CB-75F2-4D7F-8B52-BBE2E09CB423}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {77F424CB-75F2-4D7F-8B52-BBE2E09CB423}.Debug|Any CPU.Build.0 = Debug|Any CPU - {77F424CB-75F2-4D7F-8B52-BBE2E09CB423}.Release|Any CPU.ActiveCfg = Release|Any CPU - {77F424CB-75F2-4D7F-8B52-BBE2E09CB423}.Release|Any CPU.Build.0 = Release|Any CPU - {644FAB8F-ED83-4539-AF43-8F8FE61EF778}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {644FAB8F-ED83-4539-AF43-8F8FE61EF778}.Debug|Any CPU.Build.0 = Debug|Any CPU - {644FAB8F-ED83-4539-AF43-8F8FE61EF778}.Release|Any CPU.ActiveCfg = Release|Any CPU - {644FAB8F-ED83-4539-AF43-8F8FE61EF778}.Release|Any CPU.Build.0 = Release|Any CPU - {648D7B5D-8B78-4F90-BDE0-4AC50C902CC3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {648D7B5D-8B78-4F90-BDE0-4AC50C902CC3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {648D7B5D-8B78-4F90-BDE0-4AC50C902CC3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {648D7B5D-8B78-4F90-BDE0-4AC50C902CC3}.Release|Any CPU.Build.0 = Release|Any CPU - {F762D1BB-66FB-421A-A917-D80B7DCC0DC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F762D1BB-66FB-421A-A917-D80B7DCC0DC0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F762D1BB-66FB-421A-A917-D80B7DCC0DC0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F762D1BB-66FB-421A-A917-D80B7DCC0DC0}.Release|Any CPU.Build.0 = Release|Any CPU - {D63C0CA8-554D-43F2-8DB4-8B464E4C1CDA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D63C0CA8-554D-43F2-8DB4-8B464E4C1CDA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D63C0CA8-554D-43F2-8DB4-8B464E4C1CDA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D63C0CA8-554D-43F2-8DB4-8B464E4C1CDA}.Release|Any CPU.Build.0 = Release|Any CPU - {79CAF2CA-E9E1-48A5-A21F-3786383C12E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {79CAF2CA-E9E1-48A5-A21F-3786383C12E0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {79CAF2CA-E9E1-48A5-A21F-3786383C12E0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {79CAF2CA-E9E1-48A5-A21F-3786383C12E0}.Release|Any CPU.Build.0 = Release|Any CPU - {46C3E5D2-7738-4C0F-AC51-C61A024CAF23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {46C3E5D2-7738-4C0F-AC51-C61A024CAF23}.Debug|Any CPU.Build.0 = Debug|Any CPU - {46C3E5D2-7738-4C0F-AC51-C61A024CAF23}.Release|Any CPU.ActiveCfg = Release|Any CPU - {46C3E5D2-7738-4C0F-AC51-C61A024CAF23}.Release|Any CPU.Build.0 = Release|Any CPU - {6D86FA60-9969-4401-851C-6B8845B3FCC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6D86FA60-9969-4401-851C-6B8845B3FCC9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6D86FA60-9969-4401-851C-6B8845B3FCC9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6D86FA60-9969-4401-851C-6B8845B3FCC9}.Release|Any CPU.Build.0 = Release|Any CPU - {489CC1F9-C648-4E3C-869B-0CEE0454EE9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {489CC1F9-C648-4E3C-869B-0CEE0454EE9E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {489CC1F9-C648-4E3C-869B-0CEE0454EE9E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {489CC1F9-C648-4E3C-869B-0CEE0454EE9E}.Release|Any CPU.Build.0 = Release|Any CPU - {596F645E-19F4-45C4-BED6-7BB6B32F5684}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {596F645E-19F4-45C4-BED6-7BB6B32F5684}.Debug|Any CPU.Build.0 = Debug|Any CPU - {596F645E-19F4-45C4-BED6-7BB6B32F5684}.Release|Any CPU.ActiveCfg = Release|Any CPU - {596F645E-19F4-45C4-BED6-7BB6B32F5684}.Release|Any CPU.Build.0 = Release|Any CPU - {0F8184B5-37B8-432E-8017-04B903175D31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0F8184B5-37B8-432E-8017-04B903175D31}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0F8184B5-37B8-432E-8017-04B903175D31}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0F8184B5-37B8-432E-8017-04B903175D31}.Release|Any CPU.Build.0 = Release|Any CPU - {1D2790A9-7871-4918-99CA-5BA00D2F9038}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1D2790A9-7871-4918-99CA-5BA00D2F9038}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1D2790A9-7871-4918-99CA-5BA00D2F9038}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1D2790A9-7871-4918-99CA-5BA00D2F9038}.Release|Any CPU.Build.0 = Release|Any CPU - {CFE2828B-8F60-4852-B79D-27D0032638A1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CFE2828B-8F60-4852-B79D-27D0032638A1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CFE2828B-8F60-4852-B79D-27D0032638A1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CFE2828B-8F60-4852-B79D-27D0032638A1}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {BF8073FF-6403-4ED6-A3CD-74F240DC8044} = {DDCA574F-911B-4547-BA21-12CCE1022D95} - {98887A8F-7040-4FA1-842F-A4C77A61ED09} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {9EA06629-DBAC-4369-9850-B7415D0470B0} = {98887A8F-7040-4FA1-842F-A4C77A61ED09} - {70B8D735-1E89-4163-8EDB-56A74E374CF4} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {F87B2BA3-40BC-4CB8-B53E-793C860F285D} = {70B8D735-1E89-4163-8EDB-56A74E374CF4} - {AF8AECC8-0F42-4FC5-B3C0-00987BA8279F} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {2FEA83BA-2E6D-40AF-8781-12CFD042457F} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {A0A11373-635B-4343-8EE7-1DFC3611F05A} = {2FEA83BA-2E6D-40AF-8781-12CFD042457F} - {6F13C138-1D71-48F5-A404-94047242E98F} = {AF8AECC8-0F42-4FC5-B3C0-00987BA8279F} - {572DBB40-4637-4C01-8491-8686F7E22B45} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {843012AC-78C3-4A25-904C-353ED26C8524} = {572DBB40-4637-4C01-8491-8686F7E22B45} - {FEEA68C2-D545-4AD6-81C7-71D0E2747CC3} = {6CB9D0F3-8D50-49B5-98E2-D777717E51E8} - {D879BE04-BEFC-423B-868C-E8BA10605E16} = {6CB9D0F3-8D50-49B5-98E2-D777717E51E8} - {6CB9D0F3-8D50-49B5-98E2-D777717E51E8} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {C675C7DB-5825-4F64-BF76-8A4452A448D2} = {572DBB40-4637-4C01-8491-8686F7E22B45} - {A51E2EB5-EEC0-4FB0-99B9-A0FBE0D8B0EB} = {572DBB40-4637-4C01-8491-8686F7E22B45} - {E5E51981-864A-4B54-8E50-B5AE8B81245C} = {70B8D735-1E89-4163-8EDB-56A74E374CF4} - {6514E12E-D97C-4311-8301-F270D4E04A9F} = {70B8D735-1E89-4163-8EDB-56A74E374CF4} - {77F424CB-75F2-4D7F-8B52-BBE2E09CB423} = {70B8D735-1E89-4163-8EDB-56A74E374CF4} - {644FAB8F-ED83-4539-AF43-8F8FE61EF778} = {98887A8F-7040-4FA1-842F-A4C77A61ED09} - {648D7B5D-8B78-4F90-BDE0-4AC50C902CC3} = {AF8AECC8-0F42-4FC5-B3C0-00987BA8279F} - {F762D1BB-66FB-421A-A917-D80B7DCC0DC0} = {AF8AECC8-0F42-4FC5-B3C0-00987BA8279F} - {D63C0CA8-554D-43F2-8DB4-8B464E4C1CDA} = {98887A8F-7040-4FA1-842F-A4C77A61ED09} - {79CAF2CA-E9E1-48A5-A21F-3786383C12E0} = {98887A8F-7040-4FA1-842F-A4C77A61ED09} - {46C3E5D2-7738-4C0F-AC51-C61A024CAF23} = {AF8AECC8-0F42-4FC5-B3C0-00987BA8279F} - {ACA1734A-4BF5-4DF9-94CF-3E5B3535B480} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {42D02351-CF36-402A-B89A-F10D3DAD8EC8} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {6D86FA60-9969-4401-851C-6B8845B3FCC9} = {42D02351-CF36-402A-B89A-F10D3DAD8EC8} - {489CC1F9-C648-4E3C-869B-0CEE0454EE9E} = {42D02351-CF36-402A-B89A-F10D3DAD8EC8} - {596F645E-19F4-45C4-BED6-7BB6B32F5684} = {ACA1734A-4BF5-4DF9-94CF-3E5B3535B480} - {0F8184B5-37B8-432E-8017-04B903175D31} = {572DBB40-4637-4C01-8491-8686F7E22B45} - {0A54DCB0-29EA-45AA-974A-A0FFEA8F20DC} = {7C727110-59CA-495B-8143-C5DDEDE41289} - {1D2790A9-7871-4918-99CA-5BA00D2F9038} = {0A54DCB0-29EA-45AA-974A-A0FFEA8F20DC} - {CFE2828B-8F60-4852-B79D-27D0032638A1} = {572DBB40-4637-4C01-8491-8686F7E22B45} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {FCB77471-9ECB-4666-A316-1D6A6285A468} - EndGlobalSection -EndGlobal diff --git a/aspnet-core/LINGYUN.MicroService.IdentityServerAdmin.sln b/aspnet-core/LINGYUN.MicroService.IdentityServerAdmin.sln deleted file mode 100644 index dd3a10d29..000000000 --- a/aspnet-core/LINGYUN.MicroService.IdentityServerAdmin.sln +++ /dev/null @@ -1,266 +0,0 @@ -锘 -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30011.22 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modules", "modules", "{14B8F528-C649-4FAD-9BBB-6C979ED403E1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.Domain", "modules\identityServer\LINGYUN.Abp.IdentityServer.Domain\LINGYUN.Abp.IdentityServer.Domain.csproj", "{DC379D12-77E1-4600-8E99-AAD9B92C3A1B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.Application.Contracts", "modules\identityServer\LINGYUN.Abp.IdentityServer.Application.Contracts\LINGYUN.Abp.IdentityServer.Application.Contracts.csproj", "{3265F0C5-2D16-4CA8-A980-1B4B3CB928BB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.Application", "modules\identityServer\LINGYUN.Abp.IdentityServer.Application\LINGYUN.Abp.IdentityServer.Application.csproj", "{DBC8DC97-06DD-4496-9D2A-F28FDD379AE4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.EntityFrameworkCore", "modules\identityServer\LINGYUN.Abp.IdentityServer.EntityFrameworkCore\LINGYUN.Abp.IdentityServer.EntityFrameworkCore.csproj", "{DA57672C-501D-4CAF-8BF2-4D93B2D460BF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer.HttpApi", "modules\identityServer\LINGYUN.Abp.IdentityServer.HttpApi\LINGYUN.Abp.IdentityServer.HttpApi.csproj", "{9C505703-C073-4E7F-9BB5-9DE0631C95AB}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "services", "services", "{0CA2F891-7E8E-453B-9FEF-ADCBEB7795DD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IdentityServer4.HttpApi.Host", "services\identity-server\LINGYUN.Abp.IdentityServer4.HttpApi.Host\LINGYUN.Abp.IdentityServer4.HttpApi.Host.csproj", "{DE9E58E2-268C-4DF0-85AA-FF7F328B62F0}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "account", "account", "{4F06C65B-22CC-466E-B3FD-3F695DD38191}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identity-server", "identity-server", "{7AB942D5-D139-4F9F-9342-71534AA3A5AC}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "identity", "identity", "{BD964040-90B2-4179-A5EB-5830F5C7E073}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Account.Application.Contracts", "modules\account\LINGYUN.Abp.Account.Application.Contracts\LINGYUN.Abp.Account.Application.Contracts.csproj", "{A4DFDE21-1931-46B5-8381-36B6EB6E51E1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Account.Application", "modules\account\LINGYUN.Abp.Account.Application\LINGYUN.Abp.Account.Application.csproj", "{6EE4D85F-6035-4AB5-B650-9E3D3A2AA8D2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Account.HttpApi", "modules\account\LINGYUN.Abp.Account.HttpApi\LINGYUN.Abp.Account.HttpApi.csproj", "{BB1124C0-79F4-4E72-8854-945B3F0AD76D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Domain", "modules\identity\LINGYUN.Abp.Identity.Domain\LINGYUN.Abp.Identity.Domain.csproj", "{E22445B9-7039-4DA1-B547-BAB437D6D2B3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Application.Contracts", "modules\identity\LINGYUN.Abp.Identity.Application.Contracts\LINGYUN.Abp.Identity.Application.Contracts.csproj", "{116D9D69-ED2C-4F23-9445-3981D8EA0EB7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Application", "modules\identity\LINGYUN.Abp.Identity.Application\LINGYUN.Abp.Identity.Application.csproj", "{B07A1763-1B37-4416-8F0C-B938C175A56D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.HttpApi", "modules\identity\LINGYUN.Abp.Identity.HttpApi\LINGYUN.Abp.Identity.HttpApi.csproj", "{0F87C16B-8E91-4B25-B501-AD81F8EC599E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.EntityFrameworkCore", "modules\identity\LINGYUN.Abp.Identity.EntityFrameworkCore\LINGYUN.Abp.Identity.EntityFrameworkCore.csproj", "{BF059F48-C8C0-4E17-AC4F-A1D1ADE405C7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.HttpApi.Client", "modules\identity\LINGYUN.Abp.Identity.HttpApi.Client\LINGYUN.Abp.Identity.HttpApi.Client.csproj", "{6679A09F-124A-470A-81F5-A94302CEFEE4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.PermissionManagement.Domain.Identity", "modules\identity\LINGYUN.Abp.PermissionManagement.Domain.Identity\LINGYUN.Abp.PermissionManagement.Domain.Identity.csproj", "{177B6CD3-1690-416D-9B37-A821093DEFBD}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "wechat", "wechat", "{7EE9651C-17B0-4343-A2ED-92439F8C9019}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{FD2DDD48-8F84-4924-BBAF-52080AB32267}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Settings", "modules\common\LINGYUN.Abp.Settings\LINGYUN.Abp.Settings.csproj", "{A8C83B9C-C9BF-48EF-80FF-D4FE2C936EFC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.Domain.Shared", "modules\identity\LINGYUN.Abp.Identity.Domain.Shared\LINGYUN.Abp.Identity.Domain.Shared.csproj", "{23536755-4F00-4929-9C5E-D4CABD1CC513}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.ExceptionHandling", "modules\common\LINGYUN.Abp.ExceptionHandling\LINGYUN.Abp.ExceptionHandling.csproj", "{80A418EB-6149-4684-80EF-D8574B91FE2B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.ExceptionHandling.Emailing", "modules\common\LINGYUN.Abp.ExceptionHandling.Emailing\LINGYUN.Abp.ExceptionHandling.Emailing.csproj", "{986B0610-4AC3-499A-AB81-DF15EA06F4D1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat", "modules\wechat\LINGYUN.Abp.WeChat\LINGYUN.Abp.WeChat.csproj", "{53E90646-2933-4381-9386-6BC6ED16E71A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Aliyun.Authorization", "modules\common\LINGYUN.Abp.Aliyun.Authorization\LINGYUN.Abp.Aliyun.Authorization.csproj", "{720120B4-76F6-4701-9426-611BB8F84515}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Sms.Aliyun", "modules\common\LINGYUN.Abp.Sms.Aliyun\LINGYUN.Abp.Sms.Aliyun.csproj", "{D89ECB96-3349-4E77-B884-C18B30289D0D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EventBus.CAP", "modules\common\LINGYUN.Abp.EventBus.CAP\LINGYUN.Abp.EventBus.CAP.csproj", "{39B77454-52AB-43BE-AB33-7680719415A6}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tenants", "tenants", "{89BA9708-62E5-4FD6-A28A-CF9E1C26DCAE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MultiTenancy", "modules\tenants\LINGYUN.Abp.MultiTenancy\LINGYUN.Abp.MultiTenancy.csproj", "{99B60A42-29DA-4D91-9255-B90F53BC6D6E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MultiTenancy.DbFinder", "modules\tenants\LINGYUN.Abp.MultiTenancy.DbFinder\LINGYUN.Abp.MultiTenancy.DbFinder.csproj", "{70C4FA43-0526-48E3-B852-A21395502604}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AspNetCore.Mvc.Validation", "modules\common\LINGYUN.Abp.AspNetCore.Mvc.Validation\LINGYUN.Abp.AspNetCore.Mvc.Validation.csproj", "{B3181D37-F379-4E16-8621-5E739C519393}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat.MiniProgram", "modules\wechat\LINGYUN.Abp.WeChat.MiniProgram\LINGYUN.Abp.WeChat.MiniProgram.csproj", "{AD1C3335-A2A1-49C1-A6DB-817C54859B65}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "auditing", "auditing", "{B603FEC6-2944-4F95-9090-23F1E7076115}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logging", "logging", "{80E73A15-533B-41A2-A156-0EE7FF9B9C1B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging", "modules\auditing\LINGYUN.Abp.AuditLogging\LINGYUN.Abp.AuditLogging.csproj", "{5A56F74D-C903-4D9E-A7BD-819C4B793776}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.Elasticsearch", "modules\auditing\LINGYUN.Abp.AuditLogging.Elasticsearch\LINGYUN.Abp.AuditLogging.Elasticsearch.csproj", "{8906DFC9-EA5C-4CDF-9196-8E85D37E8EAC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Serilog.Enrichers.Application", "modules\logging\LINGYUN.Abp.Serilog.Enrichers.Application\LINGYUN.Abp.Serilog.Enrichers.Application.csproj", "{83168929-00E1-468C-8AD4-2C142E7B9ED6}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DC379D12-77E1-4600-8E99-AAD9B92C3A1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DC379D12-77E1-4600-8E99-AAD9B92C3A1B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DC379D12-77E1-4600-8E99-AAD9B92C3A1B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DC379D12-77E1-4600-8E99-AAD9B92C3A1B}.Release|Any CPU.Build.0 = Release|Any CPU - {3265F0C5-2D16-4CA8-A980-1B4B3CB928BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3265F0C5-2D16-4CA8-A980-1B4B3CB928BB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3265F0C5-2D16-4CA8-A980-1B4B3CB928BB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3265F0C5-2D16-4CA8-A980-1B4B3CB928BB}.Release|Any CPU.Build.0 = Release|Any CPU - {DBC8DC97-06DD-4496-9D2A-F28FDD379AE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DBC8DC97-06DD-4496-9D2A-F28FDD379AE4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DBC8DC97-06DD-4496-9D2A-F28FDD379AE4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DBC8DC97-06DD-4496-9D2A-F28FDD379AE4}.Release|Any CPU.Build.0 = Release|Any CPU - {DA57672C-501D-4CAF-8BF2-4D93B2D460BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DA57672C-501D-4CAF-8BF2-4D93B2D460BF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DA57672C-501D-4CAF-8BF2-4D93B2D460BF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DA57672C-501D-4CAF-8BF2-4D93B2D460BF}.Release|Any CPU.Build.0 = Release|Any CPU - {9C505703-C073-4E7F-9BB5-9DE0631C95AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9C505703-C073-4E7F-9BB5-9DE0631C95AB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9C505703-C073-4E7F-9BB5-9DE0631C95AB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9C505703-C073-4E7F-9BB5-9DE0631C95AB}.Release|Any CPU.Build.0 = Release|Any CPU - {DE9E58E2-268C-4DF0-85AA-FF7F328B62F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DE9E58E2-268C-4DF0-85AA-FF7F328B62F0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DE9E58E2-268C-4DF0-85AA-FF7F328B62F0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DE9E58E2-268C-4DF0-85AA-FF7F328B62F0}.Release|Any CPU.Build.0 = Release|Any CPU - {A4DFDE21-1931-46B5-8381-36B6EB6E51E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A4DFDE21-1931-46B5-8381-36B6EB6E51E1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A4DFDE21-1931-46B5-8381-36B6EB6E51E1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A4DFDE21-1931-46B5-8381-36B6EB6E51E1}.Release|Any CPU.Build.0 = Release|Any CPU - {6EE4D85F-6035-4AB5-B650-9E3D3A2AA8D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6EE4D85F-6035-4AB5-B650-9E3D3A2AA8D2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6EE4D85F-6035-4AB5-B650-9E3D3A2AA8D2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6EE4D85F-6035-4AB5-B650-9E3D3A2AA8D2}.Release|Any CPU.Build.0 = Release|Any CPU - {BB1124C0-79F4-4E72-8854-945B3F0AD76D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BB1124C0-79F4-4E72-8854-945B3F0AD76D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BB1124C0-79F4-4E72-8854-945B3F0AD76D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BB1124C0-79F4-4E72-8854-945B3F0AD76D}.Release|Any CPU.Build.0 = Release|Any CPU - {E22445B9-7039-4DA1-B547-BAB437D6D2B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E22445B9-7039-4DA1-B547-BAB437D6D2B3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E22445B9-7039-4DA1-B547-BAB437D6D2B3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E22445B9-7039-4DA1-B547-BAB437D6D2B3}.Release|Any CPU.Build.0 = Release|Any CPU - {116D9D69-ED2C-4F23-9445-3981D8EA0EB7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {116D9D69-ED2C-4F23-9445-3981D8EA0EB7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {116D9D69-ED2C-4F23-9445-3981D8EA0EB7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {116D9D69-ED2C-4F23-9445-3981D8EA0EB7}.Release|Any CPU.Build.0 = Release|Any CPU - {B07A1763-1B37-4416-8F0C-B938C175A56D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B07A1763-1B37-4416-8F0C-B938C175A56D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B07A1763-1B37-4416-8F0C-B938C175A56D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B07A1763-1B37-4416-8F0C-B938C175A56D}.Release|Any CPU.Build.0 = Release|Any CPU - {0F87C16B-8E91-4B25-B501-AD81F8EC599E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0F87C16B-8E91-4B25-B501-AD81F8EC599E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0F87C16B-8E91-4B25-B501-AD81F8EC599E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0F87C16B-8E91-4B25-B501-AD81F8EC599E}.Release|Any CPU.Build.0 = Release|Any CPU - {BF059F48-C8C0-4E17-AC4F-A1D1ADE405C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BF059F48-C8C0-4E17-AC4F-A1D1ADE405C7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BF059F48-C8C0-4E17-AC4F-A1D1ADE405C7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BF059F48-C8C0-4E17-AC4F-A1D1ADE405C7}.Release|Any CPU.Build.0 = Release|Any CPU - {6679A09F-124A-470A-81F5-A94302CEFEE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6679A09F-124A-470A-81F5-A94302CEFEE4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6679A09F-124A-470A-81F5-A94302CEFEE4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6679A09F-124A-470A-81F5-A94302CEFEE4}.Release|Any CPU.Build.0 = Release|Any CPU - {177B6CD3-1690-416D-9B37-A821093DEFBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {177B6CD3-1690-416D-9B37-A821093DEFBD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {177B6CD3-1690-416D-9B37-A821093DEFBD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {177B6CD3-1690-416D-9B37-A821093DEFBD}.Release|Any CPU.Build.0 = Release|Any CPU - {A8C83B9C-C9BF-48EF-80FF-D4FE2C936EFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A8C83B9C-C9BF-48EF-80FF-D4FE2C936EFC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A8C83B9C-C9BF-48EF-80FF-D4FE2C936EFC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A8C83B9C-C9BF-48EF-80FF-D4FE2C936EFC}.Release|Any CPU.Build.0 = Release|Any CPU - {23536755-4F00-4929-9C5E-D4CABD1CC513}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {23536755-4F00-4929-9C5E-D4CABD1CC513}.Debug|Any CPU.Build.0 = Debug|Any CPU - {23536755-4F00-4929-9C5E-D4CABD1CC513}.Release|Any CPU.ActiveCfg = Release|Any CPU - {23536755-4F00-4929-9C5E-D4CABD1CC513}.Release|Any CPU.Build.0 = Release|Any CPU - {80A418EB-6149-4684-80EF-D8574B91FE2B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {80A418EB-6149-4684-80EF-D8574B91FE2B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {80A418EB-6149-4684-80EF-D8574B91FE2B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {80A418EB-6149-4684-80EF-D8574B91FE2B}.Release|Any CPU.Build.0 = Release|Any CPU - {986B0610-4AC3-499A-AB81-DF15EA06F4D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {986B0610-4AC3-499A-AB81-DF15EA06F4D1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {986B0610-4AC3-499A-AB81-DF15EA06F4D1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {986B0610-4AC3-499A-AB81-DF15EA06F4D1}.Release|Any CPU.Build.0 = Release|Any CPU - {53E90646-2933-4381-9386-6BC6ED16E71A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {53E90646-2933-4381-9386-6BC6ED16E71A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {53E90646-2933-4381-9386-6BC6ED16E71A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {53E90646-2933-4381-9386-6BC6ED16E71A}.Release|Any CPU.Build.0 = Release|Any CPU - {720120B4-76F6-4701-9426-611BB8F84515}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {720120B4-76F6-4701-9426-611BB8F84515}.Debug|Any CPU.Build.0 = Debug|Any CPU - {720120B4-76F6-4701-9426-611BB8F84515}.Release|Any CPU.ActiveCfg = Release|Any CPU - {720120B4-76F6-4701-9426-611BB8F84515}.Release|Any CPU.Build.0 = Release|Any CPU - {D89ECB96-3349-4E77-B884-C18B30289D0D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D89ECB96-3349-4E77-B884-C18B30289D0D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D89ECB96-3349-4E77-B884-C18B30289D0D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D89ECB96-3349-4E77-B884-C18B30289D0D}.Release|Any CPU.Build.0 = Release|Any CPU - {39B77454-52AB-43BE-AB33-7680719415A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {39B77454-52AB-43BE-AB33-7680719415A6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {39B77454-52AB-43BE-AB33-7680719415A6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {39B77454-52AB-43BE-AB33-7680719415A6}.Release|Any CPU.Build.0 = Release|Any CPU - {99B60A42-29DA-4D91-9255-B90F53BC6D6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {99B60A42-29DA-4D91-9255-B90F53BC6D6E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {99B60A42-29DA-4D91-9255-B90F53BC6D6E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {99B60A42-29DA-4D91-9255-B90F53BC6D6E}.Release|Any CPU.Build.0 = Release|Any CPU - {70C4FA43-0526-48E3-B852-A21395502604}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {70C4FA43-0526-48E3-B852-A21395502604}.Debug|Any CPU.Build.0 = Debug|Any CPU - {70C4FA43-0526-48E3-B852-A21395502604}.Release|Any CPU.ActiveCfg = Release|Any CPU - {70C4FA43-0526-48E3-B852-A21395502604}.Release|Any CPU.Build.0 = Release|Any CPU - {B3181D37-F379-4E16-8621-5E739C519393}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B3181D37-F379-4E16-8621-5E739C519393}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B3181D37-F379-4E16-8621-5E739C519393}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B3181D37-F379-4E16-8621-5E739C519393}.Release|Any CPU.Build.0 = Release|Any CPU - {AD1C3335-A2A1-49C1-A6DB-817C54859B65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AD1C3335-A2A1-49C1-A6DB-817C54859B65}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AD1C3335-A2A1-49C1-A6DB-817C54859B65}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AD1C3335-A2A1-49C1-A6DB-817C54859B65}.Release|Any CPU.Build.0 = Release|Any CPU - {5A56F74D-C903-4D9E-A7BD-819C4B793776}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5A56F74D-C903-4D9E-A7BD-819C4B793776}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5A56F74D-C903-4D9E-A7BD-819C4B793776}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5A56F74D-C903-4D9E-A7BD-819C4B793776}.Release|Any CPU.Build.0 = Release|Any CPU - {8906DFC9-EA5C-4CDF-9196-8E85D37E8EAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8906DFC9-EA5C-4CDF-9196-8E85D37E8EAC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8906DFC9-EA5C-4CDF-9196-8E85D37E8EAC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8906DFC9-EA5C-4CDF-9196-8E85D37E8EAC}.Release|Any CPU.Build.0 = Release|Any CPU - {83168929-00E1-468C-8AD4-2C142E7B9ED6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {83168929-00E1-468C-8AD4-2C142E7B9ED6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {83168929-00E1-468C-8AD4-2C142E7B9ED6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {83168929-00E1-468C-8AD4-2C142E7B9ED6}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {DC379D12-77E1-4600-8E99-AAD9B92C3A1B} = {7AB942D5-D139-4F9F-9342-71534AA3A5AC} - {3265F0C5-2D16-4CA8-A980-1B4B3CB928BB} = {7AB942D5-D139-4F9F-9342-71534AA3A5AC} - {DBC8DC97-06DD-4496-9D2A-F28FDD379AE4} = {7AB942D5-D139-4F9F-9342-71534AA3A5AC} - {DA57672C-501D-4CAF-8BF2-4D93B2D460BF} = {7AB942D5-D139-4F9F-9342-71534AA3A5AC} - {9C505703-C073-4E7F-9BB5-9DE0631C95AB} = {7AB942D5-D139-4F9F-9342-71534AA3A5AC} - {DE9E58E2-268C-4DF0-85AA-FF7F328B62F0} = {0CA2F891-7E8E-453B-9FEF-ADCBEB7795DD} - {4F06C65B-22CC-466E-B3FD-3F695DD38191} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {7AB942D5-D139-4F9F-9342-71534AA3A5AC} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {BD964040-90B2-4179-A5EB-5830F5C7E073} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {A4DFDE21-1931-46B5-8381-36B6EB6E51E1} = {4F06C65B-22CC-466E-B3FD-3F695DD38191} - {6EE4D85F-6035-4AB5-B650-9E3D3A2AA8D2} = {4F06C65B-22CC-466E-B3FD-3F695DD38191} - {BB1124C0-79F4-4E72-8854-945B3F0AD76D} = {4F06C65B-22CC-466E-B3FD-3F695DD38191} - {E22445B9-7039-4DA1-B547-BAB437D6D2B3} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {116D9D69-ED2C-4F23-9445-3981D8EA0EB7} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {B07A1763-1B37-4416-8F0C-B938C175A56D} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {0F87C16B-8E91-4B25-B501-AD81F8EC599E} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {BF059F48-C8C0-4E17-AC4F-A1D1ADE405C7} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {6679A09F-124A-470A-81F5-A94302CEFEE4} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {177B6CD3-1690-416D-9B37-A821093DEFBD} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {7EE9651C-17B0-4343-A2ED-92439F8C9019} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {FD2DDD48-8F84-4924-BBAF-52080AB32267} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {A8C83B9C-C9BF-48EF-80FF-D4FE2C936EFC} = {FD2DDD48-8F84-4924-BBAF-52080AB32267} - {23536755-4F00-4929-9C5E-D4CABD1CC513} = {BD964040-90B2-4179-A5EB-5830F5C7E073} - {80A418EB-6149-4684-80EF-D8574B91FE2B} = {FD2DDD48-8F84-4924-BBAF-52080AB32267} - {986B0610-4AC3-499A-AB81-DF15EA06F4D1} = {FD2DDD48-8F84-4924-BBAF-52080AB32267} - {53E90646-2933-4381-9386-6BC6ED16E71A} = {7EE9651C-17B0-4343-A2ED-92439F8C9019} - {720120B4-76F6-4701-9426-611BB8F84515} = {FD2DDD48-8F84-4924-BBAF-52080AB32267} - {D89ECB96-3349-4E77-B884-C18B30289D0D} = {FD2DDD48-8F84-4924-BBAF-52080AB32267} - {39B77454-52AB-43BE-AB33-7680719415A6} = {FD2DDD48-8F84-4924-BBAF-52080AB32267} - {89BA9708-62E5-4FD6-A28A-CF9E1C26DCAE} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {99B60A42-29DA-4D91-9255-B90F53BC6D6E} = {89BA9708-62E5-4FD6-A28A-CF9E1C26DCAE} - {70C4FA43-0526-48E3-B852-A21395502604} = {89BA9708-62E5-4FD6-A28A-CF9E1C26DCAE} - {B3181D37-F379-4E16-8621-5E739C519393} = {FD2DDD48-8F84-4924-BBAF-52080AB32267} - {AD1C3335-A2A1-49C1-A6DB-817C54859B65} = {7EE9651C-17B0-4343-A2ED-92439F8C9019} - {B603FEC6-2944-4F95-9090-23F1E7076115} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {80E73A15-533B-41A2-A156-0EE7FF9B9C1B} = {14B8F528-C649-4FAD-9BBB-6C979ED403E1} - {5A56F74D-C903-4D9E-A7BD-819C4B793776} = {B603FEC6-2944-4F95-9090-23F1E7076115} - {8906DFC9-EA5C-4CDF-9196-8E85D37E8EAC} = {B603FEC6-2944-4F95-9090-23F1E7076115} - {83168929-00E1-468C-8AD4-2C142E7B9ED6} = {80E73A15-533B-41A2-A156-0EE7FF9B9C1B} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {785FFF4D-BC59-499E-88A3-7CB7A7667228} - EndGlobalSection -EndGlobal diff --git a/aspnet-core/LINGYUN.MicroService.Localization.sln b/aspnet-core/LINGYUN.MicroService.Localization.sln deleted file mode 100644 index 74c497a13..000000000 --- a/aspnet-core/LINGYUN.MicroService.Localization.sln +++ /dev/null @@ -1,142 +0,0 @@ -锘 -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30011.22 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "domain", "domain", "{CF697D78-3739-4D8F-BAC8-7C4634DFC90C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{B11AD75C-4E23-4B14-B603-9C96E6984038}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "application", "application", "{612E23BE-BEA4-4CC8-A0E9-8FA40FA56BC1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "host", "host", "{539D5535-0D23-4CCF-9E1C-D50317EDE955}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.Domain.Shared", "modules\lt\LINGYUN.Abp.LocalizationManagement.Domain.Shared\LINGYUN.Abp.LocalizationManagement.Domain.Shared.csproj", "{71DD3BE3-A280-4B28-B2AF-90F205EA18AE}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{19D90C55-2B0C-4E41-8BE5-23BA946071DB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Localization.Dynamic", "modules\common\LINGYUN.Abp.Localization.Dynamic\LINGYUN.Abp.Localization.Dynamic.csproj", "{40CF389F-A5BB-4552-9A67-8DE63D9CB1BB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.Domain", "modules\lt\LINGYUN.Abp.LocalizationManagement.Domain\LINGYUN.Abp.LocalizationManagement.Domain.csproj", "{56AE0031-E7A1-4848-B49B-748C85BA596E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore", "modules\lt\LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore\LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore.csproj", "{FAB14701-1EC3-434F-86B3-8E74E32C863C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.Application.Contracts", "modules\lt\LINGYUN.Abp.LocalizationManagement.Application.Contracts\LINGYUN.Abp.LocalizationManagement.Application.Contracts.csproj", "{3BE4838C-835C-4D8E-A2A6-8B8ED82E9438}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.Application", "modules\lt\LINGYUN.Abp.LocalizationManagement.Application\LINGYUN.Abp.LocalizationManagement.Application.csproj", "{58A101BA-386B-4783-B720-4E0AAC71D170}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "controllers", "controllers", "{56389F5B-58D0-4763-9E88-D2464C305E2A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.HttpApi", "modules\lt\LINGYUN.Abp.LocalizationManagement.HttpApi\LINGYUN.Abp.LocalizationManagement.HttpApi.csproj", "{473785CC-C076-4D6F-AA1A-FAD4CFE73244}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.LocalizationManagement.HttpApi.Host", "services\localization\LINGYUN.Abp.LocalizationManagement.HttpApi.Host\LINGYUN.Abp.LocalizationManagement.HttpApi.Host.csproj", "{4535F41E-7DAC-4025-BACC-025843445A1C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EventBus.CAP", "modules\common\LINGYUN.Abp.EventBus.CAP\LINGYUN.Abp.EventBus.CAP.csproj", "{E984184E-066E-4E66-A044-284EB7062EF3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.ExceptionHandling.Emailing", "modules\common\LINGYUN.Abp.ExceptionHandling.Emailing\LINGYUN.Abp.ExceptionHandling.Emailing.csproj", "{FA58403F-8933-4624-B683-2B35E50193E8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MultiTenancy.DbFinder", "modules\tenants\LINGYUN.Abp.MultiTenancy.DbFinder\LINGYUN.Abp.MultiTenancy.DbFinder.csproj", "{C28D515B-A1A8-480E-9341-E25AE6C8A8A8}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logging", "logging", "{F89D9154-58D8-4F26-8DD7-F907D68DB9E5}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "auditing", "auditing", "{0C15D7EE-42C4-4FB5-9970-8ED75B02EE9E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Serilog.Enrichers.Application", "modules\logging\LINGYUN.Abp.Serilog.Enrichers.Application\LINGYUN.Abp.Serilog.Enrichers.Application.csproj", "{7BC49B77-7EFF-4998-9628-748DF18125C6}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging", "modules\auditing\LINGYUN.Abp.AuditLogging\LINGYUN.Abp.AuditLogging.csproj", "{B71D1883-106A-409B-958A-2D1F561F4357}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.Elasticsearch", "modules\auditing\LINGYUN.Abp.AuditLogging.Elasticsearch\LINGYUN.Abp.AuditLogging.Elasticsearch.csproj", "{EB92BC91-D883-4AB0-9F93-72AA9D7CC68C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Data.DbMigrator", "modules\common\LINGYUN.Abp.Data.DbMigrator\LINGYUN.Abp.Data.DbMigrator.csproj", "{37E0844A-61C6-47FA-9F76-79628B412818}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {71DD3BE3-A280-4B28-B2AF-90F205EA18AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {71DD3BE3-A280-4B28-B2AF-90F205EA18AE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {71DD3BE3-A280-4B28-B2AF-90F205EA18AE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {71DD3BE3-A280-4B28-B2AF-90F205EA18AE}.Release|Any CPU.Build.0 = Release|Any CPU - {40CF389F-A5BB-4552-9A67-8DE63D9CB1BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {40CF389F-A5BB-4552-9A67-8DE63D9CB1BB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {40CF389F-A5BB-4552-9A67-8DE63D9CB1BB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {40CF389F-A5BB-4552-9A67-8DE63D9CB1BB}.Release|Any CPU.Build.0 = Release|Any CPU - {56AE0031-E7A1-4848-B49B-748C85BA596E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {56AE0031-E7A1-4848-B49B-748C85BA596E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {56AE0031-E7A1-4848-B49B-748C85BA596E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {56AE0031-E7A1-4848-B49B-748C85BA596E}.Release|Any CPU.Build.0 = Release|Any CPU - {FAB14701-1EC3-434F-86B3-8E74E32C863C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FAB14701-1EC3-434F-86B3-8E74E32C863C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FAB14701-1EC3-434F-86B3-8E74E32C863C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FAB14701-1EC3-434F-86B3-8E74E32C863C}.Release|Any CPU.Build.0 = Release|Any CPU - {3BE4838C-835C-4D8E-A2A6-8B8ED82E9438}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3BE4838C-835C-4D8E-A2A6-8B8ED82E9438}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3BE4838C-835C-4D8E-A2A6-8B8ED82E9438}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3BE4838C-835C-4D8E-A2A6-8B8ED82E9438}.Release|Any CPU.Build.0 = Release|Any CPU - {58A101BA-386B-4783-B720-4E0AAC71D170}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {58A101BA-386B-4783-B720-4E0AAC71D170}.Debug|Any CPU.Build.0 = Debug|Any CPU - {58A101BA-386B-4783-B720-4E0AAC71D170}.Release|Any CPU.ActiveCfg = Release|Any CPU - {58A101BA-386B-4783-B720-4E0AAC71D170}.Release|Any CPU.Build.0 = Release|Any CPU - {473785CC-C076-4D6F-AA1A-FAD4CFE73244}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {473785CC-C076-4D6F-AA1A-FAD4CFE73244}.Debug|Any CPU.Build.0 = Debug|Any CPU - {473785CC-C076-4D6F-AA1A-FAD4CFE73244}.Release|Any CPU.ActiveCfg = Release|Any CPU - {473785CC-C076-4D6F-AA1A-FAD4CFE73244}.Release|Any CPU.Build.0 = Release|Any CPU - {4535F41E-7DAC-4025-BACC-025843445A1C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4535F41E-7DAC-4025-BACC-025843445A1C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4535F41E-7DAC-4025-BACC-025843445A1C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4535F41E-7DAC-4025-BACC-025843445A1C}.Release|Any CPU.Build.0 = Release|Any CPU - {E984184E-066E-4E66-A044-284EB7062EF3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E984184E-066E-4E66-A044-284EB7062EF3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E984184E-066E-4E66-A044-284EB7062EF3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E984184E-066E-4E66-A044-284EB7062EF3}.Release|Any CPU.Build.0 = Release|Any CPU - {FA58403F-8933-4624-B683-2B35E50193E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FA58403F-8933-4624-B683-2B35E50193E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FA58403F-8933-4624-B683-2B35E50193E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FA58403F-8933-4624-B683-2B35E50193E8}.Release|Any CPU.Build.0 = Release|Any CPU - {C28D515B-A1A8-480E-9341-E25AE6C8A8A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C28D515B-A1A8-480E-9341-E25AE6C8A8A8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C28D515B-A1A8-480E-9341-E25AE6C8A8A8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C28D515B-A1A8-480E-9341-E25AE6C8A8A8}.Release|Any CPU.Build.0 = Release|Any CPU - {7BC49B77-7EFF-4998-9628-748DF18125C6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7BC49B77-7EFF-4998-9628-748DF18125C6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7BC49B77-7EFF-4998-9628-748DF18125C6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7BC49B77-7EFF-4998-9628-748DF18125C6}.Release|Any CPU.Build.0 = Release|Any CPU - {B71D1883-106A-409B-958A-2D1F561F4357}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B71D1883-106A-409B-958A-2D1F561F4357}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B71D1883-106A-409B-958A-2D1F561F4357}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B71D1883-106A-409B-958A-2D1F561F4357}.Release|Any CPU.Build.0 = Release|Any CPU - {EB92BC91-D883-4AB0-9F93-72AA9D7CC68C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EB92BC91-D883-4AB0-9F93-72AA9D7CC68C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EB92BC91-D883-4AB0-9F93-72AA9D7CC68C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EB92BC91-D883-4AB0-9F93-72AA9D7CC68C}.Release|Any CPU.Build.0 = Release|Any CPU - {37E0844A-61C6-47FA-9F76-79628B412818}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {37E0844A-61C6-47FA-9F76-79628B412818}.Debug|Any CPU.Build.0 = Debug|Any CPU - {37E0844A-61C6-47FA-9F76-79628B412818}.Release|Any CPU.ActiveCfg = Release|Any CPU - {37E0844A-61C6-47FA-9F76-79628B412818}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {71DD3BE3-A280-4B28-B2AF-90F205EA18AE} = {CF697D78-3739-4D8F-BAC8-7C4634DFC90C} - {40CF389F-A5BB-4552-9A67-8DE63D9CB1BB} = {19D90C55-2B0C-4E41-8BE5-23BA946071DB} - {56AE0031-E7A1-4848-B49B-748C85BA596E} = {CF697D78-3739-4D8F-BAC8-7C4634DFC90C} - {FAB14701-1EC3-434F-86B3-8E74E32C863C} = {CF697D78-3739-4D8F-BAC8-7C4634DFC90C} - {3BE4838C-835C-4D8E-A2A6-8B8ED82E9438} = {612E23BE-BEA4-4CC8-A0E9-8FA40FA56BC1} - {58A101BA-386B-4783-B720-4E0AAC71D170} = {612E23BE-BEA4-4CC8-A0E9-8FA40FA56BC1} - {473785CC-C076-4D6F-AA1A-FAD4CFE73244} = {56389F5B-58D0-4763-9E88-D2464C305E2A} - {4535F41E-7DAC-4025-BACC-025843445A1C} = {539D5535-0D23-4CCF-9E1C-D50317EDE955} - {E984184E-066E-4E66-A044-284EB7062EF3} = {19D90C55-2B0C-4E41-8BE5-23BA946071DB} - {FA58403F-8933-4624-B683-2B35E50193E8} = {19D90C55-2B0C-4E41-8BE5-23BA946071DB} - {C28D515B-A1A8-480E-9341-E25AE6C8A8A8} = {19D90C55-2B0C-4E41-8BE5-23BA946071DB} - {7BC49B77-7EFF-4998-9628-748DF18125C6} = {F89D9154-58D8-4F26-8DD7-F907D68DB9E5} - {B71D1883-106A-409B-958A-2D1F561F4357} = {0C15D7EE-42C4-4FB5-9970-8ED75B02EE9E} - {EB92BC91-D883-4AB0-9F93-72AA9D7CC68C} = {0C15D7EE-42C4-4FB5-9970-8ED75B02EE9E} - {37E0844A-61C6-47FA-9F76-79628B412818} = {19D90C55-2B0C-4E41-8BE5-23BA946071DB} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {F65E7489-B7F7-469E-8D24-7CBEEBACD119} - EndGlobalSection -EndGlobal diff --git a/aspnet-core/LINGYUN.MicroService.Messages.sln b/aspnet-core/LINGYUN.MicroService.Messages.sln deleted file mode 100644 index a425e82cd..000000000 --- a/aspnet-core/LINGYUN.MicroService.Messages.sln +++ /dev/null @@ -1,308 +0,0 @@ -锘 -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30011.22 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modules", "modules", "{0C7AA298-2957-4D71-A8F1-1C3C7932A1B3}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "services", "services", "{E7A821D8-85B5-4098-897D-5A814BD8131D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{C00828FB-E7D5-4086-BA50-02022594AB73}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.RealTime", "modules\common\LINGYUN.Abp.RealTime\LINGYUN.Abp.RealTime.csproj", "{07BCD006-F2F2-4685-8887-E8BEB18745FD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.RealTime.SignalR", "modules\common\LINGYUN.Abp.RealTime.SignalR\LINGYUN.Abp.RealTime.SignalR.csproj", "{60E37E86-ACA6-4464-9592-B0D8EFB629BD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AspNetCore.SignalR.JwtToken", "modules\common\LINGYUN.Abp.AspNetCore.SignalR\LINGYUN.Abp.AspNetCore.SignalR.JwtToken.csproj", "{85B39FCE-6778-497C-A12E-6777C7FE651A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AspNetCore.SignalR.Protocol.Json", "modules\common\LINGYUN.Abp.AspNetCore.SignalR.Protocol.Json\LINGYUN.Abp.AspNetCore.SignalR.Protocol.Json.csproj", "{8C973655-DF59-40D8-B206-82344575A8CF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IM", "modules\common\LINGYUN.Abp.IM\LINGYUN.Abp.IM.csproj", "{55B9F554-1754-4EF9-B325-B33421D4F6A9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.IM.SignalR", "modules\common\LINGYUN.Abp.IM.SignalR\LINGYUN.Abp.IM.SignalR.csproj", "{7AC8C076-87E2-48ED-8AB3-C1F737F55DD1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Notifications", "modules\common\LINGYUN.Abp.Notifications\LINGYUN.Abp.Notifications.csproj", "{C6F494D3-2C41-46DF-BCAD-F74D3E53CDE1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Notifications.SignalR", "modules\common\LINGYUN.Abp.Notifications.SignalR\LINGYUN.Abp.Notifications.SignalR.csproj", "{3531699A-9FF9-4F8C-BEAD-9D114FE8E519}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.Domain.Shared", "modules\message\LINGYUN.Abp.MessageService.Domain.Shared\LINGYUN.Abp.MessageService.Domain.Shared.csproj", "{50DE8ABF-B50A-4AAB-A69B-4E727AFDB6B5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.Domain", "modules\message\LINGYUN.Abp.MessageService.Domain\LINGYUN.Abp.MessageService.Domain.csproj", "{2094F03B-FC73-4B3F-88CB-F7951E22FED5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.EntityFrameworkCore", "modules\message\LINGYUN.Abp.MessageService.EntityFrameworkCore\LINGYUN.Abp.MessageService.EntityFrameworkCore.csproj", "{554E5BCA-7F88-4E7C-86ED-8B6DE3A3A802}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.Application.Contracts", "modules\message\LINGYUN.Abp.MessageService.Application.Contracts\LINGYUN.Abp.MessageService.Application.Contracts.csproj", "{92E4CAD4-F5B9-4B16-B7BC-4A40DC1E93F1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.Application", "modules\message\LINGYUN.Abp.MessageService.Application\LINGYUN.Abp.MessageService.Application.csproj", "{DB8CE5AF-1888-4C51-97C3-2188BE50FAF9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.HttpApi", "modules\message\LINGYUN.Abp.MessageService.HttpApi\LINGYUN.Abp.MessageService.HttpApi.csproj", "{54395254-0383-4932-B2E4-50932DAD7D10}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.HttpApi.Client", "modules\message\LINGYUN.Abp.MessageService.HttpApi.Client\LINGYUN.Abp.MessageService.HttpApi.Client.csproj", "{3E9CCC0A-DAD5-4F32-8EAE-654D67DEE2B9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.HttpApi.Host", "services\messages\LINGYUN.Abp.MessageService.HttpApi.Host\LINGYUN.Abp.MessageService.HttpApi.Host.csproj", "{8168B7B4-9F6B-4658-A28C-D0F9D10AB93D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "wechat", "wechat", "{78164C5C-63B9-4FB6-ACC9-6496E236C946}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Features.LimitValidation", "modules\common\LINGYUN.Abp.Features.LimitValidation\LINGYUN.Abp.Features.LimitValidation.csproj", "{93971F1F-F6AC-4F83-8119-21260FCE2828}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat", "modules\wechat\LINGYUN.Abp.WeChat\LINGYUN.Abp.WeChat.csproj", "{3B87330F-A303-4413-B653-1C9536C74109}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "message", "message", "{D58F1DF5-2DFE-40A2-B136-7606D4CDE903}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.WeChat.MiniProgram", "modules\wechat\LINGYUN.Abp.WeChat.MiniProgram\LINGYUN.Abp.WeChat.MiniProgram.csproj", "{3A4601FE-B091-43A3-AEE6-6440BB37B277}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Notifications.Sms", "modules\common\LINGYUN.Abp.Notifications.Sms\LINGYUN.Abp.Notifications.Sms.csproj", "{454059F7-D087-439A-A724-80BDFE94776F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Notifications.WeChat.MiniProgram", "modules\wechat\LINGYUN.Abp.Notifications.WeChat.MiniProgram\LINGYUN.Abp.Notifications.WeChat.MiniProgram.csproj", "{64E2622A-611D-4056-9497-0B52A91DC59C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{42800C56-9473-4B96-BF29-1B0F25C867F4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Notifications.Sms.Tests", "tests\LINGYUN.Abp.Notifications.Sms.Tests\LINGYUN.Abp.Notifications.Sms.Tests.csproj", "{5714481A-BDF5-4860-9158-3B18D3018EC5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TestsBase", "tests\LINGYUN.Abp.TestBase\LINGYUN.Abp.TestsBase.csproj", "{B5E23AED-3068-4CFE-84B0-3B7725665506}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Notifications.Tests", "tests\LINGYUN.Abp.Notifications.Tests\LINGYUN.Abp.Notifications.Tests.csproj", "{E5257008-A0AD-473F-91B0-864FC601B84B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Notifications.WeChat.MiniProgram.Tests", "tests\LINGYUN.Abp.Notifications.WeChat.MiniProgram.Tests\LINGYUN.Abp.Notifications.WeChat.MiniProgram.Tests.csproj", "{DB425943-CEE6-4FF6-A0EE-233B6ADA3BD7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EntityFrameworkCore.Tests", "tests\LINGYUN.Abp.EntityFrameworkCore.Tests\LINGYUN.Abp.EntityFrameworkCore.Tests.csproj", "{25267137-08BE-44A6-9F7E-7783CC8C62E8}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.EntityFrameworkCore.Tests", "tests\LINGYUN.Abp.MessageService.EntityFrameworkCore.Tests\LINGYUN.Abp.MessageService.EntityFrameworkCore.Tests.csproj", "{CB6D56DA-539B-4D4F-81CD-D683ADEBFB5F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MessageService.Domain.Tests", "tests\LINGYUN.Abp.MessageService.Domain.Tests\LINGYUN.Abp.MessageService.Domain.Tests.csproj", "{097319B9-D062-4A54-8F8C-001C180E2CB3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.BackgroundJobs.Hangfire", "modules\common\LINGYUN.Abp.BackgroundJobs.Hangfire\LINGYUN.Abp.BackgroundJobs.Hangfire.csproj", "{737EF17D-477F-4C73-A4CC-0DA6CBD3BB97}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Hangfire.Storage.MySql", "modules\common\LINGYUN.Abp.Hangfire.MySqlStorage\LINGYUN.Abp.Hangfire.Storage.MySql.csproj", "{0B6AAACE-A1DE-4063-8DA8-E7EBA30186E4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Hangfire.Dashboard", "modules\common\LINGYUN.Abp.Hangfire.Dashboard\LINGYUN.Abp.Hangfire.Dashboard.csproj", "{05DCBA6B-480A-4D2F-9855-F66F5B7F3A48}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.BackgroundWorkers.Hangfire", "modules\common\LINGYUN.Abp.BackgroundWorkers.Hangfire\LINGYUN.Abp.BackgroundWorkers.Hangfire.csproj", "{32D4DB5D-74D1-4166-85EA-B2D8F14B8058}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EventBus.CAP", "modules\common\LINGYUN.Abp.EventBus.CAP\LINGYUN.Abp.EventBus.CAP.csproj", "{C49B50D4-5D63-47E6-82F7-E742181CF9DE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Identity.WeChat", "modules\wechat\LINGYUN.Abp.Identity.WeChat\LINGYUN.Abp.Identity.WeChat.csproj", "{DC71289C-18A7-4E4B-A653-E66941EB19AE}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "auditing", "auditing", "{F566D959-7F56-4EB4-A448-A87AEFC92178}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logging", "logging", "{91E005C0-3A78-47C2-86F1-A21362ED350E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Serilog.Enrichers.Application", "modules\logging\LINGYUN.Abp.Serilog.Enrichers.Application\LINGYUN.Abp.Serilog.Enrichers.Application.csproj", "{321FC8A7-D595-431A-AC14-1F5E1B901BCF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging", "modules\auditing\LINGYUN.Abp.AuditLogging\LINGYUN.Abp.AuditLogging.csproj", "{4D594462-D10D-46AF-980E-95EDE676F1CF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.Elasticsearch", "modules\auditing\LINGYUN.Abp.AuditLogging.Elasticsearch\LINGYUN.Abp.AuditLogging.Elasticsearch.csproj", "{69F5D2A0-480E-4461-9C30-1678F23258C1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Data.DbMigrator", "modules\common\LINGYUN.Abp.Data.DbMigrator\LINGYUN.Abp.Data.DbMigrator.csproj", "{298D561E-3AFB-4161-82F1-DF0F8C54BBB4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {07BCD006-F2F2-4685-8887-E8BEB18745FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {07BCD006-F2F2-4685-8887-E8BEB18745FD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {07BCD006-F2F2-4685-8887-E8BEB18745FD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {07BCD006-F2F2-4685-8887-E8BEB18745FD}.Release|Any CPU.Build.0 = Release|Any CPU - {60E37E86-ACA6-4464-9592-B0D8EFB629BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {60E37E86-ACA6-4464-9592-B0D8EFB629BD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {60E37E86-ACA6-4464-9592-B0D8EFB629BD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {60E37E86-ACA6-4464-9592-B0D8EFB629BD}.Release|Any CPU.Build.0 = Release|Any CPU - {85B39FCE-6778-497C-A12E-6777C7FE651A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {85B39FCE-6778-497C-A12E-6777C7FE651A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {85B39FCE-6778-497C-A12E-6777C7FE651A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {85B39FCE-6778-497C-A12E-6777C7FE651A}.Release|Any CPU.Build.0 = Release|Any CPU - {8C973655-DF59-40D8-B206-82344575A8CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8C973655-DF59-40D8-B206-82344575A8CF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C973655-DF59-40D8-B206-82344575A8CF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8C973655-DF59-40D8-B206-82344575A8CF}.Release|Any CPU.Build.0 = Release|Any CPU - {55B9F554-1754-4EF9-B325-B33421D4F6A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {55B9F554-1754-4EF9-B325-B33421D4F6A9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {55B9F554-1754-4EF9-B325-B33421D4F6A9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {55B9F554-1754-4EF9-B325-B33421D4F6A9}.Release|Any CPU.Build.0 = Release|Any CPU - {7AC8C076-87E2-48ED-8AB3-C1F737F55DD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7AC8C076-87E2-48ED-8AB3-C1F737F55DD1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7AC8C076-87E2-48ED-8AB3-C1F737F55DD1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7AC8C076-87E2-48ED-8AB3-C1F737F55DD1}.Release|Any CPU.Build.0 = Release|Any CPU - {C6F494D3-2C41-46DF-BCAD-F74D3E53CDE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C6F494D3-2C41-46DF-BCAD-F74D3E53CDE1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C6F494D3-2C41-46DF-BCAD-F74D3E53CDE1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C6F494D3-2C41-46DF-BCAD-F74D3E53CDE1}.Release|Any CPU.Build.0 = Release|Any CPU - {3531699A-9FF9-4F8C-BEAD-9D114FE8E519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3531699A-9FF9-4F8C-BEAD-9D114FE8E519}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3531699A-9FF9-4F8C-BEAD-9D114FE8E519}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3531699A-9FF9-4F8C-BEAD-9D114FE8E519}.Release|Any CPU.Build.0 = Release|Any CPU - {50DE8ABF-B50A-4AAB-A69B-4E727AFDB6B5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {50DE8ABF-B50A-4AAB-A69B-4E727AFDB6B5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {50DE8ABF-B50A-4AAB-A69B-4E727AFDB6B5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {50DE8ABF-B50A-4AAB-A69B-4E727AFDB6B5}.Release|Any CPU.Build.0 = Release|Any CPU - {2094F03B-FC73-4B3F-88CB-F7951E22FED5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2094F03B-FC73-4B3F-88CB-F7951E22FED5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2094F03B-FC73-4B3F-88CB-F7951E22FED5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2094F03B-FC73-4B3F-88CB-F7951E22FED5}.Release|Any CPU.Build.0 = Release|Any CPU - {554E5BCA-7F88-4E7C-86ED-8B6DE3A3A802}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {554E5BCA-7F88-4E7C-86ED-8B6DE3A3A802}.Debug|Any CPU.Build.0 = Debug|Any CPU - {554E5BCA-7F88-4E7C-86ED-8B6DE3A3A802}.Release|Any CPU.ActiveCfg = Release|Any CPU - {554E5BCA-7F88-4E7C-86ED-8B6DE3A3A802}.Release|Any CPU.Build.0 = Release|Any CPU - {92E4CAD4-F5B9-4B16-B7BC-4A40DC1E93F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {92E4CAD4-F5B9-4B16-B7BC-4A40DC1E93F1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {92E4CAD4-F5B9-4B16-B7BC-4A40DC1E93F1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {92E4CAD4-F5B9-4B16-B7BC-4A40DC1E93F1}.Release|Any CPU.Build.0 = Release|Any CPU - {DB8CE5AF-1888-4C51-97C3-2188BE50FAF9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DB8CE5AF-1888-4C51-97C3-2188BE50FAF9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DB8CE5AF-1888-4C51-97C3-2188BE50FAF9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DB8CE5AF-1888-4C51-97C3-2188BE50FAF9}.Release|Any CPU.Build.0 = Release|Any CPU - {54395254-0383-4932-B2E4-50932DAD7D10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {54395254-0383-4932-B2E4-50932DAD7D10}.Debug|Any CPU.Build.0 = Debug|Any CPU - {54395254-0383-4932-B2E4-50932DAD7D10}.Release|Any CPU.ActiveCfg = Release|Any CPU - {54395254-0383-4932-B2E4-50932DAD7D10}.Release|Any CPU.Build.0 = Release|Any CPU - {3E9CCC0A-DAD5-4F32-8EAE-654D67DEE2B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3E9CCC0A-DAD5-4F32-8EAE-654D67DEE2B9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3E9CCC0A-DAD5-4F32-8EAE-654D67DEE2B9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3E9CCC0A-DAD5-4F32-8EAE-654D67DEE2B9}.Release|Any CPU.Build.0 = Release|Any CPU - {8168B7B4-9F6B-4658-A28C-D0F9D10AB93D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8168B7B4-9F6B-4658-A28C-D0F9D10AB93D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8168B7B4-9F6B-4658-A28C-D0F9D10AB93D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8168B7B4-9F6B-4658-A28C-D0F9D10AB93D}.Release|Any CPU.Build.0 = Release|Any CPU - {93971F1F-F6AC-4F83-8119-21260FCE2828}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {93971F1F-F6AC-4F83-8119-21260FCE2828}.Debug|Any CPU.Build.0 = Debug|Any CPU - {93971F1F-F6AC-4F83-8119-21260FCE2828}.Release|Any CPU.ActiveCfg = Release|Any CPU - {93971F1F-F6AC-4F83-8119-21260FCE2828}.Release|Any CPU.Build.0 = Release|Any CPU - {3B87330F-A303-4413-B653-1C9536C74109}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3B87330F-A303-4413-B653-1C9536C74109}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3B87330F-A303-4413-B653-1C9536C74109}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3B87330F-A303-4413-B653-1C9536C74109}.Release|Any CPU.Build.0 = Release|Any CPU - {3A4601FE-B091-43A3-AEE6-6440BB37B277}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3A4601FE-B091-43A3-AEE6-6440BB37B277}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3A4601FE-B091-43A3-AEE6-6440BB37B277}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3A4601FE-B091-43A3-AEE6-6440BB37B277}.Release|Any CPU.Build.0 = Release|Any CPU - {454059F7-D087-439A-A724-80BDFE94776F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {454059F7-D087-439A-A724-80BDFE94776F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {454059F7-D087-439A-A724-80BDFE94776F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {454059F7-D087-439A-A724-80BDFE94776F}.Release|Any CPU.Build.0 = Release|Any CPU - {64E2622A-611D-4056-9497-0B52A91DC59C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {64E2622A-611D-4056-9497-0B52A91DC59C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {64E2622A-611D-4056-9497-0B52A91DC59C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {64E2622A-611D-4056-9497-0B52A91DC59C}.Release|Any CPU.Build.0 = Release|Any CPU - {5714481A-BDF5-4860-9158-3B18D3018EC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5714481A-BDF5-4860-9158-3B18D3018EC5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5714481A-BDF5-4860-9158-3B18D3018EC5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5714481A-BDF5-4860-9158-3B18D3018EC5}.Release|Any CPU.Build.0 = Release|Any CPU - {B5E23AED-3068-4CFE-84B0-3B7725665506}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B5E23AED-3068-4CFE-84B0-3B7725665506}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B5E23AED-3068-4CFE-84B0-3B7725665506}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B5E23AED-3068-4CFE-84B0-3B7725665506}.Release|Any CPU.Build.0 = Release|Any CPU - {E5257008-A0AD-473F-91B0-864FC601B84B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E5257008-A0AD-473F-91B0-864FC601B84B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E5257008-A0AD-473F-91B0-864FC601B84B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E5257008-A0AD-473F-91B0-864FC601B84B}.Release|Any CPU.Build.0 = Release|Any CPU - {DB425943-CEE6-4FF6-A0EE-233B6ADA3BD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DB425943-CEE6-4FF6-A0EE-233B6ADA3BD7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DB425943-CEE6-4FF6-A0EE-233B6ADA3BD7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DB425943-CEE6-4FF6-A0EE-233B6ADA3BD7}.Release|Any CPU.Build.0 = Release|Any CPU - {25267137-08BE-44A6-9F7E-7783CC8C62E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {25267137-08BE-44A6-9F7E-7783CC8C62E8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {25267137-08BE-44A6-9F7E-7783CC8C62E8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {25267137-08BE-44A6-9F7E-7783CC8C62E8}.Release|Any CPU.Build.0 = Release|Any CPU - {CB6D56DA-539B-4D4F-81CD-D683ADEBFB5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CB6D56DA-539B-4D4F-81CD-D683ADEBFB5F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CB6D56DA-539B-4D4F-81CD-D683ADEBFB5F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CB6D56DA-539B-4D4F-81CD-D683ADEBFB5F}.Release|Any CPU.Build.0 = Release|Any CPU - {097319B9-D062-4A54-8F8C-001C180E2CB3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {097319B9-D062-4A54-8F8C-001C180E2CB3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {097319B9-D062-4A54-8F8C-001C180E2CB3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {097319B9-D062-4A54-8F8C-001C180E2CB3}.Release|Any CPU.Build.0 = Release|Any CPU - {737EF17D-477F-4C73-A4CC-0DA6CBD3BB97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {737EF17D-477F-4C73-A4CC-0DA6CBD3BB97}.Debug|Any CPU.Build.0 = Debug|Any CPU - {737EF17D-477F-4C73-A4CC-0DA6CBD3BB97}.Release|Any CPU.ActiveCfg = Release|Any CPU - {737EF17D-477F-4C73-A4CC-0DA6CBD3BB97}.Release|Any CPU.Build.0 = Release|Any CPU - {0B6AAACE-A1DE-4063-8DA8-E7EBA30186E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0B6AAACE-A1DE-4063-8DA8-E7EBA30186E4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0B6AAACE-A1DE-4063-8DA8-E7EBA30186E4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0B6AAACE-A1DE-4063-8DA8-E7EBA30186E4}.Release|Any CPU.Build.0 = Release|Any CPU - {05DCBA6B-480A-4D2F-9855-F66F5B7F3A48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {05DCBA6B-480A-4D2F-9855-F66F5B7F3A48}.Debug|Any CPU.Build.0 = Debug|Any CPU - {05DCBA6B-480A-4D2F-9855-F66F5B7F3A48}.Release|Any CPU.ActiveCfg = Release|Any CPU - {05DCBA6B-480A-4D2F-9855-F66F5B7F3A48}.Release|Any CPU.Build.0 = Release|Any CPU - {32D4DB5D-74D1-4166-85EA-B2D8F14B8058}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {32D4DB5D-74D1-4166-85EA-B2D8F14B8058}.Debug|Any CPU.Build.0 = Debug|Any CPU - {32D4DB5D-74D1-4166-85EA-B2D8F14B8058}.Release|Any CPU.ActiveCfg = Release|Any CPU - {32D4DB5D-74D1-4166-85EA-B2D8F14B8058}.Release|Any CPU.Build.0 = Release|Any CPU - {C49B50D4-5D63-47E6-82F7-E742181CF9DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C49B50D4-5D63-47E6-82F7-E742181CF9DE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C49B50D4-5D63-47E6-82F7-E742181CF9DE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C49B50D4-5D63-47E6-82F7-E742181CF9DE}.Release|Any CPU.Build.0 = Release|Any CPU - {DC71289C-18A7-4E4B-A653-E66941EB19AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DC71289C-18A7-4E4B-A653-E66941EB19AE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DC71289C-18A7-4E4B-A653-E66941EB19AE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DC71289C-18A7-4E4B-A653-E66941EB19AE}.Release|Any CPU.Build.0 = Release|Any CPU - {321FC8A7-D595-431A-AC14-1F5E1B901BCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {321FC8A7-D595-431A-AC14-1F5E1B901BCF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {321FC8A7-D595-431A-AC14-1F5E1B901BCF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {321FC8A7-D595-431A-AC14-1F5E1B901BCF}.Release|Any CPU.Build.0 = Release|Any CPU - {4D594462-D10D-46AF-980E-95EDE676F1CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4D594462-D10D-46AF-980E-95EDE676F1CF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4D594462-D10D-46AF-980E-95EDE676F1CF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4D594462-D10D-46AF-980E-95EDE676F1CF}.Release|Any CPU.Build.0 = Release|Any CPU - {69F5D2A0-480E-4461-9C30-1678F23258C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {69F5D2A0-480E-4461-9C30-1678F23258C1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {69F5D2A0-480E-4461-9C30-1678F23258C1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {69F5D2A0-480E-4461-9C30-1678F23258C1}.Release|Any CPU.Build.0 = Release|Any CPU - {298D561E-3AFB-4161-82F1-DF0F8C54BBB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {298D561E-3AFB-4161-82F1-DF0F8C54BBB4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {298D561E-3AFB-4161-82F1-DF0F8C54BBB4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {298D561E-3AFB-4161-82F1-DF0F8C54BBB4}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {C00828FB-E7D5-4086-BA50-02022594AB73} = {0C7AA298-2957-4D71-A8F1-1C3C7932A1B3} - {07BCD006-F2F2-4685-8887-E8BEB18745FD} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {60E37E86-ACA6-4464-9592-B0D8EFB629BD} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {85B39FCE-6778-497C-A12E-6777C7FE651A} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {8C973655-DF59-40D8-B206-82344575A8CF} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {55B9F554-1754-4EF9-B325-B33421D4F6A9} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {7AC8C076-87E2-48ED-8AB3-C1F737F55DD1} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {C6F494D3-2C41-46DF-BCAD-F74D3E53CDE1} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {3531699A-9FF9-4F8C-BEAD-9D114FE8E519} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {50DE8ABF-B50A-4AAB-A69B-4E727AFDB6B5} = {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} - {2094F03B-FC73-4B3F-88CB-F7951E22FED5} = {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} - {554E5BCA-7F88-4E7C-86ED-8B6DE3A3A802} = {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} - {92E4CAD4-F5B9-4B16-B7BC-4A40DC1E93F1} = {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} - {DB8CE5AF-1888-4C51-97C3-2188BE50FAF9} = {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} - {54395254-0383-4932-B2E4-50932DAD7D10} = {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} - {3E9CCC0A-DAD5-4F32-8EAE-654D67DEE2B9} = {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} - {8168B7B4-9F6B-4658-A28C-D0F9D10AB93D} = {E7A821D8-85B5-4098-897D-5A814BD8131D} - {78164C5C-63B9-4FB6-ACC9-6496E236C946} = {0C7AA298-2957-4D71-A8F1-1C3C7932A1B3} - {93971F1F-F6AC-4F83-8119-21260FCE2828} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {3B87330F-A303-4413-B653-1C9536C74109} = {78164C5C-63B9-4FB6-ACC9-6496E236C946} - {D58F1DF5-2DFE-40A2-B136-7606D4CDE903} = {0C7AA298-2957-4D71-A8F1-1C3C7932A1B3} - {3A4601FE-B091-43A3-AEE6-6440BB37B277} = {78164C5C-63B9-4FB6-ACC9-6496E236C946} - {454059F7-D087-439A-A724-80BDFE94776F} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {64E2622A-611D-4056-9497-0B52A91DC59C} = {78164C5C-63B9-4FB6-ACC9-6496E236C946} - {5714481A-BDF5-4860-9158-3B18D3018EC5} = {42800C56-9473-4B96-BF29-1B0F25C867F4} - {B5E23AED-3068-4CFE-84B0-3B7725665506} = {42800C56-9473-4B96-BF29-1B0F25C867F4} - {E5257008-A0AD-473F-91B0-864FC601B84B} = {42800C56-9473-4B96-BF29-1B0F25C867F4} - {DB425943-CEE6-4FF6-A0EE-233B6ADA3BD7} = {42800C56-9473-4B96-BF29-1B0F25C867F4} - {25267137-08BE-44A6-9F7E-7783CC8C62E8} = {42800C56-9473-4B96-BF29-1B0F25C867F4} - {CB6D56DA-539B-4D4F-81CD-D683ADEBFB5F} = {42800C56-9473-4B96-BF29-1B0F25C867F4} - {097319B9-D062-4A54-8F8C-001C180E2CB3} = {42800C56-9473-4B96-BF29-1B0F25C867F4} - {737EF17D-477F-4C73-A4CC-0DA6CBD3BB97} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {0B6AAACE-A1DE-4063-8DA8-E7EBA30186E4} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {05DCBA6B-480A-4D2F-9855-F66F5B7F3A48} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {32D4DB5D-74D1-4166-85EA-B2D8F14B8058} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {C49B50D4-5D63-47E6-82F7-E742181CF9DE} = {C00828FB-E7D5-4086-BA50-02022594AB73} - {DC71289C-18A7-4E4B-A653-E66941EB19AE} = {78164C5C-63B9-4FB6-ACC9-6496E236C946} - {F566D959-7F56-4EB4-A448-A87AEFC92178} = {0C7AA298-2957-4D71-A8F1-1C3C7932A1B3} - {91E005C0-3A78-47C2-86F1-A21362ED350E} = {0C7AA298-2957-4D71-A8F1-1C3C7932A1B3} - {321FC8A7-D595-431A-AC14-1F5E1B901BCF} = {91E005C0-3A78-47C2-86F1-A21362ED350E} - {4D594462-D10D-46AF-980E-95EDE676F1CF} = {F566D959-7F56-4EB4-A448-A87AEFC92178} - {69F5D2A0-480E-4461-9C30-1678F23258C1} = {F566D959-7F56-4EB4-A448-A87AEFC92178} - {298D561E-3AFB-4161-82F1-DF0F8C54BBB4} = {C00828FB-E7D5-4086-BA50-02022594AB73} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6238659A-7267-49B9-A499-8746BDEED6B8} - EndGlobalSection -EndGlobal diff --git a/aspnet-core/LINGYUN.MicroService.Platform.sln b/aspnet-core/LINGYUN.MicroService.Platform.sln deleted file mode 100644 index ee2efa879..000000000 --- a/aspnet-core/LINGYUN.MicroService.Platform.sln +++ /dev/null @@ -1,292 +0,0 @@ -锘 -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31903.59 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modules", "modules", "{15BDA03E-DE8E-46E4-96A8-CA3F2872E812}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "services", "services", "{B81EF311-D7FD-4F07-9DC6-96D9BB517A74}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.Domain.Shared", "modules\platform\LINGYUN.Platform.Domain.Shared\LINGYUN.Platform.Domain.Shared.csproj", "{6EE3ADC1-5E58-4A2E-B5DB-85163D9A0156}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.Domain", "modules\platform\LINGYUN.Platform.Domain\LINGYUN.Platform.Domain.csproj", "{746E0357-5AA9-4F7A-B85E-E8F83EE5A749}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.EntityFrameworkCore", "modules\platform\LINGYUN.Platform.EntityFrameworkCore\LINGYUN.Platform.EntityFrameworkCore.csproj", "{939EF41A-E38F-4693-91D2-7B871D89DC5A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.Application.Contracts", "modules\platform\LINGYUN.Platform.Application.Contracts\LINGYUN.Platform.Application.Contracts.csproj", "{2B49B1C8-EE71-4F68-9501-EA5222381CC7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.Application", "modules\platform\LINGYUN.Platform.Application\LINGYUN.Platform.Application.csproj", "{462FFFC0-CAFA-462C-A65D-DEAA91EE5449}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.HttpApi", "modules\platform\LINGYUN.Platform.HttpApi\LINGYUN.Platform.HttpApi.csproj", "{BDBCCE63-F4BB-405A-8620-58743A905F98}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.HttpApi.Host", "services\platform\LINGYUN.Platform.HttpApi.Host\LINGYUN.Platform.HttpApi.Host.csproj", "{D1DD7E12-EFA4-4068-8B6D-0D0612ACA8EE}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "platform", "platform", "{4096EC6A-EEAD-4E5B-B087-393D7A4E5874}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "oss-management", "oss-management", "{C7D0EB39-3418-4A7C-AD94-FAB76F023E88}" - ProjectSection(SolutionItems) = preProject - modules\oss-management\README.md = modules\oss-management\README.md - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.Domain.Shared", "modules\oss-management\LINGYUN.Abp.OssManagement.Domain.Shared\LINGYUN.Abp.OssManagement.Domain.Shared.csproj", "{4D3C1EBD-1A4A-4300-A889-72DA0E082BAE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.Domain", "modules\oss-management\LINGYUN.Abp.OssManagement.Domain\LINGYUN.Abp.OssManagement.Domain.csproj", "{D6D4C667-B58C-4266-9929-AFE54C8F0FBA}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.Application.Contracts", "modules\oss-management\LINGYUN.Abp.OssManagement.Application.Contracts\LINGYUN.Abp.OssManagement.Application.Contracts.csproj", "{A1561B9D-2EAB-4C6A-AE62-9D517A450D4D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.Application", "modules\oss-management\LINGYUN.Abp.OssManagement.Application\LINGYUN.Abp.OssManagement.Application.csproj", "{1C3A25AF-9A59-4532-88A4-E57BECFA7E96}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.HttpApi", "modules\oss-management\LINGYUN.Abp.OssManagement.HttpApi\LINGYUN.Abp.OssManagement.HttpApi.csproj", "{C616C167-E5DF-4141-98BE-F98C58890122}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tenants", "tenants", "{8CDB2F58-9541-4FB2-8A37-079C5E6A1689}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.MultiTenancy", "modules\tenants\LINGYUN.Abp.MultiTenancy\LINGYUN.Abp.MultiTenancy.csproj", "{CF0EBF60-EDC7-47FF-BCD7-C2B16407B590}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{CCEFF583-4EEE-433F-8568-9E64166B41FE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TestsBase", "tests\LINGYUN.Abp.TestBase\LINGYUN.Abp.TestsBase.csproj", "{FC3E5BA0-C650-4EA2-8400-0A864D0EFEAC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.EntityFrameworkCore.Tests", "tests\LINGYUN.Abp.EntityFrameworkCore.Tests\LINGYUN.Abp.EntityFrameworkCore.Tests.csproj", "{B2C0271C-3FE6-4C45-B162-4DE00E542A55}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.EntityFrameworkCore.Tests", "tests\LINGYUN.Platform.EntityFrameworkCore.Tests\LINGYUN.Platform.EntityFrameworkCore.Tests.csproj", "{263C49A9-34B9-449B-ABBC-D328210C023D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Platform.Domain.Tests", "tests\LINGYUN.Platform.Domain.Tests\LINGYUN.Platform.Domain.Tests.csproj", "{C60A06F2-0F4C-483F-BE2B-B103F0D726CE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.Aliyun", "modules\oss-management\LINGYUN.Abp.OssManagement.Aliyun\LINGYUN.Abp.OssManagement.Aliyun.csproj", "{104EDC09-0CEA-4AB0-BFF5-B009D4679419}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{265D5E44-682B-49BC-984A-BDD8CA45E60E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Aliyun", "modules\cloud-aliyun\LINGYUN.Abp.Aliyun\LINGYUN.Abp.Aliyun.csproj", "{8A393F7F-85A2-48ED-9B56-9CEFF3BDE34A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.BlobStoring.Aliyun", "modules\common\LINGYUN.Abp.BlobStoring.Aliyun\LINGYUN.Abp.BlobStoring.Aliyun.csproj", "{95E0D070-ACFB-40DF-A4EC-FC75EA5AF6B0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.FileSystem", "modules\oss-management\LINGYUN.Abp.OssManagement.FileSystem\LINGYUN.Abp.OssManagement.FileSystem.csproj", "{B5569DCD-445E-445B-87E7-D8D4E03F0F76}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.FileSystem.ImageSharp", "modules\oss-management\LINGYUN.Abp.OssManagement.FileSystem.ImageSharp\LINGYUN.Abp.OssManagement.FileSystem.ImageSharp.csproj", "{1AA232B1-5999-43AE-A5C8-7973AFCC8BD1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Features.LimitValidation", "modules\common\LINGYUN.Abp.Features.LimitValidation\LINGYUN.Abp.Features.LimitValidation.csproj", "{D121A3CF-7A7F-4349-ACCA-BED9433AFFEC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Features.LimitValidation.Redis", "modules\common\LINGYUN.Abp.Features.LimitValidation.Redis\LINGYUN.Abp.Features.LimitValidation.Redis.csproj", "{644F2582-D655-43B5-9EA4-D010C94B33AF}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "setting-management", "setting-management", "{3855CE63-91CF-4F96-97F6-BEAB444B25CB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.SettingManagement.Application.Contracts", "modules\settings\LINGYUN.Abp.SettingManagement.Application.Contracts\LINGYUN.Abp.SettingManagement.Application.Contracts.csproj", "{D1D288D1-3178-439F-8EFD-E29D6F66E673}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.OssManagement.SettingManagement", "modules\oss-management\LINGYUN.Abp.OssManagement.SettingManagement\LINGYUN.Abp.OssManagement.SettingManagement.csproj", "{07D1B07A-3C95-40A8-AA53-619EC067FD45}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "auditing", "auditing", "{20E8BAE5-C13E-4F86-9EB0-EF24F50442B5}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "logging", "logging", "{D845545B-57C4-43A1-985B-23C372340CD6}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging", "modules\auditing\LINGYUN.Abp.AuditLogging\LINGYUN.Abp.AuditLogging.csproj", "{04D53D5C-873D-4A66-98D4-88195E927E20}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AuditLogging.Elasticsearch", "modules\auditing\LINGYUN.Abp.AuditLogging.Elasticsearch\LINGYUN.Abp.AuditLogging.Elasticsearch.csproj", "{F90823E2-53DC-4751-BCCD-6C11B3899592}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Serilog.Enrichers.Application", "modules\logging\LINGYUN.Abp.Serilog.Enrichers.Application\LINGYUN.Abp.Serilog.Enrichers.Application.csproj", "{6C048526-5A14-4835-B8BA-1C0C6E887225}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Data.DbMigrator", "modules\common\LINGYUN.Abp.Data.DbMigrator\LINGYUN.Abp.Data.DbMigrator.csproj", "{FA49E154-CD90-4E11-8216-3EF545C32294}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.UI.Navigation.VueVbenAdmin", "modules\platform\LINGYUN.Abp.UI.Navigation.VueVbenAdmin\LINGYUN.Abp.UI.Navigation.VueVbenAdmin.csproj", "{2A69A38F-E98A-490D-BEAE-1BBBD87121DD}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "navigation", "navigation", "{D61721B8-B0F7-4C3D-AD1B-44FBE81DFA79}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.UI.Navigation", "modules\navigation\LINGYUN.Abp.UI.Navigation\LINGYUN.Abp.UI.Navigation.csproj", "{BE9131C0-7DD4-4032-A5F7-4B9D76EC16CF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.Wrapper", "modules\common\LINGYUN.Abp.Wrapper\LINGYUN.Abp.Wrapper.csproj", "{36EFF070-3400-448E-A912-82930D6E1828}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.AspNetCore.Tests", "tests\LINGYUN.Abp.AspNetCore.Tests\LINGYUN.Abp.AspNetCore.Tests.csproj", "{3B363320-B679-4D29-B428-28311C576E2E}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {6EE3ADC1-5E58-4A2E-B5DB-85163D9A0156}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6EE3ADC1-5E58-4A2E-B5DB-85163D9A0156}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6EE3ADC1-5E58-4A2E-B5DB-85163D9A0156}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6EE3ADC1-5E58-4A2E-B5DB-85163D9A0156}.Release|Any CPU.Build.0 = Release|Any CPU - {746E0357-5AA9-4F7A-B85E-E8F83EE5A749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {746E0357-5AA9-4F7A-B85E-E8F83EE5A749}.Debug|Any CPU.Build.0 = Debug|Any CPU - {746E0357-5AA9-4F7A-B85E-E8F83EE5A749}.Release|Any CPU.ActiveCfg = Release|Any CPU - {746E0357-5AA9-4F7A-B85E-E8F83EE5A749}.Release|Any CPU.Build.0 = Release|Any CPU - {939EF41A-E38F-4693-91D2-7B871D89DC5A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {939EF41A-E38F-4693-91D2-7B871D89DC5A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {939EF41A-E38F-4693-91D2-7B871D89DC5A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {939EF41A-E38F-4693-91D2-7B871D89DC5A}.Release|Any CPU.Build.0 = Release|Any CPU - {2B49B1C8-EE71-4F68-9501-EA5222381CC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2B49B1C8-EE71-4F68-9501-EA5222381CC7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2B49B1C8-EE71-4F68-9501-EA5222381CC7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2B49B1C8-EE71-4F68-9501-EA5222381CC7}.Release|Any CPU.Build.0 = Release|Any CPU - {462FFFC0-CAFA-462C-A65D-DEAA91EE5449}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {462FFFC0-CAFA-462C-A65D-DEAA91EE5449}.Debug|Any CPU.Build.0 = Debug|Any CPU - {462FFFC0-CAFA-462C-A65D-DEAA91EE5449}.Release|Any CPU.ActiveCfg = Release|Any CPU - {462FFFC0-CAFA-462C-A65D-DEAA91EE5449}.Release|Any CPU.Build.0 = Release|Any CPU - {BDBCCE63-F4BB-405A-8620-58743A905F98}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BDBCCE63-F4BB-405A-8620-58743A905F98}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BDBCCE63-F4BB-405A-8620-58743A905F98}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BDBCCE63-F4BB-405A-8620-58743A905F98}.Release|Any CPU.Build.0 = Release|Any CPU - {D1DD7E12-EFA4-4068-8B6D-0D0612ACA8EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D1DD7E12-EFA4-4068-8B6D-0D0612ACA8EE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D1DD7E12-EFA4-4068-8B6D-0D0612ACA8EE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D1DD7E12-EFA4-4068-8B6D-0D0612ACA8EE}.Release|Any CPU.Build.0 = Release|Any CPU - {4D3C1EBD-1A4A-4300-A889-72DA0E082BAE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4D3C1EBD-1A4A-4300-A889-72DA0E082BAE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4D3C1EBD-1A4A-4300-A889-72DA0E082BAE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4D3C1EBD-1A4A-4300-A889-72DA0E082BAE}.Release|Any CPU.Build.0 = Release|Any CPU - {D6D4C667-B58C-4266-9929-AFE54C8F0FBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D6D4C667-B58C-4266-9929-AFE54C8F0FBA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D6D4C667-B58C-4266-9929-AFE54C8F0FBA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D6D4C667-B58C-4266-9929-AFE54C8F0FBA}.Release|Any CPU.Build.0 = Release|Any CPU - {A1561B9D-2EAB-4C6A-AE62-9D517A450D4D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A1561B9D-2EAB-4C6A-AE62-9D517A450D4D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A1561B9D-2EAB-4C6A-AE62-9D517A450D4D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A1561B9D-2EAB-4C6A-AE62-9D517A450D4D}.Release|Any CPU.Build.0 = Release|Any CPU - {1C3A25AF-9A59-4532-88A4-E57BECFA7E96}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1C3A25AF-9A59-4532-88A4-E57BECFA7E96}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1C3A25AF-9A59-4532-88A4-E57BECFA7E96}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1C3A25AF-9A59-4532-88A4-E57BECFA7E96}.Release|Any CPU.Build.0 = Release|Any CPU - {C616C167-E5DF-4141-98BE-F98C58890122}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C616C167-E5DF-4141-98BE-F98C58890122}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C616C167-E5DF-4141-98BE-F98C58890122}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C616C167-E5DF-4141-98BE-F98C58890122}.Release|Any CPU.Build.0 = Release|Any CPU - {CF0EBF60-EDC7-47FF-BCD7-C2B16407B590}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CF0EBF60-EDC7-47FF-BCD7-C2B16407B590}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CF0EBF60-EDC7-47FF-BCD7-C2B16407B590}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CF0EBF60-EDC7-47FF-BCD7-C2B16407B590}.Release|Any CPU.Build.0 = Release|Any CPU - {FC3E5BA0-C650-4EA2-8400-0A864D0EFEAC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FC3E5BA0-C650-4EA2-8400-0A864D0EFEAC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FC3E5BA0-C650-4EA2-8400-0A864D0EFEAC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FC3E5BA0-C650-4EA2-8400-0A864D0EFEAC}.Release|Any CPU.Build.0 = Release|Any CPU - {B2C0271C-3FE6-4C45-B162-4DE00E542A55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B2C0271C-3FE6-4C45-B162-4DE00E542A55}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B2C0271C-3FE6-4C45-B162-4DE00E542A55}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B2C0271C-3FE6-4C45-B162-4DE00E542A55}.Release|Any CPU.Build.0 = Release|Any CPU - {263C49A9-34B9-449B-ABBC-D328210C023D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {263C49A9-34B9-449B-ABBC-D328210C023D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {263C49A9-34B9-449B-ABBC-D328210C023D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {263C49A9-34B9-449B-ABBC-D328210C023D}.Release|Any CPU.Build.0 = Release|Any CPU - {C60A06F2-0F4C-483F-BE2B-B103F0D726CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C60A06F2-0F4C-483F-BE2B-B103F0D726CE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C60A06F2-0F4C-483F-BE2B-B103F0D726CE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C60A06F2-0F4C-483F-BE2B-B103F0D726CE}.Release|Any CPU.Build.0 = Release|Any CPU - {104EDC09-0CEA-4AB0-BFF5-B009D4679419}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {104EDC09-0CEA-4AB0-BFF5-B009D4679419}.Debug|Any CPU.Build.0 = Debug|Any CPU - {104EDC09-0CEA-4AB0-BFF5-B009D4679419}.Release|Any CPU.ActiveCfg = Release|Any CPU - {104EDC09-0CEA-4AB0-BFF5-B009D4679419}.Release|Any CPU.Build.0 = Release|Any CPU - {8A393F7F-85A2-48ED-9B56-9CEFF3BDE34A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8A393F7F-85A2-48ED-9B56-9CEFF3BDE34A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8A393F7F-85A2-48ED-9B56-9CEFF3BDE34A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8A393F7F-85A2-48ED-9B56-9CEFF3BDE34A}.Release|Any CPU.Build.0 = Release|Any CPU - {95E0D070-ACFB-40DF-A4EC-FC75EA5AF6B0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {95E0D070-ACFB-40DF-A4EC-FC75EA5AF6B0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {95E0D070-ACFB-40DF-A4EC-FC75EA5AF6B0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {95E0D070-ACFB-40DF-A4EC-FC75EA5AF6B0}.Release|Any CPU.Build.0 = Release|Any CPU - {B5569DCD-445E-445B-87E7-D8D4E03F0F76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B5569DCD-445E-445B-87E7-D8D4E03F0F76}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B5569DCD-445E-445B-87E7-D8D4E03F0F76}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B5569DCD-445E-445B-87E7-D8D4E03F0F76}.Release|Any CPU.Build.0 = Release|Any CPU - {1AA232B1-5999-43AE-A5C8-7973AFCC8BD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1AA232B1-5999-43AE-A5C8-7973AFCC8BD1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1AA232B1-5999-43AE-A5C8-7973AFCC8BD1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1AA232B1-5999-43AE-A5C8-7973AFCC8BD1}.Release|Any CPU.Build.0 = Release|Any CPU - {D121A3CF-7A7F-4349-ACCA-BED9433AFFEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D121A3CF-7A7F-4349-ACCA-BED9433AFFEC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D121A3CF-7A7F-4349-ACCA-BED9433AFFEC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D121A3CF-7A7F-4349-ACCA-BED9433AFFEC}.Release|Any CPU.Build.0 = Release|Any CPU - {644F2582-D655-43B5-9EA4-D010C94B33AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {644F2582-D655-43B5-9EA4-D010C94B33AF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {644F2582-D655-43B5-9EA4-D010C94B33AF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {644F2582-D655-43B5-9EA4-D010C94B33AF}.Release|Any CPU.Build.0 = Release|Any CPU - {D1D288D1-3178-439F-8EFD-E29D6F66E673}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D1D288D1-3178-439F-8EFD-E29D6F66E673}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D1D288D1-3178-439F-8EFD-E29D6F66E673}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D1D288D1-3178-439F-8EFD-E29D6F66E673}.Release|Any CPU.Build.0 = Release|Any CPU - {07D1B07A-3C95-40A8-AA53-619EC067FD45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {07D1B07A-3C95-40A8-AA53-619EC067FD45}.Debug|Any CPU.Build.0 = Debug|Any CPU - {07D1B07A-3C95-40A8-AA53-619EC067FD45}.Release|Any CPU.ActiveCfg = Release|Any CPU - {07D1B07A-3C95-40A8-AA53-619EC067FD45}.Release|Any CPU.Build.0 = Release|Any CPU - {04D53D5C-873D-4A66-98D4-88195E927E20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {04D53D5C-873D-4A66-98D4-88195E927E20}.Debug|Any CPU.Build.0 = Debug|Any CPU - {04D53D5C-873D-4A66-98D4-88195E927E20}.Release|Any CPU.ActiveCfg = Release|Any CPU - {04D53D5C-873D-4A66-98D4-88195E927E20}.Release|Any CPU.Build.0 = Release|Any CPU - {F90823E2-53DC-4751-BCCD-6C11B3899592}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F90823E2-53DC-4751-BCCD-6C11B3899592}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F90823E2-53DC-4751-BCCD-6C11B3899592}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F90823E2-53DC-4751-BCCD-6C11B3899592}.Release|Any CPU.Build.0 = Release|Any CPU - {6C048526-5A14-4835-B8BA-1C0C6E887225}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6C048526-5A14-4835-B8BA-1C0C6E887225}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6C048526-5A14-4835-B8BA-1C0C6E887225}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6C048526-5A14-4835-B8BA-1C0C6E887225}.Release|Any CPU.Build.0 = Release|Any CPU - {FA49E154-CD90-4E11-8216-3EF545C32294}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FA49E154-CD90-4E11-8216-3EF545C32294}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FA49E154-CD90-4E11-8216-3EF545C32294}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FA49E154-CD90-4E11-8216-3EF545C32294}.Release|Any CPU.Build.0 = Release|Any CPU - {2A69A38F-E98A-490D-BEAE-1BBBD87121DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2A69A38F-E98A-490D-BEAE-1BBBD87121DD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2A69A38F-E98A-490D-BEAE-1BBBD87121DD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2A69A38F-E98A-490D-BEAE-1BBBD87121DD}.Release|Any CPU.Build.0 = Release|Any CPU - {BE9131C0-7DD4-4032-A5F7-4B9D76EC16CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE9131C0-7DD4-4032-A5F7-4B9D76EC16CF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE9131C0-7DD4-4032-A5F7-4B9D76EC16CF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE9131C0-7DD4-4032-A5F7-4B9D76EC16CF}.Release|Any CPU.Build.0 = Release|Any CPU - {36EFF070-3400-448E-A912-82930D6E1828}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {36EFF070-3400-448E-A912-82930D6E1828}.Debug|Any CPU.Build.0 = Debug|Any CPU - {36EFF070-3400-448E-A912-82930D6E1828}.Release|Any CPU.ActiveCfg = Release|Any CPU - {36EFF070-3400-448E-A912-82930D6E1828}.Release|Any CPU.Build.0 = Release|Any CPU - {3B363320-B679-4D29-B428-28311C576E2E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3B363320-B679-4D29-B428-28311C576E2E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3B363320-B679-4D29-B428-28311C576E2E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3B363320-B679-4D29-B428-28311C576E2E}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {6EE3ADC1-5E58-4A2E-B5DB-85163D9A0156} = {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} - {746E0357-5AA9-4F7A-B85E-E8F83EE5A749} = {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} - {939EF41A-E38F-4693-91D2-7B871D89DC5A} = {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} - {2B49B1C8-EE71-4F68-9501-EA5222381CC7} = {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} - {462FFFC0-CAFA-462C-A65D-DEAA91EE5449} = {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} - {BDBCCE63-F4BB-405A-8620-58743A905F98} = {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} - {D1DD7E12-EFA4-4068-8B6D-0D0612ACA8EE} = {B81EF311-D7FD-4F07-9DC6-96D9BB517A74} - {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {4D3C1EBD-1A4A-4300-A889-72DA0E082BAE} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {D6D4C667-B58C-4266-9929-AFE54C8F0FBA} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {A1561B9D-2EAB-4C6A-AE62-9D517A450D4D} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {1C3A25AF-9A59-4532-88A4-E57BECFA7E96} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {C616C167-E5DF-4141-98BE-F98C58890122} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {8CDB2F58-9541-4FB2-8A37-079C5E6A1689} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {CF0EBF60-EDC7-47FF-BCD7-C2B16407B590} = {8CDB2F58-9541-4FB2-8A37-079C5E6A1689} - {FC3E5BA0-C650-4EA2-8400-0A864D0EFEAC} = {CCEFF583-4EEE-433F-8568-9E64166B41FE} - {B2C0271C-3FE6-4C45-B162-4DE00E542A55} = {CCEFF583-4EEE-433F-8568-9E64166B41FE} - {263C49A9-34B9-449B-ABBC-D328210C023D} = {CCEFF583-4EEE-433F-8568-9E64166B41FE} - {C60A06F2-0F4C-483F-BE2B-B103F0D726CE} = {CCEFF583-4EEE-433F-8568-9E64166B41FE} - {104EDC09-0CEA-4AB0-BFF5-B009D4679419} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {265D5E44-682B-49BC-984A-BDD8CA45E60E} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {8A393F7F-85A2-48ED-9B56-9CEFF3BDE34A} = {265D5E44-682B-49BC-984A-BDD8CA45E60E} - {95E0D070-ACFB-40DF-A4EC-FC75EA5AF6B0} = {265D5E44-682B-49BC-984A-BDD8CA45E60E} - {B5569DCD-445E-445B-87E7-D8D4E03F0F76} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {1AA232B1-5999-43AE-A5C8-7973AFCC8BD1} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {D121A3CF-7A7F-4349-ACCA-BED9433AFFEC} = {265D5E44-682B-49BC-984A-BDD8CA45E60E} - {644F2582-D655-43B5-9EA4-D010C94B33AF} = {265D5E44-682B-49BC-984A-BDD8CA45E60E} - {3855CE63-91CF-4F96-97F6-BEAB444B25CB} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {D1D288D1-3178-439F-8EFD-E29D6F66E673} = {3855CE63-91CF-4F96-97F6-BEAB444B25CB} - {07D1B07A-3C95-40A8-AA53-619EC067FD45} = {C7D0EB39-3418-4A7C-AD94-FAB76F023E88} - {20E8BAE5-C13E-4F86-9EB0-EF24F50442B5} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {D845545B-57C4-43A1-985B-23C372340CD6} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {04D53D5C-873D-4A66-98D4-88195E927E20} = {20E8BAE5-C13E-4F86-9EB0-EF24F50442B5} - {F90823E2-53DC-4751-BCCD-6C11B3899592} = {20E8BAE5-C13E-4F86-9EB0-EF24F50442B5} - {6C048526-5A14-4835-B8BA-1C0C6E887225} = {D845545B-57C4-43A1-985B-23C372340CD6} - {FA49E154-CD90-4E11-8216-3EF545C32294} = {265D5E44-682B-49BC-984A-BDD8CA45E60E} - {2A69A38F-E98A-490D-BEAE-1BBBD87121DD} = {4096EC6A-EEAD-4E5B-B087-393D7A4E5874} - {D61721B8-B0F7-4C3D-AD1B-44FBE81DFA79} = {15BDA03E-DE8E-46E4-96A8-CA3F2872E812} - {BE9131C0-7DD4-4032-A5F7-4B9D76EC16CF} = {D61721B8-B0F7-4C3D-AD1B-44FBE81DFA79} - {36EFF070-3400-448E-A912-82930D6E1828} = {265D5E44-682B-49BC-984A-BDD8CA45E60E} - {3B363320-B679-4D29-B428-28311C576E2E} = {CCEFF583-4EEE-433F-8568-9E64166B41FE} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {03D3B66F-8926-4C00-B7AB-A21761EC859E} - EndGlobalSection -EndGlobal diff --git a/aspnet-core/cleanup-logs.bat b/aspnet-core/cleanup-logs.bat new file mode 100644 index 000000000..21d9a2647 --- /dev/null +++ b/aspnet-core/cleanup-logs.bat @@ -0,0 +1,13 @@ +@echo off +cls +chcp 65001 + +echo. 娓呯悊鎵鏈夋湇鍔℃棩蹇 + +del .\services\LY.MicroService.BackendAdmin.HttpApi.Host\Logs /Q +del .\services\LY.MicroService.identityServer\Logs /Q +del .\services\LY.MicroService.identityServer.HttpApi.Host\Logs /Q +del .\services\LY.MicroService.LocalizationManagement.HttpApi.Host\Logs /Q +del .\services\LY.MicroService.PlatformManagement.HttpApi.Host\Logs /Q +del .\services\LY.MicroService.RealtimeMessage.HttpApi.Host\Logs /Q + diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Configure.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Configure.cs new file mode 100644 index 000000000..0a0baa433 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Configure.cs @@ -0,0 +1,278 @@ +锘縰sing DotNetCore.CAP; +using LINGYUN.Abp.ExceptionHandling; +using LINGYUN.Abp.ExceptionHandling.Emailing; +using LINGYUN.Abp.Localization.CultureMap; +using LINGYUN.Abp.Serilog.Enrichers.Application; +using Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.Extensions.Caching.StackExchangeRedis; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.OpenApi.Models; +using StackExchange.Redis; +using System; +using System.Text.Encodings.Web; +using System.Text.Unicode; +using Volo.Abp; +using Volo.Abp.Auditing; +using Volo.Abp.Authorization.Permissions; +using Volo.Abp.Caching; +using Volo.Abp.Domain.Entities.Events.Distributed; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.Identity.Localization; +using Volo.Abp.Json; +using Volo.Abp.Json.SystemTextJson; +using Volo.Abp.Localization; +using Volo.Abp.MultiTenancy; +using Volo.Abp.PermissionManagement; +using Volo.Abp.VirtualFileSystem; + +namespace LY.MicroService.BackendAdmin; + +public partial class BackendAdminHttpApiHostModule +{ + private void PreConfigureApp() + { + AbpSerilogEnrichersConsts.ApplicationName = "Backend-Admin"; + } + + private void PreConfigureCAP(IConfiguration configuration) + { + PreConfigure(options => + { + options + .UseMySql(mySqlOptions => + { + configuration.GetSection("CAP:MySql").Bind(mySqlOptions); + }) + .UseRabbitMQ(rabbitMQOptions => + { + configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); + }) + .UseDashboard(); + }); + } + + private void ConfigureDbContext() + { + // 閰嶇疆Ef + Configure(options => + { + options.UseMySQL(); + }); + } + + private void ConfigureJsonSerializer() + { + // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 + Configure(options => + { + options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; + }); + // 涓枃搴忓垪鍖栫殑缂栫爜闂 + Configure(options => + { + options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); + }); + } + + private void ConfigurePermissionManagement() + { + Configure(options => + { + // Rename IdentityServer.Client.ManagePermissions + // See https://github.com/abpframework/abp/blob/dev/modules/identityserver/src/Volo.Abp.PermissionManagement.Domain.IdentityServer/Volo/Abp/PermissionManagement/IdentityServer/AbpPermissionManagementDomainIdentityServerModule.cs + options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = + LINGYUN.Abp.IdentityServer.AbpIdentityServerPermissions.Clients.ManagePermissions; + }); + } + + private void ConfigureExceptionHandling() + { + // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 + Configure(options => + { + // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + }); + + // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 + Configure(options => + { + // 鏄惁鍙戦佸爢鏍堜俊鎭 + options.SendStackTrace = true; + // 鏈寚瀹氬紓甯告帴鏀惰呯殑榛樿鎺ユ敹閭欢 + // 璇锋寚瀹氳嚜宸辩殑閭欢鍦板潃 + // options.DefaultReceiveEmail = ""; + }); + } + + private void ConfigureCaching(IConfiguration configuration) + { + Configure(options => + { + // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 + options.KeyPrefix = "LINGYUN.Abp.Application"; + // 婊戝姩杩囨湡30澶 + options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); + // 缁濆杩囨湡60澶 + options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); + }); + + Configure(options => + { + options.AutoEventSelectors.AddNamespace("Volo.Abp.TenantManagement"); + }); + + Configure(options => + { + var redisConfig = ConfigurationOptions.Parse(options.Configuration); + options.ConfigurationOptions = redisConfig; + options.InstanceName = configuration["Redis:InstanceName"]; + }); + } + + private void ConfigureVirtualFileSystem() + { + Configure(options => + { + options.FileSets.AddEmbedded("LY.MicroService.BackendAdmin"); + }); + } + + private void ConfigureMultiTenancy(IConfiguration configuration) + { + // 澶氱鎴 + Configure(options => + { + options.IsEnabled = true; + }); + + var tenantResolveCfg = configuration.GetSection("App:Domains"); + if (tenantResolveCfg.Exists()) + { + Configure(options => + { + var domains = tenantResolveCfg.Get(); + foreach (var domain in domains) + { + options.AddDomainTenantResolver(domain); + } + }); + } + } + + private void ConfigureAuditing(IConfiguration configuration) + { + Configure(options => + { + options.ApplicationName = "Backend-Admin"; + // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 + var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); + if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) + { + options + .EntityHistorySelectors + .AddAllEntities(); + } + }); + } + + private void ConfigureSwagger(IServiceCollection services) + { + // Swagger + services.AddSwaggerGen( + options => + { + options.SwaggerDoc("v1", new OpenApiInfo { Title = "BackendAdmin API", Version = "v1" }); + options.DocInclusionPredicate((docName, description) => true); + options.CustomSchemaIds(type => type.FullName); + options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme + { + Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", + Name = "Authorization", + In = ParameterLocation.Header, + Scheme = "bearer", + Type = SecuritySchemeType.Http, + BearerFormat = "JWT" + }); + options.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { + new OpenApiSecurityScheme + { + Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } + }, + new string[] { } + } + }); + options.OperationFilter(); + }); + } + + private void ConfigureLocalization() + { + // 鏀寔鏈湴鍖栬瑷绫诲瀷 + Configure(options => + { + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); + + options.Resources + .Get() + .AddVirtualJson("/Localization/Resources"); + options + .AddLanguagesMapOrUpdate( + "vue-admin-element-ui", + new NameValue("zh-Hans", "zh"), + new NameValue("en", "en")); + + // vben admin 璇█鏄犲皠 + options + .AddLanguagesMapOrUpdate( + "vben-admin-ui", + new NameValue("zh_CN", "zh-Hans")); + + options.Resources.AddDynamic(); + }); + + Configure(options => + { + var zhHansCultureMapInfo = new CultureMapInfo + { + TargetCulture = "zh-Hans", + SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } + }; + + options.CulturesMaps.Add(zhHansCultureMapInfo); + options.UiCulturesMaps.Add(zhHansCultureMapInfo); + }); + } + + private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) + { + services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) + .AddJwtBearer(options => + { + options.Authority = configuration["AuthServer:Authority"]; + options.RequireHttpsMetadata = false; + options.Audience = configuration["AuthServer:ApiName"]; + }); + + if (!isDevelopment) + { + var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); + services + .AddDataProtection() + .SetApplicationName("LINGYUN.Abp.Application") + .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); + } + } +} diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Seeder.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Seeder.cs new file mode 100644 index 000000000..4741da403 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.Seeder.cs @@ -0,0 +1,22 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Volo.Abp; +using Volo.Abp.Data; +using Volo.Abp.Threading; + +namespace LY.MicroService.BackendAdmin; + +public partial class BackendAdminHttpApiHostModule +{ + private static void SeedData(ApplicationInitializationContext context) + { + if (context.GetEnvironment().IsDevelopment()) + { + AsyncHelper.RunSync(async () => + { + using var scope = context.ServiceProvider.CreateScope(); + await scope.ServiceProvider.GetRequiredService().SeedAsync(); + }); + } + } +} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.cs similarity index 59% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.cs rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.cs index fb1a778c4..3587c1928 100644 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.cs +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/BackendAdminHttpApiHostModule.cs @@ -37,9 +37,9 @@ using Volo.Abp.PermissionManagement.IdentityServer; using Volo.Abp.SettingManagement.EntityFrameworkCore; using Volo.Abp.TenantManagement.EntityFrameworkCore; -namespace LINGYUN.Abp.BackendAdmin -{ - [DependsOn( +namespace LY.MicroService.BackendAdmin; + +[DependsOn( typeof(AbpSerilogEnrichersApplicationModule), typeof(AbpAspNetCoreSerilogModule), typeof(AbpLoggingSerilogElasticsearchModule), @@ -77,68 +77,66 @@ namespace LINGYUN.Abp.BackendAdmin typeof(AbpLocalizationCultureMapModule), typeof(AbpAutofacModule) )] - public partial class BackendAdminHostModule : AbpModule +public partial class BackendAdminHttpApiHostModule : AbpModule +{ + public override void PreConfigureServices(ServiceConfigurationContext context) { - public override void PreConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); + var configuration = context.Services.GetConfiguration(); - PreConfigureApp(); - PreConfigureCAP(configuration); - } + PreConfigureApp(); + PreConfigureCAP(configuration); + } - public override void ConfigureServices(ServiceConfigurationContext context) - { - var hostingEnvironment = context.Services.GetHostingEnvironment(); - var configuration = hostingEnvironment.BuildConfiguration(); + public override void ConfigureServices(ServiceConfigurationContext context) + { + var hostingEnvironment = context.Services.GetHostingEnvironment(); + var configuration = hostingEnvironment.BuildConfiguration(); - ConfigureDbContext(); - ConfigureJsonSerializer(); - ConfigurePermissionManagement(); - ConfigureExceptionHandling(); - ConfigureCaching(configuration); - ConfigureVirtualFileSystem(); - ConfigureMultiTenancy(configuration); - ConfigureAuditing(configuration); - ConfigureSwagger(context.Services); - ConfigureLocalization(); - ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); - } + ConfigureDbContext(); + ConfigureJsonSerializer(); + ConfigurePermissionManagement(); + ConfigureExceptionHandling(); + ConfigureCaching(configuration); + ConfigureVirtualFileSystem(); + ConfigureMultiTenancy(configuration); + ConfigureAuditing(configuration); + ConfigureSwagger(context.Services); + ConfigureLocalization(); + ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); + } - public override void OnApplicationInitialization(ApplicationInitializationContext context) + public override void OnApplicationInitialization(ApplicationInitializationContext context) + { + var app = context.GetApplicationBuilder(); + // http璋冪敤閾 + app.UseCorrelationId(); + // 铏氭嫙鏂囦欢绯荤粺 + app.UseStaticFiles(); + //璺敱 + app.UseRouting(); + // 璁よ瘉 + app.UseAuthentication(); + // jwt + app.UseJwtTokenMiddleware(); + // 澶氱鎴 + app.UseMultiTenancy(); + // 鏈湴鍖 + app.UseMapRequestLocalization(); + // 鎺堟潈 + app.UseAuthorization(); + // Swagger + app.UseSwagger(); + // Swagger鍙鍖栫晫闈 + app.UseSwaggerUI(options => { - var app = context.GetApplicationBuilder(); - // http璋冪敤閾 - app.UseCorrelationId(); - // 铏氭嫙鏂囦欢绯荤粺 - app.UseStaticFiles(); - //璺敱 - app.UseRouting(); - // 璁よ瘉 - app.UseAuthentication(); - // jwt - app.UseJwtTokenMiddleware(); - // 澶氱鎴 - app.UseMultiTenancy(); - // 鏈湴鍖 - app.UseMapRequestLocalization(); - // 鎺堟潈 - app.UseAuthorization(); - // Swagger - app.UseSwagger(); - // Swagger鍙鍖栫晫闈 - app.UseSwaggerUI(options => - { - options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support BackendAdmin API"); - }); - // 瀹¤鏃ュ織 - app.UseAuditing(); - app.UseAbpSerilogEnrichers(); - UseDevelopment(app, context); - // 璺敱 - app.UseConfiguredEndpoints(); + options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support BackendAdmin API"); + }); + // 瀹¤鏃ュ織 + app.UseAuditing(); + app.UseAbpSerilogEnrichers(); + // 璺敱 + app.UseConfiguredEndpoints(); - SeedData(context); - } + SeedData(context); } } diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Controllers/HomeController.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Controllers/HomeController.cs new file mode 100644 index 000000000..914e6f70c --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Controllers/HomeController.cs @@ -0,0 +1,12 @@ +锘縰sing Microsoft.AspNetCore.Mvc; +using Volo.Abp.AspNetCore.Mvc; + +namespace LY.MicroService.BackendAdmin.Controllers; + +public class HomeController : AbpController +{ + public ActionResult Index() + { + return Redirect("~/swagger"); + } +} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Dockerfile b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Dockerfile similarity index 76% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Dockerfile rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Dockerfile index 9ce81ef1b..5ecc3ca3f 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Dockerfile +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Dockerfile @@ -11,4 +11,4 @@ EXPOSE 80/tcp VOLUME [ "./app/Logs" ] VOLUME [ "./app/Modules" ] -ENTRYPOINT ["dotnet", "LINGYUN.Abp.MessageService.HttpApi.Host.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "LY.MicroService.BackendAdmin.HttpApi.Host.dll"] diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContext.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContext.cs new file mode 100644 index 000000000..a2dca4430 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContext.cs @@ -0,0 +1,27 @@ +锘縰sing Microsoft.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.FeatureManagement.EntityFrameworkCore; +using Volo.Abp.PermissionManagement.EntityFrameworkCore; +using Volo.Abp.SettingManagement.EntityFrameworkCore; +using Volo.Abp.TenantManagement.EntityFrameworkCore; + +namespace LY.MicroService.BackendAdmin.EntityFrameworkCore; + +public class BackendAdminMigrationsDbContext : AbpDbContext +{ + public BackendAdminMigrationsDbContext(DbContextOptions options) + : base(options) + { + + } + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + base.OnModelCreating(modelBuilder); + + modelBuilder.ConfigureFeatureManagement(); + modelBuilder.ConfigureTenantManagement(); + modelBuilder.ConfigureSettingManagement(); + modelBuilder.ConfigurePermissionManagement(); + } +} diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContextFactory.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContextFactory.cs new file mode 100644 index 000000000..afd271840 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminMigrationsDbContextFactory.cs @@ -0,0 +1,30 @@ +锘縰sing System.IO; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Design; +using Microsoft.Extensions.Configuration; + +namespace LY.MicroService.BackendAdmin.EntityFrameworkCore; + +public class BackendAdminMigrationsDbContextFactory : IDesignTimeDbContextFactory +{ + public BackendAdminMigrationsDbContext CreateDbContext(string[] args) + { + var configuration = BuildConfiguration(); + + var connectionString = configuration.GetConnectionString("Default"); + + var builder = new DbContextOptionsBuilder() + .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); + + return new BackendAdminMigrationsDbContext(builder.Options); + } + + private static IConfigurationRoot BuildConfiguration() + { + var builder = new ConfigurationBuilder() + .SetBasePath(Directory.GetCurrentDirectory()) + .AddJsonFile("appsettings.Development.json", optional: false); + + return builder.Build(); + } +} diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs new file mode 100644 index 000000000..3a9553fec --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs @@ -0,0 +1,187 @@ +锘縰sing LINGYUN.Abp.Data.DbMigrator; +using LINGYUN.Abp.MultiTenancy; +using LY.MicroService.BackendAdmin.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Logging; +using System; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Volo.Abp.Authorization.Permissions; +using Volo.Abp.DependencyInjection; +using Volo.Abp.Domain.Entities.Events.Distributed; +using Volo.Abp.Domain.Repositories; +using Volo.Abp.EventBus.Distributed; +using Volo.Abp.Guids; +using Volo.Abp.MultiTenancy; +using Volo.Abp.PermissionManagement; +using Volo.Abp.TenantManagement; +using Volo.Abp.Uow; + +namespace LY.MicroService.BackendAdmin.EventBus.Handlers; + +public class TenantSynchronizer : + IDistributedEventHandler, + IDistributedEventHandler>, + ITransientDependency +{ + protected ILogger Logger { get; } + protected ICurrentTenant CurrentTenant { get; } + protected IGuidGenerator GuidGenerator { get; } + protected IUnitOfWorkManager UnitOfWorkManager { get; } + protected IDbSchemaMigrator DbSchemaMigrator { get; } + protected IPermissionGrantRepository PermissionGrantRepository { get; } + protected IPermissionDefinitionManager PermissionDefinitionManager { get; } + public TenantSynchronizer( + ICurrentTenant currentTenant, + IGuidGenerator guidGenerator, + IUnitOfWorkManager unitOfWorkManager, + IDbSchemaMigrator dbSchemaMigrator, + IPermissionGrantRepository permissionGrantRepository, + IPermissionDefinitionManager permissionDefinitionManager, + ILogger logger) + { + CurrentTenant = currentTenant; + GuidGenerator = guidGenerator; + UnitOfWorkManager = unitOfWorkManager; + DbSchemaMigrator = dbSchemaMigrator; + PermissionGrantRepository = permissionGrantRepository; + PermissionDefinitionManager = permissionDefinitionManager; + + Logger = logger; + } + + public async Task HandleEventAsync(EntityDeletedEto eventData) + { + using var unitOfWork = UnitOfWorkManager.Begin(); + // 璁㈤槄绉熸埛鍒犻櫎浜嬩欢,鍒犻櫎绠$悊鍛樿鑹叉墍鏈夋潈闄 + // TODO: 绉熸埛璨屼技涓嶅瓨鍦ㄤ簡,鍒犻櫎搴旇浼氬け璐 + // 鏈夌紦瀛樺瓨鍦ㄧ殑璇,鍙互鑾峰彇鍒扮鎴疯繛鎺ュ瓧绗︿覆 + using (CurrentTenant.Change(eventData.Entity.Id)) + { + // var grantPermissions = await PermissionGrantRepository.GetListAsync("R", "admin"); + + // EfCore MySql 鎵归噺鍒犻櫎杩樻槸涓鏉′竴鏉$殑璇彞? + // PermissionGrantRepository.GetDbSet().RemoveRange(grantPermissions); + var dbContext = await PermissionGrantRepository.GetDbContextAsync(); + var permissionEntityType = dbContext.Model.FindEntityType(typeof(PermissionGrant)); + var permissionTableName = permissionEntityType.GetTableName(); + var batchRmovePermissionSql = string.Empty; + if (dbContext.Database.IsMySql()) + { + batchRmovePermissionSql = BuildMySqlBatchDeleteScript(permissionTableName, eventData.Entity.Id); + } + else + { + batchRmovePermissionSql = BuildSqlServerBatchDeleteScript(permissionTableName, eventData.Entity.Id); + } + + await dbContext.Database.ExecuteSqlRawAsync(batchRmovePermissionSql); + + await unitOfWork.SaveChangesAsync(); + } + } + + public async Task HandleEventAsync(CreateEventData eventData) + { + using (var unitOfWork = UnitOfWorkManager.Begin()) + { + // 璁㈤槄绉熸埛鏂板浜嬩欢,缃叆绠$悊鍛樿鑹叉墍鏈夋潈闄 + using (CurrentTenant.Change(eventData.Id, eventData.Name)) + { + Logger.LogInformation("Migrating the new tenant database with platform..."); + // 杩佺Щ绉熸埛鏁版嵁 + await DbSchemaMigrator.MigrateAsync( + (connectionString, builder) => + { + builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); + + return new BackendAdminMigrationsDbContext(builder.Options); + }); + + Logger.LogInformation("Migrated the new tenant database with platform."); + + Logger.LogInformation("Seeding the new tenant admin role permissions..."); + var definitionPermissions = PermissionDefinitionManager.GetPermissions(); + var grantPermissions = definitionPermissions + .Where(p => p.MultiTenancySide.HasFlag(MultiTenancySides.Tenant)) + .Select(p => p.Name).ToArray(); + //var grantPermissions = new List(); + //foreach (var permission in definitionPermissions) + //{ + // var permissionGrant = new PermissionGrant(GuidGenerator.Create(), + // permission.Name, "R", "admin", eventData.Id); + // grantPermissions.Add(permissionGrant); + //} + // TODO: MySql 鎵归噺鏂板杩樻槸涓鏉′竴鏉$殑璇彞? + // await PermissionGrantRepository.GetDbSet().AddRangeAsync(grantPermissions); + + var dbContext = await PermissionGrantRepository.GetDbContextAsync(); + var permissionEntityType = dbContext.Model.FindEntityType(typeof(PermissionGrant)); + var permissionTableName = permissionEntityType.GetTableName(); + var batchInsertPermissionSql = string.Empty; + if (dbContext.Database.IsMySql()) + { + batchInsertPermissionSql = BuildMySqlBatchInsertScript(permissionTableName, eventData.Id, grantPermissions); + } + else + { + batchInsertPermissionSql = BuildSqlServerBatchInsertScript(permissionTableName, eventData.Id, grantPermissions); + } + await dbContext.Database.ExecuteSqlRawAsync(batchInsertPermissionSql); + + await unitOfWork.SaveChangesAsync(); + + Logger.LogInformation("The new tenant permissions data initialized!"); + } + } + } + + protected virtual string BuildMySqlBatchInsertScript(string tableName, Guid tenantId, string[] permissions) + { + var batchInsertPermissionSql = new StringBuilder(128); + batchInsertPermissionSql.AppendLine($"INSERT INTO `{tableName}`(`Id`, `TenantId`, `Name`, `ProviderName`, `ProviderKey`)"); + batchInsertPermissionSql.AppendLine("VALUES"); + for (int i = 0; i < permissions.Length; i++) + { + batchInsertPermissionSql.AppendLine($"(UUID(), '{tenantId}','{permissions[i]}','R','admin')"); + if (i < permissions.Length - 1) + { + batchInsertPermissionSql.AppendLine(","); + } + } + return batchInsertPermissionSql.ToString(); + } + + protected virtual string BuildSqlServerBatchInsertScript(string tableName, Guid tenantId, string[] permissions) + { + var batchInsertPermissionSql = new StringBuilder(128); + batchInsertPermissionSql.AppendLine($"INSERT INTO {tableName}(Id, TenantId, Name, ProviderName, ProviderKey)"); + batchInsertPermissionSql.Append("VALUES"); + for (int i = 0; i < permissions.Length; i++) + { + batchInsertPermissionSql.AppendLine($"(NEWID(), '{tenantId}','{permissions[i]}','R','admin')"); + if (i < permissions.Length - 1) + { + batchInsertPermissionSql.AppendLine(","); + } + } + return batchInsertPermissionSql.ToString(); + } + + protected virtual string BuildMySqlBatchDeleteScript(string tableName, Guid tenantId) + { + var batchRemovePermissionSql = new StringBuilder(128); + batchRemovePermissionSql.AppendLine($"DELETE FROM `{tableName}` WHERE `TenantId` = '{tenantId}'"); + batchRemovePermissionSql.AppendLine("AND `ProviderName`='R' AND `ProviderKey`='admin'"); + return batchRemovePermissionSql.ToString(); + } + + protected virtual string BuildSqlServerBatchDeleteScript(string tableName, Guid tenantId) + { + var batchRemovePermissionSql = new StringBuilder(128); + batchRemovePermissionSql.AppendLine($"DELETE {tableName} WHERE TenantId = '{tenantId}'"); + batchRemovePermissionSql.AppendLine("AND ProviderName='R' AND ProviderKey='admin'"); + return batchRemovePermissionSql.ToString(); + } +} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/FodyWeavers.xml b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/FodyWeavers.xml similarity index 100% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/FodyWeavers.xml rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/FodyWeavers.xml diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/LY.MicroService.BackendAdmin.HttpApi.Host.csproj similarity index 52% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/LY.MicroService.BackendAdmin.HttpApi.Host.csproj index 7a062f2e8..0b2d3ec3c 100644 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/LY.MicroService.BackendAdmin.HttpApi.Host.csproj @@ -2,24 +2,11 @@ net6.0 - LINGYUN.Abp.BackendAdmin + LY.MicroService.BackendAdmin - - - - - - - - - - - - - - + @@ -62,26 +49,26 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/en.json b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Localization/Resources/en.json similarity index 100% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/en.json rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Localization/Resources/en.json diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/zh-Hans.json b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Localization/Resources/zh-Hans.json similarity index 100% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/zh-Hans.json rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Localization/Resources/zh-Hans.json diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.Designer.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.Designer.cs similarity index 95% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.Designer.cs rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.Designer.cs index 7a576f52d..ff3cc36e6 100644 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.Designer.cs +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.BackendAdmin.EntityFrameworkCore; +using LY.MicroService.BackendAdmin.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.BackendAdmin.Migrations +namespace LY.MicroService.BackendAdmin.Migrations { - [DbContext(typeof(BackendAdminHostMigrationsDbContext))] + [DbContext(typeof(BackendAdminMigrationsDbContext))] [Migration("20211030090436_Re-Initlize-Db-Migration")] partial class ReInitlizeDbMigration { diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.cs similarity index 97% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.cs rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.cs index 26c2ff958..4f7ae37de 100644 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.cs +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/20211030090436_Re-Initlize-Db-Migration.cs @@ -1,7 +1,7 @@ 锘縰sing System; using Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.BackendAdmin.Migrations +namespace LY.MicroService.BackendAdmin.Migrations { public partial class ReInitlizeDbMigration : Migration { diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs similarity index 95% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs index c54004a50..d8822b668 100644 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs @@ -1,14 +1,14 @@ 锘// using System; -using LINGYUN.Abp.BackendAdmin.EntityFrameworkCore; +using LY.MicroService.BackendAdmin.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.BackendAdmin.Migrations +namespace LY.MicroService.BackendAdmin.Migrations { - [DbContext(typeof(BackendAdminHostMigrationsDbContext))] + [DbContext(typeof(BackendAdminMigrationsDbContext))] partial class BackendAdminHostMigrationsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Program.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Program.cs new file mode 100644 index 000000000..5bfbc2cc7 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Program.cs @@ -0,0 +1,49 @@ +锘縰sing Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using Serilog; +using System; + +namespace LY.MicroService.BackendAdmin; + +public class Program +{ + public static int Main(string[] args) + { + try + { + Log.Information("Starting BackendAdmin.Host."); + CreateHostBuilder(args).Build().Run(); + return 0; + } + catch (Exception ex) + { + Log.Fatal(ex, "Host terminated unexpectedly!"); + return 1; + } + finally + { + Log.CloseAndFlush(); + } + } + + internal static IHostBuilder CreateHostBuilder(string[] args) => + Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); + }) + .ConfigureAppConfiguration((context, config) => + { + var configuration = config.Build(); + if (configuration.GetSection("AgileConfig").Exists()) + { + config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); + } + }) + .UseSerilog((context, provider, config) => + { + config.ReadFrom.Configuration(context.Configuration); + }) + .UseAutofac(); +} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Properties/launchSettings.json similarity index 60% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Properties/launchSettings.json rename to aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Properties/launchSettings.json index 3c7dbbca2..ceb66ec05 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Properties/launchSettings.json +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Properties/launchSettings.json @@ -3,16 +3,16 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:30030", + "applicationUrl": "http://localhost:65286", "sslPort": 0 } }, "profiles": { - "LINGYUN.Abp.LocalizationManagement.HttpApi.Host": { + "LY.MicroService.BackendAdmin.HttpApi.Host": { "commandName": "Project", - "dotnetRunMessages": "true", + "dotnetRunMessages": true, "launchBrowser": false, - "applicationUrl": "http://0.0.0.0:30030", + "applicationUrl": "http://127.0.0.1:30010", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs new file mode 100644 index 000000000..ec4418ad7 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs @@ -0,0 +1,34 @@ +锘縰sing Volo.Abp.Account.Localization; +using Volo.Abp.Account.Settings; +using Volo.Abp.Localization; +using Volo.Abp.Settings; + +namespace LY.MicroService.BackendAdmin.Settings; + +// 鍚庡彴绠$悊椤圭洰涓嶅紩鐢 Volo.Abp.Account.Application妯″潡,鍙兘鑷缓涓涓厤缃 +public class AccountSettingDefinitionProvider : SettingDefinitionProvider +{ + public override void Define(ISettingDefinitionContext context) + { + context.Add( + new SettingDefinition( + AccountSettingNames.IsSelfRegistrationEnabled, + "true", + L("DisplayName:Abp.Account.IsSelfRegistrationEnabled"), + L("Description:Abp.Account.IsSelfRegistrationEnabled"), isVisibleToClients: true) + ); + + context.Add( + new SettingDefinition( + AccountSettingNames.EnableLocalLogin, + "true", + L("DisplayName:Abp.Account.EnableLocalLogin"), + L("Description:Abp.Account.EnableLocalLogin"), isVisibleToClients: true) + ); + } + + private static LocalizableString L(string name) + { + return LocalizableString.Create(name); + } +} \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Startup.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Startup.cs new file mode 100644 index 000000000..f77d4c6f7 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/Startup.cs @@ -0,0 +1,30 @@ +锘縰sing Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.DependencyInjection; +using System.IO; +using Volo.Abp.IO; +using Volo.Abp.Modularity.PlugIns; + +namespace LY.MicroService.BackendAdmin; + +public class Startup +{ + public void ConfigureServices(IServiceCollection services) + { + services.AddApplication(options => + { + // 鎼滅储 Modules 鐩綍涓嬫墍鏈夋枃浠朵綔涓烘彃浠 + // 鍙栨秷鏄剧ず寮曠敤鎵鏈夊叾浠栭」鐩殑妯″潡锛屾敼涓洪氳繃鎻掍欢鐨勫舰寮忓紩鐢 + var pluginFolder = Path.Combine( + Directory.GetCurrentDirectory(), "Modules"); + DirectoryHelper.CreateIfNotExists(pluginFolder); + options.PlugInSources.AddFolder( + pluginFolder, + SearchOption.AllDirectories); + }); + } + + public void Configure(IApplicationBuilder app) + { + app.InitializeApplication(); + } +} diff --git a/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs new file mode 100644 index 000000000..e0dcf752d --- /dev/null +++ b/aspnet-core/services/LY.MicroService.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs @@ -0,0 +1,32 @@ +锘縰sing Microsoft.Extensions.Options; +using Microsoft.OpenApi.Models; +using Swashbuckle.AspNetCore.SwaggerGen; +using System.Collections.Generic; +using Volo.Abp.MultiTenancy; + +namespace LY.MicroService.BackendAdmin; + +public class TenantHeaderParamter : IOperationFilter +{ + private readonly AbpMultiTenancyOptions _options; + public TenantHeaderParamter( + IOptions options) + { + _options = options.Value; + } + + public void Apply(OpenApiOperation operation, OperationFilterContext context) + { + if (_options.IsEnabled) + { + operation.Parameters = operation.Parameters ?? new List(); + operation.Parameters.Add(new OpenApiParameter + { + Name = TenantResolverConsts.DefaultTenantKey, + In = ParameterLocation.Header, + Description = "Tenant Id in http header", + Required = false + }); + } + } +} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Dockerfile b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Dockerfile similarity index 74% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Dockerfile rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Dockerfile index 463be1697..642e1370e 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Dockerfile +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Dockerfile @@ -11,4 +11,4 @@ EXPOSE 80/tcp VOLUME [ "./app/Logs" ] VOLUME [ "./app/Modules" ] -ENTRYPOINT ["dotnet", "LINGYUN.Abp.LocalizationManagement.HttpApi.Host.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "LY.MicroService.LocalizationManagement.HttpApi.Host.dll"] \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContext.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContext.cs new file mode 100644 index 000000000..d1ec9ebcc --- /dev/null +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContext.cs @@ -0,0 +1,23 @@ +锘縰sing LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace LY.MicroService.LocalizationManagement.EntityFrameworkCore +{ + public class LocalizationManagementMigrationsDbContext : AbpDbContext + { + public LocalizationManagementMigrationsDbContext( + DbContextOptions options) + : base(options) + { + + } + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + base.OnModelCreating(modelBuilder); + + modelBuilder.ConfigureLocalization(); + } + } +} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContextFactory.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContextFactory.cs similarity index 62% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContextFactory.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContextFactory.cs index 5a30305e6..4d5e9382e 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContextFactory.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementMigrationsDbContextFactory.cs @@ -3,19 +3,19 @@ using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using System.IO; -namespace LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore +namespace LY.MicroService.LocalizationManagement.EntityFrameworkCore { - public class LocalizationManagementHttpApiHostMigrationsDbContextFactory : IDesignTimeDbContextFactory + public class LocalizationManagementMigrationsDbContextFactory : IDesignTimeDbContextFactory { - public LocalizationManagementHttpApiHostMigrationsDbContext CreateDbContext(string[] args) + public LocalizationManagementMigrationsDbContext CreateDbContext(string[] args) { var configuration = BuildConfiguration(); var connectionString = configuration.GetConnectionString("Default"); - var builder = new DbContextOptionsBuilder() + var builder = new DbContextOptionsBuilder() .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - return new LocalizationManagementHttpApiHostMigrationsDbContext(builder.Options); + return new LocalizationManagementMigrationsDbContext(builder.Options); } private static IConfigurationRoot BuildConfiguration() diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs similarity index 85% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs index 9759dd6da..e666013f4 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs @@ -1,6 +1,6 @@ 锘縰sing LINGYUN.Abp.Data.DbMigrator; -using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; using LINGYUN.Abp.MultiTenancy; +using LY.MicroService.LocalizationManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System.Threading.Tasks; @@ -9,7 +9,7 @@ using Volo.Abp.EventBus.Distributed; using Volo.Abp.MultiTenancy; using Volo.Abp.Uow; -namespace LINGYUN.Abp.LocalizationManagement.EventBus.Handlers +namespace LY.MicroService.LocalizationManagement.EventBus.Handlers { public class TenantSynchronizer : IDistributedEventHandler, ITransientDependency { @@ -39,12 +39,12 @@ namespace LINGYUN.Abp.LocalizationManagement.EventBus.Handlers { Logger.LogInformation("Migrating the new tenant database with localization.."); // 杩佺Щ绉熸埛鏁版嵁 - await DbSchemaMigrator.MigrateAsync( + await DbSchemaMigrator.MigrateAsync( (connectionString, builder) => { builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - return new LocalizationManagementHttpApiHostMigrationsDbContext(builder.Options); + return new LocalizationManagementMigrationsDbContext(builder.Options); }); await unitOfWork.SaveChangesAsync(); diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/FodyWeavers.xml b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/FodyWeavers.xml similarity index 100% rename from aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/FodyWeavers.xml rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/FodyWeavers.xml diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/LINGYUN.Abp.LocalizationManagement.HttpApi.Host.csproj b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LY.MicroService.LocalizationManagement.HttpApi.Host.csproj similarity index 63% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/LINGYUN.Abp.LocalizationManagement.HttpApi.Host.csproj rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LY.MicroService.LocalizationManagement.HttpApi.Host.csproj index e8b47499f..006beb283 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/LINGYUN.Abp.LocalizationManagement.HttpApi.Host.csproj +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LY.MicroService.LocalizationManagement.HttpApi.Host.csproj @@ -2,7 +2,7 @@ net6.0 - LINGYUN.Abp.LocalizationManagement + LY.MicroService.LocalizationManagement @@ -36,17 +36,17 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Configure.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Configure.cs new file mode 100644 index 000000000..ad71776a0 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Configure.cs @@ -0,0 +1,227 @@ +锘縰sing DotNetCore.CAP; +using LINGYUN.Abp.ExceptionHandling; +using LINGYUN.Abp.ExceptionHandling.Emailing; +using LINGYUN.Abp.Localization.CultureMap; +using LINGYUN.Abp.Serilog.Enrichers.Application; +using Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.Extensions.Caching.StackExchangeRedis; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.OpenApi.Models; +using StackExchange.Redis; +using System; +using System.Text.Encodings.Web; +using System.Text.Unicode; +using Volo.Abp; +using Volo.Abp.Auditing; +using Volo.Abp.Caching; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.Json; +using Volo.Abp.Json.SystemTextJson; +using Volo.Abp.Localization; +using Volo.Abp.MultiTenancy; +using Volo.Abp.VirtualFileSystem; + + +namespace LY.MicroService.LocalizationManagement; + +public partial class LocalizationManagementHttpApiHostModule +{ + private void PreConfigureApp() + { + AbpSerilogEnrichersConsts.ApplicationName = "Localization"; + } + + private void PreConfigureCAP(IConfiguration configuration) + { + PreConfigure(options => + { + options + .UseMySql(mySqlOptions => + { + configuration.GetSection("CAP:MySql").Bind(mySqlOptions); + }) + .UseRabbitMQ(rabbitMQOptions => + { + configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); + }) + .UseDashboard(); + }); + } + + private void ConfigureDbContext() + { + // 閰嶇疆Ef + Configure(options => + { + options.UseMySQL(); + }); + } + + private void ConfigureJsonSerializer() + { + // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 + Configure(options => + { + options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; + }); + // 涓枃搴忓垪鍖栫殑缂栫爜闂 + Configure(options => + { + options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); + }); + } + + private void ConfigreExceptionHandling() + { + // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 + Configure(options => + { + // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + }); + // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 + Configure(options => + { + // 鏄惁鍙戦佸爢鏍堜俊鎭 + options.SendStackTrace = true; + }); + } + + private void ConfigureAuditing(IConfiguration configuration) + { + Configure(options => + { + options.ApplicationName = "Localization"; + // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 + var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); + if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) + { + options + .EntityHistorySelectors + .AddAllEntities(); + } + }); + } + + private void ConfigureCaching(IConfiguration configuration) + { + Configure(options => + { + // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 + options.KeyPrefix = "LINGYUN.Abp.Application"; + // 婊戝姩杩囨湡30澶 + options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); + // 缁濆杩囨湡60澶 + options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); + }); + + Configure(options => + { + var redisConfig = ConfigurationOptions.Parse(options.Configuration); + options.ConfigurationOptions = redisConfig; + options.InstanceName = configuration["Redis:InstanceName"]; + }); + } + + private void ConfigureVirtualFileSystem() + { + Configure(options => + { + options.FileSets.AddEmbedded("LY.MicroService.LocalizationManagement"); + }); + } + + private void ConfigureMultiTenancy(IConfiguration configuration) + { + // 澶氱鎴 + Configure(options => + { + options.IsEnabled = false; + }); + } + + private void ConfigureSwagger(IServiceCollection services) + { + // Swagger + services.AddSwaggerGen( + options => + { + options.SwaggerDoc("v1", new OpenApiInfo { Title = "Localization Management API", Version = "v1" }); + options.DocInclusionPredicate((docName, description) => true); + options.CustomSchemaIds(type => type.FullName); + options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme + { + Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", + Name = "Authorization", + In = ParameterLocation.Header, + Scheme = "bearer", + Type = SecuritySchemeType.Http, + BearerFormat = "JWT" + }); + options.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { + new OpenApiSecurityScheme + { + Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } + }, + new string[] { } + } + }); + options.OperationFilter(); + }); + } + + private void ConfigureLocalization() + { + // 榛樿鏀寔鐨勬湰鍦板寲璇█绫诲瀷 + Configure(options => + { + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); + + options.Resources.AddDynamic(); + }); + + Configure(options => + { + var zhHansCultureMapInfo = new CultureMapInfo + { + TargetCulture = "zh-Hans", + SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } + }; + + options.CulturesMaps.Add(zhHansCultureMapInfo); + options.UiCulturesMaps.Add(zhHansCultureMapInfo); + }); + } + + private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) + { + services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) + .AddJwtBearer(options => + { + options.Authority = configuration["AuthServer:Authority"]; + options.RequireHttpsMetadata = false; + options.Audience = configuration["AuthServer:ApiName"]; + }); + + if (!isDevelopment) + { + var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); + services + .AddDataProtection() + .SetApplicationName("LINGYUN.Abp.Application") + .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); + } + } +} diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Seeder.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Seeder.cs new file mode 100644 index 000000000..3d6da7795 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.Seeder.cs @@ -0,0 +1,20 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Volo.Abp; +using Volo.Abp.Data; +using Volo.Abp.Threading; + +namespace LY.MicroService.LocalizationManagement; + +public partial class LocalizationManagementHttpApiHostModule +{ + private void SeedData(ApplicationInitializationContext context) + { + if (context.GetEnvironment().IsDevelopment()) + { + AsyncHelper.RunSync(async () => + await context.ServiceProvider.GetRequiredService() + .SeedAsync()); + } + } +} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.cs similarity index 93% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.cs index b38bc97a8..ca8746d48 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/LocalizationManagementHttpApiHostModule.cs @@ -4,6 +4,7 @@ using LINGYUN.Abp.Data.DbMigrator; using LINGYUN.Abp.EventBus.CAP; using LINGYUN.Abp.ExceptionHandling.Emailing; using LINGYUN.Abp.Localization.CultureMap; +using LINGYUN.Abp.LocalizationManagement; using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; using LINGYUN.Abp.MultiTenancy.DbFinder; using LINGYUN.Abp.Serilog.Enrichers.Application; @@ -22,7 +23,7 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore; using Volo.Abp.SettingManagement.EntityFrameworkCore; using Volo.Abp.TenantManagement.EntityFrameworkCore; -namespace LINGYUN.Abp.LocalizationManagement +namespace LY.MicroService.LocalizationManagement { [DependsOn( typeof(AbpSerilogEnrichersApplicationModule), @@ -46,7 +47,7 @@ namespace LINGYUN.Abp.LocalizationManagement typeof(AbpLocalizationCultureMapModule), typeof(AbpAutofacModule) )] - public partial class AbpLocalizationManagementHttpApiHostModule : AbpModule + public partial class LocalizationManagementHttpApiHostModule : AbpModule { public override void PreConfigureServices(ServiceConfigurationContext context) { diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.Designer.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.Designer.cs similarity index 97% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.Designer.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.Designer.cs index 4d8b93379..c5a488cc7 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.Designer.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; +using LY.MicroService.LocalizationManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.LocalizationManagement.Migrations +namespace LY.MicroService.LocalizationManagement.Migrations { - [DbContext(typeof(LocalizationManagementHttpApiHostMigrationsDbContext))] + [DbContext(typeof(LocalizationManagementMigrationsDbContext))] [Migration("20210326090255_Add-Module-Localization-Management")] partial class AddModuleLocalizationManagement { diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.cs similarity index 98% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.cs index 9eb62fad2..c3c3b9c97 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326090255_Add-Module-Localization-Management.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.LocalizationManagement.Migrations +namespace LY.MicroService.LocalizationManagement.Migrations { public partial class AddModuleLocalizationManagement : Migration { diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.Designer.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.Designer.cs similarity index 96% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.Designer.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.Designer.cs index aef0b1a44..8e458a892 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.Designer.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; +using LY.MicroService.LocalizationManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.LocalizationManagement.Migrations +namespace LY.MicroService.LocalizationManagement.Migrations { - [DbContext(typeof(LocalizationManagementHttpApiHostMigrationsDbContext))] + [DbContext(typeof(LocalizationManagementMigrationsDbContext))] [Migration("20210326100405_Rmove-Field-TenantId")] partial class RmoveFieldTenantId { diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.cs similarity index 95% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.cs index fd55e4165..f266d660e 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326100405_Rmove-Field-TenantId.cs @@ -1,7 +1,7 @@ 锘縰sing System; using Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.LocalizationManagement.Migrations +namespace LY.MicroService.LocalizationManagement.Migrations { public partial class RmoveFieldTenantId : Migration { diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.Designer.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.Designer.cs similarity index 97% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.Designer.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.Designer.cs index 486874976..aa5f97dd1 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.Designer.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; +using LY.MicroService.LocalizationManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.LocalizationManagement.Migrations +namespace LY.MicroService.LocalizationManagement.Migrations { - [DbContext(typeof(LocalizationManagementHttpApiHostMigrationsDbContext))] + [DbContext(typeof(LocalizationManagementMigrationsDbContext))] [Migration("20210326103126_Rename-Field-ResourceId-To-ResourceName")] partial class RenameFieldResourceIdToResourceName { diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.cs similarity index 94% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.cs index e2e38db3e..843eac61d 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/20210326103126_Rename-Field-ResourceId-To-ResourceName.cs @@ -1,7 +1,7 @@ 锘縰sing System; using Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.LocalizationManagement.Migrations +namespace LY.MicroService.LocalizationManagement.Migrations { public partial class RenameFieldResourceIdToResourceName : Migration { diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementHttpApiHostMigrationsDbContextModelSnapshot.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementMigrationsDbContextModelSnapshot.cs similarity index 95% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementHttpApiHostMigrationsDbContextModelSnapshot.cs rename to aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementMigrationsDbContextModelSnapshot.cs index 561529372..96e328753 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementHttpApiHostMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Migrations/LocalizationManagementMigrationsDbContextModelSnapshot.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; +using LY.MicroService.LocalizationManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.LocalizationManagement.Migrations +namespace LY.MicroService.LocalizationManagement.Migrations { - [DbContext(typeof(LocalizationManagementHttpApiHostMigrationsDbContext))] - partial class LocalizationManagementHttpApiHostMigrationsDbContextModelSnapshot : ModelSnapshot + [DbContext(typeof(LocalizationManagementMigrationsDbContext))] + partial class LocalizationManagementMigrationsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Program.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Program.cs new file mode 100644 index 000000000..94b7b2ed1 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Program.cs @@ -0,0 +1,51 @@ +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using Serilog; +using System; + +namespace LY.MicroService.LocalizationManagement; + +public class Program +{ + public static int Main(string[] args) + { + try + { + var hostBuilder = CreateHostBuilder(args).Build(); + Log.Information("Starting LocalizationManagement.Host."); + hostBuilder.Run(); + + return 0; + } + catch (Exception ex) + { + Log.Fatal(ex, "Host terminated unexpectedly!"); + return 1; + } + finally + { + Log.CloseAndFlush(); + } + } + + internal static IHostBuilder CreateHostBuilder(string[] args) => + Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); + }) + .ConfigureAppConfiguration((context, config) => + { + var configuration = config.Build(); + if (configuration.GetSection("AgileConfig").Exists()) + { + config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); + } + }) + .UseSerilog((context, provider, config) => + { + config.ReadFrom.Configuration(context.Configuration); + }) + .UseAutofac(); +} diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Properties/launchSettings.json new file mode 100644 index 000000000..11b3a883a --- /dev/null +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Properties/launchSettings.json @@ -0,0 +1,21 @@ +锘縶 + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:21259", + "sslPort": 0 + } + }, + "profiles": { + "LY.MicroService.LocalizationManagement.HttpApi.Host": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "http://127.0.0.1:30030", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Startup.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Startup.cs new file mode 100644 index 000000000..846c96880 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/Startup.cs @@ -0,0 +1,30 @@ +using Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.DependencyInjection; +using System.IO; +using Volo.Abp.IO; +using Volo.Abp.Modularity.PlugIns; + +namespace LY.MicroService.LocalizationManagement; + +public class Startup +{ + public void ConfigureServices(IServiceCollection services) + { + services.AddApplication(options => + { + // 搜索 Modules 目录下所有文件作为插件 + // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 + var pluginFolder = Path.Combine( + Directory.GetCurrentDirectory(), "Modules"); + DirectoryHelper.CreateIfNotExists(pluginFolder); + options.PlugInSources.AddFolder( + pluginFolder, + SearchOption.AllDirectories); + }); + } + + public void Configure(IApplicationBuilder app) + { + app.InitializeApplication(); + } +} diff --git a/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/TenantHeaderParamter.cs new file mode 100644 index 000000000..1d459d79f --- /dev/null +++ b/aspnet-core/services/LY.MicroService.LocalizationManagement.HttpApi.Host/TenantHeaderParamter.cs @@ -0,0 +1,32 @@ +锘縰sing Microsoft.Extensions.Options; +using Microsoft.OpenApi.Models; +using Swashbuckle.AspNetCore.SwaggerGen; +using System.Collections.Generic; +using Volo.Abp.MultiTenancy; + +namespace LY.MicroService.LocalizationManagement; + +public class TenantHeaderParamter : IOperationFilter +{ + private readonly AbpMultiTenancyOptions _options; + public TenantHeaderParamter( + IOptions options) + { + _options = options.Value; + } + + public void Apply(OpenApiOperation operation, OperationFilterContext context) + { + if (_options.IsEnabled) + { + operation.Parameters = operation.Parameters ?? new List(); + operation.Parameters.Add(new OpenApiParameter + { + Name = TenantResolverConsts.DefaultTenantKey, + In = ParameterLocation.Header, + Description = "Tenant Id in http header", + Required = false + }); + } + } +} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Dockerfile b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Dockerfile similarity index 100% rename from aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Dockerfile rename to aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Dockerfile diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContext.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContext.cs new file mode 100644 index 000000000..6b48b2a14 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContext.cs @@ -0,0 +1,21 @@ +锘縰sing LINGYUN.Platform.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace LY.MicroService.PlatformManagement.EntityFrameworkCore; + +public class PlatformManagementMigrationsDbContext : AbpDbContext +{ + public PlatformManagementMigrationsDbContext(DbContextOptions options) + : base(options) + { + + } + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + base.OnModelCreating(modelBuilder); + + modelBuilder.ConfigurePlatform(); + } +} diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContextFactory.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContextFactory.cs new file mode 100644 index 000000000..aca45745f --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EntityFrameworkCore/PlatformManagementMigrationsDbContextFactory.cs @@ -0,0 +1,29 @@ +锘縰sing System.IO; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Design; +using Microsoft.Extensions.Configuration; + +namespace LY.MicroService.PlatformManagement.EntityFrameworkCore; + +public class PlatformManagementMigrationsDbContextFactory : IDesignTimeDbContextFactory +{ + public PlatformManagementMigrationsDbContext CreateDbContext(string[] args) + { + var configuration = BuildConfiguration(); + var connectionString = configuration.GetConnectionString("Default"); + + var builder = new DbContextOptionsBuilder() + .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); + + return new PlatformManagementMigrationsDbContext(builder.Options); + } + + private static IConfigurationRoot BuildConfiguration() + { + var builder = new ConfigurationBuilder() + .SetBasePath(Directory.GetCurrentDirectory()) + .AddJsonFile("appsettings.Development.json", optional: false); + + return builder.Build(); + } +} diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs new file mode 100644 index 000000000..6e5feab9b --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs @@ -0,0 +1,69 @@ +锘縰sing LINGYUN.Abp.Data.DbMigrator; +using LINGYUN.Abp.MultiTenancy; +using LY.MicroService.PlatformManagement.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Logging; +using System.Threading.Tasks; +using Volo.Abp.Data; +using Volo.Abp.DependencyInjection; +using Volo.Abp.EventBus.Distributed; +using Volo.Abp.MultiTenancy; +using Volo.Abp.Uow; + +namespace LY.MicroService.PlatformManagement.EventBus.Handlers; + +public class TenantSynchronizer : + IDistributedEventHandler, + ITransientDependency +{ + protected IDataSeeder DataSeeder { get; } + protected ICurrentTenant CurrentTenant { get; } + protected IDbSchemaMigrator DbSchemaMigrator { get; } + protected IUnitOfWorkManager UnitOfWorkManager { get; } + + protected ILogger Logger { get; } + + public TenantSynchronizer( + IDataSeeder dataSeeder, + ICurrentTenant currentTenant, + IDbSchemaMigrator dbSchemaMigrator, + IUnitOfWorkManager unitOfWorkManager, + ILogger logger) + { + DataSeeder = dataSeeder; + CurrentTenant = currentTenant; + DbSchemaMigrator = dbSchemaMigrator; + UnitOfWorkManager = unitOfWorkManager; + + Logger = logger; + } + + /// + /// 绉熸埛鍒涘缓涔嬪悗闇瑕侀缃瀛愭暟鎹 + /// + /// + /// + public virtual async Task HandleEventAsync(CreateEventData eventData) + { + using (var unitOfWork = UnitOfWorkManager.Begin()) + { + using (CurrentTenant.Change(eventData.Id, eventData.Name)) + { + Logger.LogInformation("Migrating the new tenant database with platform..."); + // 杩佺Щ绉熸埛鏁版嵁 + await DbSchemaMigrator.MigrateAsync( + (connectionString, builder) => + { + builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); + + return new PlatformManagementMigrationsDbContext(builder.Options); + }); + Logger.LogInformation("Migrated the new tenant database with platform."); + + await DataSeeder.SeedAsync(new DataSeedContext(eventData.Id)); + + await unitOfWork.SaveChangesAsync(); + } + } + } +} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/FodyWeavers.xml b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/FodyWeavers.xml similarity index 100% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/FodyWeavers.xml rename to aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/FodyWeavers.xml diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/LY.MicroService.PlatformManagement.HttpApi.Host.csproj b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/LY.MicroService.PlatformManagement.HttpApi.Host.csproj new file mode 100644 index 000000000..b5a52dac5 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/LY.MicroService.PlatformManagement.HttpApi.Host.csproj @@ -0,0 +1,68 @@ +锘 + + + net6.0 + LY.MicroService.PlatformManagement + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.Designer.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.Designer.cs similarity index 96% rename from aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.Designer.cs rename to aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.Designer.cs index 060c242da..c98ea7341 100644 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.Designer.cs +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Platform.EntityFrameworkCore; +using LY.MicroService.PlatformManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Platform.Migrations +namespace LY.MicroService.PlatformManagement.Migrations { - [DbContext(typeof(PlatformHttpApiHostMigrationsDbContext))] + [DbContext(typeof(PlatformManagementMigrationsDbContext))] [Migration("20211030132911_Re-Initlize-Db-Migration")] partial class ReInitlizeDbMigration { diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.cs similarity index 98% rename from aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.cs rename to aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.cs index d45aad433..1e7986904 100644 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.cs +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/20211030132911_Re-Initlize-Db-Migration.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Platform.Migrations +namespace LY.MicroService.PlatformManagement.Migrations { public partial class ReInitlizeDbMigration : Migration { diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/PlatformHttpApiHostMigrationsDbContextModelSnapshot.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/PlatformHttpApiHostMigrationsDbContextModelSnapshot.cs similarity index 96% rename from aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/PlatformHttpApiHostMigrationsDbContextModelSnapshot.cs rename to aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/PlatformHttpApiHostMigrationsDbContextModelSnapshot.cs index b00a81c63..c8ed22084 100644 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Migrations/PlatformHttpApiHostMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Migrations/PlatformHttpApiHostMigrationsDbContextModelSnapshot.cs @@ -1,14 +1,14 @@ 锘// using System; -using LINGYUN.Platform.EntityFrameworkCore; +using LY.MicroService.PlatformManagement.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Platform.Migrations +namespace LY.MicroService.PlatformManagement.Migrations { - [DbContext(typeof(PlatformHttpApiHostMigrationsDbContext))] + [DbContext(typeof(PlatformManagementMigrationsDbContext))] partial class PlatformHttpApiHostMigrationsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Configure.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Configure.cs new file mode 100644 index 000000000..e05b9ebfa --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Configure.cs @@ -0,0 +1,272 @@ +锘縰sing DotNetCore.CAP; +using LINGYUN.Abp.ExceptionHandling; +using LINGYUN.Abp.ExceptionHandling.Emailing; +using LINGYUN.Abp.Localization.CultureMap; +using LINGYUN.Abp.Serilog.Enrichers.Application; +using Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.AspNetCore.Server.Kestrel.Core; +using Microsoft.Extensions.Caching.StackExchangeRedis; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.OpenApi.Models; +using StackExchange.Redis; +using System; +using System.IO; +using System.Text.Encodings.Web; +using System.Text.Unicode; +using Volo.Abp; +using Volo.Abp.Auditing; +using Volo.Abp.BlobStoring; +using Volo.Abp.BlobStoring.FileSystem; +using Volo.Abp.Caching; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.Json; +using Volo.Abp.Json.SystemTextJson; +using Volo.Abp.Localization; +using Volo.Abp.MultiTenancy; +using Volo.Abp.VirtualFileSystem; + +namespace LY.MicroService.PlatformManagement; + +public partial class PlatformManagementHttpApiHostModule +{ + private void PreConfigureApp() + { + AbpSerilogEnrichersConsts.ApplicationName = "Platform"; + } + + private void PreConfigureCAP(IConfiguration configuration) + { + PreConfigure(options => + { + options + .UseMySql(mySqlOptions => + { + configuration.GetSection("CAP:MySql").Bind(mySqlOptions); + }) + .UseRabbitMQ(rabbitMQOptions => + { + configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); + }) + .UseDashboard(); + }); + } + + private void ConfigureDbContext() + { + // 閰嶇疆Ef + Configure(options => + { + options.UseMySQL(); + }); + } + + private void ConfigureJsonSerializer() + { + // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 + Configure(options => + { + options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; + }); + // 涓枃搴忓垪鍖栫殑缂栫爜闂 + Configure(options => + { + options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); + }); + } + + private void ConfigureKestrelServer() + { + Configure(options => + { + options.Limits.MaxRequestBodySize = null; + options.Limits.MaxRequestBufferSize = null; + }); + } + + private void ConfigureBlobStoring() + { + Configure(options => + { + options.Containers.ConfigureAll((containerName, containerConfiguration) => + { + containerConfiguration.UseFileSystem(fileSystem => + { + fileSystem.BasePath = Path.Combine(Directory.GetCurrentDirectory(), "file-blob-storing"); + }); + }); + }); + } + + private void ConfigreExceptionHandling() + { + // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 + Configure(options => + { + // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + }); + // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 + Configure(options => + { + // 鏄惁鍙戦佸爢鏍堜俊鎭 + options.SendStackTrace = true; + }); + + Configure(options => + { + // 鏄惁鍙戦侀敊璇鎯 + options.SendExceptionsDetailsToClients = false; + }); + } + + private void ConfigureAuditing(IConfiguration configuration) + { + Configure(options => + { + options.ApplicationName = "Platform"; + // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 + var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); + if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) + { + options + .EntityHistorySelectors + .AddAllEntities(); + } + }); + } + + private void ConfigureCaching(IConfiguration configuration) + { + Configure(options => + { + // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 + options.KeyPrefix = "LINGYUN.Abp.Application"; + // 婊戝姩杩囨湡30澶 + options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); + // 缁濆杩囨湡60澶 + options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); + }); + + Configure(options => + { + var redisConfig = ConfigurationOptions.Parse(options.Configuration); + options.ConfigurationOptions = redisConfig; + options.InstanceName = configuration["Redis:InstanceName"]; + }); + } + + private void ConfigureVirtualFileSystem() + { + Configure(options => + { + options.FileSets.AddEmbedded("LY.MicroService.PlatformManagement"); + }); + } + + private void ConfigureMultiTenancy(IConfiguration configuration) + { + // 澶氱鎴 + Configure(options => + { + options.IsEnabled = true; + }); + + var tenantResolveCfg = configuration.GetSection("App:Domains"); + if (tenantResolveCfg.Exists()) + { + Configure(options => + { + var domains = tenantResolveCfg.Get(); + foreach (var domain in domains) + { + options.AddDomainTenantResolver(domain); + } + }); + } + } + + private void ConfigureSwagger(IServiceCollection services) + { + // Swagger + services.AddSwaggerGen( + options => + { + options.SwaggerDoc("v1", new OpenApiInfo { Title = "Platform API", Version = "v1" }); + options.DocInclusionPredicate((docName, description) => true); + options.CustomSchemaIds(type => type.FullName); + options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme + { + Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", + Name = "Authorization", + In = ParameterLocation.Header, + Scheme = "bearer", + Type = SecuritySchemeType.Http, + BearerFormat = "JWT" + }); + options.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { + new OpenApiSecurityScheme + { + Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } + }, + new string[] { } + } + }); + options.OperationFilter(); + }); + } + + private void ConfigureLocalization() + { + // 鏀寔鏈湴鍖栬瑷绫诲瀷 + Configure(options => + { + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); + + options.Resources.AddDynamic(); + }); + + Configure(options => + { + var zhHansCultureMapInfo = new CultureMapInfo + { + TargetCulture = "zh-Hans", + SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } + }; + + options.CulturesMaps.Add(zhHansCultureMapInfo); + options.UiCulturesMaps.Add(zhHansCultureMapInfo); + }); + } + + private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) + { + services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) + .AddJwtBearer(options => + { + options.Authority = configuration["AuthServer:Authority"]; + options.RequireHttpsMetadata = false; + options.Audience = configuration["AuthServer:ApiName"]; + }); + + if (!isDevelopment) + { + var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); + services + .AddDataProtection() + .SetApplicationName("LINGYUN.Abp.Application") + .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); + } + } +} diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Seeder.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Seeder.cs new file mode 100644 index 000000000..fc5d0624a --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.Seeder.cs @@ -0,0 +1,20 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Volo.Abp; +using Volo.Abp.Data; +using Volo.Abp.Threading; + +namespace LY.MicroService.PlatformManagement; + +public partial class PlatformManagementHttpApiHostModule +{ + private void SeedData(ApplicationInitializationContext context) + { + if (context.GetEnvironment().IsDevelopment()) + { + AsyncHelper.RunSync(async () => + await context.ServiceProvider.GetRequiredService() + .SeedAsync()); + } + } +} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.cs similarity index 58% rename from aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.cs rename to aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.cs index d279c0322..d24c943ad 100644 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.cs +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/PlatformManagementHttpApiHostModule.cs @@ -14,6 +14,7 @@ using LINGYUN.Abp.OssManagement.FileSystem.ImageSharp; using LINGYUN.Abp.OssManagement.SettingManagement; using LINGYUN.Abp.Serilog.Enrichers.Application; using LINGYUN.Abp.UI.Navigation.VueVbenAdmin; +using LINGYUN.Platform; using LINGYUN.Platform.EntityFrameworkCore; using LINGYUN.Platform.HttpApi; using Microsoft.AspNetCore.Builder; @@ -35,9 +36,9 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore; using Volo.Abp.SettingManagement.EntityFrameworkCore; using Volo.Abp.TenantManagement.EntityFrameworkCore; -namespace LINGYUN.Platform -{ - [DependsOn( +namespace LY.MicroService.PlatformManagement; + +[DependsOn( typeof(AbpSerilogEnrichersApplicationModule), typeof(AbpAspNetCoreSerilogModule), typeof(AbpAuditLoggingElasticsearchModule), @@ -73,70 +74,69 @@ namespace LINGYUN.Platform typeof(AbpLocalizationCultureMapModule), typeof(AbpAutofacModule) )] - public partial class AppPlatformHttpApiHostModule : AbpModule +public partial class PlatformManagementHttpApiHostModule : AbpModule +{ + public override void PreConfigureServices(ServiceConfigurationContext context) { - public override void PreConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); + var configuration = context.Services.GetConfiguration(); - PreConfigureApp(); - PreConfigureCAP(configuration); - } + PreConfigureApp(); + PreConfigureCAP(configuration); + } - public override void ConfigureServices(ServiceConfigurationContext context) - { - var hostingEnvironment = context.Services.GetHostingEnvironment(); - var configuration = hostingEnvironment.BuildConfiguration(); + public override void ConfigureServices(ServiceConfigurationContext context) + { + var hostingEnvironment = context.Services.GetHostingEnvironment(); + var configuration = hostingEnvironment.BuildConfiguration(); - ConfigureDbContext(); - ConfigureJsonSerializer(); - ConfigureKestrelServer(); - ConfigureBlobStoring(); - ConfigreExceptionHandling(); - ConfigureCaching(configuration); - ConfigureVirtualFileSystem(); - ConfigureMultiTenancy(configuration); - ConfigureAuditing(configuration); - ConfigureSwagger(context.Services); - ConfigureLocalization(); - ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); - } + ConfigureDbContext(); + ConfigureJsonSerializer(); + ConfigureKestrelServer(); + ConfigureBlobStoring(); + ConfigreExceptionHandling(); + ConfigureCaching(configuration); + ConfigureVirtualFileSystem(); + ConfigureMultiTenancy(configuration); + ConfigureAuditing(configuration); + ConfigureSwagger(context.Services); + ConfigureLocalization(); + ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); + } - public override void OnApplicationInitialization(ApplicationInitializationContext context) + public override void OnApplicationInitialization(ApplicationInitializationContext context) + { + var app = context.GetApplicationBuilder(); + var env = context.GetEnvironment(); + // http璋冪敤閾 + app.UseCorrelationId(); + // 铏氭嫙鏂囦欢绯荤粺 + app.UseStaticFiles(); + //璺敱 + app.UseRouting(); + // 璁よ瘉 + app.UseAuthentication(); + // jwt + app.UseJwtTokenMiddleware(); + // 澶氱鎴 + app.UseMultiTenancy(); + // 鏈湴鍖 + app.UseMapRequestLocalization(); + // 鎺堟潈 + app.UseAuthorization(); + // Swagger + app.UseSwagger(); + // Swagger鍙鍖栫晫闈 + app.UseSwaggerUI(options => { - var app = context.GetApplicationBuilder(); - var env = context.GetEnvironment(); - // http璋冪敤閾 - app.UseCorrelationId(); - // 铏氭嫙鏂囦欢绯荤粺 - app.UseStaticFiles(); - //璺敱 - app.UseRouting(); - // 璁よ瘉 - app.UseAuthentication(); - // jwt - app.UseJwtTokenMiddleware(); - // 澶氱鎴 - app.UseMultiTenancy(); - // 鏈湴鍖 - app.UseMapRequestLocalization(); - // 鎺堟潈 - app.UseAuthorization(); - // Swagger - app.UseSwagger(); - // Swagger鍙鍖栫晫闈 - app.UseSwaggerUI(options => - { - options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support Platform API"); - }); - // 瀹¤鏃ュ織 - app.UseAuditing(); - // 璁板綍璇锋眰淇℃伅 - app.UseAbpSerilogEnrichers(); - // 璺敱 - app.UseConfiguredEndpoints(); + options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support Platform API"); + }); + // 瀹¤鏃ュ織 + app.UseAuditing(); + // 璁板綍璇锋眰淇℃伅 + app.UseAbpSerilogEnrichers(); + // 璺敱 + app.UseConfiguredEndpoints(); - SeedData(context); - } + SeedData(context); } } diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Program.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Program.cs new file mode 100644 index 000000000..5bf4cde1f --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Program.cs @@ -0,0 +1,52 @@ +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using Serilog; +using System; +using System.IO; + +namespace LY.MicroService.PlatformManagement; + +public class Program +{ + public static int Main(string[] args) + { + try + { + var hostBuilder = CreateHostBuilder(args).Build(); + Log.Information("Starting Platform.Host."); + hostBuilder.Run(); + + return 0; + } + catch (Exception ex) + { + Log.Fatal(ex, "Host terminated unexpectedly!"); + return 1; + } + finally + { + Log.CloseAndFlush(); + } + } + + internal static IHostBuilder CreateHostBuilder(string[] args) => + Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); + }) + .ConfigureAppConfiguration((context, config) => + { + var configuration = config.Build(); + if (configuration.GetSection("AgileConfig").Exists()) + { + config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); + } + }) + .UseSerilog((context, provider, config) => + { + config.ReadFrom.Configuration(context.Configuration); + }) + .UseAutofac(); +} diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Properties/launchSettings.json new file mode 100644 index 000000000..7a39b6fbf --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Properties/launchSettings.json @@ -0,0 +1,21 @@ +锘縶 + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:63840", + "sslPort": 0 + } + }, + "profiles": { + "LY.MicroService.PlatformManagement.HttpApi.Host": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://127.0.0.1:30025", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Startup.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Startup.cs new file mode 100644 index 000000000..90413aff0 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/Startup.cs @@ -0,0 +1,30 @@ +using Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.DependencyInjection; +using System.IO; +using Volo.Abp.IO; +using Volo.Abp.Modularity.PlugIns; + +namespace LY.MicroService.PlatformManagement; + +public class Startup +{ + public void ConfigureServices(IServiceCollection services) + { + services.AddApplication(options => + { + // 搜索 Modules 目录下所有文件作为插件 + // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 + var pluginFolder = Path.Combine( + Directory.GetCurrentDirectory(), "Modules"); + DirectoryHelper.CreateIfNotExists(pluginFolder); + options.PlugInSources.AddFolder( + pluginFolder, + SearchOption.AllDirectories); + }); + } + + public void Configure(IApplicationBuilder app) + { + app.InitializeApplication(); + } +} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/TenantHeaderParamter.cs similarity index 92% rename from aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/TenantHeaderParamter.cs rename to aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/TenantHeaderParamter.cs index b034b1bb4..2fc27756e 100644 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/TenantHeaderParamter.cs +++ b/aspnet-core/services/LY.MicroService.PlatformManagement.HttpApi.Host/TenantHeaderParamter.cs @@ -4,7 +4,7 @@ using Swashbuckle.AspNetCore.SwaggerGen; using System.Collections.Generic; using Volo.Abp.MultiTenancy; -namespace LINGYUN.Abp.LocalizationManagement +namespace LY.MicroService.PlatformManagement { public class TenantHeaderParamter : IOperationFilter { diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Dockerfile b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Dockerfile similarity index 76% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Dockerfile rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Dockerfile index e3a75024b..6e1f512de 100644 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Dockerfile +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Dockerfile @@ -11,4 +11,4 @@ EXPOSE 80/tcp VOLUME [ "./app/Logs" ] VOLUME [ "./app/Modules" ] -ENTRYPOINT ["dotnet", "LINGYUN.Abp.BackendAdmin.HttpApi.Host.dll"] +ENTRYPOINT ["dotnet", "LY.MicroService.RealtimeMessage.HttpApi.Host.dll"] \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContext.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContext.cs new file mode 100644 index 000000000..2e59bbfbd --- /dev/null +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContext.cs @@ -0,0 +1,22 @@ +锘縰sing LINGYUN.Abp.MessageService.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; + +namespace LY.MicroService.RealtimeMessage.EntityFrameworkCore +{ + public class RealtimeMessageMigrationsDbContext : AbpDbContext + { + public RealtimeMessageMigrationsDbContext(DbContextOptions options) + : base(options) + { + + } + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + base.OnModelCreating(modelBuilder); + + modelBuilder.ConfigureMessageService(); + } + } +} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContextFactory.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContextFactory.cs similarity index 57% rename from aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContextFactory.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContextFactory.cs index 9a443ec20..9095ef26b 100644 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContextFactory.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EntityFrameworkCore/RealtimeMessageMigrationsDbContextFactory.cs @@ -1,22 +1,21 @@ -锘縰sing System.IO; -using Microsoft.EntityFrameworkCore; +锘縰sing Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; +using System.IO; -namespace LINGYUN.Abp.BackendAdmin.EntityFrameworkCore +namespace LY.MicroService.RealtimeMessage.EntityFrameworkCore { - public class BackendAdminHostMigrationsDbContextFactory : IDesignTimeDbContextFactory + public class RealtimeMessageMigrationsDbContextFactory : IDesignTimeDbContextFactory { - public BackendAdminHostMigrationsDbContext CreateDbContext(string[] args) + public RealtimeMessageMigrationsDbContext CreateDbContext(string[] args) { var configuration = BuildConfiguration(); - var connectionString = configuration.GetConnectionString("Default"); - var builder = new DbContextOptionsBuilder() + var builder = new DbContextOptionsBuilder() .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - return new BackendAdminHostMigrationsDbContext(builder.Options); + return new RealtimeMessageMigrationsDbContext(builder.Options); } private static IConfigurationRoot BuildConfiguration() diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/ChatMessageEventHandler.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/ChatMessageEventHandler.cs similarity index 94% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/ChatMessageEventHandler.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/ChatMessageEventHandler.cs index 59b1a8a8f..e9262e9d1 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/ChatMessageEventHandler.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/ChatMessageEventHandler.cs @@ -8,7 +8,7 @@ using System.Threading.Tasks; using Volo.Abp.DependencyInjection; using Volo.Abp.EventBus.Distributed; -namespace LINGYUN.Abp.MessageService.EventBus.Distributed +namespace LY.MicroService.RealtimeMessage.EventBus.Distributed { public class ChatMessageEventHandler : IDistributedEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/NotificationEventHandler.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/NotificationEventHandler.cs similarity index 97% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/NotificationEventHandler.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/NotificationEventHandler.cs index 368910b85..e4da34377 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/NotificationEventHandler.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/NotificationEventHandler.cs @@ -13,7 +13,7 @@ using Volo.Abp.Json; using Volo.Abp.MultiTenancy; using Volo.Abp.Uow; -namespace LINGYUN.Abp.MessageService.EventBus.Distributed +namespace LY.MicroService.RealtimeMessage.EventBus.Distributed { /// /// 璁㈤槄閫氱煡鍙戝竷浜嬩欢,缁熶竴鍙戝竷娑堟伅 diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/TenantSynchronizer.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/TenantSynchronizer.cs similarity index 91% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/TenantSynchronizer.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/TenantSynchronizer.cs index b838ce84d..050510e7c 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/TenantSynchronizer.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/TenantSynchronizer.cs @@ -1,9 +1,9 @@ 锘縰sing LINGYUN.Abp.Data.DbMigrator; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; using LINGYUN.Abp.MessageService.Localization; using LINGYUN.Abp.MultiTenancy; using LINGYUN.Abp.Notifications; using LINGYUN.Abp.RealTime.Localization; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using System; @@ -15,7 +15,7 @@ using Volo.Abp.Localization; using Volo.Abp.MultiTenancy; using Volo.Abp.Uow; -namespace LINGYUN.Abp.MessageService.EventBus.Distributed +namespace LY.MicroService.RealtimeMessage.EventBus.Distributed { public class TenantSynchronizer : IDistributedEventHandler, ITransientDependency { @@ -52,12 +52,12 @@ namespace LINGYUN.Abp.MessageService.EventBus.Distributed { Logger.LogInformation("Migrating the new tenant database with messages..."); // 杩佺Щ绉熸埛鏁版嵁 - await DbSchemaMigrator.MigrateAsync( + await DbSchemaMigrator.MigrateAsync( (connectionString, builder) => { builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - return new MessageServiceHostMigrationsDbContext(builder.Options); + return new RealtimeMessageMigrationsDbContext(builder.Options); }); Logger.LogInformation("Migrated the new tenant database with messages."); diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs similarity index 94% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs index 2b7bbcdf4..d373f40aa 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Distributed/UserCreateEventHandler.cs @@ -6,7 +6,7 @@ using Volo.Abp.EventBus.Distributed; using Volo.Abp.EventBus.Local; using Volo.Abp.Users; -namespace LINGYUN.Abp.MessageService.EventBus.Distributed +namespace LY.MicroService.RealtimeMessage.EventBus.Distributed { public class UserCreateEventHandler : IDistributedEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs similarity index 94% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs index 0415a538f..417d24697 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Local/UserCreateJoinIMEventHandler.cs @@ -8,7 +8,7 @@ using Volo.Abp.EventBus; using Volo.Abp.Uow; using Volo.Abp.Users; -namespace LINGYUN.Abp.MessageService.EventBus.Distributed +namespace LY.MicroService.RealtimeMessage.EventBus.Distributed { public class UserCreateJoinIMEventHandler : ILocalEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs similarity index 96% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs index 203a07a5b..2e49efd08 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/EventBus/Local/UserCreateSendWelcomeEventHandler.cs @@ -10,7 +10,7 @@ using Volo.Abp.EventBus; using Volo.Abp.Localization; using Volo.Abp.Users; -namespace LINGYUN.Abp.MessageService.EventBus +namespace LY.MicroService.RealtimeMessage.EventBus { public class UserCreateSendWelcomeEventHandler : ILocalEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/FodyWeavers.xml b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/FodyWeavers.xml similarity index 100% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/FodyWeavers.xml rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/FodyWeavers.xml diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/LY.MicroService.RealtimeMessage.HttpApi.Host.csproj b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/LY.MicroService.RealtimeMessage.HttpApi.Host.csproj new file mode 100644 index 000000000..42498ec67 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/LY.MicroService.RealtimeMessage.HttpApi.Host.csproj @@ -0,0 +1,68 @@ + + + + net6.0 + LY.MicroService.RealtimeMessage + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/en.json b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Localization/Resources/en.json similarity index 100% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/en.json rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Localization/Resources/en.json diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/zh-Hans.json b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Localization/Resources/zh-Hans.json similarity index 100% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Localization/HttpApiHost/zh-Hans.json rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Localization/Resources/zh-Hans.json diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.Designer.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.Designer.cs similarity index 96% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.Designer.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.Designer.cs index f24b20c95..1db919322 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.Designer.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { - [DbContext(typeof(MessageServiceHostMigrationsDbContext))] + [DbContext(typeof(RealtimeMessageMigrationsDbContext))] [Migration("20211030131449_Re-Initlize-Db-Migration")] partial class ReInitlizeDbMigration { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.cs similarity index 98% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.cs index 336ea9e86..a65675eb2 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211030131449_Re-Initlize-Db-Migration.cs @@ -2,7 +2,7 @@ using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { public partial class ReInitlizeDbMigration : Migration { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.Designer.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.Designer.cs similarity index 96% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.Designer.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.Designer.cs index b000270a1..35ce37b9a 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.Designer.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { - [DbContext(typeof(MessageServiceHostMigrationsDbContext))] + [DbContext(typeof(RealtimeMessageMigrationsDbContext))] [Migration("20211110144233_Add-Field-Online-Avatar")] partial class AddFieldOnlineAvatar { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.cs similarity index 93% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.cs index 9d285abcd..69a2344f3 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211110144233_Add-Field-Online-Avatar.cs @@ -1,7 +1,7 @@ 锘縰sing System; using Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { public partial class AddFieldOnlineAvatar : Migration { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.Designer.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.Designer.cs similarity index 96% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.Designer.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.Designer.cs index 43101d179..ff721820c 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.Designer.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { - [DbContext(typeof(MessageServiceHostMigrationsDbContext))] + [DbContext(typeof(RealtimeMessageMigrationsDbContext))] [Migration("20211111014501_Add-Base-Type-ExtraProp-To-Notification")] partial class AddBaseTypeExtraPropToNotification { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.cs similarity index 92% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.cs index 5d91a9ae8..a1b0f32a3 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111014501_Add-Base-Type-ExtraProp-To-Notification.cs @@ -1,6 +1,6 @@ 锘縰sing Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { public partial class AddBaseTypeExtraPropToNotification : Migration { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.Designer.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.Designer.cs similarity index 96% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.Designer.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.Designer.cs index d36d4aa69..d02b79e7a 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.Designer.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { - [DbContext(typeof(MessageServiceHostMigrationsDbContext))] + [DbContext(typeof(RealtimeMessageMigrationsDbContext))] [Migration("20211111080938_Add-Source-Type-To-Chat-Message")] partial class AddSourceTypeToChatMessage { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.cs similarity index 91% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.cs index 9cd50b60a..40b4c91e2 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111080938_Add-Source-Type-To-Chat-Message.cs @@ -1,6 +1,6 @@ 锘縰sing Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { public partial class AddSourceTypeToChatMessage : Migration { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.Designer.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.Designer.cs similarity index 96% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.Designer.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.Designer.cs index ca64644cc..8858965fc 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.Designer.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { - [DbContext(typeof(MessageServiceHostMigrationsDbContext))] + [DbContext(typeof(RealtimeMessageMigrationsDbContext))] [Migration("20211111221335_Add-Field-Static-To-Chat-Friend")] partial class AddFieldStaticToChatFriend { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.cs similarity index 89% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.cs index 9c283d180..1b10c2c16 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211111221335_Add-Field-Static-To-Chat-Friend.cs @@ -1,6 +1,6 @@ 锘縰sing Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { public partial class AddFieldStaticToChatFriend : Migration { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.Designer.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.Designer.cs similarity index 96% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.Designer.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.Designer.cs index e60316f84..f555a6f81 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.Designer.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { - [DbContext(typeof(MessageServiceHostMigrationsDbContext))] + [DbContext(typeof(RealtimeMessageMigrationsDbContext))] [Migration("20211112083050_Rename-Field-SendState-To-State")] partial class RenameFieldSendStateToState { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.cs similarity index 91% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.cs index 305c1599c..b80a59dc0 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/20211112083050_Rename-Field-SendState-To-State.cs @@ -1,6 +1,6 @@ 锘縰sing Microsoft.EntityFrameworkCore.Migrations; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { public partial class RenameFieldSendStateToState : Migration { diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/MessageServiceHostMigrationsDbContextModelSnapshot.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/RealtimeMessageMigrationsDbContextModelSnapshot.cs similarity index 95% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/MessageServiceHostMigrationsDbContextModelSnapshot.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/RealtimeMessageMigrationsDbContextModelSnapshot.cs index 06b412ff5..707c97fb2 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Migrations/MessageServiceHostMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Migrations/RealtimeMessageMigrationsDbContextModelSnapshot.cs @@ -1,15 +1,15 @@ 锘// using System; -using LINGYUN.Abp.MessageService.EntityFrameworkCore; +using LY.MicroService.RealtimeMessage.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService.Migrations +namespace LY.MicroService.RealtimeMessage.Migrations { - [DbContext(typeof(MessageServiceHostMigrationsDbContext))] - partial class MessageServiceHostMigrationsDbContextModelSnapshot : ModelSnapshot + [DbContext(typeof(RealtimeMessageMigrationsDbContext))] + partial class RealtimeMessageMigrationsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Program.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Program.cs new file mode 100644 index 000000000..6e0a837d5 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Program.cs @@ -0,0 +1,52 @@ +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using Serilog; +using System; +using System.IO; + +namespace LY.MicroService.RealtimeMessage; + +public class Program +{ + public static int Main(string[] args) + { + try + { + var hostBuilder = CreateHostBuilder(args).Build(); + Log.Information("Starting MessageService.Host."); + hostBuilder.Run(); + + return 0; + } + catch (Exception ex) + { + Log.Fatal(ex, "Host terminated unexpectedly!"); + return 1; + } + finally + { + Log.CloseAndFlush(); + } + } + + internal static IHostBuilder CreateHostBuilder(string[] args) => + Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); + }) + .ConfigureAppConfiguration((context, config) => + { + var configuration = config.Build(); + if (configuration.GetSection("AgileConfig").Exists()) + { + config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); + } + }) + .UseSerilog((context, provider, config) => + { + config.ReadFrom.Configuration(context.Configuration); + }) + .UseAutofac(); +} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Properties/launchSettings.json similarity index 52% rename from aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Properties/launchSettings.json rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Properties/launchSettings.json index 1585148ef..ef5f4826a 100644 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Properties/launchSettings.json +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Properties/launchSettings.json @@ -1,20 +1,21 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:49612", - "sslPort": 0 - } - }, - "profiles": { - "LINGYUN.Abp.IdentityServer4.HttpApi.Host": { - "commandName": "Project", - "environmentVariables": { - "COMPlus_legacyCorruptedStateExceptionsPolicy": "1", - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "http://127.0.0.1:30015" - } - } -} \ No newline at end of file +锘縶 + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:14445", + "sslPort": 0 + } + }, + "profiles": { + "LY.MicroService.RealtimeMessage.HttpApi.Host": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://127.0.0.1:30020", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Configure.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Configure.cs new file mode 100644 index 000000000..4a5ba5762 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Configure.cs @@ -0,0 +1,292 @@ +锘縰sing DotNetCore.CAP; +using Hangfire; +using Hangfire.Dashboard; +using LINGYUN.Abp.ExceptionHandling; +using LINGYUN.Abp.Hangfire.Dashboard.Authorization; +using LINGYUN.Abp.Localization.CultureMap; +using LINGYUN.Abp.MessageService.Localization; +using LINGYUN.Abp.MessageService.Permissions; +using LINGYUN.Abp.Serilog.Enrichers.Application; +using Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.Cors; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.Extensions.Caching.StackExchangeRedis; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.OpenApi.Models; +using StackExchange.Redis; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text.Encodings.Web; +using System.Text.Unicode; +using Volo.Abp; +using Volo.Abp.AspNetCore.Auditing; +using Volo.Abp.Auditing; +using Volo.Abp.Caching; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.Json; +using Volo.Abp.Json.SystemTextJson; +using Volo.Abp.Localization; +using Volo.Abp.MultiTenancy; +using Volo.Abp.VirtualFileSystem; + +using HangfireDashboardOptions = Hangfire.DashboardOptions; + +namespace LY.MicroService.RealtimeMessage; + +public partial class RealtimeMessageHttpApiHostModule +{ + private void PreConfigureApp() + { + AbpSerilogEnrichersConsts.ApplicationName = "MessageService"; + } + + private void PreConfigureCAP(IConfiguration configuration) + { + PreConfigure(options => + { + options + .UseMySql(mySqlOptions => + { + configuration.GetSection("CAP:MySql").Bind(mySqlOptions); + }) + .UseRabbitMQ(rabbitMQOptions => + { + configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); + }) + .UseDashboard(); + }); + } + + private void PreCongifureHangfire() + { + PreConfigure(options => + { + options.AsyncAuthorization = new IDashboardAsyncAuthorizationFilter[] + { + new DashboardAuthorizationFilter( + MessageServicePermissions.Hangfire.Dashboard, + MessageServicePermissions.Hangfire.ManageQueue) + }; + }); + } + + private void ConfigureDbContext() + { + // 閰嶇疆Ef + Configure(options => + { + options.UseMySQL(); + }); + } + + private void ConfigureJsonSerializer() + { + // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 + Configure(options => + { + options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; + }); + // 涓枃搴忓垪鍖栫殑缂栫爜闂 + Configure(options => + { + options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); + }); + } + + private void ConfigreExceptionHandling() + { + // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 + Configure(options => + { + // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + }); + } + + private void ConfigureAuditing(IConfiguration configuration) + { + Configure(options => + { + options.IgnoredUrls.AddIfNotContains("/hangfire"); + }); + + Configure(options => + { + options.ApplicationName = "MessageService"; + // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 + var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); + if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) + { + options + .EntityHistorySelectors + .AddAllEntities(); + } + }); + } + + private void ConfigureCaching(IConfiguration configuration) + { + Configure(options => + { + // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 + options.KeyPrefix = "LINGYUN.Abp.Application"; + // 婊戝姩杩囨湡30澶 + options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); + // 缁濆杩囨湡60澶 + options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); + }); + + Configure(options => + { + var redisConfig = ConfigurationOptions.Parse(options.Configuration); + options.ConfigurationOptions = redisConfig; + options.InstanceName = configuration["Redis:InstanceName"]; + }); + } + + private void ConfigureVirtualFileSystem() + { + Configure(options => + { + options.FileSets.AddEmbedded("LY.MicroService.RealtimeMessage"); + }); + } + + private void ConfigureMultiTenancy(IConfiguration configuration) + { + // 澶氱鎴 + Configure(options => + { + options.IsEnabled = true; + }); + + var tenantResolveCfg = configuration.GetSection("App:Domains"); + if (tenantResolveCfg.Exists()) + { + Configure(options => + { + var domains = tenantResolveCfg.Get(); + foreach (var domain in domains) + { + options.AddDomainTenantResolver(domain); + } + }); + } + } + + private void ConfigureSwagger(IServiceCollection services) + { + // Swagger + services.AddSwaggerGen( + options => + { + options.SwaggerDoc("v1", new OpenApiInfo { Title = "Realtime Message API", Version = "v1" }); + options.DocInclusionPredicate((docName, description) => true); + options.CustomSchemaIds(type => type.FullName); + options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme + { + Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", + Name = "Authorization", + In = ParameterLocation.Header, + Scheme = "bearer", + Type = SecuritySchemeType.Http, + BearerFormat = "JWT" + }); + options.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { + new OpenApiSecurityScheme + { + Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } + }, + new string[] { } + } + }); + options.OperationFilter(); + }); + } + + private void ConfigureCors(IServiceCollection services, IConfiguration configuration) + { + services.AddCors(options => + { + options.AddPolicy(DefaultCorsPolicyName, builder => + { + builder + .WithOrigins( + configuration["App:CorsOrigins"] + .Split(",", StringSplitOptions.RemoveEmptyEntries) + .Select(o => o.RemovePostFix("/")) + .ToArray() + ) + .WithAbpExposedHeaders() + .SetIsOriginAllowedToAllowWildcardSubdomains() + .AllowAnyHeader() + .AllowAnyMethod() + .AllowCredentials(); + }); + }); + } + + private void ConfigureLocalization() + { + // 鏀寔鏈湴鍖栬瑷绫诲瀷 + Configure(options => + { + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); + + options.Resources + .Get() + .AddVirtualJson("/Localization/Resources"); + + options.Resources.AddDynamic(); + }); + + Configure(options => + { + var zhHansCultureMapInfo = new CultureMapInfo + { + TargetCulture = "zh-Hans", + SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } + }; + + options.CulturesMaps.Add(zhHansCultureMapInfo); + options.UiCulturesMaps.Add(zhHansCultureMapInfo); + }); + } + + private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) + { + services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) + .AddJwtBearer(options => + { + options.Authority = configuration["AuthServer:Authority"]; + options.RequireHttpsMetadata = false; + options.Audience = configuration["AuthServer:ApiName"]; + }); + + if (!isDevelopment) + { + var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); + services + .AddDataProtection() + .SetApplicationName("LINGYUN.Abp.Application") + .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); + } + } + + private void ConfigureHangfireServer(IServiceCollection services) + { + services.AddHangfireServer(); + } +} diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Seeder.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Seeder.cs new file mode 100644 index 000000000..4e9efbd09 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.Seeder.cs @@ -0,0 +1,20 @@ +锘縰sing LINGYUN.Abp.MessageService; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Volo.Abp; +using Volo.Abp.Threading; + +namespace LY.MicroService.RealtimeMessage; + +public partial class RealtimeMessageHttpApiHostModule +{ + private void SeedData(ApplicationInitializationContext context) + { + if (context.GetEnvironment().IsDevelopment()) + { + AsyncHelper.RunSync(async () => + await context.ServiceProvider.GetRequiredService() + .SeedAsync()); + } + } +} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.cs similarity index 94% rename from aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.cs rename to aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.cs index 5d4031189..b9e398b57 100644 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.cs +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/RealtimeMessageHttpApiHostModule.cs @@ -11,6 +11,7 @@ using LINGYUN.Abp.Identity.WeChat; using LINGYUN.Abp.IM.SignalR; using LINGYUN.Abp.Localization.CultureMap; using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; +using LINGYUN.Abp.MessageService; using LINGYUN.Abp.MessageService.EntityFrameworkCore; using LINGYUN.Abp.MultiTenancy.DbFinder; using LINGYUN.Abp.Notifications.SignalR; @@ -34,7 +35,7 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore; using Volo.Abp.SettingManagement.EntityFrameworkCore; using Volo.Abp.TenantManagement.EntityFrameworkCore; -namespace LINGYUN.Abp.MessageService +namespace LY.MicroService.RealtimeMessage { [DependsOn( typeof(AbpSerilogEnrichersApplicationModule), @@ -68,7 +69,7 @@ namespace LINGYUN.Abp.MessageService typeof(AbpLocalizationCultureMapModule), typeof(AbpAutofacModule) )] - public partial class AbpMessageServiceHttpApiHostModule : AbpModule + public partial class RealtimeMessageHttpApiHostModule : AbpModule { private const string DefaultCorsPolicyName = "Default"; @@ -129,7 +130,7 @@ namespace LINGYUN.Abp.MessageService // Swagger鍙鍖栫晫闈 app.UseSwaggerUI(options => { - options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support MessageService API"); + options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support Realtime Message API"); }); // 瀹¤鏃ュ織 app.UseAuditing(); diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Startup.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Startup.cs new file mode 100644 index 000000000..953e89da4 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/Startup.cs @@ -0,0 +1,30 @@ +using Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.DependencyInjection; +using System.IO; +using Volo.Abp.IO; +using Volo.Abp.Modularity.PlugIns; + +namespace LY.MicroService.RealtimeMessage; + +public class Startup +{ + public void ConfigureServices(IServiceCollection services) + { + services.AddApplication(options => + { + // 搜索 Modules 目录下所有文件作为插件 + // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 + var pluginFolder = Path.Combine( + Directory.GetCurrentDirectory(), "Modules"); + DirectoryHelper.CreateIfNotExists(pluginFolder); + options.PlugInSources.AddFolder( + pluginFolder, + SearchOption.AllDirectories); + }); + } + + public void Configure(IApplicationBuilder app) + { + app.InitializeApplication(); + } +} diff --git a/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/TenantHeaderParamter.cs new file mode 100644 index 000000000..ae91c580c --- /dev/null +++ b/aspnet-core/services/LY.MicroService.RealtimeMessage.HttpApi.Host/TenantHeaderParamter.cs @@ -0,0 +1,32 @@ +锘縰sing Microsoft.Extensions.Options; +using Microsoft.OpenApi.Models; +using Swashbuckle.AspNetCore.SwaggerGen; +using System.Collections.Generic; +using Volo.Abp.MultiTenancy; + +namespace LY.MicroService.RealtimeMessage; + +public class TenantHeaderParamter : IOperationFilter +{ + private readonly AbpMultiTenancyOptions _options; + public TenantHeaderParamter( + IOptions options) + { + _options = options.Value; + } + + public void Apply(OpenApiOperation operation, OperationFilterContext context) + { + if (_options.IsEnabled) + { + operation.Parameters = operation.Parameters ?? new List(); + operation.Parameters.Add(new OpenApiParameter + { + Name = TenantResolverConsts.DefaultTenantKey, + In = ParameterLocation.Header, + Description = "Tenant Id in http header", + Required = false + }); + } + } +} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Dockerfile b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Dockerfile similarity index 76% rename from aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Dockerfile rename to aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Dockerfile index 7989a8aa5..4d2ab5df2 100644 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Dockerfile +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Dockerfile @@ -11,4 +11,4 @@ EXPOSE 80/tcp VOLUME [ "./app/Logs" ] VOLUME [ "./app/Modules" ] -ENTRYPOINT ["dotnet", "LINGYUN.Abp.IdentityServer4.HttpApi.Host.dll"] +ENTRYPOINT ["dotnet", "LY.MicroService.identityServer.HttpApi.Host.dll"] diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/FodyWeavers.xml b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/FodyWeavers.xml similarity index 100% rename from aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/FodyWeavers.xml rename to aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/FodyWeavers.xml diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Configure.cs b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Configure.cs new file mode 100644 index 000000000..0598e349b --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Configure.cs @@ -0,0 +1,273 @@ +锘縰sing DotNetCore.CAP; +using LINGYUN.Abp.ExceptionHandling; +using LINGYUN.Abp.ExceptionHandling.Emailing; +using LINGYUN.Abp.Localization.CultureMap; +using LINGYUN.Abp.Serilog.Enrichers.Application; +using Microsoft.AspNetCore.Authentication.JwtBearer; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.AspNetCore.Identity; +using Microsoft.Extensions.Caching.StackExchangeRedis; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.OpenApi.Models; +using StackExchange.Redis; +using System; +using System.Text.Encodings.Web; +using System.Text.Unicode; +using Volo.Abp; +using Volo.Abp.Auditing; +using Volo.Abp.Authorization.Permissions; +using Volo.Abp.Caching; +using Volo.Abp.Domain.Entities.Events.Distributed; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.Identity.Localization; +using Volo.Abp.Json; +using Volo.Abp.Json.SystemTextJson; +using Volo.Abp.Localization; +using Volo.Abp.MultiTenancy; +using Volo.Abp.PermissionManagement; +using Volo.Abp.VirtualFileSystem; + +namespace LY.MicroService.identityServer; + +public partial class IdentityServerHttpApiHostModule +{ + private void PreConfigureApp() + { + AbpSerilogEnrichersConsts.ApplicationName = "Identity-Server-Admin"; + } + + private void PreConfigureCAP(IConfiguration configuration) + { + PreConfigure(options => + { + options + .UseMySql(mySqlOptions => + { + configuration.GetSection("CAP:MySql").Bind(mySqlOptions); + }) + .UseRabbitMQ(rabbitMQOptions => + { + configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); + }) + .UseDashboard(); + }); + } + + private void PreConfigureIdentity() + { + PreConfigure(builder => + { + builder.AddDefaultTokenProviders(); + }); + } + + private void ConfigureDbContext() + { + // 閰嶇疆Ef + Configure(options => + { + options.UseMySQL(); + }); + } + + private void ConfigureJsonSerializer() + { + // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 + Configure(options => + { + options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; + }); + // 涓枃搴忓垪鍖栫殑缂栫爜闂 + Configure(options => + { + options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); + }); + } + + private void ConfigurePermissionManagement() + { + Configure(options => + { + // Rename IdentityServer.Client.ManagePermissions + // See https://github.com/abpframework/abp/blob/dev/modules/identityserver/src/Volo.Abp.PermissionManagement.Domain.IdentityServer/Volo/Abp/PermissionManagement/IdentityServer/AbpPermissionManagementDomainIdentityServerModule.cs + options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = + LINGYUN.Abp.IdentityServer.AbpIdentityServerPermissions.Clients.ManagePermissions; + }); + } + + private void ConfigreExceptionHandling() + { + // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 + Configure(options => + { + // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + options.Handlers.Add(); + }); + // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 + Configure(options => + { + // 鏄惁鍙戦佸爢鏍堜俊鎭 + options.SendStackTrace = true; + }); + } + + private void ConfigureAuditing(IConfiguration configuration) + { + Configure(options => + { + options.ApplicationName = "Identity-Server-Admin"; + // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 + var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); + if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) + { + options + .EntityHistorySelectors + .AddAllEntities(); + } + }); + } + + private void ConfigureCaching(IConfiguration configuration) + { + Configure(options => + { + // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 + options.KeyPrefix = "LINGYUN.Abp.Application"; + // 婊戝姩杩囨湡30澶 + options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); + // 缁濆杩囨湡60澶 + options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); + }); + + Configure(options => + { + options.AutoEventSelectors.AddNamespace("Volo.Abp.Identity"); + options.AutoEventSelectors.AddNamespace("Volo.Abp.IdentityServer"); + }); + + Configure(options => + { + var redisConfig = ConfigurationOptions.Parse(options.Configuration); + options.ConfigurationOptions = redisConfig; + options.InstanceName = configuration["Redis:InstanceName"]; + }); + } + + private void ConfigureVirtualFileSystem() + { + Configure(options => + { + options.FileSets.AddEmbedded("LY.MicroService.identityServer"); + }); + } + + private void ConfigureMultiTenancy(IConfiguration configuration) + { + // 澶氱鎴 + Configure(options => + { + options.IsEnabled = true; + }); + + var tenantResolveCfg = configuration.GetSection("App:Domains"); + if (tenantResolveCfg.Exists()) + { + Configure(options => + { + var domains = tenantResolveCfg.Get(); + foreach (var domain in domains) + { + options.AddDomainTenantResolver(domain); + } + }); + } + } + + private void ConfigureSwagger(IServiceCollection services) + { + // Swagger + services.AddSwaggerGen( + options => + { + options.SwaggerDoc("v1", new OpenApiInfo { Title = "IdentityServer4 API", Version = "v1" }); + options.DocInclusionPredicate((docName, description) => true); + options.CustomSchemaIds(type => type.FullName); + options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme + { + Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", + Name = "Authorization", + In = ParameterLocation.Header, + Scheme = "bearer", + Type = SecuritySchemeType.Http, + BearerFormat = "JWT" + }); + options.AddSecurityRequirement(new OpenApiSecurityRequirement + { + { + new OpenApiSecurityScheme + { + Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } + }, + new string[] { } + } + }); + options.OperationFilter(); + }); + } + + private void ConfigureLocalization() + { + // 鏀寔鏈湴鍖栬瑷绫诲瀷 + Configure(options => + { + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); + + options.Resources + .Get() + .AddVirtualJson("/Localization/Resources"); + + options.Resources.AddDynamic(typeof(IdentityResource)); + }); + + Configure(options => + { + var zhHansCultureMapInfo = new CultureMapInfo + { + TargetCulture = "zh-Hans", + SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } + }; + + options.CulturesMaps.Add(zhHansCultureMapInfo); + options.UiCulturesMaps.Add(zhHansCultureMapInfo); + }); + } + + private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) + { + services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) + .AddJwtBearer(options => + { + options.Authority = configuration["AuthServer:Authority"]; + options.RequireHttpsMetadata = false; + options.Audience = configuration["AuthServer:ApiName"]; + }); + + if (!isDevelopment) + { + var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); + services + .AddDataProtection() + .SetApplicationName("LINGYUN.Abp.Application") + .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); + } + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Seeder.cs b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Seeder.cs new file mode 100644 index 000000000..f37f4b521 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.Seeder.cs @@ -0,0 +1,10 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; + +namespace LY.MicroService.identityServer; + +public partial class IdentityServerHttpApiHostModule +{ +} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.cs b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.cs similarity index 51% rename from aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.cs rename to aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.cs index 72156166d..51b5718a8 100644 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.cs +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/IdentityServerHttpApiHostModule.cs @@ -23,9 +23,9 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore; using Volo.Abp.SettingManagement.EntityFrameworkCore; using Volo.Abp.TenantManagement.EntityFrameworkCore; -namespace LINGYUN.Abp.IdentityServer4 -{ - [DependsOn( +namespace LY.MicroService.identityServer; + +[DependsOn( typeof(AbpSerilogEnrichersApplicationModule), typeof(AbpAspNetCoreSerilogModule), typeof(AbpAspNetCoreMultiTenancyModule), @@ -53,67 +53,66 @@ namespace LINGYUN.Abp.IdentityServer4 typeof(AbpLocalizationCultureMapModule), typeof(AbpAutofacModule) )] - public partial class AbpIdentityServerAdminHttpApiHostModule : AbpModule +public partial class IdentityServerHttpApiHostModule : AbpModule +{ + public override void PreConfigureServices(ServiceConfigurationContext context) { - public override void PreConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); + var configuration = context.Services.GetConfiguration(); - PreConfigureApp(); - PreConfigureCAP(configuration); - PreConfigureIdentity(); - } + PreConfigureApp(); + PreConfigureCAP(configuration); + PreConfigureIdentity(); + } - public override void ConfigureServices(ServiceConfigurationContext context) - { - var hostingEnvironment = context.Services.GetHostingEnvironment(); - var configuration = hostingEnvironment.BuildConfiguration(); + public override void ConfigureServices(ServiceConfigurationContext context) + { + var hostingEnvironment = context.Services.GetHostingEnvironment(); + var configuration = hostingEnvironment.BuildConfiguration(); - ConfigureDbContext(); - ConfigureJsonSerializer(); - ConfigurePermissionManagement(); - ConfigreExceptionHandling(); - ConfigureAuditing(configuration); - ConfigureCaching(configuration); - ConfigureVirtualFileSystem(); - ConfigureMultiTenancy(configuration); - ConfigureSwagger(context.Services); - ConfigureLocalization(); - ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); - } + ConfigureDbContext(); + ConfigureJsonSerializer(); + ConfigurePermissionManagement(); + ConfigreExceptionHandling(); + ConfigureAuditing(configuration); + ConfigureCaching(configuration); + ConfigureVirtualFileSystem(); + ConfigureMultiTenancy(configuration); + ConfigureSwagger(context.Services); + ConfigureLocalization(); + ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); + } - public override void OnApplicationInitialization(ApplicationInitializationContext context) + public override void OnApplicationInitialization(ApplicationInitializationContext context) + { + var app = context.GetApplicationBuilder(); + // http璋冪敤閾 + app.UseCorrelationId(); + // 铏氭嫙鏂囦欢绯荤粺 + app.UseStaticFiles(); + //璺敱 + app.UseRouting(); + // 璁よ瘉 + app.UseAuthentication(); + app.UseAbpClaimsMap(); + // jwt + app.UseJwtTokenMiddleware(); + // 澶氱鎴 + app.UseMultiTenancy(); + // 鏈湴鍖 + app.UseMapRequestLocalization(); + // 鎺堟潈 + app.UseAuthorization(); + // Swagger + app.UseSwagger(); + // Swagger鍙鍖栫晫闈 + app.UseSwaggerUI(options => { - var app = context.GetApplicationBuilder(); - // http璋冪敤閾 - app.UseCorrelationId(); - // 铏氭嫙鏂囦欢绯荤粺 - app.UseStaticFiles(); - //璺敱 - app.UseRouting(); - // 璁よ瘉 - app.UseAuthentication(); - app.UseAbpClaimsMap(); - // jwt - app.UseJwtTokenMiddleware(); - // 澶氱鎴 - app.UseMultiTenancy(); - // 鏈湴鍖 - app.UseMapRequestLocalization(); - // 鎺堟潈 - app.UseAuthorization(); - // Swagger - app.UseSwagger(); - // Swagger鍙鍖栫晫闈 - app.UseSwaggerUI(options => - { - options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support IdentityServer4 API"); - }); - // 瀹¤鏃ュ織 - app.UseAuditing(); - app.UseAbpSerilogEnrichers(); - // 璺敱 - app.UseConfiguredEndpoints(); - } + options.SwaggerEndpoint("/swagger/v1/swagger.json", "Support IdentityServer API"); + }); + // 瀹¤鏃ュ織 + app.UseAuditing(); + app.UseAbpSerilogEnrichers(); + // 璺敱 + app.UseConfiguredEndpoints(); } -} \ No newline at end of file +} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/LINGYUN.Abp.IdentityServer4.HttpApi.Host.csproj b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/LY.MicroService.identityServer.HttpApi.Host.csproj similarity index 55% rename from aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/LINGYUN.Abp.IdentityServer4.HttpApi.Host.csproj rename to aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/LY.MicroService.identityServer.HttpApi.Host.csproj index 467ffeb62..d11d7e41d 100644 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/LINGYUN.Abp.IdentityServer4.HttpApi.Host.csproj +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/LY.MicroService.identityServer.HttpApi.Host.csproj @@ -2,12 +2,11 @@ net6.0 - LINGYUN.Abp.IdentityServer4 + LY.MicroService.identityServer - - + @@ -16,8 +15,7 @@ - - + @@ -55,29 +53,23 @@ - - - - - - - - - - - - - - - - - - - - - - Always - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Localization/en.json b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Localization/Resources/en.json similarity index 100% rename from aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Localization/en.json rename to aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Localization/Resources/en.json diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Localization/zh-Hans.json b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Localization/Resources/zh-Hans.json similarity index 100% rename from aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Localization/zh-Hans.json rename to aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Localization/Resources/zh-Hans.json diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Program.cs b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Program.cs new file mode 100644 index 000000000..f3e2773b3 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Program.cs @@ -0,0 +1,52 @@ +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using Serilog; +using System; +using System.IO; + +namespace LY.MicroService.identityServer; + +public class Program +{ + public static int Main(string[] args) + { + try + { + var hostBuilder = CreateHostBuilder(args).Build(); + Log.Information("Starting IdentityServer4Admin.Host."); + hostBuilder.Run(); + + return 0; + } + catch (Exception ex) + { + Log.Fatal(ex, "Host terminated unexpectedly!"); + return 1; + } + finally + { + Log.CloseAndFlush(); + } + } + + internal static IHostBuilder CreateHostBuilder(string[] args) => + Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); + }) + .ConfigureAppConfiguration((context, config) => + { + var configuration = config.Build(); + if (configuration.GetSection("AgileConfig").Exists()) + { + config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); + } + }) + .UseSerilog((context, provider, config) => + { + config.ReadFrom.Configuration(context.Configuration); + }) + .UseAutofac(); +} \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Properties/launchSettings.json new file mode 100644 index 000000000..dee5c1d07 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Properties/launchSettings.json @@ -0,0 +1,21 @@ +锘縶 + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:13659", + "sslPort": 0 + } + }, + "profiles": { + "LY.MicroService.identityServer.HttpApi.Host": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "http://127.0.0.1:30015", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Startup.cs b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Startup.cs new file mode 100644 index 000000000..dd14ef376 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/Startup.cs @@ -0,0 +1,30 @@ +using Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.DependencyInjection; +using System.IO; +using Volo.Abp.IO; +using Volo.Abp.Modularity.PlugIns; + +namespace LY.MicroService.identityServer; + +public class Startup +{ + public void ConfigureServices(IServiceCollection services) + { + services.AddApplication(options => + { + // 搜索 Modules 目录下所有文件作为插件 + // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 + var pluginFolder = Path.Combine( + Directory.GetCurrentDirectory(), "Modules"); + DirectoryHelper.CreateIfNotExists(pluginFolder); + options.PlugInSources.AddFolder( + pluginFolder, + SearchOption.AllDirectories); + }); + } + + public void Configure(IApplicationBuilder app) + { + app.InitializeApplication(); + } +} \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/TenantHeaderParamter.cs new file mode 100644 index 000000000..d928f79f4 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/TenantHeaderParamter.cs @@ -0,0 +1,32 @@ +锘縰sing Microsoft.Extensions.Options; +using Microsoft.OpenApi.Models; +using Swashbuckle.AspNetCore.SwaggerGen; +using System.Collections.Generic; +using Volo.Abp.MultiTenancy; + +namespace LY.MicroService.identityServer; + +public class TenantHeaderParamter : IOperationFilter +{ + private readonly AbpMultiTenancyOptions _options; + public TenantHeaderParamter( + IOptions options) + { + _options = options.Value; + } + + public void Apply(OpenApiOperation operation, OperationFilterContext context) + { + if (_options.IsEnabled) + { + operation.Parameters = operation.Parameters ?? new List(); + operation.Parameters.Add(new OpenApiParameter + { + Name = TenantResolverConsts.DefaultTenantKey, + In = ParameterLocation.Header, + Description = "Tenant Id in http header", + Required = false + }); + } + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/UserSecurityCodeSender.cs b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/UserSecurityCodeSender.cs new file mode 100644 index 000000000..ddbe425ad --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer.HttpApi.Host/UserSecurityCodeSender.cs @@ -0,0 +1,65 @@ +锘縰sing LINGYUN.Abp.Identity; +using LY.MicroService.identityServer.Emailing.Templates; +using Microsoft.Extensions.Localization; +using System.Threading; +using System.Threading.Tasks; +using Volo.Abp; +using Volo.Abp.DependencyInjection; +using Volo.Abp.Emailing; +using Volo.Abp.Identity.Localization; +using Volo.Abp.Sms; +using Volo.Abp.TextTemplating; + +namespace LY.MicroService.identityServer; + +public class UserSecurityCodeSender : IUserSecurityCodeSender, ITransientDependency +{ + protected IEmailSender EmailSender { get; } + protected ITemplateRenderer TemplateRenderer { get; } + protected IStringLocalizer Localizer { get; } + + protected ISmsSender SmsSender { get; } + + public UserSecurityCodeSender( + ISmsSender smsSender, + IEmailSender emailSender, + ITemplateRenderer templateRenderer, + IStringLocalizer localizer) + { + SmsSender = smsSender; + EmailSender = emailSender; + TemplateRenderer = templateRenderer; + Localizer = localizer; + } + + public virtual async Task SendEmailConfirmedCodeAsync( + string userName, + string email, + string token, + CancellationToken cancellation = default) + { + var emailContent = await TemplateRenderer.RenderAsync( + IdentityEmailTemplates.EmailConfirmed, + new { user = userName, code = token }); + + await EmailSender.SendAsync( + email, + Localizer["EmailConfirmed"], + emailContent); + } + + public virtual async Task SendPhoneConfirmedCodeAsync( + string phone, + string token, + string template, + CancellationToken cancellation = default) + { + Check.NotNullOrWhiteSpace(template, nameof(template)); + + var smsMessage = new SmsMessage(phone, token); + smsMessage.Properties.Add("code", token); + smsMessage.Properties.Add("TemplateCode", template); + + await SmsSender.SendAsync(smsMessage); + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/DataSeeder/IdentityServerDataSeedContributor.cs b/aspnet-core/services/LY.MicroService.identityServer/DataSeeder/IdentityServerDataSeedContributor.cs new file mode 100644 index 000000000..ec4826af7 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/DataSeeder/IdentityServerDataSeedContributor.cs @@ -0,0 +1,333 @@ +锘縰sing LINGYUN.Abp.IdentityServer; +using LINGYUN.Abp.IdentityServer.IdentityResources; +using Microsoft.Extensions.Configuration; +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Threading.Tasks; +using Volo.Abp.Authorization.Permissions; +using Volo.Abp.Data; +using Volo.Abp.DependencyInjection; +using Volo.Abp.Guids; +using Volo.Abp.IdentityServer.ApiResources; +using Volo.Abp.IdentityServer.ApiScopes; +using Volo.Abp.IdentityServer.Clients; +using Volo.Abp.IdentityServer.IdentityResources; +using Volo.Abp.MultiTenancy; +using Volo.Abp.PermissionManagement; +using Volo.Abp.Uow; + +namespace LY.MicroService.IdentityServer.DataSeeder; + +public class IdentityServerDataSeedContributor : IDataSeedContributor, ITransientDependency +{ + private readonly IApiResourceRepository _apiResourceRepository; + private readonly IApiScopeRepository _apiScopeRepository; + private readonly IClientRepository _clientRepository; + private readonly ICustomIdentityResourceDataSeeder _customIdentityResourceDataSeeder; + private readonly IIdentityResourceDataSeeder _identityResourceDataSeeder; + private readonly IWeChatResourceDataSeeder _weChatResourceDataSeeder; + private readonly IGuidGenerator _guidGenerator; + private readonly IPermissionDataSeeder _permissionDataSeeder; + private readonly IConfiguration _configuration; + private readonly ICurrentTenant _currentTenant; + + public IdentityServerDataSeedContributor( + IClientRepository clientRepository, + IApiScopeRepository apiScopeRepository, + IPermissionDataSeeder permissionDataSeeder, + IApiResourceRepository apiResourceRepository, + IWeChatResourceDataSeeder weChatResourceDataSeeder, + IIdentityResourceDataSeeder identityResourceDataSeeder, + ICustomIdentityResourceDataSeeder customIdentityResourceDataSeeder, + IGuidGenerator guidGenerator, + ICurrentTenant currentTenant) + { + _currentTenant = currentTenant; + _clientRepository = clientRepository; + _permissionDataSeeder = permissionDataSeeder; + _apiScopeRepository = apiScopeRepository; + _apiResourceRepository = apiResourceRepository; + _weChatResourceDataSeeder = weChatResourceDataSeeder; + _identityResourceDataSeeder = identityResourceDataSeeder; + _customIdentityResourceDataSeeder = customIdentityResourceDataSeeder; + _guidGenerator = guidGenerator; + var env = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Development"; + var configuration = new ConfigurationBuilder() + .SetBasePath(Directory.GetCurrentDirectory()) + .AddJsonFile($"appsettings.{env}.json", optional: false, reloadOnChange: true) + .AddEnvironmentVariables() + .Build(); + _configuration = configuration; + } + + [UnitOfWork] + public virtual async Task SeedAsync(DataSeedContext context) + { + using (_currentTenant.Change(context?.TenantId)) + { + await _identityResourceDataSeeder.CreateStandardResourcesAsync(); + await _customIdentityResourceDataSeeder.CreateCustomResourcesAsync(); + await CreateWeChatClaimTypeAsync(); + await CreateApiResourcesAsync(); + await CreateApiScopesAsync(); + await CreateClientsAsync(); + } + } + + private async Task CreateWeChatClaimTypeAsync() + { + await _weChatResourceDataSeeder.CreateStandardResourcesAsync(); + } + + private async Task CreateApiScopesAsync() + { + await CreateApiScopeAsync("lingyun-abp-application"); + } + + private async Task CreateApiResourcesAsync() + { + var commonApiUserClaims = new[] + { + "email", + "email_verified", + "name", + "phone_number", + "phone_number_verified", + "role" + }; + + await CreateApiResourceAsync("lingyun-abp-application", commonApiUserClaims); + } + + private async Task CreateApiResourceAsync(string name, IEnumerable claims, IEnumerable secrets = null) + { + var apiResource = await _apiResourceRepository.FindByNameAsync(name); + if (apiResource == null) + { + apiResource = await _apiResourceRepository.InsertAsync( + new ApiResource( + _guidGenerator.Create(), + name, + name + " API" + ), + autoSave: true + ); + } + + foreach (var claim in claims) + { + if (apiResource.FindClaim(claim) == null) + { + apiResource.AddUserClaim(claim); + } + } + if (secrets != null) + { + foreach (var secret in secrets) + { + if (apiResource.FindSecret(secret) == null) + { + apiResource.AddSecret(secret); + } + } + } + + return await _apiResourceRepository.UpdateAsync(apiResource); + } + + private async Task CreateApiScopeAsync(string name) + { + var apiScope = await _apiScopeRepository.FindByNameAsync(name); + if (apiScope == null) + { + apiScope = await _apiScopeRepository.InsertAsync( + new ApiScope( + _guidGenerator.Create(), + name, + name + " API" + ), + autoSave: true + ); + } + + return apiScope; + } + + private async Task CreateClientsAsync() + { + + string commonSecret = IdentityServer4.Models.HashExtensions.Sha256("1q2w3e*"); + + var commonScopes = new[] + { + "email", + "openid", + "profile", + "role", + "phone", + "address", + "offline_access" // 鍔犱笂鍒锋柊, + + }; + + var configurationSection = _configuration.GetSection("IdentityServer:Clients"); + + //Web Client + var webClientId = configurationSection["AuthManagement:ClientId"]; + if (!webClientId.IsNullOrWhiteSpace()) + { + var webClientRootUrl = configurationSection["AuthManagement:RootUrl"].EnsureEndsWith('/'); + await CreateClientAsync( + webClientId, + commonScopes.Union(new[] { "lingyun-abp-application" }), + new[] { "hybrid" }, + commonSecret, + redirectUri: $"{webClientRootUrl}signin-oidc", + postLogoutRedirectUri: $"{webClientRootUrl}signout-callback-oidc", + corsOrigins: configurationSection["CorsOrigins"] + ); + } + + //Console Test Client + var consoleClientId = configurationSection["AuthVueAdmin:ClientId"]; + if (!consoleClientId.IsNullOrWhiteSpace()) + { + await CreateClientAsync( + consoleClientId, + commonScopes.Union(new[] { "lingyun-abp-application" }), + new[] { "password", "client_credentials" }, + commonSecret + ); + } + + //ApiGateway + var apigatewayClientId = configurationSection["AuthApiGateway:ClientId"]; + if (!apigatewayClientId.IsNullOrWhiteSpace()) + { + var apigatewayPermissions = new string[8] + { + "ApiGateway.Global", "ApiGateway.Global.Export", + "ApiGateway.Route", "ApiGateway.Route.Export", + "ApiGateway.DynamicRoute", "ApiGateway.DynamicRoute.Export", + "ApiGateway.AggregateRoute", "ApiGateway.AggregateRoute.Export", + }; + await CreateClientAsync( + apigatewayClientId, + commonScopes.Union(new[] { "lingyun-abp-application" }), + new[] { "client_credentials" }, + commonSecret, + permissions: apigatewayPermissions + ); + } + + // InternalService 鍐呴儴鏈嶅姟闂撮氳瀹㈡埛绔,蹇呰鐨勮瘽闇瑕佸湪鍓嶇鎸囧畾瀹冩嫢鏈夋墍鏈夋潈闄,褰撳墠椤圭洰浠呴缃敤鎴锋煡璇㈡潈闄 + var internalServiceClientId = configurationSection["InternalService:ClientId"]; + if (!internalServiceClientId.IsNullOrWhiteSpace()) + { + var internalServicePermissions = new string[2] + { + "AbpIdentity.UserLookup","AbpIdentity.Users" + }; + await CreateClientAsync( + internalServiceClientId, + commonScopes.Union(new[] { "lingyun-abp-application" }), + new[] { "client_credentials" }, + commonSecret, + permissions: internalServicePermissions + ); + } + } + + private async Task CreateClientAsync( + string name, + IEnumerable scopes, + IEnumerable grantTypes, + string secret, + string redirectUri = null, + string postLogoutRedirectUri = null, + IEnumerable permissions = null, + string corsOrigins = null) + { + var client = await _clientRepository.FindByClientIdAsync(name); + if (client == null) + { + client = await _clientRepository.InsertAsync( + new Client( + _guidGenerator.Create(), + name + ) + { + ClientName = name, + ProtocolType = "oidc", + Description = name, + AlwaysIncludeUserClaimsInIdToken = true, + AllowOfflineAccess = true, + AbsoluteRefreshTokenLifetime = 10800, //3 hours + AccessTokenLifetime = 7200, //2 hours + AuthorizationCodeLifetime = 300, + IdentityTokenLifetime = 300, + RequireConsent = false + }, + autoSave: true + ); + } + + foreach (var scope in scopes) + { + if (client.FindScope(scope) == null) + { + client.AddScope(scope); + } + } + + foreach (var grantType in grantTypes) + { + if (client.FindGrantType(grantType) == null) + { + client.AddGrantType(grantType); + } + } + + if (client.FindSecret(secret) == null) + { + client.AddSecret(secret); + } + + if (redirectUri != null) + { + if (client.FindRedirectUri(redirectUri) == null) + { + client.AddRedirectUri(redirectUri); + } + } + + if (postLogoutRedirectUri != null) + { + if (client.FindPostLogoutRedirectUri(postLogoutRedirectUri) == null) + { + client.AddPostLogoutRedirectUri(postLogoutRedirectUri); + } + } + + if (corsOrigins != null) + { + var corsOriginsSplit = corsOrigins.Split(";"); + foreach (var corsOrigin in corsOriginsSplit) + { + if (client.FindCorsOrigin(corsOrigin) == null) + { + client.AddCorsOrigin(corsOrigin); + } + } + } + + if (permissions != null) + { + await _permissionDataSeeder.SeedAsync(ClientPermissionValueProvider.ProviderName, name, permissions); + } + + return await _clientRepository.UpdateAsync(client); + } +} diff --git a/aspnet-core/services/account/AuthServer.Host/Dockerfile b/aspnet-core/services/LY.MicroService.identityServer/Dockerfile similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/Dockerfile rename to aspnet-core/services/LY.MicroService.identityServer/Dockerfile diff --git a/aspnet-core/services/LY.MicroService.identityServer/Emailing/AccountEmailVerifySender.cs b/aspnet-core/services/LY.MicroService.identityServer/Emailing/AccountEmailVerifySender.cs new file mode 100644 index 000000000..63b2ee0d0 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Emailing/AccountEmailVerifySender.cs @@ -0,0 +1,104 @@ +锘縰sing LY.MicroService.IdentityServer.Emailing.Templates; +using Microsoft.Extensions.Localization; +using System; +using System.Diagnostics; +using System.Threading.Tasks; +using System.Web; +using Volo.Abp.Account.Emailing; +using Volo.Abp.Account.Localization; +using Volo.Abp.DependencyInjection; +using Volo.Abp.Emailing; +using Volo.Abp.Identity; +using Volo.Abp.MultiTenancy; +using Volo.Abp.TextTemplating; +using Volo.Abp.UI.Navigation.Urls; + +namespace LY.MicroService.IdentityServer.Emailing; + +[Dependency(ReplaceServices = true)] +[ExposeServices( + typeof(IAccountEmailer), + typeof(AccountEmailer), + typeof(IAccountEmailVerifySender), + typeof(AccountEmailVerifySender))] +public class AccountEmailVerifySender : AccountEmailer, IAccountEmailVerifySender, ITransientDependency +{ + public AccountEmailVerifySender( + IEmailSender emailSender, + ITemplateRenderer templateRenderer, + IStringLocalizer stringLocalizer, + IAppUrlProvider appUrlProvider, + ICurrentTenant currentTenant) + : base(emailSender, templateRenderer, stringLocalizer, appUrlProvider, currentTenant) + { + } + + public virtual async Task SendMailLoginVerifyLinkAsync( + IdentityUser user, + string code, + string appName, + string provider, + bool rememberMe = false, + string returnUrl = null, + string returnUrlHash = null) + { + Debug.Assert(CurrentTenant.Id == user.TenantId, "This method can only work for current tenant!"); + + // TODO: 闇瑕佺敓鎴愬揩鎹烽摼鎺 + //var url = await AppUrlProvider.GetUrlAsync(appName, AccountUrlNames.MailLoginVerify); + + //var link = $"{url}?provider={provider}&rememberMe={rememberMe}&resetToken={UrlEncoder.Default.Encode(code)}"; + + //if (!returnUrl.IsNullOrEmpty()) + //{ + // link += "&returnUrl=" + NormalizeReturnUrl(returnUrl); + //} + + //if (!returnUrlHash.IsNullOrEmpty()) + //{ + // link += "&returnUrlHash=" + returnUrlHash; + //} + + var emailContent = await TemplateRenderer.RenderAsync( + AccountEmailTemplates.MailSecurityVerifyLink, + new { code = code, user = user.UserName } + ); + + await EmailSender.SendAsync( + user.Email, + StringLocalizer["MailSecurityVerify"], + emailContent + ); + } + + protected override string NormalizeReturnUrl(string returnUrl) + { + if (returnUrl.IsNullOrEmpty()) + { + return returnUrl; + } + + //Handling openid connect login + if (returnUrl.StartsWith("/connect/authorize/callback", StringComparison.OrdinalIgnoreCase)) + { + if (returnUrl.Contains("?")) + { + var queryPart = returnUrl.Split('?')[1]; + var queryParameters = queryPart.Split('&'); + foreach (var queryParameter in queryParameters) + { + if (queryParameter.Contains("=")) + { + var queryParam = queryParameter.Split('='); + if (queryParam[0] == "redirect_uri") + { + return HttpUtility.UrlDecode(queryParam[1]); + } + } + } + } + } + + return returnUrl; + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/Emailing/IAccountEmailVerifySender.cs b/aspnet-core/services/LY.MicroService.identityServer/Emailing/IAccountEmailVerifySender.cs new file mode 100644 index 000000000..ad52a8824 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Emailing/IAccountEmailVerifySender.cs @@ -0,0 +1,17 @@ +锘縰sing System.Threading.Tasks; +using Volo.Abp.Account.Emailing; +using Volo.Abp.Identity; + +namespace LY.MicroService.IdentityServer.Emailing; + +public interface IAccountEmailVerifySender : IAccountEmailer +{ + Task SendMailLoginVerifyLinkAsync( + IdentityUser user, + string code, + string appName, + string provider, + bool rememberMe = false, + string returnUrl = null, + string returnUrlHash = null); +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs b/aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs new file mode 100644 index 000000000..3256e18fd --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs @@ -0,0 +1,21 @@ +锘縰sing Volo.Abp.Account.Localization; +using Volo.Abp.Emailing.Templates; +using Volo.Abp.Localization; +using Volo.Abp.TextTemplating; + +namespace LY.MicroService.IdentityServer.Emailing.Templates; + +public class AccountEmailTemplateDefinitionProvider : TemplateDefinitionProvider +{ + public override void Define(ITemplateDefinitionContext context) + { + context.Add( + new TemplateDefinition( + AccountEmailTemplates.MailSecurityVerifyLink, + displayName: LocalizableString.Create($"TextTemplate:{AccountEmailTemplates.MailSecurityVerifyLink}"), + layout: StandardEmailTemplates.Layout, + localizationResource: typeof(AccountResource) + ).WithVirtualFilePath("/Emailing/Templates/MailSecurityVerify.tpl", true) + ); + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplates.cs b/aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplates.cs new file mode 100644 index 000000000..9b9f500f8 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/AccountEmailTemplates.cs @@ -0,0 +1,9 @@ +锘縩amespace LY.MicroService.IdentityServer.Emailing.Templates; + +public static class AccountEmailTemplates +{ + /// + /// 閭欢瀹夊叏楠岃瘉 + /// + public const string MailSecurityVerifyLink = "Abp.Account.MailSecurityVerifyLink"; +} diff --git a/aspnet-core/services/account/AuthServer.Host/Emailing/Templates/MailSecurityVerify.tpl b/aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/MailSecurityVerify.tpl similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/Emailing/Templates/MailSecurityVerify.tpl rename to aspnet-core/services/LY.MicroService.identityServer/Emailing/Templates/MailSecurityVerify.tpl diff --git a/aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContext.cs b/aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContext.cs new file mode 100644 index 000000000..4525eaacf --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContext.cs @@ -0,0 +1,23 @@ +锘縰sing Microsoft.EntityFrameworkCore; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.Identity.EntityFrameworkCore; +using Volo.Abp.IdentityServer.EntityFrameworkCore; + +namespace LY.MicroService.IdentityServer.EntityFrameworkCore; + +public class IdentityServertMigrationsDbContext : AbpDbContext +{ + public IdentityServertMigrationsDbContext(DbContextOptions options) + : base(options) + { + + } + + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + base.OnModelCreating(modelBuilder); + + modelBuilder.ConfigureIdentity(); + modelBuilder.ConfigureIdentityServer(); + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContextFactory.cs b/aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContextFactory.cs new file mode 100644 index 000000000..e7fbfcb48 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/EntityFrameworkCore/IdentityServertMigrationsDbContextFactory.cs @@ -0,0 +1,29 @@ +锘縰sing Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Design; +using Microsoft.Extensions.Configuration; +using System.IO; + +namespace LY.MicroService.IdentityServer.EntityFrameworkCore; + +public class IdentityServertMigrationsDbContextFactory : IDesignTimeDbContextFactory +{ + public IdentityServertMigrationsDbContext CreateDbContext(string[] args) + { + var configuration = BuildConfiguration(); + var connectionString = configuration.GetConnectionString("Default"); + + var builder = new DbContextOptionsBuilder() + .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); + + return new IdentityServertMigrationsDbContext(builder.Options); + } + + private static IConfigurationRoot BuildConfiguration() + { + var builder = new ConfigurationBuilder() + .SetBasePath(Directory.GetCurrentDirectory()) + .AddJsonFile("appsettings.Development.json", optional: false); + + return builder.Build(); + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/EventBus/Handlers/TenantSynchronizer.cs b/aspnet-core/services/LY.MicroService.identityServer/EventBus/Handlers/TenantSynchronizer.cs new file mode 100644 index 000000000..97e0ed373 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/EventBus/Handlers/TenantSynchronizer.cs @@ -0,0 +1,137 @@ +锘縰sing LINGYUN.Abp.Data.DbMigrator; +using LINGYUN.Abp.MultiTenancy; +using LY.MicroService.IdentityServer.EntityFrameworkCore; +using Microsoft.AspNetCore.Identity; +using Microsoft.EntityFrameworkCore; +using Microsoft.Extensions.Logging; +using System; +using System.Threading.Tasks; +using Volo.Abp.Authorization.Permissions; +using Volo.Abp.DependencyInjection; +using Volo.Abp.EventBus.Distributed; +using Volo.Abp.Guids; +using Volo.Abp.Identity; +using Volo.Abp.MultiTenancy; +using Volo.Abp.PermissionManagement; +using Volo.Abp.Uow; +using IdentityRole = Volo.Abp.Identity.IdentityRole; +using IdentityUser = Volo.Abp.Identity.IdentityUser; + +namespace LY.MicroService.IdentityServer.EventBus.Handlers; + +public class TenantSynchronizer : IDistributedEventHandler, ITransientDependency +{ + protected ILogger Logger { get; } + protected ICurrentTenant CurrentTenant { get; } + protected IGuidGenerator GuidGenerator { get; } + protected IdentityUserManager IdentityUserManager { get; } + protected IdentityRoleManager IdentityRoleManager { get; } + protected IPermissionDataSeeder PermissionDataSeeder { get; } + protected IDbSchemaMigrator DbSchemaMigrator { get; } + + public TenantSynchronizer( + ICurrentTenant currentTenant, + IGuidGenerator guidGenerator, + IdentityUserManager identityUserManager, + IdentityRoleManager identityRoleManager, + IPermissionDataSeeder permissionDataSeeder, + IDbSchemaMigrator dbSchemaMigrator, + ILogger logger) + { + Logger = logger; + CurrentTenant = currentTenant; + GuidGenerator = guidGenerator; + IdentityUserManager = identityUserManager; + IdentityRoleManager = identityRoleManager; + PermissionDataSeeder = permissionDataSeeder; + DbSchemaMigrator = dbSchemaMigrator; + } + + [UnitOfWork] + public async Task HandleEventAsync(CreateEventData eventData) + { + using (CurrentTenant.Change(eventData.Id, eventData.Name)) + { + Logger.LogInformation("Migrating the new tenant database with AuthServer..."); + // 杩佺Щ绉熸埛鏁版嵁 + await DbSchemaMigrator.MigrateAsync( + (connectionString, builder) => + { + builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); + + return new IdentityServertMigrationsDbContext(builder.Options); + }); + + Logger.LogInformation("Migrated the new tenant database with AuthServer."); + + Logger.LogInformation("Seeding the new tenant admin user and roles..."); + await SeedTenantAdminAsync(eventData); + + Logger.LogInformation("Seeding the new tenant default roles..."); + await SeedTenantDefaultRoleAsync(eventData.Id); + + Logger.LogInformation("The new tenant identity data initialized!"); + } + } + + private async Task SeedTenantDefaultRoleAsync(Guid tenantId) + { + // 榛樿鐢ㄦ埛 + var roleId = GuidGenerator.Create(); + var defaultRole = new IdentityRole(roleId, "Users", tenantId) + { + IsStatic = true, + IsPublic = true, + IsDefault = true, + }; + (await IdentityRoleManager.CreateAsync(defaultRole)).CheckErrors(); + + // 鎵鏈夌敤鎴烽兘搴旇鍏锋湁鏌ヨ鐢ㄦ埛鏉冮檺, 鐢ㄤ簬IM鍦烘櫙 + await PermissionDataSeeder.SeedAsync( + RolePermissionValueProvider.ProviderName, + defaultRole.Name, + new string[] { + IdentityPermissions.UserLookup.Default, + IdentityPermissions.Users.Default + }); + } + + private async Task SeedTenantAdminAsync(CreateEventData eventData) + { + const string tenantAdminUserName = "admin"; + const string tenantAdminRoleName = "admin"; + var tenantAdminRoleId = Guid.Empty; ; + + if (!await IdentityRoleManager.RoleExistsAsync(tenantAdminRoleName)) + { + tenantAdminRoleId = GuidGenerator.Create(); + var tenantAdminRole = new IdentityRole(tenantAdminRoleId, tenantAdminRoleName, eventData.Id) + { + IsStatic = true, + IsPublic = true + }; + (await IdentityRoleManager.CreateAsync(tenantAdminRole)).CheckErrors(); + } + else + { + var tenantAdminRole = await IdentityRoleManager.FindByNameAsync(tenantAdminRoleName); + tenantAdminRoleId = tenantAdminRole.Id; + } + + var tenantAdminUser = await IdentityUserManager.FindByNameAsync(eventData.AdminEmailAddress); + if (tenantAdminUser == null) + { + tenantAdminUser = new IdentityUser( + eventData.AdminUserId, + tenantAdminUserName, + eventData.AdminEmailAddress, + eventData.Id); + + tenantAdminUser.AddRole(tenantAdminRoleId); + + // 鍒涘缓绉熸埛绠$悊鐢ㄦ埛 + (await IdentityUserManager.CreateAsync(tenantAdminUser)).CheckErrors(); + (await IdentityUserManager.AddPasswordAsync(tenantAdminUser, eventData.AdminPassword)).CheckErrors(); + } + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/IdentityResources/CustomIdentityResources.cs b/aspnet-core/services/LY.MicroService.identityServer/IdentityResources/CustomIdentityResources.cs new file mode 100644 index 000000000..ed7ca1eb5 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/IdentityResources/CustomIdentityResources.cs @@ -0,0 +1,18 @@ +锘縰sing IdentityServer4.Models; + +namespace LY.MicroService.IdentityServer.IdentityResources; + +public class CustomIdentityResources +{ + public class AvatarUrl : IdentityResource + { + public static string ClaimType { get; set; } = "avatarUrl"; + public AvatarUrl() + { + Name = ClaimType; + DisplayName = "Your avatar url"; + Emphasize = true; + UserClaims = new string[] { ClaimType }; + } + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Configure.cs b/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Configure.cs new file mode 100644 index 000000000..6e5dec54e --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Configure.cs @@ -0,0 +1,256 @@ +锘縰sing DotNetCore.CAP; +using LINGYUN.Abp.IdentityServer.IdentityResources; +using LINGYUN.Abp.Localization.CultureMap; +using LINGYUN.Abp.Serilog.Enrichers.Application; +using LY.MicroService.IdentityServer.IdentityResources; +using Microsoft.AspNetCore.Cors; +using Microsoft.AspNetCore.DataProtection; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Identity; +using Microsoft.Extensions.Caching.StackExchangeRedis; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using StackExchange.Redis; +using System; +using System.IO; +using System.Linq; +using System.Security.Cryptography.X509Certificates; +using System.Text.Encodings.Web; +using System.Text.Unicode; +using Volo.Abp.Account.Localization; +using Volo.Abp.Auditing; +using Volo.Abp.Caching; +using Volo.Abp.EntityFrameworkCore; +using Volo.Abp.IdentityServer; +using Volo.Abp.Json; +using Volo.Abp.Json.SystemTextJson; +using Volo.Abp.Localization; +using Volo.Abp.MultiTenancy; +using Volo.Abp.UI.Navigation.Urls; +using Volo.Abp.VirtualFileSystem; + +namespace LY.MicroService.IdentityServer; + +public partial class IdentityServerModule +{ + private void PreConfigureApp() + { + AbpSerilogEnrichersConsts.ApplicationName = "Identity-Server-STS"; + } + + private void PreConfigureCAP(IConfiguration configuration) + { + PreConfigure(options => + { + options + .UseMySql(mySqlOptions => + { + configuration.GetSection("CAP:MySql").Bind(mySqlOptions); + }) + .UseRabbitMQ(rabbitMQOptions => + { + configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); + }) + .UseDashboard(); + }); + } + + private void PreConfigureCertificate(IConfiguration configuration, IWebHostEnvironment environment) + { + var cerConfig = configuration.GetSection("Certificates"); + if (environment.IsProduction() && + cerConfig.Exists()) + { + // 寮鍙戠幆澧冧笅瀛樺湪璇佷功閰嶇疆 + // 涓旇瘉涔︽枃浠跺瓨鍦ㄥ垯浣跨敤鑷畾涔夌殑璇佷功鏂囦欢鏉ュ惎鍔↖ds鏈嶅姟鍣 + var cerPath = Path.Combine(environment.ContentRootPath, cerConfig["CerPath"]); + if (File.Exists(cerPath)) + { + PreConfigure(options => + { + options.AddDeveloperSigningCredential = false; + }); + + var cer = new X509Certificate2(cerPath, cerConfig["Password"]); + + PreConfigure(builder => + { + builder.AddSigningCredential(cer); + }); + } + } + } + + private void ConfigureDbContext() + { + Configure(options => + { + options.UseMySQL(); + }); + } + + private void ConfigureDataSeeder() + { + Configure(options => + { + options.Resources.Add(new CustomIdentityResources.AvatarUrl()); + }); + } + + private void ConfigureJsonSerializer() + { + // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 + Configure(options => + { + options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; + }); + // 涓枃搴忓垪鍖栫殑缂栫爜闂 + Configure(options => + { + options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); + }); + } + private void ConfigureCaching(IConfiguration configuration) + { + Configure(options => + { + // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 + options.KeyPrefix = "LINGYUN.Abp.Application"; + // 婊戝姩杩囨湡30澶 + options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); + // 缁濆杩囨湡60澶 + options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); + }); + + Configure(options => + { + var redisConfig = ConfigurationOptions.Parse(options.Configuration); + options.ConfigurationOptions = redisConfig; + options.InstanceName = configuration["Redis:InstanceName"]; + }); + } + private void ConfigureIdentity(IConfiguration configuration) + { + // 澧炲姞閰嶇疆鏂囦欢瀹氫箟,鍦ㄦ柊寤虹鎴锋椂闇瑕 + Configure(options => + { + var identityConfiguration = configuration.GetSection("Identity"); + if (identityConfiguration.Exists()) + { + identityConfiguration.Bind(options); + } + }); + } + private void ConfigureVirtualFileSystem() + { + Configure(options => + { + options.FileSets.AddEmbedded("LY.MicroService.IdentityServer"); + }); + } + private void ConfigureLocalization() + { + Configure(options => + { + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); + + options.Resources + .Get() + .AddVirtualJson("/Localization/Resources"); + }); + + Configure(options => + { + var zhHansCultureMapInfo = new CultureMapInfo + { + TargetCulture = "zh-Hans", + SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } + }; + + options.CulturesMaps.Add(zhHansCultureMapInfo); + options.UiCulturesMaps.Add(zhHansCultureMapInfo); + }); + } + private void ConfigureAuditing() + { + Configure(options => + { + // options.IsEnabledForGetRequests = true; + options.ApplicationName = "Identity-Server-STS"; + }); + } + private void ConfigureUrls(IConfiguration configuration) + { + Configure(options => + { + options.Applications["MVC"].RootUrl = configuration["App:SelfUrl"]; + // 閭欢鐧诲綍鍦板潃 + options.Applications["MVC"].Urls["EmailVerifyLogin"] = "Account/VerifyCode"; + }); + } + private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) + { + services.AddAuthentication() + .AddJwtBearer(options => + { + options.Authority = configuration["AuthServer:Authority"]; + options.RequireHttpsMetadata = false; + options.Audience = configuration["AuthServer:ApiName"]; + }); + + if (!isDevelopment) + { + var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); + services + .AddDataProtection() + .SetApplicationName("LINGYUN.Abp.Application") + .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); + } + + services.AddSameSiteCookiePolicy(); + } + private void ConfigureMultiTenancy(IConfiguration configuration) + { + // 澶氱鎴 + Configure(options => + { + options.IsEnabled = true; + }); + + var tenantResolveCfg = configuration.GetSection("App:Domains"); + if (tenantResolveCfg.Exists()) + { + Configure(options => + { + var domains = tenantResolveCfg.Get(); + foreach (var domain in domains) + { + options.AddDomainTenantResolver(domain); + } + }); + } + } + private void ConfigureCors(IServiceCollection services, IConfiguration configuration) + { + services.AddCors(options => + { + options.AddPolicy(DefaultCorsPolicyName, builder => + { + builder + .WithOrigins( + configuration["App:CorsOrigins"] + .Split(",", StringSplitOptions.RemoveEmptyEntries) + .Select(o => o.RemovePostFix("/")) + .ToArray() + ) + .WithAbpExposedHeaders() + .SetIsOriginAllowedToAllowWildcardSubdomains() + .AllowAnyHeader() + .AllowAnyMethod() + .AllowCredentials(); + }); + }); + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Seeder.cs b/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Seeder.cs new file mode 100644 index 000000000..455e2057c --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.Seeder.cs @@ -0,0 +1,22 @@ +锘縰sing Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Volo.Abp; +using Volo.Abp.Data; +using Volo.Abp.Threading; + +namespace LY.MicroService.IdentityServer; + +public partial class IdentityServerModule +{ + private void SeedData(ApplicationInitializationContext context) + { + if (context.GetEnvironment().IsDevelopment()) + { + AsyncHelper.RunSync(async () => + { + using var scope = context.ServiceProvider.CreateScope(); + await scope.ServiceProvider.GetRequiredService().SeedAsync(); + }); + } + } +} diff --git a/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.cs b/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.cs similarity index 52% rename from aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.cs rename to aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.cs index c9d5cc2c8..2fe359a05 100644 --- a/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/IdentityServerModule.cs @@ -33,9 +33,9 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore; using Volo.Abp.SettingManagement.EntityFrameworkCore; using Volo.Abp.TenantManagement.EntityFrameworkCore; -namespace AuthServer.Host -{ - [DependsOn( +namespace LY.MicroService.IdentityServer; + +[DependsOn( typeof(AbpSerilogEnrichersApplicationModule), typeof(AbpAspNetCoreSerilogModule), typeof(AbpAccountWebIdentityServerModule), @@ -64,73 +64,71 @@ namespace AuthServer.Host typeof(AbpCAPEventBusModule), typeof(AbpAliyunSmsModule) )] - public partial class AuthIdentityServerModule : AbpModule +public partial class IdentityServerModule : AbpModule +{ + private const string DefaultCorsPolicyName = "Default"; + + public override void PreConfigureServices(ServiceConfigurationContext context) { - private const string DefaultCorsPolicyName = "Default"; + var configuration = context.Services.GetConfiguration(); + var hostingEnvironment = context.Services.GetHostingEnvironment(); - public override void PreConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); - var hostingEnvironment = context.Services.GetHostingEnvironment(); + PreConfigureApp(); + PreConfigureCAP(configuration); + PreConfigureCertificate(configuration, hostingEnvironment); + } - PreConfigureApp(); - PreConfigureCAP(configuration); - PreConfigureCertificate(configuration, hostingEnvironment); - } + public override void ConfigureServices(ServiceConfigurationContext context) + { + var hostingEnvironment = context.Services.GetHostingEnvironment(); + var configuration = hostingEnvironment.BuildConfiguration(); - public override void ConfigureServices(ServiceConfigurationContext context) - { - var hostingEnvironment = context.Services.GetHostingEnvironment(); - var configuration = hostingEnvironment.BuildConfiguration(); + ConfigureDbContext(); + ConfigureJsonSerializer(); + ConfigureCaching(configuration); + ConfigureIdentity(configuration); + ConfigureVirtualFileSystem(); + ConfigureLocalization(); + ConfigureAuditing(); + ConfigureDataSeeder(); + ConfigureUrls(configuration); + ConfigureMultiTenancy(configuration); + ConfigureCors(context.Services, configuration); + ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); + } - ConfigureDbContext(); - ConfigureJsonSerializer(); - ConfigureCaching(configuration); - ConfigureIdentity(configuration); - ConfigureVirtualFileSystem(); - ConfigureLocalization(); - ConfigureAuditing(); - ConfigureDataSeeder(); - ConfigureUrls(configuration); - ConfigureMultiTenancy(configuration); - ConfigureCors(context.Services, configuration); - ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); - } + public override void OnApplicationInitialization(ApplicationInitializationContext context) + { + var app = context.GetApplicationBuilder(); + var env = context.GetEnvironment(); - public override void OnApplicationInitialization(ApplicationInitializationContext context) + if (env.IsDevelopment()) { - var app = context.GetApplicationBuilder(); - var env = context.GetEnvironment(); - - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - else - { - // 闇瑕佸疄鐜颁竴涓敊璇〉闈 - app.UseErrorPage(); - app.UseHsts(); - } + app.UseDeveloperExceptionPage(); + } + else + { + app.UseErrorPage(); + app.UseHsts(); + } - // app.UseHttpsRedirection(); - app.UseCookiePolicy(); - app.UseCorrelationId(); - app.UseStaticFiles(); - app.UseRouting(); - app.UseCors(DefaultCorsPolicyName); - app.UseWeChatSignature(); - app.UseAuthentication(); - app.UseJwtTokenMiddleware(); - app.UseMultiTenancy(); - app.UseMapRequestLocalization(); - app.UseIdentityServer(); - app.UseAuthorization(); - app.UseAuditing(); - app.UseAbpSerilogEnrichers(); - app.UseConfiguredEndpoints(); + // app.UseHttpsRedirection(); + app.UseCookiePolicy(); + app.UseCorrelationId(); + app.UseStaticFiles(); + app.UseRouting(); + app.UseCors(DefaultCorsPolicyName); + app.UseWeChatSignature(); + app.UseAuthentication(); + app.UseJwtTokenMiddleware(); + app.UseMultiTenancy(); + app.UseMapRequestLocalization(); + app.UseIdentityServer(); + app.UseAuthorization(); + app.UseAuditing(); + app.UseAbpSerilogEnrichers(); + app.UseConfiguredEndpoints(); - SeedData(context); - } + SeedData(context); } } diff --git a/aspnet-core/services/LY.MicroService.identityServer/LY.MicroService.IdentityServer.csproj b/aspnet-core/services/LY.MicroService.identityServer/LY.MicroService.IdentityServer.csproj new file mode 100644 index 000000000..9743ab793 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/LY.MicroService.IdentityServer.csproj @@ -0,0 +1,65 @@ +锘 + + + net6.0 + InProcess + LY.MicroService.IdentityServer + + + + + + + + + + + + + + + + + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/aspnet-core/services/account/AuthServer.Host/Localization/Resources/en.json b/aspnet-core/services/LY.MicroService.identityServer/Localization/Resources/en.json similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/Localization/Resources/en.json rename to aspnet-core/services/LY.MicroService.identityServer/Localization/Resources/en.json diff --git a/aspnet-core/services/account/AuthServer.Host/Localization/Resources/zh-Hans.json b/aspnet-core/services/LY.MicroService.identityServer/Localization/Resources/zh-Hans.json similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/Localization/Resources/zh-Hans.json rename to aspnet-core/services/LY.MicroService.identityServer/Localization/Resources/zh-Hans.json diff --git a/aspnet-core/services/account/AuthServer.Host/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs b/aspnet-core/services/LY.MicroService.identityServer/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs rename to aspnet-core/services/LY.MicroService.identityServer/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs diff --git a/aspnet-core/services/account/AuthServer.Host/Migrations/20211030124247_Re-Initlize-Db-Migration.Designer.cs b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211030124247_Re-Initlize-Db-Migration.Designer.cs similarity index 97% rename from aspnet-core/services/account/AuthServer.Host/Migrations/20211030124247_Re-Initlize-Db-Migration.Designer.cs rename to aspnet-core/services/LY.MicroService.identityServer/Migrations/20211030124247_Re-Initlize-Db-Migration.Designer.cs index f6e27bae2..190a4f9cb 100644 --- a/aspnet-core/services/account/AuthServer.Host/Migrations/20211030124247_Re-Initlize-Db-Migration.Designer.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211030124247_Re-Initlize-Db-Migration.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using AuthServer.EntityFrameworkCore; +using LY.MicroService.IdentityServer.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace AuthServer.Migrations +namespace LY.MicroService.IdentityServer.Migrations { - [DbContext(typeof(AuthServerHostMigrationsDbContext))] + [DbContext(typeof(IdentityServertMigrationsDbContext))] [Migration("20211030124247_Re-Initlize-Db-Migration")] partial class ReInitlizeDbMigration { diff --git a/aspnet-core/services/account/AuthServer.Host/Migrations/20211030124247_Re-Initlize-Db-Migration.cs b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211030124247_Re-Initlize-Db-Migration.cs similarity index 98% rename from aspnet-core/services/account/AuthServer.Host/Migrations/20211030124247_Re-Initlize-Db-Migration.cs rename to aspnet-core/services/LY.MicroService.identityServer/Migrations/20211030124247_Re-Initlize-Db-Migration.cs index 6d5b214ec..08f1f260d 100644 --- a/aspnet-core/services/account/AuthServer.Host/Migrations/20211030124247_Re-Initlize-Db-Migration.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211030124247_Re-Initlize-Db-Migration.cs @@ -1,7 +1,7 @@ 锘縰sing System; using Microsoft.EntityFrameworkCore.Migrations; -namespace AuthServer.Migrations +namespace LY.MicroService.IdentityServer.Migrations { public partial class ReInitlizeDbMigration : Migration { diff --git a/aspnet-core/services/account/AuthServer.Host/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.Designer.cs b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.Designer.cs similarity index 97% rename from aspnet-core/services/account/AuthServer.Host/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.Designer.cs rename to aspnet-core/services/LY.MicroService.identityServer/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.Designer.cs index 491fd3e03..2590c6fc4 100644 --- a/aspnet-core/services/account/AuthServer.Host/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.Designer.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.Designer.cs @@ -1,15 +1,15 @@ 锘// using System; -using AuthServer.EntityFrameworkCore; +using LY.MicroService.IdentityServer.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; -namespace AuthServer.Migrations +namespace LY.MicroService.IdentityServer.Migrations { - [DbContext(typeof(AuthServerHostMigrationsDbContext))] + [DbContext(typeof(IdentityServertMigrationsDbContext))] [Migration("20211118035301_Remove-Field-AvatarUrl-With-IdentityUser")] partial class RemoveFieldAvatarUrlWithIdentityUser { diff --git a/aspnet-core/services/account/AuthServer.Host/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.cs b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.cs similarity index 90% rename from aspnet-core/services/account/AuthServer.Host/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.cs rename to aspnet-core/services/LY.MicroService.identityServer/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.cs index 324208c82..36855bc21 100644 --- a/aspnet-core/services/account/AuthServer.Host/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211118035301_Remove-Field-AvatarUrl-With-IdentityUser.cs @@ -1,6 +1,6 @@ 锘縰sing Microsoft.EntityFrameworkCore.Migrations; -namespace AuthServer.Migrations +namespace LY.MicroService.IdentityServer.Migrations { public partial class RemoveFieldAvatarUrlWithIdentityUser : Migration { diff --git a/aspnet-core/services/account/AuthServer.Host/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs similarity index 97% rename from aspnet-core/services/account/AuthServer.Host/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs rename to aspnet-core/services/LY.MicroService.identityServer/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs index a7dbd10ba..8ce2b8dc5 100644 --- a/aspnet-core/services/account/AuthServer.Host/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.Designer.cs @@ -1,6 +1,6 @@ 锘// using System; -using AuthServer.EntityFrameworkCore; +using LY.MicroService.IdentityServer.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,9 +9,9 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace AuthServer.Migrations +namespace LY.MicroService.IdentityServer.Migrations { - [DbContext(typeof(AuthServerHostMigrationsDbContext))] + [DbContext(typeof(IdentityServertMigrationsDbContext))] [Migration("20211206122741_Upgrade-Abp-To-5-0-0-RC-1")] partial class UpgradeAbpTo500RC1 { diff --git a/aspnet-core/services/account/AuthServer.Host/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs similarity index 89% rename from aspnet-core/services/account/AuthServer.Host/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs rename to aspnet-core/services/LY.MicroService.identityServer/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs index efd97b14f..6359af42c 100644 --- a/aspnet-core/services/account/AuthServer.Host/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Migrations/20211206122741_Upgrade-Abp-To-5-0-0-RC-1.cs @@ -2,7 +2,7 @@ #nullable disable -namespace AuthServer.Migrations +namespace LY.MicroService.IdentityServer.Migrations { public partial class UpgradeAbpTo500RC1 : Migration { diff --git a/aspnet-core/services/account/AuthServer.Host/Migrations/AuthServerHostMigrationsDbContextModelSnapshot.cs b/aspnet-core/services/LY.MicroService.identityServer/Migrations/IdentityServertMigrationsDbContextModelSnapshot.cs similarity index 97% rename from aspnet-core/services/account/AuthServer.Host/Migrations/AuthServerHostMigrationsDbContextModelSnapshot.cs rename to aspnet-core/services/LY.MicroService.identityServer/Migrations/IdentityServertMigrationsDbContextModelSnapshot.cs index 4bbfd3f97..d543aa63a 100644 --- a/aspnet-core/services/account/AuthServer.Host/Migrations/AuthServerHostMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Migrations/IdentityServertMigrationsDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ 锘// using System; -using AuthServer.EntityFrameworkCore; +using LY.MicroService.IdentityServer.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; @@ -8,10 +8,10 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace AuthServer.Migrations +namespace LY.MicroService.IdentityServer.Migrations { - [DbContext(typeof(AuthServerHostMigrationsDbContext))] - partial class AuthServerHostMigrationsDbContextModelSnapshot : ModelSnapshot + [DbContext(typeof(IdentityServertMigrationsDbContext))] + partial class IdentityServertMigrationsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/SendCode.cshtml b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/SendCode.cshtml similarity index 92% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/SendCode.cshtml rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/SendCode.cshtml index 95b00081b..7dd20f502 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/SendCode.cshtml +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/SendCode.cshtml @@ -1,7 +1,7 @@ 锘緻page @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.Account.Localization -@model LINGYUN.Abp.Account.Web.Pages.Account.SendCodeModel +@model LY.MicroService.IdentityServer.Pages.Account.SendCodeModel @inject IHtmlLocalizer L
diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/SendCode.cshtml.cs b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/SendCode.cshtml.cs similarity index 97% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/SendCode.cshtml.cs rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/SendCode.cshtml.cs index bcee0841c..df01aebff 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/SendCode.cshtml.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/SendCode.cshtml.cs @@ -1,4 +1,4 @@ -using AuthServer.Host.Emailing; +using LY.MicroService.IdentityServer.Emailing; using LINGYUN.Abp.Identity.Settings; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; @@ -10,7 +10,7 @@ using Volo.Abp.Account.Localization; using Volo.Abp.Account.Web.Pages.Account; using Volo.Abp.Sms; -namespace LINGYUN.Abp.Account.Web.Pages.Account +namespace LY.MicroService.IdentityServer.Pages.Account { public class SendCodeModel : AccountPageModel { diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/TwoFactorSupportedLoginModel.cs b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/TwoFactorSupportedLoginModel.cs similarity index 96% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/TwoFactorSupportedLoginModel.cs rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/TwoFactorSupportedLoginModel.cs index ce2c483b3..077d2b488 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/TwoFactorSupportedLoginModel.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/TwoFactorSupportedLoginModel.cs @@ -9,7 +9,7 @@ using Volo.Abp.Account.Web.Pages.Account; using Volo.Abp.DependencyInjection; using IdentityOptions = Microsoft.AspNetCore.Identity.IdentityOptions; -namespace AuthServer.Host.Pages.Account +namespace LY.MicroService.IdentityServer.Pages.Account { /// /// 閲嶅啓鐧诲綍妯″瀷,瀹炵幇鍙屽洜绱犵櫥褰 diff --git a/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/UseRecoveryCode.cshtml b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/UseRecoveryCode.cshtml new file mode 100644 index 000000000..479fd4aa2 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/UseRecoveryCode.cshtml @@ -0,0 +1,4 @@ +锘緻page +@model LY.MicroService.IdentityServer.Pages.Account.UseRecoveryCodeModel +@{ +} diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/UseRecoveryCode.cshtml.cs b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/UseRecoveryCode.cshtml.cs similarity index 83% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/UseRecoveryCode.cshtml.cs rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/UseRecoveryCode.cshtml.cs index b076310f0..14ab35f03 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/UseRecoveryCode.cshtml.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/UseRecoveryCode.cshtml.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; -namespace LINGYUN.Abp.Account.Web.Pages.Account +namespace LY.MicroService.IdentityServer.Pages.Account { public class UseRecoveryCodeModel : PageModel { diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyAuthenticatorCode.cshtml b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyAuthenticatorCode.cshtml similarity index 91% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyAuthenticatorCode.cshtml rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyAuthenticatorCode.cshtml index 4a283e379..153ec9d9c 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyAuthenticatorCode.cshtml +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyAuthenticatorCode.cshtml @@ -1,7 +1,7 @@ 锘緻page @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.Account.Localization -@model LINGYUN.Abp.Account.Web.Pages.Account.VerifyAuthenticatorCodeModel +@model LY.MicroService.IdentityServer.Pages.Account.VerifyAuthenticatorCodeModel @inject IHtmlLocalizer L
diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyAuthenticatorCode.cshtml.cs b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyAuthenticatorCode.cshtml.cs similarity index 96% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyAuthenticatorCode.cshtml.cs rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyAuthenticatorCode.cshtml.cs index 8b43baba6..14cc42afb 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyAuthenticatorCode.cshtml.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyAuthenticatorCode.cshtml.cs @@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations; using System.Threading.Tasks; using Volo.Abp.Account.Web.Pages.Account; -namespace LINGYUN.Abp.Account.Web.Pages.Account +namespace LY.MicroService.IdentityServer.Pages.Account { public class VerifyAuthenticatorCodeModel : AccountPageModel { diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyCode.cshtml b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyCode.cshtml similarity index 93% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyCode.cshtml rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyCode.cshtml index 575142668..19a006403 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyCode.cshtml +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyCode.cshtml @@ -2,7 +2,7 @@ @inject IHtmlLocalizer L @using Microsoft.AspNetCore.Mvc.Localization @using Volo.Abp.Account.Localization -@model LINGYUN.Abp.Account.Web.Pages.Account.VerifyCodeModel +@model LY.MicroService.IdentityServer.Pages.Account.VerifyCodeModel
diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyCode.cshtml.cs b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyCode.cshtml.cs similarity index 98% rename from aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyCode.cshtml.cs rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyCode.cshtml.cs index 6965a75d9..f272da457 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/VerifyCode.cshtml.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Account/VerifyCode.cshtml.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using Volo.Abp.Account.Localization; using Volo.Abp.Account.Web.Pages.Account; -namespace LINGYUN.Abp.Account.Web.Pages.Account +namespace LY.MicroService.IdentityServer.Pages.Account { public class VerifyCodeModel : AccountPageModel { diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Index.cshtml b/aspnet-core/services/LY.MicroService.identityServer/Pages/Index.cshtml similarity index 96% rename from aspnet-core/services/account/AuthServer.Host/Pages/Index.cshtml rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Index.cshtml index ebccfe828..2e39f6856 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Index.cshtml +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Index.cshtml @@ -1,5 +1,5 @@ 锘緻page -@using TestApp.Pages +@using LY.MicroService.IdentityServer.Pages @using Volo.Abp.Users @model IndexModel @inject ICurrentUser CurrentUser diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Index.cshtml.cs b/aspnet-core/services/LY.MicroService.identityServer/Pages/Index.cshtml.cs similarity index 75% rename from aspnet-core/services/account/AuthServer.Host/Pages/Index.cshtml.cs rename to aspnet-core/services/LY.MicroService.identityServer/Pages/Index.cshtml.cs index 062403e58..63dfb2273 100644 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Index.cshtml.cs +++ b/aspnet-core/services/LY.MicroService.identityServer/Pages/Index.cshtml.cs @@ -1,6 +1,6 @@ using Volo.Abp.AspNetCore.Mvc.UI.RazorPages; -namespace TestApp.Pages +namespace LY.MicroService.IdentityServer.Pages { public class IndexModel : AbpPageModel { diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/_ViewImports.cshtml b/aspnet-core/services/LY.MicroService.identityServer/Pages/_ViewImports.cshtml similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/Pages/_ViewImports.cshtml rename to aspnet-core/services/LY.MicroService.identityServer/Pages/_ViewImports.cshtml diff --git a/aspnet-core/services/LY.MicroService.identityServer/Program.cs b/aspnet-core/services/LY.MicroService.identityServer/Program.cs new file mode 100644 index 000000000..e51ef8bd3 --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Program.cs @@ -0,0 +1,50 @@ +锘縰sing Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.Hosting; +using Serilog; +using System; + +namespace LY.MicroService.IdentityServer; + +public class Program +{ + public static int Main(string[] args) + { + try + { + Log.Information("Starting AuthServer.Host."); + CreateHostBuilder(args).Build().Run(); + return 0; + } + catch (Exception ex) + { + Log.Fatal(ex, "Host terminated unexpectedly!"); + return 1; + } + finally + { + Log.CloseAndFlush(); + } + } + + internal static IHostBuilder CreateHostBuilder(string[] args) => + Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(args) + .ConfigureWebHostDefaults(webBuilder => + { + webBuilder.UseStartup(); + }) + .ConfigureAppConfiguration((context, config) => + { + var configuration = config.Build(); + if (configuration.GetSection("AgileConfig").Exists()) + { + config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); + } + }) + .UseSerilog((context, provider, config) => + { + config.ReadFrom.Configuration(context.Configuration); + }) + .UseAutofac(); +} + diff --git a/aspnet-core/services/LY.MicroService.identityServer/Properties/launchSettings.json b/aspnet-core/services/LY.MicroService.identityServer/Properties/launchSettings.json new file mode 100644 index 000000000..8dc370b4f --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Properties/launchSettings.json @@ -0,0 +1,21 @@ +锘縶 + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:28670", + "sslPort": 0 + } + }, + "profiles": { + "LY.MicroService.IdentityServer": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": false, + "applicationUrl": "http://127.0.0.1:44385;https://localhost:44386", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/aspnet-core/services/LY.MicroService.identityServer/Startup.cs b/aspnet-core/services/LY.MicroService.identityServer/Startup.cs new file mode 100644 index 000000000..479ed511f --- /dev/null +++ b/aspnet-core/services/LY.MicroService.identityServer/Startup.cs @@ -0,0 +1,32 @@ +锘縰sing Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Logging; +using System.IO; +using Volo.Abp.IO; +using Volo.Abp.Modularity.PlugIns; + +namespace LY.MicroService.IdentityServer; + +public class Startup +{ + public void ConfigureServices(IServiceCollection services) + { + services.AddApplication(options => + { + // 鎼滅储 Modules 鐩綍涓嬫墍鏈夋枃浠朵綔涓烘彃浠 + // 鍙栨秷鏄剧ず寮曠敤鎵鏈夊叾浠栭」鐩殑妯″潡锛屾敼涓洪氳繃鎻掍欢鐨勫舰寮忓紩鐢 + var pluginFolder = Path.Combine( + Directory.GetCurrentDirectory(), "Modules"); + DirectoryHelper.CreateIfNotExists(pluginFolder); + options.PlugInSources.AddFolder( + pluginFolder, + SearchOption.AllDirectories); + }); + } + + public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) + { + app.InitializeApplication(); + } +} diff --git a/aspnet-core/services/account/AuthServer.Host/abp.resourcemapping.js b/aspnet-core/services/LY.MicroService.identityServer/abp.resourcemapping.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/abp.resourcemapping.js rename to aspnet-core/services/LY.MicroService.identityServer/abp.resourcemapping.js diff --git a/aspnet-core/services/account/AuthServer.Host/gulpfile.js b/aspnet-core/services/LY.MicroService.identityServer/gulpfile.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/gulpfile.js rename to aspnet-core/services/LY.MicroService.identityServer/gulpfile.js diff --git a/aspnet-core/services/account/AuthServer.Host/package.json b/aspnet-core/services/LY.MicroService.identityServer/package.json similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/package.json rename to aspnet-core/services/LY.MicroService.identityServer/package.json diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/css/all.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/css/all.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/css/all.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/css/all.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/css/v4-shims.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/css/v4-shims.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/css/v4-shims.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/css/v4-shims.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.eot b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.eot similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.eot rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.eot diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.svg b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.svg similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.svg rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.svg diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.ttf diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2 b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2 similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2 rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-brands-400.woff2 diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.eot b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.eot similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.eot rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.eot diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.svg b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.svg similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.svg rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.svg diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.ttf diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-regular-400.woff2 diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.eot b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.eot similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.eot rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.eot diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.svg b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.svg similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.svg rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.svg diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.ttf diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/@fortawesome/fontawesome-free/webfonts/fa-solid-900.woff2 diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/core/abp.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/core/abp.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/core/abp.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/core/abp.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/core/abp.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/core/abp.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/core/abp.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/core/abp.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/jquery/abp.jquery.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/jquery/abp.jquery.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/jquery/abp.jquery.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/jquery/abp.jquery.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/luxon/abp.luxon.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/luxon/abp.luxon.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/luxon/abp.luxon.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/luxon/abp.luxon.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.min.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.min.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/abp/utils/abp-utils.umd.min.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/abp/utils/abp-utils.umd.min.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.css.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.css.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.css.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.css.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker-en-CA.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker-en-CA.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker-en-CA.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker-en-CA.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bn.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bn.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bn.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bn.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kh.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kh.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kh.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kh.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.rs.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.css.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.css.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.css.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.css.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap-rtl.min.css.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.css.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.css.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.css.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.css.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.min.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.min.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.min.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.min.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.min.css.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.min.css.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.min.css.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.min.css.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.css.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.css.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.css.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.css.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/css/bootstrap.rtl.min.css.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.bundle.min.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net/js/jquery.dataTables.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net/js/jquery.dataTables.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/datatables.net/js/jquery.dataTables.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/datatables.net/js/jquery.dataTables.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-form/jquery.form.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-form/jquery.form.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-form/jquery.form.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-form/jquery.form.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-form/jquery.form.min.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-form/jquery.form.min.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-form/jquery.form.min.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-form/jquery.form.min.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/jquery.validate.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/jquery.validate.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/jquery.validate.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/jquery.validate.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ar.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ar.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ar.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ar.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ar.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ar.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ar.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ar.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_az.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_az.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_az.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_az.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_az.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_az.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_az.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_az.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bg.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bg.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bg.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bg.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bg.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bg.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bg.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bg.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bn_BD.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bn_BD.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bn_BD.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bn_BD.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bn_BD.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bn_BD.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_bn_BD.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_bn_BD.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ca.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ca.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ca.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ca.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ca.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ca.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ca.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ca.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_cs.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_cs.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_cs.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_cs.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_cs.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_cs.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_cs.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_cs.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_da.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_da.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_da.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_da.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_da.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_da.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_da.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_da.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_de.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_de.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_de.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_de.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_de.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_de.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_de.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_de.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_el.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_el.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_el.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_el.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_el.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_el.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_el.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_el.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_AR.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_AR.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_AR.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_AR.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_AR.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_AR.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_AR.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_AR.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_PE.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_PE.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_PE.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_PE.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_PE.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_PE.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_es_PE.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_es_PE.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_et.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_et.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_et.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_et.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_et.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_et.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_et.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_et.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_eu.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_eu.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_eu.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_eu.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_eu.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_eu.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_eu.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_eu.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fa.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fa.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fa.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fa.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fa.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fa.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fa.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fa.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fi.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fi.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fi.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fi.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_fr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_fr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ge.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ge.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ge.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ge.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ge.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ge.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ge.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ge.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_gl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_gl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_gl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_gl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_gl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_gl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_gl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_gl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_he.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_he.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_he.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_he.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_he.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_he.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_he.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_he.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hu.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hu.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hu.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hu.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hu.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hu.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hu.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hu.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hy_AM.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hy_AM.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hy_AM.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hy_AM.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hy_AM.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hy_AM.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_hy_AM.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_hy_AM.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_id.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_id.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_id.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_id.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_id.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_id.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_id.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_id.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_is.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_is.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_is.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_is.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_is.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_is.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_is.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_is.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_it.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_it.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_it.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_it.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_it.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_it.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_it.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_it.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ja.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ja.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ja.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ja.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ja.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ja.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ja.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ja.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ka.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ka.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ka.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ka.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ka.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ka.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ka.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ka.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_kk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_kk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_kk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_kk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_kk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_kk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_kk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_kk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ko.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ko.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ko.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ko.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ko.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ko.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ko.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ko.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lt.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lt.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lt.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lt.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lt.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lt.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lt.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lt.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lv.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lv.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_lv.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_lv.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_mk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_mk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_mk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_mk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_mk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_mk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_mk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_mk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_my.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_my.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_my.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_my.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_my.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_my.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_my.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_my.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_nl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_nl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_nl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_nl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_nl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_nl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_nl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_nl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_no.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_no.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_no.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_no.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_no.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_no.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_no.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_no.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_BR.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_BR.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_BR.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_BR.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_BR.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_BR.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_BR.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_BR.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_PT.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_PT.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_PT.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_PT.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_PT.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_PT.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_pt_PT.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_pt_PT.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ro.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ro.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ro.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ro.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ro.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ro.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ro.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ro.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ru.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ru.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ru.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ru.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ru.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ru.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ru.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ru.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sd.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sd.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sd.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sd.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sd.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sd.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sd.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sd.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_si.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_si.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_si.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_si.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_si.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_si.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_si.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_si.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr_lat.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr_lat.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr_lat.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr_lat.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr_lat.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr_lat.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sr_lat.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sr_lat.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sv.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sv.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_sv.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_sv.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_th.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_th.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_th.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_th.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_th.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_th.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_th.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_th.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tj.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tj.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tj.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tj.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tj.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tj.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tj.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tj.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_tr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_tr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_uk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_uk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_uk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_uk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_uk.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_uk.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_uk.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_uk.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ur.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ur.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ur.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ur.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ur.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ur.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_ur.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_ur.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_vi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_vi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_vi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_vi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_vi.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_vi.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_vi.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_vi.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh_TW.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh_TW.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh_TW.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh_TW.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh_TW.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh_TW.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/messages_zh_TW.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/messages_zh_TW.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_de.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_de.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_de.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_de.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_de.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_de.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_de.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_de.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_es_CL.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_es_CL.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_es_CL.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_es_CL.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_es_CL.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_es_CL.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_es_CL.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_es_CL.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_fi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_fi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_fi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_fi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_fi.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_fi.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_fi.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_fi.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_it.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_it.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_it.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_it.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_it.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_it.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_it.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_it.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_nl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_nl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_nl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_nl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_nl.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_nl.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_nl.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_nl.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_pt.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_pt.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_pt.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_pt.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_pt.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_pt.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery-validation/localization/methods_pt.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery-validation/localization/methods_pt.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery/jquery.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery/jquery.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/jquery/jquery.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/jquery/jquery.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/lodash/lodash.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/lodash/lodash.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/lodash/lodash.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/lodash/lodash.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.min.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.min.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/luxon/luxon.min.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/luxon/luxon.min.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/mCSB_buttons.png b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/mCSB_buttons.png similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/mCSB_buttons.png rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/mCSB_buttons.png diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/package.json b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/package.json similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/package.json rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/package.json diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/readme.md b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/readme.md similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/malihu-custom-scrollbar-plugin/readme.md rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/malihu-custom-scrollbar-plugin/readme.md diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/css/select2.min.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/css/select2.min.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/css/select2.min.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/css/select2.min.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/af.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/af.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/af.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/af.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ar.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ar.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ar.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ar.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/az.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/az.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/az.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/az.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/bg.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/bg.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/bg.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/bg.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/bn.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/bn.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/bn.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/bn.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/bs.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/bs.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/bs.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/bs.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ca.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ca.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ca.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ca.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/cs.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/cs.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/cs.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/cs.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/da.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/da.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/da.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/da.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/de.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/de.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/de.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/de.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/dsb.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/dsb.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/dsb.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/dsb.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/el.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/el.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/el.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/el.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/en.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/en.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/en.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/en.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/es.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/es.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/es.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/es.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/et.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/et.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/et.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/et.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/eu.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/eu.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/eu.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/eu.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/fa.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/fa.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/fa.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/fa.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/fi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/fi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/fi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/fi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/fr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/fr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/fr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/fr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/gl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/gl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/gl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/gl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/he.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/he.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/he.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/he.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hsb.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hsb.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hsb.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hsb.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hu.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hu.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hu.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hu.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hy.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hy.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/hy.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/hy.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/id.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/id.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/id.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/id.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/is.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/is.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/is.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/is.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/it.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/it.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/it.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/it.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ja.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ja.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ja.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ja.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ka.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ka.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ka.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ka.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/km.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/km.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/km.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/km.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ko.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ko.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ko.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ko.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/lt.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/lt.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/lt.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/lt.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/lv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/lv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/lv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/lv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/mk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/mk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/mk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/mk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ms.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ms.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ms.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ms.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/nb.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/nb.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/nb.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/nb.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ne.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ne.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ne.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ne.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/nl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/nl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/nl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/nl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/pl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/pl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/pl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/pl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ps.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ps.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ps.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ps.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/pt-BR.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/pt-BR.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/pt-BR.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/pt-BR.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/pt.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/pt.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/pt.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/pt.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ro.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ro.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ro.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ro.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ru.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ru.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/ru.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/ru.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sq.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sq.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sq.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sq.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sr-Cyrl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sr-Cyrl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sr-Cyrl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sr-Cyrl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/sv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/sv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/th.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/th.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/th.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/th.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/tk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/tk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/tk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/tk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/tr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/tr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/tr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/tr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/uk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/uk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/uk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/uk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/vi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/vi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/vi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/vi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/zh-CN.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/zh-CN.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/zh-CN.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/zh-CN.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/zh-TW.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/zh-TW.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/i18n/zh-TW.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/i18n/zh-TW.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/select2-bootstrap-modal-patch.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/select2-bootstrap-modal-patch.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/select2-bootstrap-modal-patch.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/select2-bootstrap-modal-patch.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/select2.full.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/select2.full.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/select2.full.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/select2.full.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/select2.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/select2.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/select2/js/select2.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/select2/js/select2.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert/sweetalert.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert/sweetalert.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert/sweetalert.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert/sweetalert.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.all.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.all.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.all.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.all.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.all.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.all.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.all.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.all.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.min.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.min.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.min.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.min.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/sweetalert2/sweetalert2.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/sweetalert2/sweetalert2.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/jquery.timeago.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/jquery.timeago.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/jquery.timeago.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/jquery.timeago.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/README.md b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/README.md similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/README.md rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/README.md diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.af.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.af.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.af.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.af.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.am.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.am.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.am.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.am.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ar.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ar.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ar.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ar.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.az-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.az-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.az-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.az-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.az.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.az.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.az.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.az.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.be.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.be.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.be.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.be.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.bg.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.bg.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.bg.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.bg.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.bs.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.bs.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.bs.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.bs.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ca.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ca.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ca.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ca.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.cs.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.cs.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.cs.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.cs.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.cy.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.cy.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.cy.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.cy.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.da.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.da.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.da.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.da.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.de-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.de-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.de-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.de-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.de.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.de.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.de.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.de.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.dv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.dv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.dv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.dv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.el.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.el.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.el.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.el.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.en-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.en-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.en-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.en-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.en.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.en.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.en.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.en.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.es-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.es-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.es-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.es-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.es.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.es.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.es.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.es.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.et.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.et.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.et.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.et.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.eu.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.eu.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.eu.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.eu.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fa-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fa-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fa-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fa-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fa.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fa.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fa.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fa.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fr-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fr-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fr-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fr-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.fr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.fr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.gl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.gl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.gl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.gl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.he.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.he.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.he.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.he.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.hr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.hr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.hr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.hr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.hu.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.hu.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.hu.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.hu.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.hy.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.hy.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.hy.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.hy.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.id.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.id.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.id.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.id.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.is.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.is.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.is.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.is.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.it-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.it-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.it-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.it-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.it.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.it.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.it.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.it.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ja.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ja.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ja.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ja.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.jv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.jv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.jv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.jv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ko.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ko.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ko.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ko.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ky.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ky.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ky.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ky.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.lt.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.lt.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.lt.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.lt.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.lv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.lv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.lv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.lv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.mk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.mk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.mk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.mk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.nl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.nl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.nl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.nl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.no.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.no.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.no.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.no.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt-br-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt-br-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt-br-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt-br-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt-br.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt-br.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt-br.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt-br.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.pt.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.pt.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ro.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ro.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ro.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ro.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.rs.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.rs.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.rs.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.rs.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ru.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ru.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ru.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ru.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.rw.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.rw.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.rw.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.rw.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.si.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.si.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.si.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.si.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sl.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sl.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sl.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sl.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sq.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sq.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sq.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sq.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sv.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sv.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.sv.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.sv.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.th.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.th.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.th.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.th.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.tr-short.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.tr-short.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.tr-short.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.tr-short.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.tr.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.tr.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.tr.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.tr.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.uk.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.uk.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.uk.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.uk.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ur.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ur.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.ur.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.ur.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.uz.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.uz.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.uz.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.uz.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.vi.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.vi.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.vi.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.vi.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.zh-CN.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.zh-CN.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.zh-CN.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.zh-CN.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.zh-TW.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.zh-TW.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/timeago/locales/jquery.timeago.zh-TW.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/timeago/locales/jquery.timeago.zh-TW.js diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.js.map b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.js.map similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.js.map rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.js.map diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.min.css b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.min.css similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.min.css rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.min.css diff --git a/aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.min.js b/aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.min.js similarity index 100% rename from aspnet-core/services/account/AuthServer.Host/wwwroot/libs/toastr/toastr.min.js rename to aspnet-core/services/LY.MicroService.identityServer/wwwroot/libs/toastr/toastr.min.js diff --git a/aspnet-core/services/account/AuthServer.Host/.gitignore b/aspnet-core/services/account/AuthServer.Host/.gitignore deleted file mode 100644 index 79774a567..000000000 --- a/aspnet-core/services/account/AuthServer.Host/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -bin -obj -Logs -appsettings.*.json -node_modules -yarn.lock -package-lock.json \ No newline at end of file diff --git a/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Configure.cs b/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Configure.cs deleted file mode 100644 index 6ad326f66..000000000 --- a/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Configure.cs +++ /dev/null @@ -1,257 +0,0 @@ -锘縰sing AuthServer.IdentityResources; -using DotNetCore.CAP; -using LINGYUN.Abp.IdentityServer.IdentityResources; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using Microsoft.AspNetCore.Cors; -using Microsoft.AspNetCore.DataProtection; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Identity; -using Microsoft.Extensions.Caching.StackExchangeRedis; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using StackExchange.Redis; -using System; -using System.IO; -using System.Linq; -using System.Security.Cryptography.X509Certificates; -using System.Text.Encodings.Web; -using System.Text.Unicode; -using Volo.Abp.Account.Localization; -using Volo.Abp.Auditing; -using Volo.Abp.Caching; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.IdentityServer; -using Volo.Abp.Json; -using Volo.Abp.Json.SystemTextJson; -using Volo.Abp.Localization; -using Volo.Abp.MultiTenancy; -using Volo.Abp.UI.Navigation.Urls; -using Volo.Abp.VirtualFileSystem; - -namespace AuthServer.Host -{ - public partial class AuthIdentityServerModule - { - private void PreConfigureApp() - { - AbpSerilogEnrichersConsts.ApplicationName = "Identity-Server-STS"; - } - - private void PreConfigureCAP(IConfiguration configuration) - { - PreConfigure(options => - { - options - .UseMySql(mySqlOptions => - { - configuration.GetSection("CAP:MySql").Bind(mySqlOptions); - }) - .UseRabbitMQ(rabbitMQOptions => - { - configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); - }) - .UseDashboard(); - }); - } - - private void PreConfigureCertificate(IConfiguration configuration, IWebHostEnvironment environment) - { - var cerConfig = configuration.GetSection("Certificates"); - if (environment.IsProduction() && - cerConfig.Exists()) - { - // 寮鍙戠幆澧冧笅瀛樺湪璇佷功閰嶇疆 - // 涓旇瘉涔︽枃浠跺瓨鍦ㄥ垯浣跨敤鑷畾涔夌殑璇佷功鏂囦欢鏉ュ惎鍔↖ds鏈嶅姟鍣 - var cerPath = Path.Combine(environment.ContentRootPath, cerConfig["CerPath"]); - if (File.Exists(cerPath)) - { - PreConfigure(options => - { - options.AddDeveloperSigningCredential = false; - }); - - var cer = new X509Certificate2(cerPath, cerConfig["Password"]); - - PreConfigure(builder => - { - builder.AddSigningCredential(cer); - }); - } - } - } - - private void ConfigureDbContext() - { - Configure(options => - { - options.UseMySQL(); - }); - } - - private void ConfigureDataSeeder() - { - Configure(options => - { - options.Resources.Add(new CustomIdentityResources.AvatarUrl()); - }); - } - - private void ConfigureJsonSerializer() - { - // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 - Configure(options => - { - options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; - }); - // 涓枃搴忓垪鍖栫殑缂栫爜闂 - Configure(options => - { - options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); - }); - } - private void ConfigureCaching(IConfiguration configuration) - { - Configure(options => - { - // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 - options.KeyPrefix = "LINGYUN.Abp.Application"; - // 婊戝姩杩囨湡30澶 - options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); - // 缁濆杩囨湡60澶 - options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); - }); - - Configure(options => - { - var redisConfig = ConfigurationOptions.Parse(options.Configuration); - options.ConfigurationOptions = redisConfig; - options.InstanceName = configuration["Redis:InstanceName"]; - }); - } - private void ConfigureIdentity(IConfiguration configuration) - { - // 澧炲姞閰嶇疆鏂囦欢瀹氫箟,鍦ㄦ柊寤虹鎴锋椂闇瑕 - Configure(options => - { - var identityConfiguration = configuration.GetSection("Identity"); - if (identityConfiguration.Exists()) - { - identityConfiguration.Bind(options); - } - }); - } - private void ConfigureVirtualFileSystem() - { - Configure(options => - { - options.FileSets.AddEmbedded("AuthServer"); - }); - } - private void ConfigureLocalization() - { - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); - - options.Resources - .Get() - .AddVirtualJson("/Localization/Resources"); - }); - - Configure(options => - { - var zhHansCultureMapInfo = new CultureMapInfo - { - TargetCulture = "zh-Hans", - SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } - }; - - options.CulturesMaps.Add(zhHansCultureMapInfo); - options.UiCulturesMaps.Add(zhHansCultureMapInfo); - }); - } - private void ConfigureAuditing() - { - Configure(options => - { - // options.IsEnabledForGetRequests = true; - options.ApplicationName = "Identity-Server-STS"; - }); - } - private void ConfigureUrls(IConfiguration configuration) - { - Configure(options => - { - options.Applications["MVC"].RootUrl = configuration["App:SelfUrl"]; - // 閭欢鐧诲綍鍦板潃 - options.Applications["MVC"].Urls["EmailVerifyLogin"] = "Account/VerifyCode"; - }); - } - private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) - { - services.AddAuthentication() - .AddJwtBearer(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.Audience = configuration["AuthServer:ApiName"]; - }); - - if (!isDevelopment) - { - var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); - services - .AddDataProtection() - .SetApplicationName("LINGYUN.Abp.Application") - .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); - } - - services.AddSameSiteCookiePolicy(); - } - private void ConfigureMultiTenancy(IConfiguration configuration) - { - // 澶氱鎴 - Configure(options => - { - options.IsEnabled = true; - }); - - var tenantResolveCfg = configuration.GetSection("App:Domains"); - if (tenantResolveCfg.Exists()) - { - Configure(options => - { - var domains = tenantResolveCfg.Get(); - foreach (var domain in domains) - { - options.AddDomainTenantResolver(domain); - } - }); - } - } - private void ConfigureCors(IServiceCollection services, IConfiguration configuration) - { - services.AddCors(options => - { - options.AddPolicy(DefaultCorsPolicyName, builder => - { - builder - .WithOrigins( - configuration["App:CorsOrigins"] - .Split(",", StringSplitOptions.RemoveEmptyEntries) - .Select(o => o.RemovePostFix("/")) - .ToArray() - ) - .WithAbpExposedHeaders() - .SetIsOriginAllowedToAllowWildcardSubdomains() - .AllowAnyHeader() - .AllowAnyMethod() - .AllowCredentials(); - }); - }); - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Seeder.cs b/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Seeder.cs deleted file mode 100644 index f83736867..000000000 --- a/aspnet-core/services/account/AuthServer.Host/AuthIdentityServerModule.Seeder.cs +++ /dev/null @@ -1,23 +0,0 @@ -锘縰sing Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Volo.Abp; -using Volo.Abp.Data; -using Volo.Abp.Threading; - -namespace AuthServer.Host -{ - public partial class AuthIdentityServerModule - { - private void SeedData(ApplicationInitializationContext context) - { - if (context.GetEnvironment().IsDevelopment()) - { - AsyncHelper.RunSync(async () => - { - using var scope = context.ServiceProvider.CreateScope(); - await scope.ServiceProvider.GetRequiredService().SeedAsync(); - }); - } - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/AuthServer.Host.csproj b/aspnet-core/services/account/AuthServer.Host/AuthServer.Host.csproj deleted file mode 100644 index 6246027a6..000000000 --- a/aspnet-core/services/account/AuthServer.Host/AuthServer.Host.csproj +++ /dev/null @@ -1,75 +0,0 @@ -锘 - - - net6.0 - InProcess - AuthServer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerDataSeedContributor.cs b/aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerDataSeedContributor.cs deleted file mode 100644 index 8013ab09b..000000000 --- a/aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerDataSeedContributor.cs +++ /dev/null @@ -1,334 +0,0 @@ -锘縰sing LINGYUN.Abp.IdentityServer; -using LINGYUN.Abp.IdentityServer.IdentityResources; -using Microsoft.Extensions.Configuration; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Volo.Abp.Authorization.Permissions; -using Volo.Abp.Data; -using Volo.Abp.DependencyInjection; -using Volo.Abp.Guids; -using Volo.Abp.IdentityServer.ApiResources; -using Volo.Abp.IdentityServer.ApiScopes; -using Volo.Abp.IdentityServer.Clients; -using Volo.Abp.IdentityServer.IdentityResources; -using Volo.Abp.MultiTenancy; -using Volo.Abp.PermissionManagement; -using Volo.Abp.Uow; - -namespace AuthServer.DataSeeder -{ - public class IdentityServerDataSeedContributor : IDataSeedContributor, ITransientDependency - { - private readonly IApiResourceRepository _apiResourceRepository; - private readonly IApiScopeRepository _apiScopeRepository; - private readonly IClientRepository _clientRepository; - private readonly ICustomIdentityResourceDataSeeder _customIdentityResourceDataSeeder; - private readonly IIdentityResourceDataSeeder _identityResourceDataSeeder; - private readonly IWeChatResourceDataSeeder _weChatResourceDataSeeder; - private readonly IGuidGenerator _guidGenerator; - private readonly IPermissionDataSeeder _permissionDataSeeder; - private readonly IConfiguration _configuration; - private readonly ICurrentTenant _currentTenant; - - public IdentityServerDataSeedContributor( - IClientRepository clientRepository, - IApiScopeRepository apiScopeRepository, - IPermissionDataSeeder permissionDataSeeder, - IApiResourceRepository apiResourceRepository, - IWeChatResourceDataSeeder weChatResourceDataSeeder, - IIdentityResourceDataSeeder identityResourceDataSeeder, - ICustomIdentityResourceDataSeeder customIdentityResourceDataSeeder, - IGuidGenerator guidGenerator, - ICurrentTenant currentTenant) - { - _currentTenant = currentTenant; - _clientRepository = clientRepository; - _permissionDataSeeder = permissionDataSeeder; - _apiScopeRepository = apiScopeRepository; - _apiResourceRepository = apiResourceRepository; - _weChatResourceDataSeeder = weChatResourceDataSeeder; - _identityResourceDataSeeder = identityResourceDataSeeder; - _customIdentityResourceDataSeeder = customIdentityResourceDataSeeder; - _guidGenerator = guidGenerator; - var env = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Development"; - var configuration = new ConfigurationBuilder() - .SetBasePath(Directory.GetCurrentDirectory()) - .AddJsonFile($"appsettings.{env}.json", optional: false, reloadOnChange: true) - .AddEnvironmentVariables() - .Build(); - _configuration = configuration; - } - - [UnitOfWork] - public virtual async Task SeedAsync(DataSeedContext context) - { - using (_currentTenant.Change(context?.TenantId)) - { - await _identityResourceDataSeeder.CreateStandardResourcesAsync(); - await _customIdentityResourceDataSeeder.CreateCustomResourcesAsync(); - await CreateWeChatClaimTypeAsync(); - await CreateApiResourcesAsync(); - await CreateApiScopesAsync(); - await CreateClientsAsync(); - } - } - - private async Task CreateWeChatClaimTypeAsync() - { - await _weChatResourceDataSeeder.CreateStandardResourcesAsync(); - } - - private async Task CreateApiScopesAsync() - { - await CreateApiScopeAsync("lingyun-abp-application"); - } - - private async Task CreateApiResourcesAsync() - { - var commonApiUserClaims = new[] - { - "email", - "email_verified", - "name", - "phone_number", - "phone_number_verified", - "role" - }; - - await CreateApiResourceAsync("lingyun-abp-application", commonApiUserClaims); - } - - private async Task CreateApiResourceAsync(string name, IEnumerable claims, IEnumerable secrets = null) - { - var apiResource = await _apiResourceRepository.FindByNameAsync(name); - if (apiResource == null) - { - apiResource = await _apiResourceRepository.InsertAsync( - new ApiResource( - _guidGenerator.Create(), - name, - name + " API" - ), - autoSave: true - ); - } - - foreach (var claim in claims) - { - if (apiResource.FindClaim(claim) == null) - { - apiResource.AddUserClaim(claim); - } - } - if (secrets != null) - { - foreach (var secret in secrets) - { - if (apiResource.FindSecret(secret) == null) - { - apiResource.AddSecret(secret); - } - } - } - - return await _apiResourceRepository.UpdateAsync(apiResource); - } - - private async Task CreateApiScopeAsync(string name) - { - var apiScope = await _apiScopeRepository.FindByNameAsync(name); - if (apiScope == null) - { - apiScope = await _apiScopeRepository.InsertAsync( - new ApiScope( - _guidGenerator.Create(), - name, - name + " API" - ), - autoSave: true - ); - } - - return apiScope; - } - - private async Task CreateClientsAsync() - { - - string commonSecret = IdentityServer4.Models.HashExtensions.Sha256("1q2w3e*"); - - var commonScopes = new[] - { - "email", - "openid", - "profile", - "role", - "phone", - "address", - "offline_access" // 鍔犱笂鍒锋柊, - - }; - - var configurationSection = _configuration.GetSection("IdentityServer:Clients"); - - //Web Client - var webClientId = configurationSection["AuthManagement:ClientId"]; - if (!webClientId.IsNullOrWhiteSpace()) - { - var webClientRootUrl = configurationSection["AuthManagement:RootUrl"].EnsureEndsWith('/'); - await CreateClientAsync( - webClientId, - commonScopes.Union(new[] { "lingyun-abp-application" }), - new[] { "hybrid" }, - commonSecret, - redirectUri: $"{webClientRootUrl}signin-oidc", - postLogoutRedirectUri: $"{webClientRootUrl}signout-callback-oidc", - corsOrigins: configurationSection["CorsOrigins"] - ); - } - - //Console Test Client - var consoleClientId = configurationSection["AuthVueAdmin:ClientId"]; - if (!consoleClientId.IsNullOrWhiteSpace()) - { - await CreateClientAsync( - consoleClientId, - commonScopes.Union(new[] { "lingyun-abp-application" }), - new[] { "password", "client_credentials" }, - commonSecret - ); - } - - //ApiGateway - var apigatewayClientId = configurationSection["AuthApiGateway:ClientId"]; - if (!apigatewayClientId.IsNullOrWhiteSpace()) - { - var apigatewayPermissions = new string[8] - { - "ApiGateway.Global", "ApiGateway.Global.Export", - "ApiGateway.Route", "ApiGateway.Route.Export", - "ApiGateway.DynamicRoute", "ApiGateway.DynamicRoute.Export", - "ApiGateway.AggregateRoute", "ApiGateway.AggregateRoute.Export", - }; - await CreateClientAsync( - apigatewayClientId, - commonScopes.Union(new[] { "lingyun-abp-application" }), - new[] { "client_credentials" }, - commonSecret, - permissions: apigatewayPermissions - ); - } - - // InternalService 鍐呴儴鏈嶅姟闂撮氳瀹㈡埛绔,蹇呰鐨勮瘽闇瑕佸湪鍓嶇鎸囧畾瀹冩嫢鏈夋墍鏈夋潈闄,褰撳墠椤圭洰浠呴缃敤鎴锋煡璇㈡潈闄 - var internalServiceClientId = configurationSection["InternalService:ClientId"]; - if (!internalServiceClientId.IsNullOrWhiteSpace()) - { - var internalServicePermissions = new string[2] - { - "AbpIdentity.UserLookup","AbpIdentity.Users" - }; - await CreateClientAsync( - internalServiceClientId, - commonScopes.Union(new[] { "lingyun-abp-application" }), - new[] { "client_credentials" }, - commonSecret, - permissions: internalServicePermissions - ); - } - } - - private async Task CreateClientAsync( - string name, - IEnumerable scopes, - IEnumerable grantTypes, - string secret, - string redirectUri = null, - string postLogoutRedirectUri = null, - IEnumerable permissions = null, - string corsOrigins = null) - { - var client = await _clientRepository.FindByClientIdAsync(name); - if (client == null) - { - client = await _clientRepository.InsertAsync( - new Client( - _guidGenerator.Create(), - name - ) - { - ClientName = name, - ProtocolType = "oidc", - Description = name, - AlwaysIncludeUserClaimsInIdToken = true, - AllowOfflineAccess = true, - AbsoluteRefreshTokenLifetime = 10800, //3 hours - AccessTokenLifetime = 7200, //2 hours - AuthorizationCodeLifetime = 300, - IdentityTokenLifetime = 300, - RequireConsent = false - }, - autoSave: true - ); - } - - foreach (var scope in scopes) - { - if (client.FindScope(scope) == null) - { - client.AddScope(scope); - } - } - - foreach (var grantType in grantTypes) - { - if (client.FindGrantType(grantType) == null) - { - client.AddGrantType(grantType); - } - } - - if (client.FindSecret(secret) == null) - { - client.AddSecret(secret); - } - - if (redirectUri != null) - { - if (client.FindRedirectUri(redirectUri) == null) - { - client.AddRedirectUri(redirectUri); - } - } - - if (postLogoutRedirectUri != null) - { - if (client.FindPostLogoutRedirectUri(postLogoutRedirectUri) == null) - { - client.AddPostLogoutRedirectUri(postLogoutRedirectUri); - } - } - - if (corsOrigins != null) - { - var corsOriginsSplit = corsOrigins.Split(";"); - foreach (var corsOrigin in corsOriginsSplit) - { - if (client.FindCorsOrigin(corsOrigin) == null) - { - client.AddCorsOrigin(corsOrigin); - } - } - } - - if(permissions != null) - { - await _permissionDataSeeder.SeedAsync(ClientPermissionValueProvider.ProviderName, name, permissions); - } - - return await _clientRepository.UpdateAsync(client); - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerExtendUserDataSeedContributor.cs b/aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerExtendUserDataSeedContributor.cs deleted file mode 100644 index 7af4b5df0..000000000 --- a/aspnet-core/services/account/AuthServer.Host/DataSeeder/IdentityServerExtendUserDataSeedContributor.cs +++ /dev/null @@ -1,113 +0,0 @@ -锘 -using Microsoft.AspNetCore.Identity; -using Microsoft.Extensions.Options; -using System.Threading.Tasks; -using Volo.Abp.Data; -using Volo.Abp.DependencyInjection; -using Volo.Abp.Guids; -using Volo.Abp.Identity; -using Volo.Abp.MultiTenancy; -using Volo.Abp.Uow; -using IdentityRole = Volo.Abp.Identity.IdentityRole; -using IdentityUser = Volo.Abp.Identity.IdentityUser; - -namespace AuthServer.DataSeeder -{ - public class IdentityServerExtendUserDataSeedContributor : IDataSeedContributor, ITransientDependency - { - public const string AdminEmailPropertyName = "AdminEmail"; - public const string AdminEmailDefaultValue = "vben@abp.io"; - public const string AdminPasswordPropertyName = "AdminPassword"; - public const string AdminPasswordDefaultValue = "1q2w3E*"; - public const string AdminRolePropertyName = "AdminRole"; - public const string AdminRoleDefaultValue = "vben-admin"; - - protected IGuidGenerator GuidGenerator { get; } - protected IIdentityRoleRepository RoleRepository { get; } - protected IIdentityUserRepository UserRepository { get; } - protected ILookupNormalizer LookupNormalizer { get; } - protected IdentityUserManager UserManager { get; } - protected IdentityRoleManager RoleManager { get; } - protected ICurrentTenant CurrentTenant { get; } - protected IOptions IdentityOptions { get; } - - public IdentityServerExtendUserDataSeedContributor( - IGuidGenerator guidGenerator, - IIdentityRoleRepository roleRepository, - IIdentityUserRepository userRepository, - ILookupNormalizer lookupNormalizer, - IdentityUserManager userManager, - IdentityRoleManager roleManager, - ICurrentTenant currentTenant, - IOptions identityOptions) - { - GuidGenerator = guidGenerator; - RoleRepository = roleRepository; - UserRepository = userRepository; - LookupNormalizer = lookupNormalizer; - UserManager = userManager; - RoleManager = roleManager; - CurrentTenant = currentTenant; - IdentityOptions = identityOptions; - } - - [UnitOfWork] - public virtual async Task SeedAsync(DataSeedContext context) - { - using (CurrentTenant.Change(context.TenantId)) - { - await IdentityOptions.SetAsync(); - - var result = new IdentityDataSeedResult(); - //"admin" user - const string adminUserName = "vben"; - var adminEmail = context?[AdminEmailPropertyName] as string ?? AdminEmailDefaultValue; - var adminPassword = context?[AdminPasswordPropertyName] as string ?? AdminPasswordDefaultValue; - - var adminUser = await UserRepository.FindByNormalizedUserNameAsync( - LookupNormalizer.NormalizeName(adminUserName) - ); - - if (adminUser != null) - { - return; - } - - adminUser = new IdentityUser( - GuidGenerator.Create(), - adminUserName, - adminEmail, - context.TenantId - ) - { - Name = adminUserName - }; - - (await UserManager.CreateAsync(adminUser, adminPassword, validatePassword: false)).CheckErrors(); - result.CreatedAdminUser = true; - - //"admin" role - var adminRoleName = context?[AdminRolePropertyName] as string ?? AdminRoleDefaultValue; - var adminRole = - await RoleRepository.FindByNormalizedNameAsync(LookupNormalizer.NormalizeName(adminRoleName)); - if (adminRole == null) - { - adminRole = new IdentityRole( - GuidGenerator.Create(), - adminRoleName, - context.TenantId - ) - { - IsStatic = true, - IsPublic = true - }; - - (await RoleManager.CreateAsync(adminRole)).CheckErrors(); - result.CreatedAdminRole = true; - } - - (await UserManager.AddToRoleAsync(adminUser, adminRoleName)).CheckErrors(); - } - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/Emailing/AccountEmailVerifySender.cs b/aspnet-core/services/account/AuthServer.Host/Emailing/AccountEmailVerifySender.cs deleted file mode 100644 index 4131c9945..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Emailing/AccountEmailVerifySender.cs +++ /dev/null @@ -1,105 +0,0 @@ -锘縰sing AuthServer.Host.Emailing.Templates; -using Microsoft.Extensions.Localization; -using System; -using System.Diagnostics; -using System.Threading.Tasks; -using System.Web; -using Volo.Abp.Account.Emailing; -using Volo.Abp.Account.Localization; -using Volo.Abp.DependencyInjection; -using Volo.Abp.Emailing; -using Volo.Abp.Identity; -using Volo.Abp.MultiTenancy; -using Volo.Abp.TextTemplating; -using Volo.Abp.UI.Navigation.Urls; - -namespace AuthServer.Host.Emailing -{ - [Dependency(ReplaceServices = true)] - [ExposeServices( - typeof(IAccountEmailer), - typeof(AccountEmailer), - typeof(IAccountEmailVerifySender), - typeof(AccountEmailVerifySender))] - public class AccountEmailVerifySender : AccountEmailer, IAccountEmailVerifySender, ITransientDependency - { - public AccountEmailVerifySender( - IEmailSender emailSender, - ITemplateRenderer templateRenderer, - IStringLocalizer stringLocalizer, - IAppUrlProvider appUrlProvider, - ICurrentTenant currentTenant) - : base(emailSender, templateRenderer, stringLocalizer, appUrlProvider, currentTenant) - { - } - - public virtual async Task SendMailLoginVerifyLinkAsync( - IdentityUser user, - string code, - string appName, - string provider, - bool rememberMe = false, - string returnUrl = null, - string returnUrlHash = null) - { - Debug.Assert(CurrentTenant.Id == user.TenantId, "This method can only work for current tenant!"); - - // TODO: 闇瑕佺敓鎴愬揩鎹烽摼鎺 - //var url = await AppUrlProvider.GetUrlAsync(appName, AccountUrlNames.MailLoginVerify); - - //var link = $"{url}?provider={provider}&rememberMe={rememberMe}&resetToken={UrlEncoder.Default.Encode(code)}"; - - //if (!returnUrl.IsNullOrEmpty()) - //{ - // link += "&returnUrl=" + NormalizeReturnUrl(returnUrl); - //} - - //if (!returnUrlHash.IsNullOrEmpty()) - //{ - // link += "&returnUrlHash=" + returnUrlHash; - //} - - var emailContent = await TemplateRenderer.RenderAsync( - AccountEmailTemplates.MailSecurityVerifyLink, - new { code = code, user = user.UserName } - ); - - await EmailSender.SendAsync( - user.Email, - StringLocalizer["MailSecurityVerify"], - emailContent - ); - } - - protected override string NormalizeReturnUrl(string returnUrl) - { - if (returnUrl.IsNullOrEmpty()) - { - return returnUrl; - } - - //Handling openid connect login - if (returnUrl.StartsWith("/connect/authorize/callback", StringComparison.OrdinalIgnoreCase)) - { - if (returnUrl.Contains("?")) - { - var queryPart = returnUrl.Split('?')[1]; - var queryParameters = queryPart.Split('&'); - foreach (var queryParameter in queryParameters) - { - if (queryParameter.Contains("=")) - { - var queryParam = queryParameter.Split('='); - if (queryParam[0] == "redirect_uri") - { - return HttpUtility.UrlDecode(queryParam[1]); - } - } - } - } - } - - return returnUrl; - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/Emailing/IAccountEmailVerifySender.cs b/aspnet-core/services/account/AuthServer.Host/Emailing/IAccountEmailVerifySender.cs deleted file mode 100644 index ea3f64770..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Emailing/IAccountEmailVerifySender.cs +++ /dev/null @@ -1,18 +0,0 @@ -锘縰sing System.Threading.Tasks; -using Volo.Abp.Account.Emailing; -using Volo.Abp.Identity; - -namespace AuthServer.Host.Emailing -{ - public interface IAccountEmailVerifySender : IAccountEmailer - { - Task SendMailLoginVerifyLinkAsync( - IdentityUser user, - string code, - string appName, - string provider, - bool rememberMe = false, - string returnUrl = null, - string returnUrlHash = null); - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs b/aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs deleted file mode 100644 index b5db4fe81..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplateDefinitionProvider.cs +++ /dev/null @@ -1,22 +0,0 @@ -锘縰sing Volo.Abp.Account.Localization; -using Volo.Abp.Emailing.Templates; -using Volo.Abp.Localization; -using Volo.Abp.TextTemplating; - -namespace AuthServer.Host.Emailing.Templates -{ - public class AccountEmailTemplateDefinitionProvider : TemplateDefinitionProvider - { - public override void Define(ITemplateDefinitionContext context) - { - context.Add( - new TemplateDefinition( - AccountEmailTemplates.MailSecurityVerifyLink, - displayName: LocalizableString.Create($"TextTemplate:{AccountEmailTemplates.MailSecurityVerifyLink}"), - layout: StandardEmailTemplates.Layout, - localizationResource: typeof(AccountResource) - ).WithVirtualFilePath("/Emailing/Templates/MailSecurityVerify.tpl", true) - ); - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplates.cs b/aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplates.cs deleted file mode 100644 index fa4e7fe5b..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Emailing/Templates/AccountEmailTemplates.cs +++ /dev/null @@ -1,10 +0,0 @@ -锘縩amespace AuthServer.Host.Emailing.Templates -{ - public static class AccountEmailTemplates - { - /// - /// 閭欢瀹夊叏楠岃瘉 - /// - public const string MailSecurityVerifyLink = "Abp.Account.MailSecurityVerifyLink"; - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContext.cs b/aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContext.cs deleted file mode 100644 index 252363e4b..000000000 --- a/aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContext.cs +++ /dev/null @@ -1,24 +0,0 @@ -锘縰sing Microsoft.EntityFrameworkCore; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.Identity.EntityFrameworkCore; -using Volo.Abp.IdentityServer.EntityFrameworkCore; - -namespace AuthServer.EntityFrameworkCore -{ - public class AuthServerHostMigrationsDbContext : AbpDbContext - { - public AuthServerHostMigrationsDbContext(DbContextOptions options) - : base(options) - { - - } - - protected override void OnModelCreating(ModelBuilder modelBuilder) - { - base.OnModelCreating(modelBuilder); - - modelBuilder.ConfigureIdentity(); - modelBuilder.ConfigureIdentityServer(); - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContextFactory.cs b/aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContextFactory.cs deleted file mode 100644 index ffe0ce43d..000000000 --- a/aspnet-core/services/account/AuthServer.Host/EntityFrameworkCore/AuthServerHostMigrationsDbContextFactory.cs +++ /dev/null @@ -1,38 +0,0 @@ -锘縰sing Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Design; -using Microsoft.Extensions.Configuration; -using System; -using System.IO; - -namespace AuthServer.EntityFrameworkCore -{ - public class AuthServerHostMigrationsDbContextFactory : IDesignTimeDbContextFactory - { - public AuthServerHostMigrationsDbContext CreateDbContext(string[] args) - { - var configuration = BuildConfiguration(); - var connectionString = configuration.GetConnectionString("Default"); - - var builder = new DbContextOptionsBuilder() - .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - - return new AuthServerHostMigrationsDbContext(builder.Options); - } - - private static IConfigurationRoot BuildConfiguration() - { - var env = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Development"; - var envFile = Path.Combine(Directory.GetCurrentDirectory(), $"appsettings.{env}.json"); - - var builder = new ConfigurationBuilder() - .SetBasePath(Directory.GetCurrentDirectory()) - .AddJsonFile("appsettings.json", optional: true); - if (File.Exists(envFile)) - { - builder.AddJsonFile($"appsettings.{env}.json", optional: false); - } - - return builder.Build(); - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/EventBus/Handlers/TenantSynchronizer.cs b/aspnet-core/services/account/AuthServer.Host/EventBus/Handlers/TenantSynchronizer.cs deleted file mode 100644 index 0e4564796..000000000 --- a/aspnet-core/services/account/AuthServer.Host/EventBus/Handlers/TenantSynchronizer.cs +++ /dev/null @@ -1,138 +0,0 @@ -锘縰sing AuthServer.EntityFrameworkCore; -using LINGYUN.Abp.Data.DbMigrator; -using LINGYUN.Abp.MultiTenancy; -using Microsoft.AspNetCore.Identity; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; -using System; -using System.Threading.Tasks; -using Volo.Abp.Authorization.Permissions; -using Volo.Abp.DependencyInjection; -using Volo.Abp.EventBus.Distributed; -using Volo.Abp.Guids; -using Volo.Abp.Identity; -using Volo.Abp.MultiTenancy; -using Volo.Abp.PermissionManagement; -using Volo.Abp.Uow; -using IdentityRole = Volo.Abp.Identity.IdentityRole; -using IdentityUser = Volo.Abp.Identity.IdentityUser; - -namespace AuthServer.Host.EventBus.Handlers -{ - public class TenantSynchronizer : IDistributedEventHandler, ITransientDependency - { - protected ILogger Logger { get; } - protected ICurrentTenant CurrentTenant { get; } - protected IGuidGenerator GuidGenerator { get; } - protected IdentityUserManager IdentityUserManager { get; } - protected IdentityRoleManager IdentityRoleManager { get; } - protected IPermissionDataSeeder PermissionDataSeeder { get; } - protected IDbSchemaMigrator DbSchemaMigrator { get; } - - public TenantSynchronizer( - ICurrentTenant currentTenant, - IGuidGenerator guidGenerator, - IdentityUserManager identityUserManager, - IdentityRoleManager identityRoleManager, - IPermissionDataSeeder permissionDataSeeder, - IDbSchemaMigrator dbSchemaMigrator, - ILogger logger) - { - Logger = logger; - CurrentTenant = currentTenant; - GuidGenerator = guidGenerator; - IdentityUserManager = identityUserManager; - IdentityRoleManager = identityRoleManager; - PermissionDataSeeder = permissionDataSeeder; - DbSchemaMigrator = dbSchemaMigrator; - } - - [UnitOfWork] - public async Task HandleEventAsync(CreateEventData eventData) - { - using (CurrentTenant.Change(eventData.Id, eventData.Name)) - { - Logger.LogInformation("Migrating the new tenant database with AuthServer..."); - // 杩佺Щ绉熸埛鏁版嵁 - await DbSchemaMigrator.MigrateAsync( - (connectionString, builder) => - { - builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - - return new AuthServerHostMigrationsDbContext(builder.Options); - }); - - Logger.LogInformation("Migrated the new tenant database with AuthServer."); - - Logger.LogInformation("Seeding the new tenant admin user and roles..."); - await SeedTenantAdminAsync(eventData); - - Logger.LogInformation("Seeding the new tenant default roles..."); - await SeedTenantDefaultRoleAsync(eventData.Id); - - Logger.LogInformation("The new tenant identity data initialized!"); - } - } - - private async Task SeedTenantDefaultRoleAsync(Guid tenantId) - { - // 榛樿鐢ㄦ埛 - var roleId = GuidGenerator.Create(); - var defaultRole = new IdentityRole(roleId, "Users", tenantId) - { - IsStatic = true, - IsPublic = true, - IsDefault = true, - }; - (await IdentityRoleManager.CreateAsync(defaultRole)).CheckErrors(); - - // 鎵鏈夌敤鎴烽兘搴旇鍏锋湁鏌ヨ鐢ㄦ埛鏉冮檺, 鐢ㄤ簬IM鍦烘櫙 - await PermissionDataSeeder.SeedAsync( - RolePermissionValueProvider.ProviderName, - defaultRole.Name, - new string[] { - IdentityPermissions.UserLookup.Default, - IdentityPermissions.Users.Default - }); - } - - private async Task SeedTenantAdminAsync(CreateEventData eventData) - { - const string tenantAdminUserName = "admin"; - const string tenantAdminRoleName = "admin"; - var tenantAdminRoleId = Guid.Empty; ; - - if (!await IdentityRoleManager.RoleExistsAsync(tenantAdminRoleName)) - { - tenantAdminRoleId = GuidGenerator.Create(); - var tenantAdminRole = new IdentityRole(tenantAdminRoleId, tenantAdminRoleName, eventData.Id) - { - IsStatic = true, - IsPublic = true - }; - (await IdentityRoleManager.CreateAsync(tenantAdminRole)).CheckErrors(); - } - else - { - var tenantAdminRole = await IdentityRoleManager.FindByNameAsync(tenantAdminRoleName); - tenantAdminRoleId = tenantAdminRole.Id; - } - - var tenantAdminUser = await IdentityUserManager.FindByNameAsync(eventData.AdminEmailAddress); - if (tenantAdminUser == null) - { - tenantAdminUser = new IdentityUser( - eventData.AdminUserId, - tenantAdminUserName, - eventData.AdminEmailAddress, - eventData.Id); - - tenantAdminUser.AddRole(tenantAdminRoleId); - - // 鍒涘缓绉熸埛绠$悊鐢ㄦ埛 - (await IdentityUserManager.CreateAsync(tenantAdminUser)).CheckErrors(); - (await IdentityUserManager.AddPasswordAsync(tenantAdminUser, eventData.AdminPassword)).CheckErrors(); - } - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/IdentityResources/CustomIdentityResources.cs b/aspnet-core/services/account/AuthServer.Host/IdentityResources/CustomIdentityResources.cs deleted file mode 100644 index 0a96ce600..000000000 --- a/aspnet-core/services/account/AuthServer.Host/IdentityResources/CustomIdentityResources.cs +++ /dev/null @@ -1,19 +0,0 @@ -锘縰sing IdentityServer4.Models; - -namespace AuthServer.IdentityResources -{ - public class CustomIdentityResources - { - public class AvatarUrl : IdentityResource - { - public static string ClaimType { get; set; } = "avatarUrl"; - public AvatarUrl() - { - Name = ClaimType; - DisplayName = "Your avatar url"; - Emphasize = true; - UserClaims = new string[] { ClaimType }; - } - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/Pages/Account/UseRecoveryCode.cshtml b/aspnet-core/services/account/AuthServer.Host/Pages/Account/UseRecoveryCode.cshtml deleted file mode 100644 index 1e86bdc0e..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Pages/Account/UseRecoveryCode.cshtml +++ /dev/null @@ -1,4 +0,0 @@ -锘緻page -@model LINGYUN.Abp.Account.Web.Pages.Account.UseRecoveryCodeModel -@{ -} diff --git a/aspnet-core/services/account/AuthServer.Host/Program.cs b/aspnet-core/services/account/AuthServer.Host/Program.cs deleted file mode 100644 index 8a6404e3d..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Program.cs +++ /dev/null @@ -1,50 +0,0 @@ -锘縰sing Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Serilog; -using System; - -namespace AuthServer.Host -{ - public class Program - { - public static int Main(string[] args) - { - try - { - Log.Information("Starting AuthServer.Host."); - CreateHostBuilder(args).Build().Run(); - return 0; - } - catch (Exception ex) - { - Log.Fatal(ex, "Host terminated unexpectedly!"); - return 1; - } - finally - { - Log.CloseAndFlush(); - } - } - - internal static IHostBuilder CreateHostBuilder(string[] args) => - Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }) - .ConfigureAppConfiguration((context, config) => - { - var configuration = config.Build(); - if (configuration.GetSection("AgileConfig").Exists()) - { - config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); - } - }) - .UseSerilog((context, provider, config) => - { - config.ReadFrom.Configuration(context.Configuration); - }) - .UseAutofac(); - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/Properties/launchSettings.json b/aspnet-core/services/account/AuthServer.Host/Properties/launchSettings.json deleted file mode 100644 index 5aefc31bf..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Properties/launchSettings.json +++ /dev/null @@ -1,20 +0,0 @@ -锘縶 - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:57949", - "sslPort": 0 - } - }, - "profiles": { - "AuthServer.Host": { - "commandName": "Project", - "launchBrowser": false, - "applicationUrl": "http://localhost:44385;https://localhost:44386", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} \ No newline at end of file diff --git a/aspnet-core/services/account/AuthServer.Host/Startup.cs b/aspnet-core/services/account/AuthServer.Host/Startup.cs deleted file mode 100644 index ed49d6522..000000000 --- a/aspnet-core/services/account/AuthServer.Host/Startup.cs +++ /dev/null @@ -1,33 +0,0 @@ -锘縰sing Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using System.IO; -using Volo.Abp.IO; -using Volo.Abp.Modularity.PlugIns; - -namespace AuthServer.Host -{ - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - services.AddApplication(options => - { - // 鎼滅储 Modules 鐩綍涓嬫墍鏈夋枃浠朵綔涓烘彃浠 - // 鍙栨秷鏄剧ず寮曠敤鎵鏈夊叾浠栭」鐩殑妯″潡锛屾敼涓洪氳繃鎻掍欢鐨勫舰寮忓紩鐢 - var pluginFolder = Path.Combine( - Directory.GetCurrentDirectory(), "Modules"); - DirectoryHelper.CreateIfNotExists(pluginFolder); - options.PlugInSources.AddFolder( - pluginFolder, - SearchOption.AllDirectories); - }); - } - - public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory) - { - app.InitializeApplication(); - } - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/appsettings.Development.json b/aspnet-core/services/account/AuthServer.Host/appsettings.Development.json deleted file mode 100644 index ab30e9976..000000000 --- a/aspnet-core/services/account/AuthServer.Host/appsettings.Development.json +++ /dev/null @@ -1,125 +0,0 @@ -锘縶 - "AgileConfig1": { - "env": "DEV", - "appId": "LINGYUN.Abp.AuthServer", - "secret": "1q2w3E*", - "nodes": "http://localhost:5000", - "name": "AuthServer", - "tag": "AuthServer" - }, - "App": { - "TrackingEntitiesChanged": true, - "SelfUrl": "http://localhost:44385/", - "CorsOrigins": "http://localhost:4200,http://localhost:9527,http://localhost:3100" - }, - "AppSelfUrl": "http://localhost:44385/", - "ConnectionStrings": { - "Default": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpTenantManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "CAP": { - "EventBus": { - "DefaultGroupName": "AuthServer", - "Version": "v1", - "FailedRetryInterval": 300, - "FailedRetryCount": 10 - }, - "MySql": { - "TableNamePrefix": "auth", - "ConnectionString": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456" - }, - "RabbitMQ": { - "HostName": "localhost", - "Port": 5672, - "UserName": "guest", - "Password": "guest", - "ExchangeName": "LINGYUN.Abp.Application", - "VirtualHost": "/" - } - }, - "Redis": { - "Configuration": "localhost,defaultDatabase=10", - "InstanceName": "LINGYUN.Abp.Application" - }, - "AuthServer": { - "Authority": "http://localhost:44385/", - "ApiName": "lingyun-abp-application" - }, - "IdentityServer": { - "Clients": { - "AuthManagement": { - "ClientId": "auth-management", - "RootUrl": "http://localhost:44313/" - }, - "AuthVueAdmin": { - "ClientId": "vue-admin-element" - }, - "AuthApiGateway": { - "ClientId": "ApigatewayHostClient" - }, - "InternalService": { - "ClientId": "internal-service-client" - } - } - }, - "Identity": { - "Password": { - "RequiredLength": 6, - "RequiredUniqueChars": 0, - "RequireNonAlphanumeric": false, - "RequireLowercase": false, - "RequireUppercase": false, - "RequireDigit": false - }, - "Lockout": { - "AllowedForNewUsers": false, - "LockoutDuration": 5, - "MaxFailedAccessAttempts": 5 - }, - "SignIn": { - "RequireConfirmedEmail": false, - "RequireConfirmedPhoneNumber": false - } - }, - "AuditLogging": { - "Elasticsearch": { - "IndexPrefix": "abp.dev.auditing" - } - }, - "Elasticsearch": { - "NodeUris": "http://localhost:9200" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Debug" - } - }, - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "Elasticsearch", - "Args": { - "nodeUris": "http://localhost:9200", - "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", - "autoRegisterTemplate": true, - "autoRegisterTemplateVersion": "ESv7" - } - } - ] - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/appsettings.json b/aspnet-core/services/account/AuthServer.Host/appsettings.json deleted file mode 100644 index 18ccb536e..000000000 --- a/aspnet-core/services/account/AuthServer.Host/appsettings.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "StringEncryption": { - "DefaultPassPhrase": "s46c5q55nxpeS8Ra", - "InitVectorBytes": "s83ng0abvd02js84", - "DefaultSalt": "sf&5)s3#" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Information" - } - }, - "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName" ], - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Debug-.log", - "restrictedToMinimumLevel": "Debug", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Info-.log", - "restrictedToMinimumLevel": "Information", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Warn-.log", - "restrictedToMinimumLevel": "Warning", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Error-.log", - "restrictedToMinimumLevel": "Error", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Fatal-.log", - "restrictedToMinimumLevel": "Fatal", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - } - ] - } -} diff --git a/aspnet-core/services/account/AuthServer.Host/identity-server-upgrate-4.1.sql b/aspnet-core/services/account/AuthServer.Host/identity-server-upgrate-4.1.sql deleted file mode 100644 index f2b11f366..000000000 --- a/aspnet-core/services/account/AuthServer.Host/identity-server-upgrate-4.1.sql +++ /dev/null @@ -1,314 +0,0 @@ -锘縎TART TRANSACTION; - -/* - - Description: IdentityServer 4.1 鍗囩骇鑴氭湰 - Author: colin.in@foxmail.com - CreateTime: 2020-12-23 09:00 - Remarks: 鍗囩骇闇璋ㄦ厧锛屾暟鎹棤浠凤紝璇锋彁鍓嶅浠斤紝娑夊強鍒板涓〃鐨勯噸寤 - Reference: https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-4_0 -*/ - -DROP PROCEDURE IF EXISTS `PROC_DROP_COLUMN`; -DELIMITER // -CREATE PROCEDURE PROC_DROP_COLUMN(IN `TABLE_NAME_ARGUMENT` VARCHAR(255), IN `COLUMN_NAME_ARGUMENT` VARCHAR(255)) -BEGIN - IF EXISTS( - SELECT * FROM information_schema.columns - WHERE - table_schema = DATABASE() AND - table_name = TABLE_NAME_ARGUMENT AND - column_name = COLUMN_NAME_ARGUMENT) - THEN - SET @query = CONCAT('ALTER TABLE ', TABLE_NAME_ARGUMENT, ' DROP COLUMN ', COLUMN_NAME_ARGUMENT, ';'); - PREPARE stmt FROM @query; - EXECUTE stmt; - DEALLOCATE PREPARE stmt; - END IF; -END // -DELIMITER ; - -DROP PROCEDURE IF EXISTS `PROC_DROP_FOREIGN_KEY`; -DELIMITER // -CREATE PROCEDURE PROC_DROP_FOREIGN_KEY(IN `TABLE_NAME_ARGUMENT` VARCHAR(255), IN `COLUMN_NAME_ARGUMENT` VARCHAR(255)) -BEGIN - IF EXISTS( - SELECT * FROM information_schema.table_constraints - WHERE - table_schema = DATABASE() AND - table_name = TABLE_NAME_ARGUMENT AND - constraint_name = COLUMN_NAME_ARGUMENT AND - constraint_type = 'FOREIGN KEY') - THEN - SET @query = CONCAT('ALTER TABLE ', TABLE_NAME_ARGUMENT, ' DROP FOREIGN KEY ', COLUMN_NAME_ARGUMENT, ';'); - PREPARE stmt FROM @query; - EXECUTE stmt; - DEALLOCATE PREPARE stmt; - END IF; -END // -DELIMITER ; - -DROP PROCEDURE IF EXISTS `PROC_DROP_INDEX`; -DELIMITER // -CREATE PROCEDURE PROC_DROP_INDEX(IN `TABLE_NAME_ARGUMENT` VARCHAR(255), IN `COLUMN_NAME_ARGUMENT` VARCHAR(255)) -BEGIN - IF EXISTS( - SELECT * FROM information_schema.statistics - WHERE - table_schema = DATABASE() AND - table_name = TABLE_NAME_ARGUMENT AND - index_name = COLUMN_NAME_ARGUMENT) - THEN - SET @query = CONCAT('ALTER TABLE ', TABLE_NAME_ARGUMENT, ' DROP INDEX ', COLUMN_NAME_ARGUMENT, ';'); - PREPARE stmt FROM @query; - EXECUTE stmt; - DEALLOCATE PREPARE stmt; - END IF; -END // -DELIMITER ; - - -DROP PROCEDURE IF EXISTS `POMELO_BEFORE_DROP_PRIMARY_KEY`; -DELIMITER // -CREATE PROCEDURE `POMELO_BEFORE_DROP_PRIMARY_KEY`(IN `SCHEMA_NAME_ARGUMENT` VARCHAR(255), IN `TABLE_NAME_ARGUMENT` VARCHAR(255)) -BEGIN - DECLARE HAS_AUTO_INCREMENT_ID TINYINT(1); - DECLARE PRIMARY_KEY_COLUMN_NAME VARCHAR(255); - DECLARE PRIMARY_KEY_TYPE VARCHAR(255); - DECLARE SQL_EXP VARCHAR(1000); - SELECT COUNT(*) - INTO HAS_AUTO_INCREMENT_ID - FROM `information_schema`.`COLUMNS` - WHERE `TABLE_SCHEMA` = (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())) - AND `TABLE_NAME` = TABLE_NAME_ARGUMENT - AND `Extra` = 'auto_increment' - AND `COLUMN_KEY` = 'PRI' - LIMIT 1; - IF HAS_AUTO_INCREMENT_ID THEN - SELECT `COLUMN_TYPE` - INTO PRIMARY_KEY_TYPE - FROM `information_schema`.`COLUMNS` - WHERE `TABLE_SCHEMA` = (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())) - AND `TABLE_NAME` = TABLE_NAME_ARGUMENT - AND `COLUMN_KEY` = 'PRI' - LIMIT 1; - SELECT `COLUMN_NAME` - INTO PRIMARY_KEY_COLUMN_NAME - FROM `information_schema`.`COLUMNS` - WHERE `TABLE_SCHEMA` = (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())) - AND `TABLE_NAME` = TABLE_NAME_ARGUMENT - AND `COLUMN_KEY` = 'PRI' - LIMIT 1; - SET SQL_EXP = CONCAT('ALTER TABLE `', (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())), '`.`', TABLE_NAME_ARGUMENT, '` MODIFY COLUMN `', PRIMARY_KEY_COLUMN_NAME, '` ', PRIMARY_KEY_TYPE, ' NOT NULL;'); - SET @SQL_EXP = SQL_EXP; - PREPARE SQL_EXP_EXECUTE FROM @SQL_EXP; - EXECUTE SQL_EXP_EXECUTE; - DEALLOCATE PREPARE SQL_EXP_EXECUTE; - END IF; -END // -DELIMITER ; - -DROP PROCEDURE IF EXISTS `POMELO_AFTER_ADD_PRIMARY_KEY`; -DELIMITER // -CREATE PROCEDURE `POMELO_AFTER_ADD_PRIMARY_KEY`(IN `SCHEMA_NAME_ARGUMENT` VARCHAR(255), IN `TABLE_NAME_ARGUMENT` VARCHAR(255), IN `COLUMN_NAME_ARGUMENT` VARCHAR(255)) -BEGIN - DECLARE HAS_AUTO_INCREMENT_ID INT(11); - DECLARE PRIMARY_KEY_COLUMN_NAME VARCHAR(255); - DECLARE PRIMARY_KEY_TYPE VARCHAR(255); - DECLARE SQL_EXP VARCHAR(1000); - SELECT COUNT(*) - INTO HAS_AUTO_INCREMENT_ID - FROM `information_schema`.`COLUMNS` - WHERE `TABLE_SCHEMA` = (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())) - AND `TABLE_NAME` = TABLE_NAME_ARGUMENT - AND `COLUMN_NAME` = COLUMN_NAME_ARGUMENT - AND `COLUMN_TYPE` LIKE '%int%' - AND `COLUMN_KEY` = 'PRI'; - IF HAS_AUTO_INCREMENT_ID THEN - SELECT `COLUMN_TYPE` - INTO PRIMARY_KEY_TYPE - FROM `information_schema`.`COLUMNS` - WHERE `TABLE_SCHEMA` = (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())) - AND `TABLE_NAME` = TABLE_NAME_ARGUMENT - AND `COLUMN_NAME` = COLUMN_NAME_ARGUMENT - AND `COLUMN_TYPE` LIKE '%int%' - AND `COLUMN_KEY` = 'PRI'; - SELECT `COLUMN_NAME` - INTO PRIMARY_KEY_COLUMN_NAME - FROM `information_schema`.`COLUMNS` - WHERE `TABLE_SCHEMA` = (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())) - AND `TABLE_NAME` = TABLE_NAME_ARGUMENT - AND `COLUMN_NAME` = COLUMN_NAME_ARGUMENT - AND `COLUMN_TYPE` LIKE '%int%' - AND `COLUMN_KEY` = 'PRI'; - SET SQL_EXP = CONCAT('ALTER TABLE `', (SELECT IFNULL(SCHEMA_NAME_ARGUMENT, SCHEMA())), '`.`', TABLE_NAME_ARGUMENT, '` MODIFY COLUMN `', PRIMARY_KEY_COLUMN_NAME, '` ', PRIMARY_KEY_TYPE, ' NOT NULL AUTO_INCREMENT;'); - SET @SQL_EXP = SQL_EXP; - PREPARE SQL_EXP_EXECUTE FROM @SQL_EXP; - EXECUTE SQL_EXP_EXECUTE; - DEALLOCATE PREPARE SQL_EXP_EXECUTE; - END IF; -END // -DELIMITER ; - -ALTER TABLE `IdentityServerApiClaims` DROP FOREIGN KEY `FK_IdentityServerApiClaims_IdentityServerApiResources_ApiResour~`; --- CALL PROC_DROP_FOREIGN_KEY('IdentityServerApiClaims', 'FK_IdentityServerApiClaims_IdentityServerApiResources_ApiResour~'); - -ALTER TABLE `IdentityServerApiScopes` DROP FOREIGN KEY `FK_IdentityServerApiScopes_IdentityServerApiResources_ApiResour~`; --- CALL PROC_DROP_FOREIGN_KEY('IdentityServerApiScopes', 'FK_IdentityServerApiScopes_IdentityServerApiResources_ApiResour~'); - -DROP TABLE IF EXISTS `IdentityServerApiSecrets`; - -DROP TABLE IF EXISTS `IdentityServerIdentityClaims`; - -CALL PROC_DROP_INDEX('IdentityServerDeviceFlowCodes', 'IX_IdentityServerDeviceFlowCodes_UserCode'); - -ALTER TABLE `IdentityServerClientProperties` DROP FOREIGN KEY `FK_IdentityServerClientProperties_IdentityServerClients_ClientId`; --- CALL PROC_DROP_FOREIGN_KEY('IdentityServerClientProperties', 'FK_IdentityServerClientProperties_IdentityServerClients_ClientId'); - -CALL POMELO_BEFORE_DROP_PRIMARY_KEY(NULL, 'IdentityServerClientProperties'); -ALTER TABLE `IdentityServerClientProperties` DROP PRIMARY KEY; - -ALTER TABLE `IdentityServerClientProperties` ADD CONSTRAINT `FK_IdentityServerClientProperties_IdentityServerClients_ClientId` FOREIGN KEY (`ClientId`) REFERENCES `IdentityServerClients` (`Id`) ON DELETE CASCADE; - - -CALL PROC_DROP_COLUMN('IdentityServerIdentityResources', 'Properties'); - -CALL PROC_DROP_COLUMN('IdentityServerApiResources', 'Properties'); - -ALTER TABLE `IdentityServerApiClaims` RENAME `IdentityServerApiResourceClaims`; - -ALTER TABLE `IdentityServerApiScopes` CHANGE COLUMN `ApiResourceId` `Id` CHAR(36); - -ALTER TABLE `IdentityServerApiScopeClaims` CHANGE COLUMN `ApiResourceId` `ApiScopeId` CHAR(36); - --- 灏嗚鍒犻櫎姝よ〃鐨勬墍鏈夋暟鎹紝璇锋敞鎰 -TRUNCATE TABLE `IdentityServerApiScopeClaims`; --- 鍒犻櫎鍒椾箣鍓嶉渶瑕侀噸寤哄閿害鏉 -ALTER TABLE `IdentityServerApiScopeClaims` DROP FOREIGN KEY `FK_IdentityServerApiScopeClaims_IdentityServerApiScopes_ApiReso~`; -ALTER TABLE `IdentityServerApiScopeClaims` ADD CONSTRAINT `FK_IdentityServerApiScopeClaims_IdentityServerApiScopes_ApiReso~` FOREIGN KEY (`ApiScopeId`) REFERENCES `IdentityServerApiScopes` (`Id`) ON DELETE CASCADE; -CALL PROC_DROP_COLUMN('IdentityServerApiScopeClaims', 'Name'); - -ALTER TABLE `IdentityServerPersistedGrants` ADD `ConsumedTime` datetime(6) NULL; - -ALTER TABLE `IdentityServerPersistedGrants` ADD `Description` varchar(200) CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerPersistedGrants` ADD `SessionId` varchar(100) CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerDeviceFlowCodes` ADD `Description` varchar(200) CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerDeviceFlowCodes` ADD `SessionId` varchar(100) CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerClients` ADD `AllowedIdentityTokenSigningAlgorithms` varchar(100) CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerClients` ADD `RequireRequestObject` tinyint(1) NOT NULL DEFAULT FALSE; - -ALTER TABLE `IdentityServerClientProperties` MODIFY COLUMN `Value` varchar(300) CHARACTER SET utf8mb4 NOT NULL; - -ALTER TABLE `IdentityServerApiScopes` ADD `ConcurrencyStamp` varchar(40) CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerApiScopes` ADD `CreationTime` datetime(6) NOT NULL DEFAULT '0001-01-01 00:00:00'; - -ALTER TABLE `IdentityServerApiScopes` ADD `CreatorId` char(36) NULL; - -ALTER TABLE `IdentityServerApiScopes` ADD `DeleterId` char(36) NULL; - -ALTER TABLE `IdentityServerApiScopes` ADD `DeletionTime` datetime(6) NULL; - -ALTER TABLE `IdentityServerApiScopes` ADD `Enabled` tinyint(1) NOT NULL DEFAULT FALSE; - -ALTER TABLE `IdentityServerApiScopes` ADD `ExtraProperties` longtext CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerApiScopes` ADD `IsDeleted` tinyint(1) NOT NULL DEFAULT FALSE; - -ALTER TABLE `IdentityServerApiScopes` ADD `LastModificationTime` datetime(6) NULL; - -ALTER TABLE `IdentityServerApiScopes` ADD `LastModifierId` char(36) NULL; - -ALTER TABLE `IdentityServerApiResources` ADD `AllowedAccessTokenSigningAlgorithms` varchar(100) CHARACTER SET utf8mb4 NULL; - -ALTER TABLE `IdentityServerApiResources` ADD `ShowInDiscoveryDocument` tinyint(1) NOT NULL DEFAULT FALSE; - -ALTER TABLE `IdentityServerClientProperties` ADD CONSTRAINT `PK_IdentityServerClientProperties` PRIMARY KEY (`ClientId`, `Key`, `Value`); - -CREATE TABLE `AbpLinkUsers` ( - `Id` char(36) NOT NULL, - `SourceUserId` char(36) NOT NULL, - `SourceTenantId` char(36) NULL, - `TargetUserId` char(36) NOT NULL, - `TargetTenantId` char(36) NULL, - CONSTRAINT `PK_AbpLinkUsers` PRIMARY KEY (`Id`) -); - -CREATE TABLE `IdentityServerApiResourceProperties` ( - `ApiResourceId` char(36) NOT NULL, - `Key` varchar(250) CHARACTER SET utf8mb4 NOT NULL, - `Value` varchar(300) CHARACTER SET utf8mb4 NOT NULL, - CONSTRAINT `PK_IdentityServerApiResourceProperties` PRIMARY KEY (`ApiResourceId`, `Key`, `Value`), - CONSTRAINT `FK_IdentityServerApiResourceProperties_IdentityServerApiResourc~` FOREIGN KEY (`ApiResourceId`) REFERENCES `IdentityServerApiResources` (`Id`) ON DELETE CASCADE -); - -CREATE TABLE `IdentityServerApiResourceScopes` ( - `ApiResourceId` char(36) NOT NULL, - `Scope` varchar(200) CHARACTER SET utf8mb4 NOT NULL, - CONSTRAINT `PK_IdentityServerApiResourceScopes` PRIMARY KEY (`ApiResourceId`, `Scope`), - CONSTRAINT `FK_IdentityServerApiResourceScopes_IdentityServerApiResources_A~` FOREIGN KEY (`ApiResourceId`) REFERENCES `IdentityServerApiResources` (`Id`) ON DELETE CASCADE -); - -CREATE TABLE `IdentityServerApiResourceSecrets` ( - `Type` varchar(250) CHARACTER SET utf8mb4 NOT NULL, - `Value` varchar(300) CHARACTER SET utf8mb4 NOT NULL, - `ApiResourceId` char(36) NOT NULL, - `Description` varchar(1000) CHARACTER SET utf8mb4 NULL, - `Expiration` datetime(6) NULL, - CONSTRAINT `PK_IdentityServerApiResourceSecrets` PRIMARY KEY (`ApiResourceId`, `Type`, `Value`), - CONSTRAINT `FK_IdentityServerApiResourceSecrets_IdentityServerApiResources_~` FOREIGN KEY (`ApiResourceId`) REFERENCES `IdentityServerApiResources` (`Id`) ON DELETE CASCADE -); - -CREATE TABLE `IdentityServerApiScopeProperties` ( - `ApiScopeId` char(36) NOT NULL, - `Key` varchar(250) CHARACTER SET utf8mb4 NOT NULL, - `Value` varchar(300) CHARACTER SET utf8mb4 NOT NULL, - CONSTRAINT `PK_IdentityServerApiScopeProperties` PRIMARY KEY (`ApiScopeId`, `Key`, `Value`), - CONSTRAINT `FK_IdentityServerApiScopeProperties_IdentityServerApiScopes_Api~` FOREIGN KEY (`ApiScopeId`) REFERENCES `IdentityServerApiScopes` (`Id`) ON DELETE CASCADE -); - -CREATE TABLE `IdentityServerIdentityResourceClaims` ( - `Type` varchar(200) CHARACTER SET utf8mb4 NOT NULL, - `IdentityResourceId` char(36) NOT NULL, - CONSTRAINT `PK_IdentityServerIdentityResourceClaims` PRIMARY KEY (`IdentityResourceId`, `Type`), - CONSTRAINT `FK_IdentityServerIdentityResourceClaims_IdentityServerIdentityR~` FOREIGN KEY (`IdentityResourceId`) REFERENCES `IdentityServerIdentityResources` (`Id`) ON DELETE CASCADE -); - -CREATE TABLE `IdentityServerIdentityResourceProperties` ( - `IdentityResourceId` char(36) NOT NULL, - `Key` varchar(250) CHARACTER SET utf8mb4 NOT NULL, - `Value` varchar(300) CHARACTER SET utf8mb4 NOT NULL, - CONSTRAINT `PK_IdentityServerIdentityResourceProperties` PRIMARY KEY (`IdentityResourceId`, `Key`, `Value`), - CONSTRAINT `FK_IdentityServerIdentityResourceProperties_IdentityServerIdent~` FOREIGN KEY (`IdentityResourceId`) REFERENCES `IdentityServerIdentityResources` (`Id`) ON DELETE CASCADE -); - -CREATE INDEX `IX_IdentityServerPersistedGrants_SubjectId_SessionId_Type` ON `IdentityServerPersistedGrants` (`SubjectId`, `SessionId`, `Type`); - -CREATE INDEX `IX_IdentityServerDeviceFlowCodes_UserCode` ON `IdentityServerDeviceFlowCodes` (`UserCode`); - -CREATE UNIQUE INDEX `IX_AbpLinkUsers_SourceUserId_SourceTenantId_TargetUserId_Target~` ON `AbpLinkUsers` (`SourceUserId`, `SourceTenantId`, `TargetUserId`, `TargetTenantId`); - -ALTER TABLE `IdentityServerApiResourceClaims` ADD CONSTRAINT `FK_IdentityServerApiResourceClaims_IdentityServerApiResources_A~` FOREIGN KEY (`ApiResourceId`) REFERENCES `IdentityServerApiResources` (`Id`) ON DELETE CASCADE; - -ALTER TABLE `IdentityServerApiScopeClaims` ADD CONSTRAINT `FK_IdentityServerApiScopeClaims_IdentityServerApiScopes_ApiScop~` FOREIGN KEY (`ApiScopeId`) REFERENCES `IdentityServerApiScopes` (`Id`) ON DELETE CASCADE; - -INSERT INTO `__EFMigrationsHistory` (`MigrationId`, `ProductVersion`) -VALUES ('20201222101851_Upgrade-Abp-4.0.0', '5.0.0'); - -DROP PROCEDURE `POMELO_BEFORE_DROP_PRIMARY_KEY`; - -DROP PROCEDURE `POMELO_AFTER_ADD_PRIMARY_KEY`; - -DROP PROCEDURE `PROC_DROP_FOREIGN_KEY`; - -DROP PROCEDURE `PROC_DROP_INDEX`; - -DROP PROCEDURE `PROC_DROP_COLUMN`; - -COMMIT; - diff --git a/aspnet-core/services/account/AuthServer.Host/tempkey.rsa b/aspnet-core/services/account/AuthServer.Host/tempkey.rsa deleted file mode 100644 index b5f8fbb1f..000000000 --- a/aspnet-core/services/account/AuthServer.Host/tempkey.rsa +++ /dev/null @@ -1 +0,0 @@ -{"KeyId":"3e6c235e98eaef624a571c3b47e5c812","Parameters":{"D":"trKg5nogSZw3j0iy0k2MQkqj0CTo+jJLmVxKPcEYjkYyBNUuyLA7cbLlI9yxKk1MIn+/8utBN36PMUsJcD7cSczIjVWpXPTUbcWSOaSCNz7AcOpaE5Ay35AgMFc4HfnpByc8c9Fcl0z1thaSZuCqiYpQmPpcL8fyEjOuw0NWze4yXmcl2GlfwRiF1JxqQHKfJ6mB/3QPIVBF/68upkGiiXhI6LimyTo4O6H1JLHf4rRnQhzojZXUA07BRdavYVHTR1GaQMpMuZENmi+/+Iu8alB6iH8Zz2D94irE8/kO5X+MoavfmNhpilxLw1GK1ea5OoUQS0jRl0Wmez000DCV3Q==","DP":"XYTLa2aqm5Pmapi7Jjr0LYBZzydxmU0xqgHshaClvoBJycMlBLNgKkYs9aPdE/QCSZFaDhyIGMlXovn5WfcNsSOeYnRvRiS6dDT0/a4N1cFX4kRQ09siaUUgXiefbAoOm6CghFB2Il0O1NTQ0cenVU5l6+pBQFbDtV1rP79lYbc=","DQ":"NzcjLWMrpySGWTVmfLrw/EMPd/P9vtQFo0IwoajS5cFF2NXk+mLpSZeIjYWKNzApBvHoLDwpaV2p7HaYpwk1CpwG/toWW/IBOWihvP4pKkX5ykV9ZkaC7WRqGc5jnd9NLd8TRY/h5LxPuNbIEhpTY3Q1vAI/x8XW6eTy67rgqKs=","Exponent":"AQAB","InverseQ":"Kadqz1hC/Icxb7Ld+oFbMBoQxyL8M9HqLpQguiHjXWHX53J5V83a4h48J98O+Arulnst7vRPK7p9tA8Ww6Z71GZsccLxs1msXsSqYdcEePaVa9H2/Wa0qm+tqy6Ubump235OkcG18F4G4GbO+/Jz7aAt58zmjFEMuJq/bppmW04=","Modulus":"w6KfF+JHu+Ot0HFQAjXGxS5XeVmr4U/aXr1v+lvbCcL5YgdrLwoz0PYtmIADxuxlpCdP1OFespRgDaDnI3vkg22YVX0ufpKHgjCP87bInU+TlJSixOkkj5VA/Xms6NK9+pr0VIicrH0NotmmYqbTDF0ePAkbTT6NnRE9ycIC26ZiPvr4MMRXcuy81/LBp2fwox4uKuoNIXXKJAN/TNo9MoKx0Ovrthak81XN/LvBytWAisdLboowllbZ9QaCH7IJIo4pdnhq4yTVq7CXKHHiXyeV2KEwS/nNvoXnrJUOrkGN92ItsoE0hr6rrbJZtrPrGMafexsJ69HXpTRv13oDGQ==","P":"0oW4MgjmH5cPeMlP5VJsY/eWZ8oxBUGvkbpljxYglKABfsyTIOY3gBhnTWWzepjmgSK0NKRZWgwn9axX3MKKWxe/H56DzKWi4w5VuRCNtiV91nrMsUXmhT/8Xu7AqKI+E/1B/A02JdJfh5lF+US6x1Md0ic1/Mgi7Z+B6fy4omc=","Q":"7eWeBma2tgB2ccy7HggkEehmYG0nYQVGjkb8nVnDbAi+r1RuvuIWdaet0gWvIKxXkWAzq5Yzfdr+8R1AmpjrAo8uryaCqwgmBphL5YqqFy1bk2a1HqVS4sFeCFJ9ltyxEhATMmQyOxwypM6eliEuF+zmtVNJqjpx7yJUdsg/vn8="}} \ No newline at end of file diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/.gitignore b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/.gitignore deleted file mode 100644 index 5550a092a..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -bin -obj -Logs -appsettings.*.json -Modules \ No newline at end of file diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Configure.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Configure.cs deleted file mode 100644 index 281b34480..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Configure.cs +++ /dev/null @@ -1,279 +0,0 @@ -锘縰sing DotNetCore.CAP; -using LINGYUN.Abp.ExceptionHandling; -using LINGYUN.Abp.ExceptionHandling.Emailing; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using Microsoft.AspNetCore.Authentication.JwtBearer; -using Microsoft.AspNetCore.DataProtection; -using Microsoft.Extensions.Caching.StackExchangeRedis; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.OpenApi.Models; -using StackExchange.Redis; -using System; -using System.Text.Encodings.Web; -using System.Text.Unicode; -using Volo.Abp; -using Volo.Abp.Auditing; -using Volo.Abp.Authorization.Permissions; -using Volo.Abp.Caching; -using Volo.Abp.Domain.Entities.Events.Distributed; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.Identity.Localization; -using Volo.Abp.Json; -using Volo.Abp.Json.SystemTextJson; -using Volo.Abp.Localization; -using Volo.Abp.MultiTenancy; -using Volo.Abp.PermissionManagement; -using Volo.Abp.VirtualFileSystem; - -namespace LINGYUN.Abp.BackendAdmin -{ - public partial class BackendAdminHostModule - { - private void PreConfigureApp() - { - AbpSerilogEnrichersConsts.ApplicationName = "Backend-Admin"; - } - - private void PreConfigureCAP(IConfiguration configuration) - { - PreConfigure(options => - { - options - .UseMySql(mySqlOptions => - { - configuration.GetSection("CAP:MySql").Bind(mySqlOptions); - }) - .UseRabbitMQ(rabbitMQOptions => - { - configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); - }) - .UseDashboard(); - }); - } - - private void ConfigureDbContext() - { - // 閰嶇疆Ef - Configure(options => - { - options.UseMySQL(); - }); - } - - private void ConfigureJsonSerializer() - { - // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 - Configure(options => - { - options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; - }); - // 涓枃搴忓垪鍖栫殑缂栫爜闂 - Configure(options => - { - options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); - }); - } - - private void ConfigurePermissionManagement() - { - Configure(options => - { - // Rename IdentityServer.Client.ManagePermissions - // See https://github.com/abpframework/abp/blob/dev/modules/identityserver/src/Volo.Abp.PermissionManagement.Domain.IdentityServer/Volo/Abp/PermissionManagement/IdentityServer/AbpPermissionManagementDomainIdentityServerModule.cs - options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = - LINGYUN.Abp.IdentityServer.AbpIdentityServerPermissions.Clients.ManagePermissions; - }); - } - - private void ConfigureExceptionHandling() - { - // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 - Configure(options => - { - // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - }); - - // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 - Configure(options => - { - // 鏄惁鍙戦佸爢鏍堜俊鎭 - options.SendStackTrace = true; - // 鏈寚瀹氬紓甯告帴鏀惰呯殑榛樿鎺ユ敹閭欢 - // 璇锋寚瀹氳嚜宸辩殑閭欢鍦板潃 - // options.DefaultReceiveEmail = ""; - }); - } - - private void ConfigureCaching(IConfiguration configuration) - { - Configure(options => - { - // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 - options.KeyPrefix = "LINGYUN.Abp.Application"; - // 婊戝姩杩囨湡30澶 - options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); - // 缁濆杩囨湡60澶 - options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); - }); - - Configure(options => - { - options.AutoEventSelectors.AddNamespace("Volo.Abp.TenantManagement"); - }); - - Configure(options => - { - var redisConfig = ConfigurationOptions.Parse(options.Configuration); - options.ConfigurationOptions = redisConfig; - options.InstanceName = configuration["Redis:InstanceName"]; - }); - } - - private void ConfigureVirtualFileSystem() - { - Configure(options => - { - options.FileSets.AddEmbedded("LINGYUN.Abp.BackendAdmin"); - }); - } - - private void ConfigureMultiTenancy(IConfiguration configuration) - { - // 澶氱鎴 - Configure(options => - { - options.IsEnabled = true; - }); - - var tenantResolveCfg = configuration.GetSection("App:Domains"); - if (tenantResolveCfg.Exists()) - { - Configure(options => - { - var domains = tenantResolveCfg.Get(); - foreach (var domain in domains) - { - options.AddDomainTenantResolver(domain); - } - }); - } - } - - private void ConfigureAuditing(IConfiguration configuration) - { - Configure(options => - { - options.ApplicationName = "Backend-Admin"; - // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 - var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); - if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) - { - options - .EntityHistorySelectors - .AddAllEntities(); - } - }); - } - - private void ConfigureSwagger(IServiceCollection services) - { - // Swagger - services.AddSwaggerGen( - options => - { - options.SwaggerDoc("v1", new OpenApiInfo { Title = "BackendAdmin API", Version = "v1" }); - options.DocInclusionPredicate((docName, description) => true); - options.CustomSchemaIds(type => type.FullName); - options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme - { - Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", - Name = "Authorization", - In = ParameterLocation.Header, - Scheme = "bearer", - Type = SecuritySchemeType.Http, - BearerFormat = "JWT" - }); - options.AddSecurityRequirement(new OpenApiSecurityRequirement - { - { - new OpenApiSecurityScheme - { - Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } - }, - new string[] { } - } - }); - options.OperationFilter(); - }); - } - - private void ConfigureLocalization() - { - // 鏀寔鏈湴鍖栬瑷绫诲瀷 - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); - - options.Resources - .Get() - .AddVirtualJson("/Localization"); - options - .AddLanguagesMapOrUpdate( - "vue-admin-element-ui", - new NameValue("zh-Hans", "zh"), - new NameValue("en", "en")); - - // vben admin 璇█鏄犲皠 - options - .AddLanguagesMapOrUpdate( - "vben-admin-ui", - new NameValue("zh_CN", "zh-Hans")); - - options.Resources.AddDynamic(); - }); - - Configure(options => - { - var zhHansCultureMapInfo = new CultureMapInfo - { - TargetCulture = "zh-Hans", - SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } - }; - - options.CulturesMaps.Add(zhHansCultureMapInfo); - options.UiCulturesMaps.Add(zhHansCultureMapInfo); - }); - } - - private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) - { - services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) - .AddJwtBearer(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.Audience = configuration["AuthServer:ApiName"]; - }); - - if (!isDevelopment) - { - var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); - services - .AddDataProtection() - .SetApplicationName("LINGYUN.Abp.Application") - .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); - } - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Development.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Development.cs deleted file mode 100644 index 6db2e7402..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Development.cs +++ /dev/null @@ -1,17 +0,0 @@ -锘縰sing Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.Hosting; -using Volo.Abp; - -namespace LINGYUN.Abp.BackendAdmin -{ - public partial class BackendAdminHostModule - { - private void UseDevelopment(IApplicationBuilder app, ApplicationInitializationContext context) - { - if (context.GetEnvironment().IsDevelopment()) - { - app.UseProxyConnectTest(); - } - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Seeder.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Seeder.cs deleted file mode 100644 index 90f31107f..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.Seeder.cs +++ /dev/null @@ -1,23 +0,0 @@ -锘縰sing Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Volo.Abp; -using Volo.Abp.Data; -using Volo.Abp.Threading; - -namespace LINGYUN.Abp.BackendAdmin -{ - public partial class BackendAdminHostModule - { - private static void SeedData(ApplicationInitializationContext context) - { - if (context.GetEnvironment().IsDevelopment()) - { - AsyncHelper.RunSync(async () => - { - using var scope = context.ServiceProvider.CreateScope(); - await scope.ServiceProvider.GetRequiredService().SeedAsync(); - }); - } - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContext.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContext.cs deleted file mode 100644 index edaa221d3..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContext.cs +++ /dev/null @@ -1,28 +0,0 @@ -锘縰sing Microsoft.EntityFrameworkCore; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.FeatureManagement.EntityFrameworkCore; -using Volo.Abp.PermissionManagement.EntityFrameworkCore; -using Volo.Abp.SettingManagement.EntityFrameworkCore; -using Volo.Abp.TenantManagement.EntityFrameworkCore; - -namespace LINGYUN.Abp.BackendAdmin.EntityFrameworkCore -{ - public class BackendAdminHostMigrationsDbContext : AbpDbContext - { - public BackendAdminHostMigrationsDbContext(DbContextOptions options) - : base(options) - { - - } - - protected override void OnModelCreating(ModelBuilder modelBuilder) - { - base.OnModelCreating(modelBuilder); - - modelBuilder.ConfigureFeatureManagement(); - modelBuilder.ConfigureTenantManagement(); - modelBuilder.ConfigureSettingManagement(); - modelBuilder.ConfigurePermissionManagement(); - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs deleted file mode 100644 index a4fcc73e8..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs +++ /dev/null @@ -1,188 +0,0 @@ -锘縰sing LINGYUN.Abp.BackendAdmin.EntityFrameworkCore; -using LINGYUN.Abp.Data.DbMigrator; -using LINGYUN.Abp.MultiTenancy; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; -using System; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Volo.Abp.Authorization.Permissions; -using Volo.Abp.DependencyInjection; -using Volo.Abp.Domain.Entities.Events.Distributed; -using Volo.Abp.Domain.Repositories; -using Volo.Abp.EventBus.Distributed; -using Volo.Abp.Guids; -using Volo.Abp.MultiTenancy; -using Volo.Abp.PermissionManagement; -using Volo.Abp.TenantManagement; -using Volo.Abp.Uow; - -namespace LINGYUN.Abp.BackendAdmin.EventBus.Handlers -{ - public class TenantSynchronizer : - IDistributedEventHandler, - IDistributedEventHandler>, - ITransientDependency - { - protected ILogger Logger { get; } - protected ICurrentTenant CurrentTenant { get; } - protected IGuidGenerator GuidGenerator { get; } - protected IUnitOfWorkManager UnitOfWorkManager { get; } - protected IDbSchemaMigrator DbSchemaMigrator { get; } - protected IPermissionGrantRepository PermissionGrantRepository { get; } - protected IPermissionDefinitionManager PermissionDefinitionManager { get; } - public TenantSynchronizer( - ICurrentTenant currentTenant, - IGuidGenerator guidGenerator, - IUnitOfWorkManager unitOfWorkManager, - IDbSchemaMigrator dbSchemaMigrator, - IPermissionGrantRepository permissionGrantRepository, - IPermissionDefinitionManager permissionDefinitionManager, - ILogger logger) - { - CurrentTenant = currentTenant; - GuidGenerator = guidGenerator; - UnitOfWorkManager = unitOfWorkManager; - DbSchemaMigrator = dbSchemaMigrator; - PermissionGrantRepository = permissionGrantRepository; - PermissionDefinitionManager = permissionDefinitionManager; - - Logger = logger; - } - - public async Task HandleEventAsync(EntityDeletedEto eventData) - { - using var unitOfWork = UnitOfWorkManager.Begin(); - // 璁㈤槄绉熸埛鍒犻櫎浜嬩欢,鍒犻櫎绠$悊鍛樿鑹叉墍鏈夋潈闄 - // TODO: 绉熸埛璨屼技涓嶅瓨鍦ㄤ簡,鍒犻櫎搴旇浼氬け璐 - // 鏈夌紦瀛樺瓨鍦ㄧ殑璇,鍙互鑾峰彇鍒扮鎴疯繛鎺ュ瓧绗︿覆 - using (CurrentTenant.Change(eventData.Entity.Id)) - { - // var grantPermissions = await PermissionGrantRepository.GetListAsync("R", "admin"); - - // EfCore MySql 鎵归噺鍒犻櫎杩樻槸涓鏉′竴鏉$殑璇彞? - // PermissionGrantRepository.GetDbSet().RemoveRange(grantPermissions); - var dbContext = await PermissionGrantRepository.GetDbContextAsync(); - var permissionEntityType = dbContext.Model.FindEntityType(typeof(PermissionGrant)); - var permissionTableName = permissionEntityType.GetTableName(); - var batchRmovePermissionSql = string.Empty; - if (dbContext.Database.IsMySql()) - { - batchRmovePermissionSql = BuildMySqlBatchDeleteScript(permissionTableName, eventData.Entity.Id); - } - else - { - batchRmovePermissionSql = BuildSqlServerBatchDeleteScript(permissionTableName, eventData.Entity.Id); - } - - await dbContext.Database.ExecuteSqlRawAsync(batchRmovePermissionSql); - - await unitOfWork.SaveChangesAsync(); - } - } - - public async Task HandleEventAsync(CreateEventData eventData) - { - using (var unitOfWork = UnitOfWorkManager.Begin()) - { - // 璁㈤槄绉熸埛鏂板浜嬩欢,缃叆绠$悊鍛樿鑹叉墍鏈夋潈闄 - using (CurrentTenant.Change(eventData.Id, eventData.Name)) - { - Logger.LogInformation("Migrating the new tenant database with platform..."); - // 杩佺Щ绉熸埛鏁版嵁 - await DbSchemaMigrator.MigrateAsync( - (connectionString, builder) => - { - builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - - return new BackendAdminHostMigrationsDbContext(builder.Options); - }); - - Logger.LogInformation("Migrated the new tenant database with platform."); - - Logger.LogInformation("Seeding the new tenant admin role permissions..."); - var definitionPermissions = PermissionDefinitionManager.GetPermissions(); - var grantPermissions = definitionPermissions - .Where(p => p.MultiTenancySide.HasFlag(MultiTenancySides.Tenant)) - .Select(p => p.Name).ToArray(); - //var grantPermissions = new List(); - //foreach (var permission in definitionPermissions) - //{ - // var permissionGrant = new PermissionGrant(GuidGenerator.Create(), - // permission.Name, "R", "admin", eventData.Id); - // grantPermissions.Add(permissionGrant); - //} - // TODO: MySql 鎵归噺鏂板杩樻槸涓鏉′竴鏉$殑璇彞? - // await PermissionGrantRepository.GetDbSet().AddRangeAsync(grantPermissions); - - var dbContext = await PermissionGrantRepository.GetDbContextAsync(); - var permissionEntityType = dbContext.Model.FindEntityType(typeof(PermissionGrant)); - var permissionTableName = permissionEntityType.GetTableName(); - var batchInsertPermissionSql = string.Empty; - if (dbContext.Database.IsMySql()) - { - batchInsertPermissionSql = BuildMySqlBatchInsertScript(permissionTableName, eventData.Id, grantPermissions); - } - else - { - batchInsertPermissionSql = BuildSqlServerBatchInsertScript(permissionTableName, eventData.Id, grantPermissions); - } - await dbContext.Database.ExecuteSqlRawAsync(batchInsertPermissionSql); - - await unitOfWork.SaveChangesAsync(); - - Logger.LogInformation("The new tenant permissions data initialized!"); - } - } - } - - protected virtual string BuildMySqlBatchInsertScript(string tableName, Guid tenantId, string[] permissions) - { - var batchInsertPermissionSql = new StringBuilder(128); - batchInsertPermissionSql.AppendLine($"INSERT INTO `{tableName}`(`Id`, `TenantId`, `Name`, `ProviderName`, `ProviderKey`)"); - batchInsertPermissionSql.AppendLine("VALUES"); - for (int i = 0; i < permissions.Length; i++) - { - batchInsertPermissionSql.AppendLine($"(UUID(), '{tenantId}','{permissions[i]}','R','admin')"); - if (i < permissions.Length - 1) - { - batchInsertPermissionSql.AppendLine(","); - } - } - return batchInsertPermissionSql.ToString(); - } - - protected virtual string BuildSqlServerBatchInsertScript(string tableName, Guid tenantId, string[] permissions) - { - var batchInsertPermissionSql = new StringBuilder(128); - batchInsertPermissionSql.AppendLine($"INSERT INTO {tableName}(Id, TenantId, Name, ProviderName, ProviderKey)"); - batchInsertPermissionSql.Append("VALUES"); - for (int i = 0; i < permissions.Length; i++) - { - batchInsertPermissionSql.AppendLine($"(NEWID(), '{tenantId}','{permissions[i]}','R','admin')"); - if (i < permissions.Length - 1) - { - batchInsertPermissionSql.AppendLine(","); - } - } - return batchInsertPermissionSql.ToString(); - } - - protected virtual string BuildMySqlBatchDeleteScript(string tableName, Guid tenantId) - { - var batchRemovePermissionSql = new StringBuilder(128); - batchRemovePermissionSql.AppendLine($"DELETE FROM `{tableName}` WHERE `TenantId` = '{tenantId}'"); - batchRemovePermissionSql.AppendLine("AND `ProviderName`='R' AND `ProviderKey`='admin'"); - return batchRemovePermissionSql.ToString(); - } - - protected virtual string BuildSqlServerBatchDeleteScript(string tableName, Guid tenantId) - { - var batchRemovePermissionSql = new StringBuilder(128); - batchRemovePermissionSql.AppendLine($"DELETE {tableName} WHERE TenantId = '{tenantId}'"); - batchRemovePermissionSql.AppendLine("AND ProviderName='R' AND ProviderKey='admin'"); - return batchRemovePermissionSql.ToString(); - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/FodyWeavers.xsd b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/FodyWeavers.xsd deleted file mode 100644 index 11da52550..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/FodyWeavers.xsd +++ /dev/null @@ -1,30 +0,0 @@ -锘 - - - - - - - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Program.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Program.cs deleted file mode 100644 index a090df75c..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Program.cs +++ /dev/null @@ -1,51 +0,0 @@ -锘縰sing Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Serilog; -using System; -using System.IO; - -namespace LINGYUN.Abp.BackendAdmin -{ - public class Program - { - public static int Main(string[] args) - { - try - { - Log.Information("Starting BackendAdmin.Host."); - CreateHostBuilder(args).Build().Run(); - return 0; - } - catch (Exception ex) - { - Log.Fatal(ex, "Host terminated unexpectedly!"); - return 1; - } - finally - { - Log.CloseAndFlush(); - } - } - - internal static IHostBuilder CreateHostBuilder(string[] args) => - Microsoft.Extensions.Hosting.Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }) - .ConfigureAppConfiguration((context, config) => - { - var configuration = config.Build(); - if (configuration.GetSection("AgileConfig").Exists()) - { - config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); - } - }) - .UseSerilog((context, provider, config) => - { - config.ReadFrom.Configuration(context.Configuration); - }) - .UseAutofac(); - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Properties/launchSettings.json deleted file mode 100644 index 7a6916353..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Properties/launchSettings.json +++ /dev/null @@ -1,20 +0,0 @@ -锘縶 - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:54521", - "sslPort": 0 - } - }, - "profiles": { - "LINGYUN.Abp.BackendAdminApp.Host": { - "commandName": "Project", - "launchBrowser": false, - "applicationUrl": "http://0.0.0.0:30010", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs deleted file mode 100644 index 8966ded0a..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Settings/AccountSettingDefinitionProvider.cs +++ /dev/null @@ -1,35 +0,0 @@ -锘縰sing Volo.Abp.Account.Localization; -using Volo.Abp.Account.Settings; -using Volo.Abp.Localization; -using Volo.Abp.Settings; - -namespace LINGYUN.Abp.BackendAdmin.Settings -{ - // 鍚庡彴绠$悊椤圭洰涓嶅紩鐢 Volo.Abp.Account.Application妯″潡,鍙兘鑷缓涓涓厤缃 - public class AccountSettingDefinitionProvider : SettingDefinitionProvider - { - public override void Define(ISettingDefinitionContext context) - { - context.Add( - new SettingDefinition( - AccountSettingNames.IsSelfRegistrationEnabled, - "true", - L("DisplayName:Abp.Account.IsSelfRegistrationEnabled"), - L("Description:Abp.Account.IsSelfRegistrationEnabled"), isVisibleToClients: true) - ); - - context.Add( - new SettingDefinition( - AccountSettingNames.EnableLocalLogin, - "true", - L("DisplayName:Abp.Account.EnableLocalLogin"), - L("Description:Abp.Account.EnableLocalLogin"), isVisibleToClients: true) - ); - } - - private static LocalizableString L(string name) - { - return LocalizableString.Create(name); - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Startup.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Startup.cs deleted file mode 100644 index e1edd53ec..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Startup.cs +++ /dev/null @@ -1,31 +0,0 @@ -锘縰sing Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using System.IO; -using Volo.Abp.IO; -using Volo.Abp.Modularity.PlugIns; - -namespace LINGYUN.Abp.BackendAdmin -{ - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - services.AddApplication(options => - { - // 鎼滅储 Modules 鐩綍涓嬫墍鏈夋枃浠朵綔涓烘彃浠 - // 鍙栨秷鏄剧ず寮曠敤鎵鏈夊叾浠栭」鐩殑妯″潡锛屾敼涓洪氳繃鎻掍欢鐨勫舰寮忓紩鐢 - var pluginFolder = Path.Combine( - Directory.GetCurrentDirectory(), "Modules"); - DirectoryHelper.CreateIfNotExists(pluginFolder); - options.PlugInSources.AddFolder( - pluginFolder, - SearchOption.AllDirectories); - }); - } - - public void Configure(IApplicationBuilder app) - { - app.InitializeApplication(); - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs deleted file mode 100644 index 7d1fa87ca..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/TenantHeaderParamter.cs +++ /dev/null @@ -1,33 +0,0 @@ -锘縰sing Microsoft.Extensions.Options; -using Microsoft.OpenApi.Models; -using Swashbuckle.AspNetCore.SwaggerGen; -using System.Collections.Generic; -using Volo.Abp.MultiTenancy; - -namespace LINGYUN.Abp.BackendAdmin -{ - public class TenantHeaderParamter : IOperationFilter - { - private readonly AbpMultiTenancyOptions _options; - public TenantHeaderParamter( - IOptions options) - { - _options = options.Value; - } - - public void Apply(OpenApiOperation operation, OperationFilterContext context) - { - if (_options.IsEnabled) - { - operation.Parameters = operation.Parameters ?? new List(); - operation.Parameters.Add(new OpenApiParameter - { - Name = TenantResolverConsts.DefaultTenantKey, - In = ParameterLocation.Header, - Description = "Tenant Id in http header", - Required = false - }); - } - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddleware.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddleware.cs deleted file mode 100644 index c69b7874f..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddleware.cs +++ /dev/null @@ -1,44 +0,0 @@ -锘縰sing Microsoft.AspNetCore.Http; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace LINGYUN.Abp.BackendAdmin.Tests -{ - public class ProxyConnectTestMiddleware - { - private readonly RequestDelegate _next; - public ProxyConnectTestMiddleware(RequestDelegate next) - { - _next = next; - } - - public async Task Invoke(HttpContext context) - { - if (context.Request.Path.StartsWithSegments("/api/connect")) - { - var contentBuilder = new StringBuilder(); - - contentBuilder.AppendLine("Connection:"); - contentBuilder.AppendLine($"Id: {context.Connection.Id}"); - contentBuilder.AppendLine($"LocalIpAddress: {context.Connection.LocalIpAddress}:{context.Connection.LocalPort}"); - contentBuilder.AppendLine($"RemoteIpAddress: {context.Connection.RemoteIpAddress}:{context.Connection.RemotePort}"); - contentBuilder.AppendLine(); - contentBuilder.AppendLine("Headers:"); - contentBuilder.Append(context.Request.Headers.Select(h => $"Key:{h.Key}, Value:{h.Value}").JoinAsString(Environment.NewLine)); - contentBuilder.AppendLine(); - contentBuilder.AppendLine(); - contentBuilder.AppendLine("Host:"); - contentBuilder.AppendLine(context.Request.Host.ToUriComponent()); - contentBuilder.AppendLine(); - contentBuilder.AppendLine("Scheme:"); - contentBuilder.AppendLine(context.Request.Scheme); - await context.Response.WriteAsync(contentBuilder.ToString()); - return; - } - await _next(context); - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddlewareExtensions.cs b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddlewareExtensions.cs deleted file mode 100644 index 941957760..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Tests/ProxyConnectTestMiddlewareExtensions.cs +++ /dev/null @@ -1,12 +0,0 @@ -锘縰sing LINGYUN.Abp.BackendAdmin.Tests; - -namespace Microsoft.AspNetCore.Builder -{ - public static class ProxyConnectTestMiddlewareExtensions - { - public static IApplicationBuilder UseProxyConnectTest(this IApplicationBuilder app) - { - return app.UseMiddleware(); - } - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.Development.json deleted file mode 100644 index 909453a8c..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.Development.json +++ /dev/null @@ -1,100 +0,0 @@ -锘縶 - "AgileConfig": { - "env": "DEV", - "appId": "LINGYUN.Abp.Backend.Admin", - "secret": "1q2w3E*", - "nodes": "http://localhost:5000", - "name": "BackendAdmin", - "tag": "BackendAdmin" - }, - "App": { - "TrackingEntitiesChanged": true, - "Forwarded": { - "ForwardedHeaders": 5, - "KnownProxies": [ - "localhost" - ] - } - }, - "ConnectionStrings": { - "Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpTenantManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "CAP": { - "EventBus": { - "DefaultGroupName": "BackendAdmin", - "Version": "v1", - "FailedRetryInterval": 300, - "FailedRetryCount": 10 - }, - "MySql": { - "TableNamePrefix": "admin", - "ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "RabbitMQ": { - "HostName": "localhost", - "Port": 5672, - "UserName": "guest", - "Password": "guest", - "ExchangeName": "LINGYUN.Abp.Application", - "VirtualHost": "/" - } - }, - "Redis": { - "Configuration": "localhost,defaultDatabase=10", - "InstanceName": "LINGYUN.Abp.Application" - }, - "AuthServer": { - "Authority": "http://localhost:44385/", - "ApiName": "lingyun-abp-application" - }, - "Logging": { - "Serilog": { - "Elasticsearch": { - "IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}" - } - } - }, - "AuditLogging": { - "Elasticsearch": { - "IndexPrefix": "abp.dev.auditing" - } - }, - "Elasticsearch": { - "NodeUris": "http://localhost:9200" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Debug" - } - }, - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "Elasticsearch", - "Args": { - "nodeUris": "http://localhost:9200", - "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", - "autoRegisterTemplate": true, - "autoRegisterTemplateVersion": "ESv7" - } - } - ] - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.json b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.json deleted file mode 100644 index 4764de687..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "StringEncryption": { - "DefaultPassPhrase": "s46c5q55nxpeS8Ra", - "InitVectorBytes": "s83ng0abvd02js84", - "DefaultSalt": "sf&5)s3#" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Information", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Information" - } - }, - "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName" ], - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Debug-.log", - "restrictedToMinimumLevel": "Debug", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Info-.log", - "restrictedToMinimumLevel": "Information", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Warn-.log", - "restrictedToMinimumLevel": "Warning", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Error-.log", - "restrictedToMinimumLevel": "Error", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Fatal-.log", - "restrictedToMinimumLevel": "Fatal", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - } - ] - } -} diff --git a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/tempkey.rsa b/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/tempkey.rsa deleted file mode 100644 index 8679359d2..000000000 --- a/aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/tempkey.rsa +++ /dev/null @@ -1 +0,0 @@ -{"KeyId":"UADq2_DSLpd3I00K3XOjqg","Parameters":{"D":"Byaqj2nCKV84tk4UcqS+s/X8aHpltuzywIOgB5ZIHEPPpYOyY053IA7Xs3CQFTo0/kRlcEmhOu4X4ctYbcDCNeUia2BEKQ3P7FQe/A8c+qkjAl7agTVoFlfwjtK/7z6rIi2WGLYMGL7oR7AjPUNDB7lTmmN5RDpPM+uCyetFp3S8cjimWiPi8miye6tpnNqYyNSah7rubTBNlgbjnZW0syfzm0zwY4ICh1vUHqYVk9yDfrSoco/j190z0Na6s0q4Kwbrz3zpAdGXWDnm1dAeJFIXwbTrv2eoAvFHSuh0/R3bldJOrorU/cE71+6TDwz6XCTCOa3+BEdu/ynDmSoV4Q==","DP":"hrKts8OotUvhGQfRyOFkyhJflqqqgy78YXZ5tOoyQsodZU4/cOfgLw7Ob9Buz305qHZEvb1SQhUCCgY52GDW7m9wTaldLNQ+g/9I4qVj5QtUxtH4xv4Ss3lmM2ZoAWD1vQJtTcUxFIcTlceuLp3FnuVWX05h3Pr7LuQOuC5rZ0c=","DQ":"C5df7OfbZyR5oRrLnjL6XpypKn3QnaQD3Sv5a7fJx9Y8wFFCC7w70raZtp9/7o9wWXMI38/6mGJ14XObZJDO7yjVOMg3X1SOAUkNd/Xxs67ibDCgcpWkW6mvDJwih2JH0emLUWHaIpmMjBWQbLQFCpkYE8SjCh69VcB1JKz8HTU=","Exponent":"AQAB","InverseQ":"XI07h975yuQgPyElSCIMCbNq+ZHX/7ue+YH+57OGRn83f+QWeJRaEOEtt0E0Y8D49yecdrZMntORCCD3/+HRpdUwX6ZXtSSuhnPiG4gV1/kqs1mNyg5HxDqwwUQje1HGnR8MvbTSkN6uIXwDSgHkrLjU3prlSSNQAVZxToDTNjk=","Modulus":"03z2iUdYKNL0n76zYEDZRAHkGNCoWuDFe6dXPqZRn2nPK9K0GfnPxYqZrccbeGiwkxs6w9H3SO7D6jE9H48+sHG2H7uOejh9Az1hD33PORT8tVsiM76ISfApcg6kvF93UWljnZcysN3sbgbOt71+CNIsykpbdcjx7sEBjS08YyvczNKmsSZZjEb6gnmQFwvN3Ih9PUIQYd+QqWbNWEuFYTvLIpIX7I3lAe9qBKWgg4wER+aLgiJ5YHxD0p3QXGJGsFmjp9zh2SKa6b/Y5jRwkAop5PAYZHW8lIkIaH9DYBk0D4b2wPifQQTL5QPTpdUrBXVNrSL5HftcB4TkDL/qVQ==","P":"12DITugP/tRWZhNxOTahc+ZNZJqhZIY72dFpu5T9if4dahvse4oPPuvENK7mr1jeCgfKNePOWp+IeQWaC8WCXaP9gi5MucLsdUiwWIfmu1vxzD0h1whGHQtCYUb0rMRj2LOyLXK5M3+PdFzJ4Zt0i80kNh55h0W5S7oBloOfhjM=","Q":"+2Bch4Vc7dx8fb+uFTp/4Wvnh/YZB1a0B3DjAJxWCSaCVY9dGRk08Mmmpcy2ItkcB73IVMjNX3mrR8rfUNUX4tbcuiZNjtGFfiQmtu2scTmc+lQWotMDVGB2c9EqfBZL6xthqrWU9lDpmtz46CYZS+nc1TI3zgBK7ViD6HX8dVc="}} \ No newline at end of file diff --git a/aspnet-core/services/cleanup-logs.bat b/aspnet-core/services/cleanup-logs.bat deleted file mode 100644 index c114674d4..000000000 --- a/aspnet-core/services/cleanup-logs.bat +++ /dev/null @@ -1,13 +0,0 @@ -@echo off -cls -chcp 65001 - -echo. 娓呯悊鎵鏈夋湇鍔℃棩蹇 - -del .\platform\LINGYUN.Platform.HttpApi.Host\Logs /Q -del .\account\AuthServer.Host\Logs /Q -del .\identity-server\LINGYUN.Abp.IdentityServer4.HttpApi.Host\Logs /Q -del .\messages\LINGYUN.Abp.MessageService.HttpApi.Host\Logs /Q -del .\admin\LINGYUN.Abp.BackendAdmin.HttpApi.Host\Logs /Q -del .\localization\LINGYUN.Abp.LocalizationManagement.HttpApi.Host\Logs /Q - diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Configure.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Configure.cs deleted file mode 100644 index 275f0e929..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Configure.cs +++ /dev/null @@ -1,274 +0,0 @@ -锘縰sing DotNetCore.CAP; -using LINGYUN.Abp.ExceptionHandling; -using LINGYUN.Abp.ExceptionHandling.Emailing; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using Microsoft.AspNetCore.Authentication.JwtBearer; -using Microsoft.AspNetCore.DataProtection; -using Microsoft.AspNetCore.Identity; -using Microsoft.Extensions.Caching.StackExchangeRedis; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.OpenApi.Models; -using StackExchange.Redis; -using System; -using System.Text.Encodings.Web; -using System.Text.Unicode; -using Volo.Abp; -using Volo.Abp.Auditing; -using Volo.Abp.Authorization.Permissions; -using Volo.Abp.Caching; -using Volo.Abp.Domain.Entities.Events.Distributed; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.Identity.Localization; -using Volo.Abp.Json; -using Volo.Abp.Json.SystemTextJson; -using Volo.Abp.Localization; -using Volo.Abp.MultiTenancy; -using Volo.Abp.PermissionManagement; -using Volo.Abp.VirtualFileSystem; - -namespace LINGYUN.Abp.IdentityServer4 -{ - public partial class AbpIdentityServerAdminHttpApiHostModule - { - private void PreConfigureApp() - { - AbpSerilogEnrichersConsts.ApplicationName = "Identity-Server-Admin"; - } - - private void PreConfigureCAP(IConfiguration configuration) - { - PreConfigure(options => - { - options - .UseMySql(mySqlOptions => - { - configuration.GetSection("CAP:MySql").Bind(mySqlOptions); - }) - .UseRabbitMQ(rabbitMQOptions => - { - configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); - }) - .UseDashboard(); - }); - } - - private void PreConfigureIdentity() - { - PreConfigure(builder => - { - builder.AddDefaultTokenProviders(); - }); - } - - private void ConfigureDbContext() - { - // 閰嶇疆Ef - Configure(options => - { - options.UseMySQL(); - }); - } - - private void ConfigureJsonSerializer() - { - // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 - Configure(options => - { - options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; - }); - // 涓枃搴忓垪鍖栫殑缂栫爜闂 - Configure(options => - { - options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); - }); - } - - private void ConfigurePermissionManagement() - { - Configure(options => - { - // Rename IdentityServer.Client.ManagePermissions - // See https://github.com/abpframework/abp/blob/dev/modules/identityserver/src/Volo.Abp.PermissionManagement.Domain.IdentityServer/Volo/Abp/PermissionManagement/IdentityServer/AbpPermissionManagementDomainIdentityServerModule.cs - options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = - LINGYUN.Abp.IdentityServer.AbpIdentityServerPermissions.Clients.ManagePermissions; - }); - } - - private void ConfigreExceptionHandling() - { - // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 - Configure(options => - { - // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - }); - // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 - Configure(options => - { - // 鏄惁鍙戦佸爢鏍堜俊鎭 - options.SendStackTrace = true; - }); - } - - private void ConfigureAuditing(IConfiguration configuration) - { - Configure(options => - { - options.ApplicationName = "Identity-Server-Admin"; - // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 - var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); - if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) - { - options - .EntityHistorySelectors - .AddAllEntities(); - } - }); - } - - private void ConfigureCaching(IConfiguration configuration) - { - Configure(options => - { - // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 - options.KeyPrefix = "LINGYUN.Abp.Application"; - // 婊戝姩杩囨湡30澶 - options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); - // 缁濆杩囨湡60澶 - options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); - }); - - Configure(options => - { - options.AutoEventSelectors.AddNamespace("Volo.Abp.Identity"); - options.AutoEventSelectors.AddNamespace("Volo.Abp.IdentityServer"); - }); - - Configure(options => - { - var redisConfig = ConfigurationOptions.Parse(options.Configuration); - options.ConfigurationOptions = redisConfig; - options.InstanceName = configuration["Redis:InstanceName"]; - }); - } - - private void ConfigureVirtualFileSystem() - { - Configure(options => - { - options.FileSets.AddEmbedded("LINGYUN.Abp.IdentityServer4"); - }); - } - - private void ConfigureMultiTenancy(IConfiguration configuration) - { - // 澶氱鎴 - Configure(options => - { - options.IsEnabled = true; - }); - - var tenantResolveCfg = configuration.GetSection("App:Domains"); - if (tenantResolveCfg.Exists()) - { - Configure(options => - { - var domains = tenantResolveCfg.Get(); - foreach (var domain in domains) - { - options.AddDomainTenantResolver(domain); - } - }); - } - } - - private void ConfigureSwagger(IServiceCollection services) - { - // Swagger - services.AddSwaggerGen( - options => - { - options.SwaggerDoc("v1", new OpenApiInfo { Title = "IdentityServer4 API", Version = "v1" }); - options.DocInclusionPredicate((docName, description) => true); - options.CustomSchemaIds(type => type.FullName); - options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme - { - Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", - Name = "Authorization", - In = ParameterLocation.Header, - Scheme = "bearer", - Type = SecuritySchemeType.Http, - BearerFormat = "JWT" - }); - options.AddSecurityRequirement(new OpenApiSecurityRequirement - { - { - new OpenApiSecurityScheme - { - Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } - }, - new string[] { } - } - }); - options.OperationFilter(); - }); - } - - private void ConfigureLocalization() - { - // 鏀寔鏈湴鍖栬瑷绫诲瀷 - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); - - options.Resources - .Get() - .AddVirtualJson("/LINGYUN/Abp/IdentityServer4/Localization"); - - options.Resources.AddDynamic(typeof(IdentityResource)); - }); - - Configure(options => - { - var zhHansCultureMapInfo = new CultureMapInfo - { - TargetCulture = "zh-Hans", - SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } - }; - - options.CulturesMaps.Add(zhHansCultureMapInfo); - options.UiCulturesMaps.Add(zhHansCultureMapInfo); - }); - } - - private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) - { - services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) - .AddJwtBearer(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.Audience = configuration["AuthServer:ApiName"]; - }); - - if (!isDevelopment) - { - var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); - services - .AddDataProtection() - .SetApplicationName("LINGYUN.Abp.Application") - .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); - } - } - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Seeder.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Seeder.cs deleted file mode 100644 index a4e456e83..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/AbpIdentityServerAdminHttpApiHostModule.Seeder.cs +++ /dev/null @@ -1,11 +0,0 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace LINGYUN.Abp.IdentityServer4 -{ - public partial class AbpIdentityServerAdminHttpApiHostModule - { - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/EmailConfirmed.tpl b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/EmailConfirmed.tpl deleted file mode 100644 index 157f51bb5..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/EmailConfirmed.tpl +++ /dev/null @@ -1,5 +0,0 @@ -锘
- {{L "EmailConfirmed" model.user}} -

{{model.code}}

- {{L "EmailConfirmedRemarks"}} -
\ No newline at end of file diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplateDefinitionProvider.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplateDefinitionProvider.cs deleted file mode 100644 index 4bda45557..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplateDefinitionProvider.cs +++ /dev/null @@ -1,26 +0,0 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Volo.Abp.Emailing.Templates; -using Volo.Abp.Localization; -using Volo.Abp.TextTemplating; -using Volo.Abp.Identity.Localization; - -namespace LINGYUN.Abp.IdentityServer4.Emailing.Templates -{ - public class IdentityEmailTemplateDefinitionProvider : TemplateDefinitionProvider - { - public override void Define(ITemplateDefinitionContext context) - { - context.Add( - new TemplateDefinition( - IdentityEmailTemplates.EmailConfirmed, - displayName: LocalizableString.Create($"TextTemplate:{IdentityEmailTemplates.EmailConfirmed}"), - layout: StandardEmailTemplates.Layout, - localizationResource: typeof(IdentityResource) - ).WithVirtualFilePath("/LINGYUN/Abp/IdentityServer4/Emailing/Templates/EmailConfirmed.tpl", true) - ); - } - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplates.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplates.cs deleted file mode 100644 index 3dab94dee..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Emailing/Templates/IdentityEmailTemplates.cs +++ /dev/null @@ -1,7 +0,0 @@ -锘縩amespace LINGYUN.Abp.IdentityServer4.Emailing.Templates -{ - public static class IdentityEmailTemplates - { - public const string EmailConfirmed = "Abp.Identity.EmailConfirmed"; - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/FodyWeavers.xsd b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/FodyWeavers.xsd deleted file mode 100644 index 11da52550..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/FodyWeavers.xsd +++ /dev/null @@ -1,30 +0,0 @@ -锘 - - - - - - - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Program.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Program.cs deleted file mode 100644 index c9b505ed7..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Program.cs +++ /dev/null @@ -1,53 +0,0 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Serilog; -using System; -using System.IO; - -namespace LINGYUN.Abp.IdentityServer4 -{ - public class Program - { - public static int Main(string[] args) - { - try - { - var hostBuilder = CreateHostBuilder(args).Build(); - Log.Information("Starting IdentityServer4Admin.Host."); - hostBuilder.Run(); - - return 0; - } - catch (Exception ex) - { - Log.Fatal(ex, "Host terminated unexpectedly!"); - return 1; - } - finally - { - Log.CloseAndFlush(); - } - } - - internal static IHostBuilder CreateHostBuilder(string[] args) => - Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }) - .ConfigureAppConfiguration((context, config) => - { - var configuration = config.Build(); - if (configuration.GetSection("AgileConfig").Exists()) - { - config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); - } - }) - .UseSerilog((context, provider, config) => - { - config.ReadFrom.Configuration(context.Configuration); - }) - .UseAutofac(); - } -} \ No newline at end of file diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Startup.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Startup.cs deleted file mode 100644 index d88b092f2..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/Startup.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using System.IO; -using Volo.Abp.IO; -using Volo.Abp.Modularity.PlugIns; - -namespace LINGYUN.Abp.IdentityServer4 -{ - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - services.AddApplication(options => - { - // 搜索 Modules 目录下所有文件作为插件 - // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 - var pluginFolder = Path.Combine( - Directory.GetCurrentDirectory(), "Modules"); - DirectoryHelper.CreateIfNotExists(pluginFolder); - options.PlugInSources.AddFolder( - pluginFolder, - SearchOption.AllDirectories); - }); - } - - public void Configure(IApplicationBuilder app) - { - app.InitializeApplication(); - } - } -} \ No newline at end of file diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/TenantHeaderParamter.cs deleted file mode 100644 index b74bafe9d..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/TenantHeaderParamter.cs +++ /dev/null @@ -1,33 +0,0 @@ -锘縰sing Microsoft.Extensions.Options; -using Microsoft.OpenApi.Models; -using Swashbuckle.AspNetCore.SwaggerGen; -using System.Collections.Generic; -using Volo.Abp.MultiTenancy; - -namespace LINGYUN.Abp.IdentityServer4 -{ - public class TenantHeaderParamter : IOperationFilter - { - private readonly AbpMultiTenancyOptions _options; - public TenantHeaderParamter( - IOptions options) - { - _options = options.Value; - } - - public void Apply(OpenApiOperation operation, OperationFilterContext context) - { - if (_options.IsEnabled) - { - operation.Parameters = operation.Parameters ?? new List(); - operation.Parameters.Add(new OpenApiParameter - { - Name = TenantResolverConsts.DefaultTenantKey, - In = ParameterLocation.Header, - Description = "Tenant Id in http header", - Required = false - }); - } - } - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/UserSecurityCodeSender.cs b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/UserSecurityCodeSender.cs deleted file mode 100644 index 7199a80f7..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/UserSecurityCodeSender.cs +++ /dev/null @@ -1,66 +0,0 @@ -锘縰sing LINGYUN.Abp.Identity; -using LINGYUN.Abp.IdentityServer4.Emailing.Templates; -using Microsoft.Extensions.Localization; -using System.Threading; -using System.Threading.Tasks; -using Volo.Abp; -using Volo.Abp.DependencyInjection; -using Volo.Abp.Emailing; -using Volo.Abp.Identity.Localization; -using Volo.Abp.Sms; -using Volo.Abp.TextTemplating; - -namespace LINGYUN.Abp.IdentityServer4 -{ - public class UserSecurityCodeSender : IUserSecurityCodeSender, ITransientDependency - { - protected IEmailSender EmailSender { get; } - protected ITemplateRenderer TemplateRenderer { get; } - protected IStringLocalizer Localizer { get; } - - protected ISmsSender SmsSender { get; } - - public UserSecurityCodeSender( - ISmsSender smsSender, - IEmailSender emailSender, - ITemplateRenderer templateRenderer, - IStringLocalizer localizer) - { - SmsSender = smsSender; - EmailSender = emailSender; - TemplateRenderer = templateRenderer; - Localizer = localizer; - } - - public virtual async Task SendEmailConfirmedCodeAsync( - string userName, - string email, - string token, - CancellationToken cancellation = default) - { - var emailContent = await TemplateRenderer.RenderAsync( - IdentityEmailTemplates.EmailConfirmed, - new { user = userName, code = token }); - - await EmailSender.SendAsync( - email, - Localizer["EmailConfirmed"], - emailContent); - } - - public virtual async Task SendPhoneConfirmedCodeAsync( - string phone, - string token, - string template, - CancellationToken cancellation = default) - { - Check.NotNullOrWhiteSpace(template, nameof(template)); - - var smsMessage = new SmsMessage(phone, token); - smsMessage.Properties.Add("code", token); - smsMessage.Properties.Add("TemplateCode", template); - - await SmsSender.SendAsync(smsMessage); - } - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.Development.json deleted file mode 100644 index 12b6c9a93..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.Development.json +++ /dev/null @@ -1,89 +0,0 @@ -锘縶 - "AgileConfig": { - "env": "DEV", - "appId": "LINGYUN.Abp.IdentityServer.Admin", - "secret": "1q2w3E*", - "nodes": "http://localhost:5000", - "name": "IdentityServer.Admin", - "tag": "IdentityServer.Admin" - }, - "App": { - "TrackingEntitiesChanged": true, - "SelfUrl": "http://localhost:30015/", - "CorsOrigins": "http://localhost:4200,http://localhost:9527,http://localhost:3100" - }, - "ConnectionStrings": { - "Default": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpIdentityServer": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456", - "AbpTenantManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "CAP": { - "EventBus": { - "DefaultGroupName": "IdentityServer4Admin", - "Version": "v1", - "FailedRetryInterval": 300, - "FailedRetryCount": 10 - }, - "MySql": { - "TableNamePrefix": "ida", - "ConnectionString": "Server=localhost;Database=IdentityServer;User Id=root;Password=123456" - }, - "RabbitMQ": { - "HostName": "localhost", - "Port": 5672, - "UserName": "guest", - "Password": "guest", - "ExchangeName": "LINGYUN.Abp.Application", - "VirtualHost": "/" - } - }, - "Redis": { - "Configuration": "localhost,defaultDatabase=10", - "InstanceName": "LINGYUN.Abp.Application" - }, - "AuthServer": { - "Authority": "http://localhost:44385/", - "ApiName": "lingyun-abp-application" - }, - "AuditLogging": { - "Elasticsearch": { - "IndexPrefix": "abp.dev.auditing" - } - }, - "Elasticsearch": { - "NodeUris": "http://localhost:9200" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Debug" - } - }, - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "Elasticsearch", - "Args": { - "nodeUris": "http://localhost:9200", - "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", - "autoRegisterTemplate": true, - "autoRegisterTemplateVersion": "ESv7" - } - } - ] - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.json b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.json deleted file mode 100644 index 3be84adf2..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/appsettings.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "StringEncryption": { - "DefaultPassPhrase": "s46c5q55nxpeS8Ra", - "InitVectorBytes": "s83ng0abvd02js84", - "DefaultSalt": "sf&5)s3#" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Debug" - } - }, - "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName" ], - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Debug-.log", - "restrictedToMinimumLevel": "Debug", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Info-.log", - "restrictedToMinimumLevel": "Information", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Warn-.log", - "restrictedToMinimumLevel": "Warning", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Error-.log", - "restrictedToMinimumLevel": "Error", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Fatal-.log", - "restrictedToMinimumLevel": "Fatal", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - } - ] - } -} diff --git a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/tempkey.rsa b/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/tempkey.rsa deleted file mode 100644 index 49ab7cf33..000000000 --- a/aspnet-core/services/identity-server/LINGYUN.Abp.IdentityServer4.HttpApi.Host/tempkey.rsa +++ /dev/null @@ -1,13 +0,0 @@ -{ - "KeyId": "WBePHfNIPJEdK9_wDHgwHw", - "Parameters": { - "D": "JoNvJBY96ydVWv2QExeI5as8LaHrmNhKU3cpmNO8dPz6WO9gp/xu/ZrIhI3fjng1HAjncRw5zSuYEfBDGzoFm0kv824PPi8Kq6agfMLMMcurnWODMpN/zoBfwm+r1j/BxICM5bQGSXrxsLIDYvl78vKbsPtaQ0yHRgCtWmaNu0766Z9M8ngFdzPzqnQG/HUfxTxAXmRq22X55ypTo/Y2jz2AFMpREdt05orw8VH9lSWvCOkIAye2AxemV+xSK4CewPY3U5aGS6C56AM21qgV2F6sdLt01mNUYchYHVnYmiuvqp4ZCjWpB2OsyA15pFrLDDmKNtsdOUZV+Abk6zktLQ==", - "DP": "Pm4aDwjAxrV+tf8OKdGfB2Ly2zJMiAqV1CmSHAJQZ9jw0YK95pmBSdq54gcRNWn0XNWZED7HqHChVu/IQQvLksawL4Z14ohZHzbJyYYQdJRPnI4dD3We7ImWqC7g/lWIICN3s1AI7O4nlrziLfPgauez+i38ozIMAwUPNDgzlyE=", - "DQ": "uBMwsrKIc+fHDioufSpTHExf05uBzhd/ONk3eKEbs8AsyJNUN+NUmsRcG9a/ue8w4MrSFdvkX67kTKeWkKQo9VRa08Q7rw2FZrZPWlKmbwbV3x+Ax37xmeNp1kU4E4+xymM8E6/AIagQ9H11Cu2avGjptv1M/Qoq9vk7Tp/LZwM=", - "Exponent": "AQAB", - "InverseQ": "MUjlKBUoLNgvJqFDZlvDIfr/XsLcwq+omsoiA8v6JCLzqWd9WujW6JqfBZ20mH7ZpXRx0lGD3uSMZ6cNPFFHkoBEjmvn427DMt68Gb8HITjictIayfjZ2QcgEApyKPm3QWLTDhDCoMLad0rL3NozDrxioMYh07F5bMqQ1uXNcIU=", - "Modulus": "wXz7GqhMe+TFd4LHM0VVLH219GJhqnmJgNLxk2zDjS+xnlf82P0OTpJSXsERGXzIfMWlfh6NrRhCrKlrCntgDDjRNT27W9P6yyNEiTMZ22DVsOWJyNR2BWFwrfB2fYx9whJbTC4oBiWfjwlIsD52gB5uKcf6KisvUyXDqBS51xWW9JXtGgkKzCe6tPdP+aJXm8kcyVNKkQqXyd6S7hmfFx/PfHARqmRVFxqLJQh+ahIVKdGj2hbhXGExziihCQnIgR+PuARlK6PLIT8OnfnsxlL38IwuCn1NlFMcfBzUHVYB4d2hFAMqphR2eHvlNM680kKvvsZGWI/jfh6xIVWHnQ==", - "P": "8mLjkOg3j0LP4tj+69tAMoCE8j81Di6OqV0IF5rCRv8pKsLXnlKfO2PJmKTPqJI52shHbcxvPrr97k2jE3lGlzUvp4g2AW3bOzTK3Q45q6DxdDJgDd83mbqmPrBOVcF+RB5zXQ3GM8rtY8xzLq5xiyn2Uog7d9nkK+/GobhK+E8=", - "Q": "zFsE3pVflX7B5VpWcS3TWn9UnoHILZdvF1HPf9BZ8aU8+I37elhoPhqLJMX87Iu8b7Vas7lkp2wxVKmBBJY+HVjKrINKjiqPmg4RbVH+nGPz734Kp6imLjTB4th3EWJfOy1BBaHnku2B2hmrnvWWItIvT7ks3PhPsYs59RyBGlM=" - } -} \ No newline at end of file diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Configure.cs b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Configure.cs deleted file mode 100644 index 5848420e0..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Configure.cs +++ /dev/null @@ -1,228 +0,0 @@ -锘縰sing DotNetCore.CAP; -using LINGYUN.Abp.ExceptionHandling; -using LINGYUN.Abp.ExceptionHandling.Emailing; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using Microsoft.AspNetCore.Authentication.JwtBearer; -using Microsoft.AspNetCore.DataProtection; -using Microsoft.Extensions.Caching.StackExchangeRedis; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.OpenApi.Models; -using StackExchange.Redis; -using System; -using System.Text.Encodings.Web; -using System.Text.Unicode; -using Volo.Abp; -using Volo.Abp.Auditing; -using Volo.Abp.Caching; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.Json; -using Volo.Abp.Json.SystemTextJson; -using Volo.Abp.Localization; -using Volo.Abp.MultiTenancy; -using Volo.Abp.VirtualFileSystem; - - -namespace LINGYUN.Abp.LocalizationManagement -{ - public partial class AbpLocalizationManagementHttpApiHostModule - { - private void PreConfigureApp() - { - AbpSerilogEnrichersConsts.ApplicationName = "Localization"; - } - - private void PreConfigureCAP(IConfiguration configuration) - { - PreConfigure(options => - { - options - .UseMySql(mySqlOptions => - { - configuration.GetSection("CAP:MySql").Bind(mySqlOptions); - }) - .UseRabbitMQ(rabbitMQOptions => - { - configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); - }) - .UseDashboard(); - }); - } - - private void ConfigureDbContext() - { - // 閰嶇疆Ef - Configure(options => - { - options.UseMySQL(); - }); - } - - private void ConfigureJsonSerializer() - { - // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 - Configure(options => - { - options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; - }); - // 涓枃搴忓垪鍖栫殑缂栫爜闂 - Configure(options => - { - options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); - }); - } - - private void ConfigreExceptionHandling() - { - // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 - Configure(options => - { - // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - }); - // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 - Configure(options => - { - // 鏄惁鍙戦佸爢鏍堜俊鎭 - options.SendStackTrace = true; - }); - } - - private void ConfigureAuditing(IConfiguration configuration) - { - Configure(options => - { - options.ApplicationName = "Localization"; - // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 - var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); - if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) - { - options - .EntityHistorySelectors - .AddAllEntities(); - } - }); - } - - private void ConfigureCaching(IConfiguration configuration) - { - Configure(options => - { - // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 - options.KeyPrefix = "LINGYUN.Abp.Application"; - // 婊戝姩杩囨湡30澶 - options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); - // 缁濆杩囨湡60澶 - options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); - }); - - Configure(options => - { - var redisConfig = ConfigurationOptions.Parse(options.Configuration); - options.ConfigurationOptions = redisConfig; - options.InstanceName = configuration["Redis:InstanceName"]; - }); - } - - private void ConfigureVirtualFileSystem() - { - Configure(options => - { - options.FileSets.AddEmbedded("LINGYUN.Abp.LocalizationManagement"); - }); - } - - private void ConfigureMultiTenancy(IConfiguration configuration) - { - // 澶氱鎴 - Configure(options => - { - options.IsEnabled = false; - }); - } - - private void ConfigureSwagger(IServiceCollection services) - { - // Swagger - services.AddSwaggerGen( - options => - { - options.SwaggerDoc("v1", new OpenApiInfo { Title = "Localization Management API", Version = "v1" }); - options.DocInclusionPredicate((docName, description) => true); - options.CustomSchemaIds(type => type.FullName); - options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme - { - Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", - Name = "Authorization", - In = ParameterLocation.Header, - Scheme = "bearer", - Type = SecuritySchemeType.Http, - BearerFormat = "JWT" - }); - options.AddSecurityRequirement(new OpenApiSecurityRequirement - { - { - new OpenApiSecurityScheme - { - Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } - }, - new string[] { } - } - }); - options.OperationFilter(); - }); - } - - private void ConfigureLocalization() - { - // 榛樿鏀寔鐨勬湰鍦板寲璇█绫诲瀷 - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); - - options.Resources.AddDynamic(); - }); - - Configure(options => - { - var zhHansCultureMapInfo = new CultureMapInfo - { - TargetCulture = "zh-Hans", - SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } - }; - - options.CulturesMaps.Add(zhHansCultureMapInfo); - options.UiCulturesMaps.Add(zhHansCultureMapInfo); - }); - } - - private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) - { - services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) - .AddJwtBearer(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.Audience = configuration["AuthServer:ApiName"]; - }); - - if (!isDevelopment) - { - var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); - services - .AddDataProtection() - .SetApplicationName("LINGYUN.Abp.Application") - .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); - } - } - } -} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Seeder.cs b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Seeder.cs deleted file mode 100644 index 52d1f6674..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/AbpLocalizationManagementHttpApiHostModule.Seeder.cs +++ /dev/null @@ -1,21 +0,0 @@ -锘縰sing Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Volo.Abp; -using Volo.Abp.Data; -using Volo.Abp.Threading; - -namespace LINGYUN.Abp.LocalizationManagement -{ - public partial class AbpLocalizationManagementHttpApiHostModule - { - private void SeedData(ApplicationInitializationContext context) - { - if (context.GetEnvironment().IsDevelopment()) - { - AsyncHelper.RunSync(async () => - await context.ServiceProvider.GetRequiredService() - .SeedAsync()); - } - } - } -} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContext.cs b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContext.cs deleted file mode 100644 index 54702aa01..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/EntityFrameworkCore/LocalizationManagementHttpApiHostMigrationsDbContext.cs +++ /dev/null @@ -1,22 +0,0 @@ -锘縰sing Microsoft.EntityFrameworkCore; -using Volo.Abp.EntityFrameworkCore; - -namespace LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore -{ - public class LocalizationManagementHttpApiHostMigrationsDbContext : AbpDbContext - { - public LocalizationManagementHttpApiHostMigrationsDbContext( - DbContextOptions options) - : base(options) - { - - } - - protected override void OnModelCreating(ModelBuilder modelBuilder) - { - base.OnModelCreating(modelBuilder); - - modelBuilder.ConfigureLocalization(); - } - } -} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/FodyWeavers.xsd b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/FodyWeavers.xsd deleted file mode 100644 index 11da52550..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/FodyWeavers.xsd +++ /dev/null @@ -1,30 +0,0 @@ -锘 - - - - - - - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Program.cs b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Program.cs deleted file mode 100644 index ad6bbc884..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Program.cs +++ /dev/null @@ -1,53 +0,0 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Serilog; -using System; -using System.IO; - -namespace LINGYUN.Abp.LocalizationManagement -{ - public class Program - { - public static int Main(string[] args) - { - try - { - var hostBuilder = CreateHostBuilder(args).Build(); - Log.Information("Starting LocalizationManagement.Host."); - hostBuilder.Run(); - - return 0; - } - catch (Exception ex) - { - Log.Fatal(ex, "Host terminated unexpectedly!"); - return 1; - } - finally - { - Log.CloseAndFlush(); - } - } - - internal static IHostBuilder CreateHostBuilder(string[] args) => - Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }) - .ConfigureAppConfiguration((context, config) => - { - var configuration = config.Build(); - if (configuration.GetSection("AgileConfig").Exists()) - { - config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); - } - }) - .UseSerilog((context, provider, config) => - { - config.ReadFrom.Configuration(context.Configuration); - }) - .UseAutofac(); - } -} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Startup.cs b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Startup.cs deleted file mode 100644 index dcc2112fe..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/Startup.cs +++ /dev/null @@ -1,38 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Http; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Volo.Abp.IO; -using Volo.Abp.Modularity.PlugIns; - -namespace LINGYUN.Abp.LocalizationManagement -{ - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - services.AddApplication(options => - { - // 搜索 Modules 目录下所有文件作为插件 - // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 - var pluginFolder = Path.Combine( - Directory.GetCurrentDirectory(), "Modules"); - DirectoryHelper.CreateIfNotExists(pluginFolder); - options.PlugInSources.AddFolder( - pluginFolder, - SearchOption.AllDirectories); - }); - } - - public void Configure(IApplicationBuilder app) - { - app.InitializeApplication(); - } - } -} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.Development.json deleted file mode 100644 index 5cf6b2c22..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.Development.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "AgileConfig": { - "env": "DEV", - "appId": "LINGYUN.Abp.Localization", - "secret": "1q2w3E*", - "nodes": "http://localhost:5000", - "name": "Localization", - "tag": "Localization" - }, - "App": { - "TrackingEntitiesChanged": true - }, - "ConnectionStrings": { - "Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpTenantManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "CAP": { - "EventBus": { - "DefaultGroupName": "Localization-Management", - "Version": "v1", - "FailedRetryInterval": 300, - "FailedRetryCount": 10 - }, - "MySql": { - "TableNamePrefix": "lta", - "ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "RabbitMQ": { - "HostName": "localhost", - "Port": 5672, - "UserName": "guest", - "Password": "guest", - "ExchangeName": "LINGYUN.Abp.Application", - "VirtualHost": "/" - } - }, - "Redis": { - "Configuration": "localhost,defaultDatabase=10", - "InstanceName": "LINGYUN.Abp.Application" - }, - "AuthServer": { - "Authority": "http://localhost:44385/", - "ApiName": "lingyun-abp-application" - }, - "AuditLogging": { - "Elasticsearch": { - "IndexPrefix": "abp.dev.auditing" - } - }, - "Elasticsearch": { - "NodeUris": "http://localhost:9200" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Debug" - } - }, - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "Elasticsearch", - "Args": { - "nodeUris": "http://localhost:9200", - "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", - "autoRegisterTemplate": true, - "autoRegisterTemplateVersion": "ESv7" - } - } - ] - } -} diff --git a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.json b/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.json deleted file mode 100644 index 28721ef2f..000000000 --- a/aspnet-core/services/localization/LINGYUN.Abp.LocalizationManagement.HttpApi.Host/appsettings.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "AllowedHosts": "*", - "StringEncryption": { - "DefaultPassPhrase": "s46c5q55nxpeS8Ra", - "InitVectorBytes": "s83ng0abvd02js84", - "DefaultSalt": "sf&5)s3#" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft.EntityFramework.Core": "Debug", - "Microsoft": "Information", - "DotNetCore": "Information" - } - }, - "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName" ], - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Debug-.log", - "restrictedToMinimumLevel": "Debug", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Info-.log", - "restrictedToMinimumLevel": "Information", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Warn-.log", - "restrictedToMinimumLevel": "Warning", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Error-.log", - "restrictedToMinimumLevel": "Error", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Fatal-.log", - "restrictedToMinimumLevel": "Fatal", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - } - ] - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Configure.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Configure.cs deleted file mode 100644 index fad980f06..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Configure.cs +++ /dev/null @@ -1,293 +0,0 @@ -锘縰sing DotNetCore.CAP; -using Hangfire; -using Hangfire.Dashboard; -using LINGYUN.Abp.ExceptionHandling; -using LINGYUN.Abp.Hangfire.Dashboard.Authorization; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.MessageService.Localization; -using LINGYUN.Abp.MessageService.Permissions; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using Microsoft.AspNetCore.Authentication.JwtBearer; -using Microsoft.AspNetCore.Cors; -using Microsoft.AspNetCore.DataProtection; -using Microsoft.Extensions.Caching.StackExchangeRedis; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.OpenApi.Models; -using StackExchange.Redis; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text.Encodings.Web; -using System.Text.Unicode; -using Volo.Abp; -using Volo.Abp.AspNetCore.Auditing; -using Volo.Abp.Auditing; -using Volo.Abp.Caching; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.Json; -using Volo.Abp.Json.SystemTextJson; -using Volo.Abp.Localization; -using Volo.Abp.MultiTenancy; -using Volo.Abp.VirtualFileSystem; - -using HangfireDashboardOptions = Hangfire.DashboardOptions; - -namespace LINGYUN.Abp.MessageService -{ - public partial class AbpMessageServiceHttpApiHostModule - { - private void PreConfigureApp() - { - AbpSerilogEnrichersConsts.ApplicationName = "MessageService"; - } - - private void PreConfigureCAP(IConfiguration configuration) - { - PreConfigure(options => - { - options - .UseMySql(mySqlOptions => - { - configuration.GetSection("CAP:MySql").Bind(mySqlOptions); - }) - .UseRabbitMQ(rabbitMQOptions => - { - configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); - }) - .UseDashboard(); - }); - } - - private void PreCongifureHangfire() - { - PreConfigure(options => - { - options.AsyncAuthorization = new IDashboardAsyncAuthorizationFilter[] - { - new DashboardAuthorizationFilter( - MessageServicePermissions.Hangfire.Dashboard, - MessageServicePermissions.Hangfire.ManageQueue) - }; - }); - } - - private void ConfigureDbContext() - { - // 閰嶇疆Ef - Configure(options => - { - options.UseMySQL(); - }); - } - - private void ConfigureJsonSerializer() - { - // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 - Configure(options => - { - options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; - }); - // 涓枃搴忓垪鍖栫殑缂栫爜闂 - Configure(options => - { - options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); - }); - } - - private void ConfigreExceptionHandling() - { - // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 - Configure(options => - { - // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - }); - } - - private void ConfigureAuditing(IConfiguration configuration) - { - Configure(options => - { - options.IgnoredUrls.AddIfNotContains("/hangfire"); - }); - - Configure(options => - { - options.ApplicationName = "MessageService"; - // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 - var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); - if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) - { - options - .EntityHistorySelectors - .AddAllEntities(); - } - }); - } - - private void ConfigureCaching(IConfiguration configuration) - { - Configure(options => - { - // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 - options.KeyPrefix = "LINGYUN.Abp.Application"; - // 婊戝姩杩囨湡30澶 - options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); - // 缁濆杩囨湡60澶 - options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); - }); - - Configure(options => - { - var redisConfig = ConfigurationOptions.Parse(options.Configuration); - options.ConfigurationOptions = redisConfig; - options.InstanceName = configuration["Redis:InstanceName"]; - }); - } - - private void ConfigureVirtualFileSystem() - { - Configure(options => - { - options.FileSets.AddEmbedded("LINGYUN.Abp.MessageService"); - }); - } - - private void ConfigureMultiTenancy(IConfiguration configuration) - { - // 澶氱鎴 - Configure(options => - { - options.IsEnabled = true; - }); - - var tenantResolveCfg = configuration.GetSection("App:Domains"); - if (tenantResolveCfg.Exists()) - { - Configure(options => - { - var domains = tenantResolveCfg.Get(); - foreach (var domain in domains) - { - options.AddDomainTenantResolver(domain); - } - }); - } - } - - private void ConfigureSwagger(IServiceCollection services) - { - // Swagger - services.AddSwaggerGen( - options => - { - options.SwaggerDoc("v1", new OpenApiInfo { Title = "MessageService API", Version = "v1" }); - options.DocInclusionPredicate((docName, description) => true); - options.CustomSchemaIds(type => type.FullName); - options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme - { - Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", - Name = "Authorization", - In = ParameterLocation.Header, - Scheme = "bearer", - Type = SecuritySchemeType.Http, - BearerFormat = "JWT" - }); - options.AddSecurityRequirement(new OpenApiSecurityRequirement - { - { - new OpenApiSecurityScheme - { - Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } - }, - new string[] { } - } - }); - options.OperationFilter(); - }); - } - - private void ConfigureCors(IServiceCollection services, IConfiguration configuration) - { - services.AddCors(options => - { - options.AddPolicy(DefaultCorsPolicyName, builder => - { - builder - .WithOrigins( - configuration["App:CorsOrigins"] - .Split(",", StringSplitOptions.RemoveEmptyEntries) - .Select(o => o.RemovePostFix("/")) - .ToArray() - ) - .WithAbpExposedHeaders() - .SetIsOriginAllowedToAllowWildcardSubdomains() - .AllowAnyHeader() - .AllowAnyMethod() - .AllowCredentials(); - }); - }); - } - - private void ConfigureLocalization() - { - // 鏀寔鏈湴鍖栬瑷绫诲瀷 - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); - - options.Resources - .Get() - .AddVirtualJson("/Localization/HttpApiHost"); - - options.Resources.AddDynamic(); - }); - - Configure(options => - { - var zhHansCultureMapInfo = new CultureMapInfo - { - TargetCulture = "zh-Hans", - SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } - }; - - options.CulturesMaps.Add(zhHansCultureMapInfo); - options.UiCulturesMaps.Add(zhHansCultureMapInfo); - }); - } - - private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) - { - services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) - .AddJwtBearer(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.Audience = configuration["AuthServer:ApiName"]; - }); - - if (!isDevelopment) - { - var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); - services - .AddDataProtection() - .SetApplicationName("LINGYUN.Abp.Application") - .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); - } - } - - private void ConfigureHangfireServer(IServiceCollection services) - { - services.AddHangfireServer(); - } - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Seeder.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Seeder.cs deleted file mode 100644 index 629056d89..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/AbpMessageServiceHttpApiHostModule.Seeder.cs +++ /dev/null @@ -1,20 +0,0 @@ -锘縰sing Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Volo.Abp; -using Volo.Abp.Threading; - -namespace LINGYUN.Abp.MessageService -{ - public partial class AbpMessageServiceHttpApiHostModule - { - private void SeedData(ApplicationInitializationContext context) - { - if (context.GetEnvironment().IsDevelopment()) - { - AsyncHelper.RunSync(async () => - await context.ServiceProvider.GetRequiredService() - .SeedAsync()); - } - } - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContext.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContext.cs deleted file mode 100644 index 20be364d6..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContext.cs +++ /dev/null @@ -1,21 +0,0 @@ -锘縰sing Microsoft.EntityFrameworkCore; -using Volo.Abp.EntityFrameworkCore; - -namespace LINGYUN.Abp.MessageService.EntityFrameworkCore -{ - public class MessageServiceHostMigrationsDbContext : AbpDbContext - { - public MessageServiceHostMigrationsDbContext(DbContextOptions options) - : base(options) - { - - } - - protected override void OnModelCreating(ModelBuilder modelBuilder) - { - base.OnModelCreating(modelBuilder); - - modelBuilder.ConfigureMessageService(); - } - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContextFactory.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContextFactory.cs deleted file mode 100644 index 6b214bc3b..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/EntityFrameworkCore/MessageServiceHostMigrationsDbContextFactory.cs +++ /dev/null @@ -1,30 +0,0 @@ -锘縰sing System.IO; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Design; -using Microsoft.Extensions.Configuration; - -namespace LINGYUN.Abp.MessageService.EntityFrameworkCore -{ - public class MessageServiceHostMigrationsDbContextFactory : IDesignTimeDbContextFactory - { - public MessageServiceHostMigrationsDbContext CreateDbContext(string[] args) - { - var configuration = BuildConfiguration(); - var connectionString = configuration.GetConnectionString("Default"); - - var builder = new DbContextOptionsBuilder() - .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - - return new MessageServiceHostMigrationsDbContext(builder.Options); - } - - private static IConfigurationRoot BuildConfiguration() - { - var builder = new ConfigurationBuilder() - .SetBasePath(Directory.GetCurrentDirectory()) - .AddJsonFile("appsettings.Development.json", optional: false); - - return builder.Build(); - } - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/FodyWeavers.xsd b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/FodyWeavers.xsd deleted file mode 100644 index 11da52550..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/FodyWeavers.xsd +++ /dev/null @@ -1,30 +0,0 @@ -锘 - - - - - - - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN.Abp.MessageService.HttpApi.Host.csproj b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN.Abp.MessageService.HttpApi.Host.csproj deleted file mode 100644 index 9c439e549..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/LINGYUN.Abp.MessageService.HttpApi.Host.csproj +++ /dev/null @@ -1,74 +0,0 @@ -锘 - - - net6.0 - LINGYUN.Abp.MessageService - - - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Program.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Program.cs deleted file mode 100644 index 671df4fa6..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Program.cs +++ /dev/null @@ -1,53 +0,0 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Serilog; -using System; -using System.IO; - -namespace LINGYUN.Abp.MessageService -{ - public class Program - { - public static int Main(string[] args) - { - try - { - var hostBuilder = CreateHostBuilder(args).Build(); - Log.Information("Starting MessageService.Host."); - hostBuilder.Run(); - - return 0; - } - catch (Exception ex) - { - Log.Fatal(ex, "Host terminated unexpectedly!"); - return 1; - } - finally - { - Log.CloseAndFlush(); - } - } - - internal static IHostBuilder CreateHostBuilder(string[] args) => - Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }) - .ConfigureAppConfiguration((context, config) => - { - var configuration = config.Build(); - if (configuration.GetSection("AgileConfig").Exists()) - { - config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); - } - }) - .UseSerilog((context, provider, config) => - { - config.ReadFrom.Configuration(context.Configuration); - }) - .UseAutofac(); - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Properties/launchSettings.json deleted file mode 100644 index c310b4610..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Properties/launchSettings.json +++ /dev/null @@ -1,20 +0,0 @@ -锘縶 - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:63963", - "sslPort": 0 - } - }, - "profiles": { - "LINGYUN.Abp.MessageService.HttpApi.Host": { - "commandName": "Project", - "launchBrowser": false, - "applicationUrl": "http://localhost:30020", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Startup.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Startup.cs deleted file mode 100644 index 21396aba9..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/Startup.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using System.IO; -using Volo.Abp.IO; -using Volo.Abp.Modularity.PlugIns; - -namespace LINGYUN.Abp.MessageService -{ - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - services.AddApplication(options => - { - // 搜索 Modules 目录下所有文件作为插件 - // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 - var pluginFolder = Path.Combine( - Directory.GetCurrentDirectory(), "Modules"); - DirectoryHelper.CreateIfNotExists(pluginFolder); - options.PlugInSources.AddFolder( - pluginFolder, - SearchOption.AllDirectories); - }); - } - - public void Configure(IApplicationBuilder app) - { - app.InitializeApplication(); - } - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/TenantHeaderParamter.cs deleted file mode 100644 index 2431837b1..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/TenantHeaderParamter.cs +++ /dev/null @@ -1,33 +0,0 @@ -锘縰sing Microsoft.Extensions.Options; -using Microsoft.OpenApi.Models; -using Swashbuckle.AspNetCore.SwaggerGen; -using System.Collections.Generic; -using Volo.Abp.MultiTenancy; - -namespace LINGYUN.Abp.MessageService -{ - public class TenantHeaderParamter : IOperationFilter - { - private readonly AbpMultiTenancyOptions _options; - public TenantHeaderParamter( - IOptions options) - { - _options = options.Value; - } - - public void Apply(OpenApiOperation operation, OperationFilterContext context) - { - if (_options.IsEnabled) - { - operation.Parameters = operation.Parameters ?? new List(); - operation.Parameters.Add(new OpenApiParameter - { - Name = TenantResolverConsts.DefaultTenantKey, - In = ParameterLocation.Header, - Description = "Tenant Id in http header", - Required = false - }); - } - } - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.Development.json deleted file mode 100644 index 8cd5237a5..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.Development.json +++ /dev/null @@ -1,118 +0,0 @@ -锘縶 - "AgileConfig": { - "env": "DEV", - "appId": "LINGYUN.Abp.Message", - "secret": "1q2w3E*", - "nodes": "http://localhost:5000", - "name": "Message", - "tag": "Message" - }, - "App": { - "CorsOrigins": "http://localhost:9527,http://localhost:30000,http://localhost:3100", - "Forwarded": { - "ForwardedHeaders": 5, - "KnownProxies": [ - "localhost" - ] - } - }, - "BackgroundJobs": { - "Hangfire": { - "QueueName": "message", - "ServerName": "message service node" - } - }, - "ConnectionStrings": { - "Default": "Server=localhost;Database=Messages;User Id=root;Password=123456", - "MessageService": "Server=localhost;Database=Messages;User Id=root;Password=123456", - "AbpIdentity": "Server=localhost;Database=Messages;User Id=root;Password=123456", - "AbpTenantManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "Redis": { - "Configuration": "localhost,defaultDatabase=8", - "InstanceName": "LINGYUN.Abp.Application" - }, - "AuthServer": { - "Authority": "http://localhost:44385/", - "ApiName": "lingyun-abp-application" - }, - "Hangfire": { - "MySql": { - "Connection": "Server=localhost;Database=Messages;User Id=root;Password=123456;Allow User Variables=true", - "TablePrefix": "AppHangfire" - }, - "Dashboard": { - "WhiteList": "http://localhost:30000" - } - }, - "Notifications": { - "WeChat": { - "WeApp": { - "DefaultWeAppState": "formal" - } - } - }, - "CAP": { - "EventBus": { - "DefaultGroupName": "MessageService", - "Version": "v1", - "FailedRetryInterval": 300, - "FailedRetryCount": 10 - }, - "MySql": { - "TableNamePrefix": "msg", - "ConnectionString": "Server=localhost;Database=Messages;User Id=root;Password=123456" - }, - "RabbitMQ": { - "HostName": "localhost", - "Port": 5672, - "UserName": "guest", - "Password": "guest", - "ExchangeName": "LINGYUN.Abp.Application", - "VirtualHost": "/" - } - }, - "AuditLogging": { - "Elasticsearch": { - "IndexPrefix": "abp.dev.auditing" - } - }, - "Elasticsearch": { - "NodeUris": "http://localhost:9200" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "Microsoft.EntityFrameworkCore": "Warning", - "DotNetCore.CAP": "Debug", - "Hangfire.Server": "Warning", - "System": "Warning", - "Microsoft": "Warning", - "Microsoft.AspNetCore.SignalR": "Debug", - "Microsoft.AspNetCore.Http.Connections": "Debug" - } - }, - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "Elasticsearch", - "Args": { - "nodeUris": "http://localhost:9200", - "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", - "autoRegisterTemplate": true, - "autoRegisterTemplateVersion": "ESv7" - } - } - ] - } -} diff --git a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.json b/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.json deleted file mode 100644 index 28721ef2f..000000000 --- a/aspnet-core/services/messages/LINGYUN.Abp.MessageService.HttpApi.Host/appsettings.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "AllowedHosts": "*", - "StringEncryption": { - "DefaultPassPhrase": "s46c5q55nxpeS8Ra", - "InitVectorBytes": "s83ng0abvd02js84", - "DefaultSalt": "sf&5)s3#" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft.EntityFramework.Core": "Debug", - "Microsoft": "Information", - "DotNetCore": "Information" - } - }, - "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName" ], - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Debug-.log", - "restrictedToMinimumLevel": "Debug", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Info-.log", - "restrictedToMinimumLevel": "Information", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Warn-.log", - "restrictedToMinimumLevel": "Warning", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Error-.log", - "restrictedToMinimumLevel": "Error", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Fatal-.log", - "restrictedToMinimumLevel": "Fatal", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - } - ] - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/.gitignore b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/.gitignore deleted file mode 100644 index 2381b38da..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -.vs -file-blob-storing \ No newline at end of file diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Configure.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Configure.cs deleted file mode 100644 index 6a9f660ab..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Configure.cs +++ /dev/null @@ -1,273 +0,0 @@ -锘縰sing DotNetCore.CAP; -using LINGYUN.Abp.ExceptionHandling; -using LINGYUN.Abp.ExceptionHandling.Emailing; -using LINGYUN.Abp.Localization.CultureMap; -using LINGYUN.Abp.Serilog.Enrichers.Application; -using Microsoft.AspNetCore.Authentication.JwtBearer; -using Microsoft.AspNetCore.DataProtection; -using Microsoft.AspNetCore.Server.Kestrel.Core; -using Microsoft.Extensions.Caching.StackExchangeRedis; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.OpenApi.Models; -using StackExchange.Redis; -using System; -using System.IO; -using System.Text.Encodings.Web; -using System.Text.Unicode; -using Volo.Abp; -using Volo.Abp.Auditing; -using Volo.Abp.BlobStoring; -using Volo.Abp.BlobStoring.FileSystem; -using Volo.Abp.Caching; -using Volo.Abp.EntityFrameworkCore; -using Volo.Abp.Json; -using Volo.Abp.Json.SystemTextJson; -using Volo.Abp.Localization; -using Volo.Abp.MultiTenancy; -using Volo.Abp.VirtualFileSystem; - -namespace LINGYUN.Platform -{ - public partial class AppPlatformHttpApiHostModule - { - private void PreConfigureApp() - { - AbpSerilogEnrichersConsts.ApplicationName = "Platform"; - } - - private void PreConfigureCAP(IConfiguration configuration) - { - PreConfigure(options => - { - options - .UseMySql(mySqlOptions => - { - configuration.GetSection("CAP:MySql").Bind(mySqlOptions); - }) - .UseRabbitMQ(rabbitMQOptions => - { - configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); - }) - .UseDashboard(); - }); - } - - private void ConfigureDbContext() - { - // 閰嶇疆Ef - Configure(options => - { - options.UseMySQL(); - }); - } - - private void ConfigureJsonSerializer() - { - // 缁熶竴鏃堕棿鏃ユ湡鏍煎紡 - Configure(options => - { - options.DefaultDateTimeFormat = "yyyy-MM-dd HH:mm:ss"; - }); - // 涓枃搴忓垪鍖栫殑缂栫爜闂 - Configure(options => - { - options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); - }); - } - - private void ConfigureKestrelServer() - { - Configure(options => - { - options.Limits.MaxRequestBodySize = null; - options.Limits.MaxRequestBufferSize = null; - }); - } - - private void ConfigureBlobStoring() - { - Configure(options => - { - options.Containers.ConfigureAll((containerName, containerConfiguration) => - { - containerConfiguration.UseFileSystem(fileSystem => - { - fileSystem.BasePath = Path.Combine(Directory.GetCurrentDirectory(), "file-blob-storing"); - }); - }); - }); - } - - private void ConfigreExceptionHandling() - { - // 鑷畾涔夐渶瑕佸鐞嗙殑寮傚父 - Configure(options => - { - // 鍔犲叆闇瑕佸鐞嗙殑寮傚父绫诲瀷 - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - options.Handlers.Add(); - }); - // 鑷畾涔夐渶瑕佸彂閫侀偖浠堕氱煡鐨勫紓甯哥被鍨 - Configure(options => - { - // 鏄惁鍙戦佸爢鏍堜俊鎭 - options.SendStackTrace = true; - }); - - Configure(options => - { - // 鏄惁鍙戦侀敊璇鎯 - options.SendExceptionsDetailsToClients = false; - }); - } - - private void ConfigureAuditing(IConfiguration configuration) - { - Configure(options => - { - options.ApplicationName = "Platform"; - // 鏄惁鍚敤瀹炰綋鍙樻洿璁板綍 - var entitiesChangedConfig = configuration.GetSection("App:TrackingEntitiesChanged"); - if (entitiesChangedConfig.Exists() && entitiesChangedConfig.Get()) - { - options - .EntityHistorySelectors - .AddAllEntities(); - } - }); - } - - private void ConfigureCaching(IConfiguration configuration) - { - Configure(options => - { - // 鏈濂界粺涓鍛藉悕,涓嶇劧鏌愪釜缂撳瓨鍙樺姩鍏朵粬搴旂敤鏈嶅姟鏈変緥澶栧彂鐢 - options.KeyPrefix = "LINGYUN.Abp.Application"; - // 婊戝姩杩囨湡30澶 - options.GlobalCacheEntryOptions.SlidingExpiration = TimeSpan.FromDays(30d); - // 缁濆杩囨湡60澶 - options.GlobalCacheEntryOptions.AbsoluteExpiration = DateTimeOffset.Now.AddDays(60d); - }); - - Configure(options => - { - var redisConfig = ConfigurationOptions.Parse(options.Configuration); - options.ConfigurationOptions = redisConfig; - options.InstanceName = configuration["Redis:InstanceName"]; - }); - } - - private void ConfigureVirtualFileSystem() - { - Configure(options => - { - options.FileSets.AddEmbedded("LINGYUN.Platform"); - }); - } - - private void ConfigureMultiTenancy(IConfiguration configuration) - { - // 澶氱鎴 - Configure(options => - { - options.IsEnabled = true; - }); - - var tenantResolveCfg = configuration.GetSection("App:Domains"); - if (tenantResolveCfg.Exists()) - { - Configure(options => - { - var domains = tenantResolveCfg.Get(); - foreach (var domain in domains) - { - options.AddDomainTenantResolver(domain); - } - }); - } - } - - private void ConfigureSwagger(IServiceCollection services) - { - // Swagger - services.AddSwaggerGen( - options => - { - options.SwaggerDoc("v1", new OpenApiInfo { Title = "Platform API", Version = "v1" }); - options.DocInclusionPredicate((docName, description) => true); - options.CustomSchemaIds(type => type.FullName); - options.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme - { - Description = "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", - Name = "Authorization", - In = ParameterLocation.Header, - Scheme = "bearer", - Type = SecuritySchemeType.Http, - BearerFormat = "JWT" - }); - options.AddSecurityRequirement(new OpenApiSecurityRequirement - { - { - new OpenApiSecurityScheme - { - Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "Bearer" } - }, - new string[] { } - } - }); - options.OperationFilter(); - }); - } - - private void ConfigureLocalization() - { - // 鏀寔鏈湴鍖栬瑷绫诲瀷 - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "绠浣撲腑鏂")); - - options.Resources.AddDynamic(); - }); - - Configure(options => - { - var zhHansCultureMapInfo = new CultureMapInfo - { - TargetCulture = "zh-Hans", - SourceCultures = new string[] { "zh", "zh_CN", "zh-CN" } - }; - - options.CulturesMaps.Add(zhHansCultureMapInfo); - options.UiCulturesMaps.Add(zhHansCultureMapInfo); - }); - } - - private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) - { - services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme) - .AddJwtBearer(options => - { - options.Authority = configuration["AuthServer:Authority"]; - options.RequireHttpsMetadata = false; - options.Audience = configuration["AuthServer:ApiName"]; - }); - - if (!isDevelopment) - { - var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); - services - .AddDataProtection() - .SetApplicationName("LINGYUN.Abp.Application") - .PersistKeysToStackExchangeRedis(redis, "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); - } - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Seeder.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Seeder.cs deleted file mode 100644 index 6616394ad..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/AppPlatformHttpApiHostModule.Seeder.cs +++ /dev/null @@ -1,21 +0,0 @@ -锘縰sing Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Volo.Abp; -using Volo.Abp.Data; -using Volo.Abp.Threading; - -namespace LINGYUN.Platform -{ - public partial class AppPlatformHttpApiHostModule - { - private void SeedData(ApplicationInitializationContext context) - { - if (context.GetEnvironment().IsDevelopment()) - { - AsyncHelper.RunSync(async () => - await context.ServiceProvider.GetRequiredService() - .SeedAsync()); - } - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContext.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContext.cs deleted file mode 100644 index 2f7833872..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContext.cs +++ /dev/null @@ -1,21 +0,0 @@ -锘縰sing Microsoft.EntityFrameworkCore; -using Volo.Abp.EntityFrameworkCore; - -namespace LINGYUN.Platform.EntityFrameworkCore -{ - public class PlatformHttpApiHostMigrationsDbContext : AbpDbContext - { - public PlatformHttpApiHostMigrationsDbContext(DbContextOptions options) - : base(options) - { - - } - - protected override void OnModelCreating(ModelBuilder modelBuilder) - { - base.OnModelCreating(modelBuilder); - - modelBuilder.ConfigurePlatform(); - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContextFactory.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContextFactory.cs deleted file mode 100644 index 4e5d2f1f5..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EntityFrameworkCore/PlatformHttpApiHostMigrationsDbContextFactory.cs +++ /dev/null @@ -1,30 +0,0 @@ -锘縰sing System.IO; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Design; -using Microsoft.Extensions.Configuration; - -namespace LINGYUN.Platform.EntityFrameworkCore -{ - public class PlatformHttpApiHostMigrationsDbContextFactory : IDesignTimeDbContextFactory - { - public PlatformHttpApiHostMigrationsDbContext CreateDbContext(string[] args) - { - var configuration = BuildConfiguration(); - var connectionString = configuration.GetConnectionString("Default"); - - var builder = new DbContextOptionsBuilder() - .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - - return new PlatformHttpApiHostMigrationsDbContext(builder.Options); - } - - private static IConfigurationRoot BuildConfiguration() - { - var builder = new ConfigurationBuilder() - .SetBasePath(Directory.GetCurrentDirectory()) - .AddJsonFile("appsettings.Development.json", optional: false); - - return builder.Build(); - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs deleted file mode 100644 index d3bcc57b6..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/EventBus/Handlers/TenantSynchronizer.cs +++ /dev/null @@ -1,70 +0,0 @@ -锘縰sing LINGYUN.Abp.Data.DbMigrator; -using LINGYUN.Abp.MultiTenancy; -using LINGYUN.Platform.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore; -using Microsoft.Extensions.Logging; -using System.Threading.Tasks; -using Volo.Abp.Data; -using Volo.Abp.DependencyInjection; -using Volo.Abp.EventBus.Distributed; -using Volo.Abp.MultiTenancy; -using Volo.Abp.Uow; - -namespace LINGYUN.Platform.EventBus.Handlers -{ - public class TenantSynchronizer : - IDistributedEventHandler, - ITransientDependency - { - protected IDataSeeder DataSeeder { get; } - protected ICurrentTenant CurrentTenant { get; } - protected IDbSchemaMigrator DbSchemaMigrator { get; } - protected IUnitOfWorkManager UnitOfWorkManager { get; } - - protected ILogger Logger { get; } - - public TenantSynchronizer( - IDataSeeder dataSeeder, - ICurrentTenant currentTenant, - IDbSchemaMigrator dbSchemaMigrator, - IUnitOfWorkManager unitOfWorkManager, - ILogger logger) - { - DataSeeder = dataSeeder; - CurrentTenant = currentTenant; - DbSchemaMigrator = dbSchemaMigrator; - UnitOfWorkManager = unitOfWorkManager; - - Logger = logger; - } - - /// - /// 绉熸埛鍒涘缓涔嬪悗闇瑕侀缃瀛愭暟鎹 - /// - /// - /// - public virtual async Task HandleEventAsync(CreateEventData eventData) - { - using (var unitOfWork = UnitOfWorkManager.Begin()) - { - using (CurrentTenant.Change(eventData.Id, eventData.Name)) - { - Logger.LogInformation("Migrating the new tenant database with platform..."); - // 杩佺Щ绉熸埛鏁版嵁 - await DbSchemaMigrator.MigrateAsync( - (connectionString, builder) => - { - builder.UseMySql(connectionString, ServerVersion.AutoDetect(connectionString)); - - return new PlatformHttpApiHostMigrationsDbContext(builder.Options); - }); - Logger.LogInformation("Migrated the new tenant database with platform."); - - await DataSeeder.SeedAsync(new DataSeedContext(eventData.Id)); - - await unitOfWork.SaveChangesAsync(); - } - } - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/FodyWeavers.xsd b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/FodyWeavers.xsd deleted file mode 100644 index 11da52550..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/FodyWeavers.xsd +++ /dev/null @@ -1,30 +0,0 @@ -锘 - - - - - - - - - - - - - - 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed. - - - - - A comma-separated list of error codes that can be safely ignored in assembly verification. - - - - - 'false' to turn off automatic generation of the XML Schema file. - - - - - \ No newline at end of file diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj deleted file mode 100644 index 2dc696497..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj +++ /dev/null @@ -1,75 +0,0 @@ -锘 - - - net6.0 - LINGYUN.Platform - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj.user b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj.user deleted file mode 100644 index 429333de9..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/LINGYUN.Platform.HttpApi.Host.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ -锘 - - - true - - \ No newline at end of file diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Program.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Program.cs deleted file mode 100644 index 72d9cf26e..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Program.cs +++ /dev/null @@ -1,53 +0,0 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Hosting; -using Serilog; -using System; -using System.IO; - -namespace LINGYUN.Platform -{ - public class Program - { - public static int Main(string[] args) - { - try - { - var hostBuilder = CreateHostBuilder(args).Build(); - Log.Information("Starting Platform.Host."); - hostBuilder.Run(); - - return 0; - } - catch (Exception ex) - { - Log.Fatal(ex, "Host terminated unexpectedly!"); - return 1; - } - finally - { - Log.CloseAndFlush(); - } - } - - internal static IHostBuilder CreateHostBuilder(string[] args) => - Host.CreateDefaultBuilder(args) - .ConfigureWebHostDefaults(webBuilder => - { - webBuilder.UseStartup(); - }) - .ConfigureAppConfiguration((context, config) => - { - var configuration = config.Build(); - if (configuration.GetSection("AgileConfig").Exists()) - { - config.AddAgileConfig(new AgileConfig.Client.ConfigClient(configuration)); - } - }) - .UseSerilog((context, provider, config) => - { - config.ReadFrom.Configuration(context.Configuration); - }) - .UseAutofac(); - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Properties/launchSettings.json b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Properties/launchSettings.json deleted file mode 100644 index a03733d45..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Properties/launchSettings.json +++ /dev/null @@ -1,20 +0,0 @@ -锘縶 - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:64238", - "sslPort": 0 - } - }, - "profiles": { - "LINGYUN.Platform.HttpApi.Host": { - "commandName": "Project", - "launchBrowser": false, - "applicationUrl": "http://localhost:30025", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Startup.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Startup.cs deleted file mode 100644 index 981834511..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/Startup.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using System.IO; -using Volo.Abp.IO; -using Volo.Abp.Modularity.PlugIns; - -namespace LINGYUN.Platform -{ - public class Startup - { - public void ConfigureServices(IServiceCollection services) - { - services.AddApplication(options => - { - // 搜索 Modules 目录下所有文件作为插件 - // 取消显示引用所有其他项目的模块,改为通过插件的形式引用 - var pluginFolder = Path.Combine( - Directory.GetCurrentDirectory(), "Modules"); - DirectoryHelper.CreateIfNotExists(pluginFolder); - options.PlugInSources.AddFolder( - pluginFolder, - SearchOption.AllDirectories); - }); - } - - public void Configure(IApplicationBuilder app) - { - app.InitializeApplication(); - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/TenantHeaderParamter.cs b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/TenantHeaderParamter.cs deleted file mode 100644 index 9251d083a..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/TenantHeaderParamter.cs +++ /dev/null @@ -1,33 +0,0 @@ -锘縰sing Microsoft.Extensions.Options; -using Microsoft.OpenApi.Models; -using Swashbuckle.AspNetCore.SwaggerGen; -using System.Collections.Generic; -using Volo.Abp.MultiTenancy; - -namespace LINGYUN.Platform -{ - public class TenantHeaderParamter : IOperationFilter - { - private readonly AbpMultiTenancyOptions _options; - public TenantHeaderParamter( - IOptions options) - { - _options = options.Value; - } - - public void Apply(OpenApiOperation operation, OperationFilterContext context) - { - if (_options.IsEnabled) - { - operation.Parameters = operation.Parameters ?? new List(); - operation.Parameters.Add(new OpenApiParameter - { - Name = TenantResolverConsts.DefaultTenantKey, - In = ParameterLocation.Header, - Description = "Tenant Id in http header", - Required = false - }); - } - } - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.Development.json b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.Development.json deleted file mode 100644 index 6daef1e60..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.Development.json +++ /dev/null @@ -1,115 +0,0 @@ -锘縶 - "AgileConfig": { - "env": "DEV", - "appId": "LINGYUN.Abp.Platform", - "secret": "1q2w3E*", - "nodes": "http://localhost:5000", - "name": "Platform", - "tag": "Platform" - }, - "App": { - "Forwarded": { - "ForwardedHeaders": 5, - "KnownProxies": [ - "localhost" - ] - } - }, - "RemoteServices": { - "AbpIdentity": { - "BaseUrl": "http://localhost:30015/", - "IdentityClient": "InternalServiceClient" - } - }, - "IdentityClients": { - "InternalServiceClient": { - "Authority": "http://localhost:44385/", - "RequireHttps": false, - "GrantType": "client_credentials", - "Scope": "lingyun-abp-application", - "ClientId": "internal-service-client", - "ClientSecret": "1q2w3e*" - } - }, - "ConnectionStrings": { - "Default": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AppPlatform": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpFeatureManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpTenantManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpSettingManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpPermissionManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456", - "AbpLocalizationManagement": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "Features": { - "Validation": { - "Redis": { - "Configuration": "localhost,defaultDatabase=8", - "InstanceName": "LINGYUN.Abp.Application" - } - } - }, - "CAP": { - "EventBus": { - "DefaultGroupName": "Platform", - "Version": "v1", - "FailedRetryInterval": 300, - "FailedRetryCount": 10 - }, - "MySql": { - "TableNamePrefix": "plt", - "ConnectionString": "Server=localhost;Database=Platform;User Id=root;Password=123456" - }, - "RabbitMQ": { - "HostName": "localhost", - "Port": 5672, - "UserName": "guest", - "Password": "guest", - "ExchangeName": "LINGYUN.Abp.Application", - "VirtualHost": "/" - } - }, - "Redis": { - "Configuration": "localhost,defaultDatabase=10", - "InstanceName": "LINGYUN.Abp.Application" - }, - "AuthServer": { - "Authority": "http://localhost:44385/", - "ApiName": "lingyun-abp-application" - }, - "AuditLogging": { - "Elasticsearch": { - "IndexPrefix": "abp.dev.auditing" - } - }, - "Elasticsearch": { - "NodeUris": "http://localhost:9200" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Debug" - } - }, - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "Elasticsearch", - "Args": { - "nodeUris": "http://localhost:9200", - "indexFormat": "abp.dev.logging-{0:yyyy.MM.dd}", - "autoRegisterTemplate": true, - "autoRegisterTemplateVersion": "ESv7" - } - } - ] - } -} diff --git a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.json b/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.json deleted file mode 100644 index 28721ef2f..000000000 --- a/aspnet-core/services/platform/LINGYUN.Platform.HttpApi.Host/appsettings.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "AllowedHosts": "*", - "StringEncryption": { - "DefaultPassPhrase": "s46c5q55nxpeS8Ra", - "InitVectorBytes": "s83ng0abvd02js84", - "DefaultSalt": "sf&5)s3#" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Debug", - "Override": { - "System": "Warning", - "Microsoft.EntityFramework.Core": "Debug", - "Microsoft": "Information", - "DotNetCore": "Information" - } - }, - "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName" ], - "WriteTo": [ - { - "Name": "Console", - "Args": { - "restrictedToMinimumLevel": "Debug", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Debug-.log", - "restrictedToMinimumLevel": "Debug", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Info-.log", - "restrictedToMinimumLevel": "Information", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Warn-.log", - "restrictedToMinimumLevel": "Warning", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Error-.log", - "restrictedToMinimumLevel": "Error", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - }, - { - "Name": "File", - "Args": { - "path": "Logs/Fatal-.log", - "restrictedToMinimumLevel": "Fatal", - "rollingInterval": "Day", - "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss} [{Level:u3}] [{SourceContext}] [{ProcessId}] [{ThreadId}] - {Message:lj}{NewLine}{Exception}" - } - } - ] - } -} diff --git a/aspnet-core/services/start-all-service.bat b/aspnet-core/services/start-all-service.bat deleted file mode 100644 index b9894d9bc..000000000 --- a/aspnet-core/services/start-all-service.bat +++ /dev/null @@ -1,9 +0,0 @@ -@echo off -cls - -start .\start-auth-server.bat --run -start .\start-identity-server.bat --run -start .\start-backend-admin.bat --run -start .\start-localization.bat --run -start .\start-messages.bat --run -start .\start-platform.bat --run \ No newline at end of file diff --git a/aspnet-core/services/start-auth-server.bat b/aspnet-core/services/start-auth-server.bat deleted file mode 100644 index 1fbdf3385..000000000 --- a/aspnet-core/services/start-auth-server.bat +++ /dev/null @@ -1,31 +0,0 @@ -@echo off -cls -chcp 65001 - -echo. 鍚姩韬唤璁よ瘉鏈嶅姟 - -cd .\account\AuthServer.Host - -if '%1' equ '--publish' goto publish -if '%1' equ '--run' goto run -if '%1' equ '--restore' goto restore -if '%1' equ '--ef-u' goto efu -if '%1' equ '' goto run -exit - -:publish -dotnet publish -c Release -o ..\..\Publish\identityserver --no-cache --no-restore -copy Dockerfile ..\..\Publish\identityserver\Dockerfile -exit - -:run -dotnet run -exit - -:restore -dotnet restore -exit - -:efu -dotnet ef database update -exit \ No newline at end of file diff --git a/aspnet-core/services/start-backend-admin.bat b/aspnet-core/services/start-backend-admin.bat deleted file mode 100644 index 5caf55b08..000000000 --- a/aspnet-core/services/start-backend-admin.bat +++ /dev/null @@ -1,31 +0,0 @@ -@echo off -cls -chcp 65001 - -echo. 鍚姩鍚庡彴绠$悊鏈嶅姟 - -cd .\admin\LINGYUN.Abp.BackendAdmin.HttpApi.Host - -if '%1' equ '--publish' goto publish -if '%1' equ '--run' goto run -if '%1' equ '--restore' goto restore -if '%1' equ '--ef-u' goto efu -if '%1' equ '' goto run -exit - -:publish -dotnet publish -c Release -o ..\..\Publish\admin --no-cache --no-restore -copy Dockerfile ..\..\Publish\admin\Dockerfile -exit - -:run -dotnet run -exit - -:restore -dotnet restore -exit - -:efu -dotnet ef database update -exit \ No newline at end of file diff --git a/aspnet-core/services/start-identity-server.bat b/aspnet-core/services/start-identity-server.bat deleted file mode 100644 index 971436614..000000000 --- a/aspnet-core/services/start-identity-server.bat +++ /dev/null @@ -1,26 +0,0 @@ -@echo off -cls -chcp 65001 - -echo. 鍚姩韬唤璁よ瘉绠$悊鏈嶅姟 - -cd .\identity-server\LINGYUN.Abp.IdentityServer4.HttpApi.Host - -if '%1' equ '--publish' goto publish -if '%1' equ '--run' goto run -if '%1' equ '--restore' goto restore -if '%1' equ '' goto run -exit - -:publish -dotnet publish -c Release -o ..\..\Publish\identityserver4-admin --no-cache --no-restore -copy Dockerfile ..\..\Publish\identityserver4-admin\Dockerfile -exit - -:run -dotnet run -exit - -:restore -dotnet restore -exit \ No newline at end of file diff --git a/aspnet-core/services/start-localization.bat b/aspnet-core/services/start-localization.bat deleted file mode 100644 index 2b9a25681..000000000 --- a/aspnet-core/services/start-localization.bat +++ /dev/null @@ -1,31 +0,0 @@ -@echo off -cls -chcp 65001 - -echo. 鍚姩鏈湴鍖栫鐞嗘湇鍔 - -cd .\localization\LINGYUN.Abp.LocalizationManagement.HttpApi.Host - -if '%1' equ '--publish' goto publish -if '%1' equ '--run' goto run -if '%1' equ '--restore' goto restore -if '%1' equ '--ef-u' goto efu -if '%1' equ '' goto run -exit - -:publish -dotnet publish -c Release -o ..\..\Publish\localization --no-cache --no-restore -copy Dockerfile ..\..\Publish\localization\Dockerfile -exit - -:run -dotnet run -exit - -:restore -dotnet restore -exit - -:efu -dotnet ef databse update -exit \ No newline at end of file diff --git a/aspnet-core/services/start-messages.bat b/aspnet-core/services/start-messages.bat deleted file mode 100644 index 996884110..000000000 --- a/aspnet-core/services/start-messages.bat +++ /dev/null @@ -1,31 +0,0 @@ -@echo off -cls -chcp 65001 - -echo. 鍚姩娑堟伅鏈嶅姟 - -cd .\messages\LINGYUN.Abp.MessageService.HttpApi.Host - -if '%1' equ '--publish' goto publish -if '%1' equ '--run' goto run -if '%1' equ '--restore' goto restore -if '%1' equ '--ef-u' goto efu -if '%1' equ '' goto run -exit - -:publish -dotnet publish -c Release -o ..\..\Publish\messages --no-cache --no-restore -copy Dockerfile ..\..\Publish\messages\Dockerfile -exit - -:run -dotnet run -exit - -:restore -dotnet restore -exit - -:efu -dotnet ef database update -exit \ No newline at end of file diff --git a/aspnet-core/services/start-platform.bat b/aspnet-core/services/start-platform.bat deleted file mode 100644 index cb4ec6e3b..000000000 --- a/aspnet-core/services/start-platform.bat +++ /dev/null @@ -1,31 +0,0 @@ -@echo off -cls -chcp 65001 - -echo. 鍚姩骞冲彴绠$悊鏈嶅姟 - -cd .\platform\LINGYUN.Platform.HttpApi.Host - -if '%1' equ '--publish' goto publish -if '%1' equ '--run' goto run -if '%1' equ '--restore' goto restore -if '%1' equ '--ef-u' goto efu -if '%1' equ '' goto run -exit - -:publish -dotnet publish -c Release -o ..\..\Publish\platform --no-cache --no-restore -copy Dockerfile ..\..\Publish\platform\Dockerfile -exit - -:run -dotnet run -exit - -:restore -dotnet restore -exit - -:efu -dotnet ef databse update -exit \ No newline at end of file