From ef4f52f181469eea3a98285e472eada5101aefbb Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 10 Oct 2026 18:00:47 +0800 Subject: [PATCH] refactor(allinone): Rename the single application to LINGYUN.Abp.MicroService.AllInOne Rename the single (monolith) application, its migration projects and the associated solution file to follow the LINGYUN.Abp.MicroService.* naming convention. Renamed projects: - LY.MicroService.Applications.Single -> LINGYUN.Abp.MicroService.AllInOne - LY.MicroService.Applications.Single.EntityFrameworkCore -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore - LY.MicroService.Applications.Single.EntityFrameworkCore.MySql -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql - LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql - LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer - LY.MicroService.Applications.Single.DbMigrator -> LINGYUN.Abp.MicroService.AllInOne.DbMigrator - aspnet-core/LINGYUN.MicroService.SingleProject.slnx -> aspnet-core/LINGYUN.MicroService.AllInOne.slnx Renamed identifiers: - MicroServiceApplicationsSingleModule -> AllInOneModule (AllInOneModule.cs, AllInOneModule.Configure.cs, referenced from Program.cs) Also updated: - namespaces, , ProjectReference paths and the solution entries - Dockerfile entry point (LINGYUN.Abp.MicroService.AllInOne.dll) - build/build-aspnetcore-common.ps1 (solution array) - README.md / README.en.md (solution list) and the project READMEs / docs that referenced the previous names Code fixes required by the new namespace (namespaces under LINGYUN.Abp shadow top-level namespaces): - SingleMigrationsDbContext: fully qualify LINGYUN.Platform.Datas.Data, because the simple name Data now resolves to the LINGYUN.Abp.Data.* namespace - AllInOneModule.Configure: use global::Elsa.* for the Elsa startup types, because Elsa.Activities.* now resolves to LINGYUN.Abp.Elsa.Activities.* (Elsa.Activities.Webhooks.Startup would otherwise silently bind to the wrong type) BREAKING CHANGE: assembly names, namespaces, the Docker entry point and the published package ids of the migration projects changed. Consumers must update their references: - LY.MicroService.Applications.Single.EntityFrameworkCore -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore - LY.MicroService.Applications.Single.EntityFrameworkCore.MySql -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql - LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql - LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer -> LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer - LY.MicroService.Applications.Single.DbMigrator -> LINGYUN.Abp.MicroService.AllInOne.DbMigrator Stale package artifacts in the LocalNuget output folders were removed; rebuild (or pack) to regenerate them with the new names. Verified: - dotnet build aspnet-core/LINGYUN.MicroService.AllInOne.slnx (0 errors) - all six renamed projects build with 0 errors - 196 tracked files were relocated (193 detected as renames), no tracked file lost - text scan for the previous names returns no remaining references Note: aspnet-core/templates/aio still declares MicroServiceApplicationsSingleModule; renaming the AIO template is intentionally left for a follow-up. --- README.en.md | 6 +- README.md | 6 +- ...lnx => LINGYUN.MicroService.AllInOne.slnx} | 14 +- aspnet-core/cleanup-logs.bat | 2 +- .../README.EN.md | 2 +- .../README.md | 2 +- ...p.MicroService.AllInOne.DbMigrator.csproj} | 6 +- .../Program.cs | 6 +- .../Properties/launchSettings.json | 0 .../README.EN.md | 2 +- .../README.md | 2 +- .../SingleDbMigratorHostedService.cs | 102 +- .../SingleDbMigratorModule.Configure.cs | 2 +- .../SingleDbMigratorModule.cs | 8 +- .../Usings.cs | 14 +- .../appsettings.MySql.json | 0 .../appsettings.PostgreSql.json | 0 .../appsettings.SqlServer.json | 0 .../appsettings.json | 0 .../FodyWeavers.xml | 0 .../FodyWeavers.xsd | 0 ...AllInOne.EntityFrameworkCore.MySql.csproj} | 2 +- ...2032107_Initial-Single-Project.Designer.cs | 4 +- .../20231012032107_Initial-Single-Project.cs | 2 +- ...-With-Text-Template-Definition.Designer.cs | 4 +- ...Add-Field-With-Text-Template-Definition.cs | 2 +- ...d-With-Notification-Definition.Designer.cs | 4 +- ..._Add-Field-With-Notification-Definition.cs | 2 +- ...x-Notification-Template-Length.Designer.cs | 4 +- ...000247_Fix-Notification-Template-Length.cs | 2 +- ...Upgrade-Abp-Framework-To-8.0.0.Designer.cs | 4 +- ...22014501_Upgrade-Abp-Framework-To-8.0.0.cs | 2 +- ...Upgrade-Abp-Framework-To-8.0.3.Designer.cs | 4 +- ...17054527_Upgrade-Abp-Framework-To-8.0.3.cs | 2 +- ...Upgrade-Abp-Framework-To-8.1.3.Designer.cs | 4 +- ...24002940_Upgrade-Abp-Framework-To-8.1.3.cs | 2 +- ...Upgrade-Abp-Framework-To-8-2-0.Designer.cs | 4 +- ...29102008_Upgrade-Abp-Framework-To-8-2-0.cs | 2 +- ...20240929080118_Add-Demo-Module.Designer.cs | 4 +- .../20240929080118_Add-Demo-Module.cs | 2 +- .../20241114072301_Add-Feedback.Designer.cs | 4 +- .../Migrations/20241114072301_Add-Feedback.cs | 2 +- ...ddNewMigration_20241218_225542.Designer.cs | 4 +- ...8145610_AddNewMigration_20241218_225542.cs | 2 +- ...50208011431_Add-Message-Center.Designer.cs | 4 +- .../20250208011431_Add-Message-Center.cs | 2 +- ...e-Message-Status-Default-Value.Designer.cs | 4 +- ...755_Remove-Message-Status-Default-Value.cs | 2 +- ...Upgrade-Abp-Framework-To-9.0.4.Designer.cs | 4 +- ...09034124_Upgrade-Abp-Framework-To-9.0.4.cs | 2 +- ...20250217124909_Add-Gdpr-Module.Designer.cs | 4 +- .../20250217124909_Add-Gdpr-Module.cs | 2 +- ...erver-And-Add-Entity-Enum-Info.Designer.cs | 4 +- ...dentity-Server-And-Add-Entity-Enum-Info.cs | 2 +- ...0315064423_Add-Javascript-Type.Designer.cs | 4 +- .../20250315064423_Add-Javascript-Type.cs | 2 +- ...perties-To-Accessed-Properties.Designer.cs | 4 +- ...Allow-Properties-To-Accessed-Properties.cs | 2 +- ...Upgrade-Abp-Framework-To-9.1.1.Designer.cs | 4 +- ...02083655_Upgrade-Abp-Framework-To-9.1.1.cs | 2 +- ...03031044_Change-Auth-Data-Type.Designer.cs | 4 +- .../20250403031044_Change-Auth-Data-Type.cs | 2 +- ...403085116_Add-Subject-Strategy.Designer.cs | 4 +- .../20250403085116_Add-Subject-Strategy.cs | 2 +- .../20250407032556_Add-Book-Auth.Designer.cs | 4 +- .../20250407032556_Add-Book-Auth.cs | 2 +- ...Upgrade-Abp-Framework-To-9.3.1.Designer.cs | 4 +- ...13012035_Upgrade-Abp-Framework-To-9.3.1.cs | 2 +- ...Upgrade-Abp-Framework-To-9.3.6.Designer.cs | 4 +- ...05024625_Upgrade-Abp-Framework-To-9.3.6.cs | 2 +- ...pgrade-Abp-Framework-To-10-2-0.Designer.cs | 4 +- ...1022905_Upgrade-Abp-Framework-To-10-2-0.cs | 2 +- ...257_Add-Identity-User-Inactive.Designer.cs | 4 +- ...260529063257_Add-Identity-User-Inactive.cs | 2 +- ...-For-Resource-Permission-Grant.Designer.cs | 4 +- ...-Too-Lang-For-Resource-Permission-Grant.cs | 2 +- .../SingleMigrationsDbContextModelSnapshot.cs | 4 +- .../README.en.md | 4 +- .../README.md | 4 +- .../SingleMigrationsDbContextFactory.cs | 6 +- ...igrationsEntityFrameworkCoreMySqlModule.cs | 2 +- .../EfCoreMySqlOpenIddictTokenRepository.cs | 0 .../FodyWeavers.xml | 0 .../FodyWeavers.xsd | 0 ...One.EntityFrameworkCore.PostgreSql.csproj} | 2 +- ...209113645_InitialSingleProject.Designer.cs | 4 +- .../20241209113645_InitialSingleProject.cs | 2 +- ...4730_Add-DataProtection-Module.Designer.cs | 4 +- ...0241210084730_Add-DataProtection-Module.cs | 2 +- ...Upgrade-Abp-Framework-To-9.3.6.Designer.cs | 4 +- ...04080204_Upgrade-Abp-Framework-To-9.3.6.cs | 2 +- ...pgrade-Abp-Framework-To-10-0-2.Designer.cs | 4 +- ...9003422_Upgrade-Abp-Framework-To-10-0-2.cs | 2 +- ...31109_Add-AI-Management-Module.Designer.cs | 4 +- ...20260316031109_Add-AI-Management-Module.cs | 2 +- ...9_Add-Notification-Send-Record.Designer.cs | 4 +- ...0324062229_Add-Notification-Send-Record.cs | 2 +- ..._Add-AI-Tool-Definition-Record.Designer.cs | 4 +- ...330065618_Add-AI-Tool-Definition-Record.cs | 2 +- ...pgrade-Abp-Framework-To-10-2-0.Designer.cs | 4 +- ...3035350_Upgrade-Abp-Framework-To-10-2-0.cs | 2 +- ...019_Add-Blob-Management-Module.Designer.cs | 4 +- ...260421023019_Add-Blob-Management-Module.cs | 2 +- ...941_Add-Identity-User-Inactive.Designer.cs | 4 +- ...260530055941_Add-Identity-User-Inactive.cs | 2 +- .../SingleMigrationsDbContextModelSnapshot.cs | 4 +- .../README.en.md | 4 +- .../README.md | 4 +- .../SingleMigrationsDbContextFactory.cs | 6 +- ...ionsEntityFrameworkCorePostgreSqlModule.cs | 2 +- .../FodyWeavers.xml | 0 .../FodyWeavers.xsd | 0 ...nOne.EntityFrameworkCore.SqlServer.csproj} | 2 +- ...5_Initial-Single-Project-MSSQL.Designer.cs | 4 +- ...0409030245_Initial-Single-Project-MSSQL.cs | 2 +- ...Upgrade-Abp-Framework-To-9.3.6.Designer.cs | 4 +- ...05024538_Upgrade-Abp-Framework-To-9.3.6.cs | 2 +- ...pgrade-Abp-Framework-To-10-0-2.Designer.cs | 4 +- ...9034717_Upgrade-Abp-Framework-To-10-0-2.cs | 2 +- ...53918_Add-AI-Management-Module.Designer.cs | 4 +- ...20260319053918_Add-AI-Management-Module.cs | 2 +- ...3_Add-Notification-Send-Record.Designer.cs | 4 +- ...0324062303_Add-Notification-Send-Record.cs | 2 +- ..._Add-AI-Tool-Definition-Record.Designer.cs | 4 +- ...330065549_Add-AI-Tool-Definition-Record.cs | 2 +- ...pgrade-Abp-Framework-To-10-2-0.Designer.cs | 4 +- ...3035440_Upgrade-Abp-Framework-To-10-2-0.cs | 2 +- ...044_Add-Blob-Management-Module.Designer.cs | 4 +- ...260421023044_Add-Blob-Management-Module.cs | 2 +- ...009_Add-Identity-User-Inactive.Designer.cs | 4 +- ...260530060009_Add-Identity-User-Inactive.cs | 2 +- .../SingleMigrationsDbContextModelSnapshot.cs | 4 +- .../README.en.md | 4 +- .../README.md | 4 +- .../SingleMigrationsDbContextFactory.cs | 6 +- ...tionsEntityFrameworkCoreSqlServerModule.cs | 6 +- .../DataSeeder/BlobDataSeedContributor.cs | 2 +- .../IdentityClaimTypeDataSeedContributor.cs | 2 +- .../DataSeeder/IdentityDataSeedContributor.cs | 2 +- .../OpenIddictDataSeederContributor.cs | 2 +- .../RolePermissionDataSeedContributor.cs | 2 +- .../FodyWeavers.xml | 4 +- .../FodyWeavers.xsd | 58 +- ...rvice.AllInOne.EntityFrameworkCore.csproj} | 2 +- .../README.EN.md | 2 +- .../README.md | 2 +- .../SingleDbMigrationEventHandler.cs | 2 +- .../SingleDbMigrationService.cs | 2 +- .../SingleMigrationsDbContext.cs | 8 +- ...ngleMigrationsEntityFrameworkCoreModule.cs | 2 +- aspnet-core/migrations/Migrate.ps1 | 6 +- aspnet-core/migrations/MigrateEn.ps1 | 6 +- .../.config/dotnet-tools.json | 22 +- .../.gitignore | 2 + .../AllInOneModule.Configure.cs} | 2015 ++++++++--------- .../AllInOneModule.cs} | 977 ++++---- .../BackgroundJobs/NotificationPublishJob.cs | 2 +- .../NotificationPublishJobArgs.cs | 2 +- .../Branding/SingleBrandingProvider.cs | 2 +- .../Bundling/SingleGlobalScriptContributor.cs | 2 +- .../Controllers/HomeController.cs | 22 +- .../Controllers/SettingMergeController.cs | 2 +- .../Controllers/UserSettingMergeController.cs | 2 +- .../Dockerfile | 2 +- .../Distributed/ChatMessageEventHandler.cs | 2 +- .../IdentitySessionAccessEventHandler.cs | 2 +- .../IdentityUserChangedEventHandler.cs | 2 +- .../Distributed/MessageCreatedEventHandler.cs | 2 +- .../Distributed/NotificationEventHandler.cs | 4 +- .../Distributed/UserCreateEventHandler.cs | 2 +- .../Distributed/WebhooksEventHandler.cs | 2 +- .../EventBus/Local/PrivateBlobProtecteder.cs | 2 +- .../Local/UserCreateJoinIMEventHandler.cs | 2 +- .../UserCreateSendWelcomeEventHandler.cs | 2 +- ...scribeIdentityNotificationsEventHandler.cs | 2 +- .../GlobalUsings.cs | 14 +- .../LINGYUN.Abp.MicroService.AllInOne.csproj} | 596 ++--- .../Messages/PlatformEmailMessageManager.cs | 2 +- .../Messages/PlatformEmailSender.cs | 2 +- .../PlatformEmailSettingsAppService.cs | 2 +- .../Messages/PlatformSmsMessageManager.cs | 2 +- .../Messages/PlatformSmsSender.cs | 2 +- ...eSiteCookiesServiceCollectionExtensions.cs | 138 +- .../PaltformAvailableTenantPickerStore.cs | 2 +- .../Pages/_ViewImports.cshtml | 0 .../Program.cs | 12 +- .../Properties/launchSettings.json | 0 .../SystemGroupSettingDefinitionProvider.cs | 2 +- .../TenantHeaderParamter.cs | 68 +- .../Views/Home/Index.cshtml | 2 +- .../Views/Home/Index.cshtml.cs | 2 +- .../Views/_ViewImports.cshtml | 0 .../Messages/TextMessageReplyContributor.cs | 2 +- .../Messages/UserSubscribeEventContributor.cs | 2 +- .../Messages/TextMessageReplyContributor.cs | 2 +- .../appsettings.Development.MySql.json | 0 .../appsettings.Development.PostgreSql.json | 0 .../appsettings.Development.SqlServer.json | 0 .../appsettings.Development.json | 553 ++--- .../appsettings.json | 196 +- .../openiddict.pfx | Bin .../.gitignore | 2 - .../package.json | 10 - .../wwwroot/css/global-styles.css | 9 - .../wwwroot/scripts/abp-wrapper.js | 11 - build/build-aspnetcore-common.ps1 | 2 +- docs/startup-aio-readme.en.md | 16 +- docs/startup-aio-readme.md | 18 +- 208 files changed, 2669 insertions(+), 2700 deletions(-) rename aspnet-core/{LINGYUN.MicroService.SingleProject.slnx => LINGYUN.MicroService.AllInOne.slnx} (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj => LINGYUN.Abp.MicroService.AllInOne.DbMigrator/LINGYUN.Abp.MicroService.AllInOne.DbMigrator.csproj} (74%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/Program.cs (84%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/Properties/launchSettings.json (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/README.EN.md (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/README.md (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/SingleDbMigratorHostedService.cs (89%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/SingleDbMigratorModule.Configure.cs (84%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/SingleDbMigratorModule.cs (68%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/Usings.cs (95%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/appsettings.MySql.json (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/appsettings.PostgreSql.json (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/appsettings.SqlServer.json (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.DbMigrator => LINGYUN.Abp.MicroService.AllInOne.DbMigrator}/appsettings.json (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/FodyWeavers.xml (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/FodyWeavers.xsd (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.csproj} (88%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231012032107_Initial-Single-Project.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231012032107_Initial-Single-Project.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs (91%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs (90%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231028000247_Fix-Notification-Template-Length.cs (94%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240929080118_Add-Demo-Module.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20240929080118_Add-Demo-Module.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20241114072301_Add-Feedback.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20241114072301_Add-Feedback.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20241218145610_AddNewMigration_20241218_225542.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20241218145610_AddNewMigration_20241218_225542.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250208011431_Add-Message-Center.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250208011431_Add-Message-Center.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250208034755_Remove-Message-Status-Default-Value.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250208034755_Remove-Message-Status-Default-Value.cs (95%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250217124909_Add-Gdpr-Module.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250217124909_Add-Gdpr-Module.cs (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250315064423_Add-Javascript-Type.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250315064423_Add-Javascript-Type.cs (91%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.cs (93%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.cs (93%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250403031044_Change-Auth-Data-Type.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250403031044_Change-Auth-Data-Type.cs (93%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250403085116_Add-Subject-Strategy.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250403085116_Add-Subject-Strategy.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250407032556_Add-Book-Auth.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250407032556_Add-Book-Auth.cs (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.cs (94%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20260529063257_Add-Identity-User-Inactive.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20260529063257_Add-Identity-User-Inactive.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Migrations/SingleMigrationsDbContextModelSnapshot.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/README.en.md (90%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/README.md (90%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/SingleMigrationsDbContextFactory.cs (79%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/SingleMigrationsEntityFrameworkCoreMySqlModule.cs (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.MySql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql}/Volo/Abp/OpenIddict/Tokens/EfCoreMySqlOpenIddictTokenRepository.cs (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/FodyWeavers.xml (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/FodyWeavers.xsd (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.csproj => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.csproj} (88%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20241209113645_InitialSingleProject.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20241209113645_InitialSingleProject.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20241210084730_Add-DataProtection-Module.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20241210084730_Add-DataProtection-Module.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260316031109_Add-AI-Management-Module.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260316031109_Add-AI-Management-Module.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260324062229_Add-Notification-Send-Record.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260324062229_Add-Notification-Send-Record.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260330065618_Add-AI-Tool-Definition-Record.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260330065618_Add-AI-Tool-Definition-Record.cs (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260421023019_Add-Blob-Management-Module.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260421023019_Add-Blob-Management-Module.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260530055941_Add-Identity-User-Inactive.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/20260530055941_Add-Identity-User-Inactive.cs (95%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/Migrations/SingleMigrationsDbContextModelSnapshot.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/README.en.md (90%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/README.md (89%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/SingleMigrationsDbContextFactory.cs (82%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql}/SingleMigrationsEntityFrameworkCorePostgreSqlModule.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/FodyWeavers.xml (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/FodyWeavers.xsd (100%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.csproj => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.csproj} (88%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20250409030245_Initial-Single-Project-MSSQL.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20250409030245_Initial-Single-Project-MSSQL.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.cs (93%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260319053918_Add-AI-Management-Module.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260319053918_Add-AI-Management-Module.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260324062303_Add-Notification-Send-Record.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260324062303_Add-Notification-Send-Record.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260330065549_Add-AI-Tool-Definition-Record.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260330065549_Add-AI-Tool-Definition-Record.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260421023044_Add-Blob-Management-Module.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260421023044_Add-Blob-Management-Module.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260530060009_Add-Identity-User-Inactive.Designer.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/20260530060009_Add-Identity-User-Inactive.cs (95%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/Migrations/SingleMigrationsDbContextModelSnapshot.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/README.en.md (90%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/README.md (90%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/SingleMigrationsDbContextFactory.cs (80%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer}/SingleMigrationsEntityFrameworkCoreSqlServerModule.cs (92%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/DataSeeder/BlobDataSeedContributor.cs (87%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/DataSeeder/IdentityClaimTypeDataSeedContributor.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/DataSeeder/IdentityDataSeedContributor.cs (95%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/DataSeeder/OpenIddictDataSeederContributor.cs (99%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/DataSeeder/RolePermissionDataSeedContributor.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/FodyWeavers.xml (91%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/FodyWeavers.xsd (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore/LY.MicroService.Applications.Single.EntityFrameworkCore.csproj => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.csproj} (97%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/README.EN.md (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/README.md (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/SingleDbMigrationEventHandler.cs (98%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/SingleDbMigrationService.cs (94%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/SingleMigrationsDbContext.cs (96%) rename aspnet-core/migrations/{LY.MicroService.Applications.Single.EntityFrameworkCore => LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore}/SingleMigrationsEntityFrameworkCoreModule.cs (97%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/.config/dotnet-tools.json (92%) create mode 100644 aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/.gitignore rename aspnet-core/services/{LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs => LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.Configure.cs} (92%) rename aspnet-core/services/{LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs => LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.cs} (96%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/BackgroundJobs/NotificationPublishJob.cs (98%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/BackgroundJobs/NotificationPublishJobArgs.cs (91%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Branding/SingleBrandingProvider.cs (92%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Bundling/SingleGlobalScriptContributor.cs (85%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Controllers/HomeController.cs (68%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Controllers/SettingMergeController.cs (97%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Controllers/UserSettingMergeController.cs (96%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Dockerfile (85%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Distributed/ChatMessageEventHandler.cs (97%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Distributed/IdentitySessionAccessEventHandler.cs (99%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Distributed/IdentityUserChangedEventHandler.cs (91%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Distributed/MessageCreatedEventHandler.cs (96%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Distributed/NotificationEventHandler.cs (99%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Distributed/UserCreateEventHandler.cs (93%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Distributed/WebhooksEventHandler.cs (98%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Local/PrivateBlobProtecteder.cs (97%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Local/UserCreateJoinIMEventHandler.cs (96%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Local/UserCreateSendWelcomeEventHandler.cs (98%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/EventBus/Local/UserCreateSubscribeIdentityNotificationsEventHandler.cs (96%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/GlobalUsings.cs (95%) rename aspnet-core/services/{LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj => LINGYUN.Abp.MicroService.AllInOne/LINGYUN.Abp.MicroService.AllInOne.csproj} (97%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Messages/PlatformEmailMessageManager.cs (92%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Messages/PlatformEmailSender.cs (98%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Messages/PlatformEmailSettingsAppService.cs (98%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Messages/PlatformSmsMessageManager.cs (90%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Messages/PlatformSmsSender.cs (94%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs (97%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/MultiTenancy/PaltformAvailableTenantPickerStore.cs (91%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Pages/_ViewImports.cshtml (100%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Program.cs (81%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Properties/launchSettings.json (100%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Settings/SystemGroupSettingDefinitionProvider.cs (99%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/TenantHeaderParamter.cs (93%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Views/Home/Index.cshtml (95%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Views/Home/Index.cshtml.cs (72%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/Views/_ViewImports.cshtml (100%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/WeChat/Official/Messages/TextMessageReplyContributor.cs (91%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/WeChat/Official/Messages/UserSubscribeEventContributor.cs (91%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/WeChat/Work/Messages/TextMessageReplyContributor.cs (92%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/appsettings.Development.MySql.json (100%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/appsettings.Development.PostgreSql.json (100%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/appsettings.Development.SqlServer.json (100%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/appsettings.Development.json (95%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/appsettings.json (96%) rename aspnet-core/services/{LY.MicroService.Applications.Single => LINGYUN.Abp.MicroService.AllInOne}/openiddict.pfx (100%) delete mode 100644 aspnet-core/services/LY.MicroService.Applications.Single/.gitignore delete mode 100644 aspnet-core/services/LY.MicroService.Applications.Single/package.json delete mode 100644 aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/css/global-styles.css delete mode 100644 aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/scripts/abp-wrapper.js diff --git a/README.en.md b/README.en.md index 2f9634d40..a313be3cc 100644 --- a/README.en.md +++ b/README.en.md @@ -197,7 +197,7 @@ apps/vben5/ │ │ ├── LINGYUN.Abp.MicroService.WorkflowService/ # Workflow service (30050) │ │ ├── LINGYUN.Abp.MicroService.WeChatService/ # WeChat service (30060) │ │ ├── LINGYUN.Abp.MicroService.AIService/ # AI service (30070) -│ │ ├── LY.MicroService.Applications.Single/ # Monolith (30000, gateway and all modules merged) +│ │ ├── LINGYUN.Abp.MicroService.AllInOne/ # Monolith (30000, gateway and all modules merged) │ │ ├── LY.MicroService.IdentityServer/ # IdentityServer based services and hosts │ │ ├── LINGYUN.Abp.Applications/ LY.AIO.Applications.Single/ # Other hosts │ │ └── Publish/ # Publish output directory (used by the container image builds) @@ -232,7 +232,7 @@ apps/vben5/ │ ├── tests/ # Unit test projects │ ├── LINGYUN.MicroService.All.slnx # Full solution │ ├── LINGYUN.MicroService.Aspire.slnx # Aspire solution -│ └── LINGYUN.MicroService.SingleProject.slnx # Monolith solution +│ └── LINGYUN.MicroService.AllInOne.slnx # Monolith solution ├── gateways/ │ ├── internal/ # Internal gateway (YARP): Internal.Gateway / OpenApi.Gateway + yarp*.json routes │ └── web/ # Web gateway: LY.MicroService.ApiGateway @@ -369,7 +369,7 @@ docker-compose -f .\docker-compose.middleware.yml -p labp up -d # On the first run, wait at least 30 seconds # 2) Start the monolith -cd .\aspnet-core\services\LY.MicroService.Applications.Single +cd .\aspnet-core\services\LINGYUN.Abp.MicroService.AllInOne dotnet run --launch-profile Single.MySql.Dev # 3) Start the frontend diff --git a/README.md b/README.md index 1c6d24386..0012d5892 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ apps/vben5/ │ │ ├── LINGYUN.Abp.MicroService.WorkflowService/ # 工作流服务(30050) │ │ ├── LINGYUN.Abp.MicroService.WeChatService/ # 微信服务(30060) │ │ ├── LINGYUN.Abp.MicroService.AIService/ # AI 服务(30070) -│ │ ├── LY.MicroService.Applications.Single/ # 单体应用(30000,合并网关与全部模块) +│ │ ├── LINGYUN.Abp.MicroService.AllInOne/ # 单体应用(30000,合并网关与全部模块) │ │ ├── LY.MicroService.IdentityServer/ # IdentityServer 版本服务与宿主 │ │ ├── LINGYUN.Abp.Applications/ LY.AIO.Applications.Single/ # 其它宿主 │ │ └── Publish/ # 发布输出目录(容器镜像构建使用) @@ -231,7 +231,7 @@ apps/vben5/ │ ├── tests/ # 单元测试项目 │ ├── LINGYUN.MicroService.All.slnx # 全量解决方案 │ ├── LINGYUN.MicroService.Aspire.slnx # Aspire 解决方案 -│ └── LINGYUN.MicroService.SingleProject.slnx # 单体解决方案 +│ └── LINGYUN.MicroService.AllInOne.slnx # 单体解决方案 ├── gateways/ │ ├── internal/ # 内部网关(YARP):Internal.Gateway / OpenApi.Gateway + yarp*.json 路由 │ └── web/ # Web 网关:LY.MicroService.ApiGateway @@ -368,7 +368,7 @@ docker-compose -f .\docker-compose.middleware.yml -p labp up -d # 首次启动请等待 30 秒以上 # ② 启动单体服务 -cd .\aspnet-core\services\LY.MicroService.Applications.Single +cd .\aspnet-core\services\LINGYUN.Abp.MicroService.AllInOne dotnet run --launch-profile Single.MySql.Dev # ③ 启动前端 diff --git a/aspnet-core/LINGYUN.MicroService.SingleProject.slnx b/aspnet-core/LINGYUN.MicroService.AllInOne.slnx similarity index 97% rename from aspnet-core/LINGYUN.MicroService.SingleProject.slnx rename to aspnet-core/LINGYUN.MicroService.AllInOne.slnx index f97111341..bbb5fa363 100644 --- a/aspnet-core/LINGYUN.MicroService.SingleProject.slnx +++ b/aspnet-core/LINGYUN.MicroService.AllInOne.slnx @@ -4,6 +4,7 @@ + @@ -165,15 +166,15 @@ - + - - - - - + + + + + @@ -441,6 +442,7 @@ + diff --git a/aspnet-core/cleanup-logs.bat b/aspnet-core/cleanup-logs.bat index 77f00d751..de3ce4a5e 100644 --- a/aspnet-core/cleanup-logs.bat +++ b/aspnet-core/cleanup-logs.bat @@ -17,7 +17,7 @@ del .\aspire\LINGYUN.Abp.MicroService.WebhookService\Logs /Q del .\aspire\LINGYUN.Abp.MicroService.WeChatService\Logs /Q del .\aspire\LINGYUN.Abp.MicroService.WorkflowService\Logs /Q -del .\services\LY.MicroService.Applications.Single\Logs /Q +del .\services\LINGYUN.Abp.MicroService.AllInOne\Logs /Q del .\services\LINGYUN.Abp.MicroService.LocalizationService\Logs /Q del .\services\LINGYUN.Abp.MicroService.AuthServer\Logs /Q del .\services\LINGYUN.Abp.MicroService.AdminService\Logs /Q diff --git a/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.EN.md b/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.EN.md index 51f932d07..6bf85ddf2 100644 --- a/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.EN.md +++ b/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.EN.md @@ -68,6 +68,6 @@ public class YouProjectModule : AbpModule ## More Resources * [GitHub Repository](https://github.com/colinin/abp-next-admin) -* [Sample Application](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/services/LY.MicroService.Applications.Single) +* [Sample Application](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne) [简体中文](./README.md) diff --git a/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.md b/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.md index 3ddc184c9..075c8a82a 100644 --- a/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.md +++ b/aspnet-core/framework/authorization/LINGYUN.Abp.Authorization.OrganizationUnits/README.md @@ -68,6 +68,6 @@ public class YouProjectModule : AbpModule ## 更多资源 * [GitHub仓库](https://github.com/colinin/abp-next-admin) -* [示例应用程序](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/services/LY.MicroService.Applications.Single) +* [示例应用程序](https://github.com/colinin/abp-next-admin/tree/master/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne) [English](./README.EN.md) diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/LINGYUN.Abp.MicroService.AllInOne.DbMigrator.csproj similarity index 74% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/LINGYUN.Abp.MicroService.AllInOne.DbMigrator.csproj index 00460759f..3a26ebeae 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/LY.MicroService.Applications.Single.DbMigrator.csproj +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/LINGYUN.Abp.MicroService.AllInOne.DbMigrator.csproj @@ -29,9 +29,9 @@ - - - + + + diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Program.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Program.cs similarity index 84% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Program.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Program.cs index 3002584ad..4af058103 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Program.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Program.cs @@ -5,7 +5,7 @@ using Microsoft.Extensions.Logging; using Serilog; using Serilog.Events; -namespace LY.MicroService.Applications.Single.DbMigrator; +namespace LINGYUN.Abp.MicroService.AllInOne.DbMigrator; public class Program { @@ -16,9 +16,9 @@ public class Program .MinimumLevel.Override("Microsoft", LogEventLevel.Warning) .MinimumLevel.Override("Volo.Abp", LogEventLevel.Warning) #if DEBUG - .MinimumLevel.Override("LY.MicroService.Applications.Single.DbMigrator", LogEventLevel.Debug) + .MinimumLevel.Override("LINGYUN.Abp.MicroService.AllInOne.DbMigrator", LogEventLevel.Debug) #else - .MinimumLevel.Override("LY.MicroService.Applications.Single.DbMigrator", LogEventLevel.Information) + .MinimumLevel.Override("LINGYUN.Abp.MicroService.AllInOne.DbMigrator", LogEventLevel.Information) #endif .Enrich.FromLogContext() .WriteTo.Console() diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Properties/launchSettings.json b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Properties/launchSettings.json similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Properties/launchSettings.json rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Properties/launchSettings.json diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.EN.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/README.EN.md similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.EN.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/README.EN.md index e60db3ab6..f7c80063b 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.EN.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/README.EN.md @@ -1,4 +1,4 @@ -# LY.MicroService.Applications.Single.DbMigrator +# LINGYUN.Abp.MicroService.AllInOne.DbMigrator Single application database migration tool for automatically executing database migrations and initializing data. diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/README.md similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/README.md index 1a997f51b..bf1c97194 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/README.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/README.md @@ -1,4 +1,4 @@ -# LY.MicroService.Applications.Single.DbMigrator +# LINGYUN.Abp.MicroService.AllInOne.DbMigrator 单体应用数据库迁移工具,用于自动执行数据库迁移和初始化数据。 diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorHostedService.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorHostedService.cs similarity index 89% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorHostedService.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorHostedService.cs index 450f0a28e..9e7d0bd9a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorHostedService.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorHostedService.cs @@ -1,51 +1,51 @@ -using LY.MicroService.Applications.Single.EntityFrameworkCore; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Hosting; -using Serilog; -using Volo.Abp; -using Volo.Abp.Data; - -namespace LY.MicroService.Applications.Single.DbMigrator; - -public class SingleDbMigratorHostedService : IHostedService -{ - private readonly IHostApplicationLifetime _hostApplicationLifetime; - private readonly IConfiguration _configuration; - - public SingleDbMigratorHostedService( - IHostApplicationLifetime hostApplicationLifetime, - IConfiguration configuration) - { - _hostApplicationLifetime = hostApplicationLifetime; - _configuration = configuration; - } - - public async Task StartAsync(CancellationToken cancellationToken) - { - using var application = await AbpApplicationFactory - .CreateAsync(options => - { - options.Services.ReplaceConfiguration(_configuration); - options.UseAutofac(); - options.Services.AddLogging(c => c.AddSerilog()); - options.AddDataMigrationEnvironment(); - }); - await application.InitializeAsync(); - - await application - .ServiceProvider - .GetRequiredService() - .CheckAndApplyDatabaseMigrationsAsync(); - - await application.ShutdownAsync(); - - _hostApplicationLifetime.StopApplication(); - } - - public Task StopAsync(CancellationToken cancellationToken) - { - return Task.CompletedTask; - } -} - +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; +using Microsoft.Extensions.Hosting; +using Serilog; +using Volo.Abp; +using Volo.Abp.Data; + +namespace LINGYUN.Abp.MicroService.AllInOne.DbMigrator; + +public class SingleDbMigratorHostedService : IHostedService +{ + private readonly IHostApplicationLifetime _hostApplicationLifetime; + private readonly IConfiguration _configuration; + + public SingleDbMigratorHostedService( + IHostApplicationLifetime hostApplicationLifetime, + IConfiguration configuration) + { + _hostApplicationLifetime = hostApplicationLifetime; + _configuration = configuration; + } + + public async Task StartAsync(CancellationToken cancellationToken) + { + using var application = await AbpApplicationFactory + .CreateAsync(options => + { + options.Services.ReplaceConfiguration(_configuration); + options.UseAutofac(); + options.Services.AddLogging(c => c.AddSerilog()); + options.AddDataMigrationEnvironment(); + }); + await application.InitializeAsync(); + + await application + .ServiceProvider + .GetRequiredService() + .CheckAndApplyDatabaseMigrationsAsync(); + + await application.ShutdownAsync(); + + _hostApplicationLifetime.StopApplication(); + } + + public Task StopAsync(CancellationToken cancellationToken) + { + return Task.CompletedTask; + } +} + diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorModule.Configure.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorModule.Configure.cs similarity index 84% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorModule.Configure.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorModule.Configure.cs index 858548762..623641a5a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorModule.Configure.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorModule.Configure.cs @@ -1,7 +1,7 @@ using Microsoft.Extensions.Configuration; using Volo.Abp.Timing; -namespace LY.MicroService.Applications.Single.DbMigrator; +namespace LINGYUN.Abp.MicroService.AllInOne.DbMigrator; public partial class SingleDbMigratorModule { private void ConfigureTiming(IConfiguration configuration) diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorModule.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorModule.cs similarity index 68% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorModule.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorModule.cs index 8e421dc2e..4b5d48212 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/SingleDbMigratorModule.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/SingleDbMigratorModule.cs @@ -1,11 +1,11 @@ -using LY.MicroService.Applications.Single.EntityFrameworkCore.MySql; -using LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql; -using LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer; using Microsoft.Extensions.DependencyInjection; using Volo.Abp.Autofac; using Volo.Abp.Modularity; -namespace LY.MicroService.Applications.Single.DbMigrator; +namespace LINGYUN.Abp.MicroService.AllInOne.DbMigrator; [DependsOn( typeof(AbpAutofacModule), diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Usings.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Usings.cs similarity index 95% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Usings.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Usings.cs index 8d1695408..c79c834ca 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/Usings.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Usings.cs @@ -1,7 +1,7 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Volo.Abp; -using LINGYUN.Abp; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Volo.Abp; +using LINGYUN.Abp; diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.MySql.json similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.MySql.json rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.MySql.json diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.PostgreSql.json b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.PostgreSql.json similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.PostgreSql.json rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.PostgreSql.json diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.SqlServer.json b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.SqlServer.json similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.SqlServer.json rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.SqlServer.json diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.json b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.json similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.json rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.json diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xml b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/FodyWeavers.xml similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xml rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/FodyWeavers.xml diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xsd b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/FodyWeavers.xsd similarity index 100% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/FodyWeavers.xsd rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/FodyWeavers.xsd diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.csproj similarity index 88% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.csproj index 34a804c9c..051d085a1 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.csproj +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.csproj @@ -23,7 +23,7 @@ - + diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs index 48d2f9a55..0354bee0d 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20231012032107_Initial-Single-Project")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs index 62a979f8a..b4c9f8125 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231012032107_Initial-Single-Project.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class InitialSingleProject : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs index 140582a8f..441739c5c 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20231016100545_Add-Field-With-Text-Template-Definition")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs similarity index 91% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs index a262ebc12..83570405e 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231016100545_Add-Field-With-Text-Template-Definition.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddFieldWithTextTemplateDefinition : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs index ccdacf30f..34dcc571b 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20231026015443_Add-Field-With-Notification-Definition")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs similarity index 90% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs index 63f73e233..64a06aff4 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231026015443_Add-Field-With-Notification-Definition.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddFieldWithNotificationDefinition : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs index ed1919666..b8a7f2998 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20231028000247_Fix-Notification-Template-Length")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs similarity index 94% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs index 4982c2bac..8a1548d05 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231028000247_Fix-Notification-Template-Length.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class FixNotificationTemplateLength : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs index fa31ab6c8..2a357ff54 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20231222014501_Upgrade-Abp-Framework-To-8.0.0")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs index a42b3a443..36108c613 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20231222014501_Upgrade-Abp-Framework-To-8.0.0.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo800 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs index d8ec5faf5..382f430cc 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20240217054527_Upgrade-Abp-Framework-To-8.0.3")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs index 0601d630f..2ad7c70c5 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240217054527_Upgrade-Abp-Framework-To-8.0.3.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo803 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs index a9c23b520..326be70ef 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20240624002940_Upgrade-Abp-Framework-To-8.1.3")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs index b7850271b..77fcd4a75 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240624002940_Upgrade-Abp-Framework-To-8.1.3.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo813 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs index 794389310..5c7768f20 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20240729102008_Upgrade-Abp-Framework-To-8-2-0")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs index 5849eba96..807dacd47 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240729102008_Upgrade-Abp-Framework-To-8-2-0.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo820 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs index bde5318bc..c1bab4081 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20240929080118_Add-Demo-Module")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs index 0ebb2cad1..520399e70 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20240929080118_Add-Demo-Module.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddDemoModule : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.Designer.cs index 0c4e65d53..df5390ae0 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20241114072301_Add-Feedback")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.cs index f453341b2..4a642dc5a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241114072301_Add-Feedback.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.Migrations { /// public partial class AddFeedback : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.Designer.cs index f61908182..ef7b1297f 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20241218145610_AddNewMigration_20241218_225542")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.cs index e93c422e8..afab15e70 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20241218145610_AddNewMigration_20241218_225542.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddNewMigration_20241218_225542 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.Designer.cs index de3d048b8..e6726a2b0 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250208011431_Add-Message-Center")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.cs index 4c69ebdfe..7f17d5445 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208011431_Add-Message-Center.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddMessageCenter : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.Designer.cs index 08a9c822b..a229d927f 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250208034755_Remove-Message-Status-Default-Value")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.cs similarity index 95% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.cs index 7b6bb57d3..3bc522578 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250208034755_Remove-Message-Status-Default-Value.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class RemoveMessageStatusDefaultValue : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.Designer.cs index 6337d0bcd..e85911468 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250209034124_Upgrade-Abp-Framework-To-9.0.4")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.cs index 30958e48a..e1b4f4f6e 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250209034124_Upgrade-Abp-Framework-To-9.0.4.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo904 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.Designer.cs index 1f824564c..2f694423a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250217124909_Add-Gdpr-Module")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.cs similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.cs index 34770744b..d309dc506 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250217124909_Add-Gdpr-Module.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddGdprModule : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.Designer.cs index bdb84293d..50be3f079 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.cs index 51bcbf4de..ebf9b51c2 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315061656_Remove-Identity-Server-And-Add-Entity-Enum-Info.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class RemoveIdentityServerAndAddEntityEnumInfo : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.Designer.cs index 47b59a092..aff98e012 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250315064423_Add-Javascript-Type")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.cs similarity index 91% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.cs index 13f1fd0b8..3c7284cde 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315064423_Add-Javascript-Type.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddJavascriptType : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.Designer.cs index 567778fde..6d5633b8d 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250315084750_Rename-Allow-Properties-To-Accessed-Properties")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.cs similarity index 93% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.cs index 8b34835e9..86166ce90 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250315084750_Rename-Allow-Properties-To-Accessed-Properties.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class RenameAllowPropertiesToAccessedProperties : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.Designer.cs index 265b26dd2..00da4edc2 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250402083655_Upgrade-Abp-Framework-To-9.1.1")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.cs similarity index 93% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.cs index 57d011c7a..401680406 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250402083655_Upgrade-Abp-Framework-To-9.1.1.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo911 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.Designer.cs index 65a15cab7..a3338d7ab 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250403031044_Change-Auth-Data-Type")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.cs similarity index 93% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.cs index df23a8266..609617ba0 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403031044_Change-Auth-Data-Type.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class ChangeAuthDataType : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.Designer.cs index 8f078eeaa..e2e57d729 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250403085116_Add-Subject-Strategy")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.cs index b3df0256b..e8282b6e8 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250403085116_Add-Subject-Strategy.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddSubjectStrategy : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.Designer.cs index b22ddbcbb..f9971058e 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250407032556_Add-Book-Auth")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.cs similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.cs index 08111b76b..91359c368 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250407032556_Add-Book-Auth.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddBookAuth : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.Designer.cs index 503871227..2a0759aa4 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250813012035_Upgrade-Abp-Framework-To-9.3.1")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.cs index 8a7aee6ab..81ac47e1d 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20250813012035_Upgrade-Abp-Framework-To-9.3.1.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo931 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.Designer.cs index 784937371..510af3126 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20251205024625_Upgrade-Abp-Framework-To-9.3.6")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.cs similarity index 94% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.cs index bd0bc651e..3b4090647 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20251205024625_Upgrade-Abp-Framework-To-9.3.6.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo936 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.Designer.cs index 17bd49f96..095b04c1c 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260421022905_Upgrade-Abp-Framework-To-10-2-0")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.cs index 8114460cd..3e5b73164 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260421022905_Upgrade-Abp-Framework-To-10-2-0.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class UpgradeAbpFrameworkTo1020 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.Designer.cs index 56d735da0..b07275e3b 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260529063257_Add-Identity-User-Inactive")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.cs index 923b820aa..7afca3384 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260529063257_Add-Identity-User-Inactive.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class AddIdentityUserInactive : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.Designer.cs index c3337ce66..af585451e 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.cs index cd7882bb8..bab85064c 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/20260626034342_Fix-MySql-Index-Key-Too-Lang-For-Resource-Permission-Grant.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { /// public partial class FixMySqlIndexKeyTooLangForResourcePermissionGrant : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs index 5ad550b7b..5df9394c7 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/Migrations/SingleMigrationsDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] partial class SingleMigrationsDbContextModelSnapshot : ModelSnapshot diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/README.en.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/README.en.md similarity index 90% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/README.en.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/README.en.md index e1e97c34f..18d27eed1 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/README.en.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/README.en.md @@ -26,7 +26,7 @@ This guide will help you manage MySQL database migrations using the migration sc 2. Select MySQL database context from the menu: ``` - [1] LY.MicroService.Applications.Single.EntityFrameworkCore.MySql + [1] LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql ``` 3. Enter migration name (optional): @@ -45,7 +45,7 @@ After creating the migration, the script will ask if you want to generate SQL sc Generated SQL scripts will be saved in: ``` -aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/ +aspnet-core/InitSql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/ ``` ### 3. Apply Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/README.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/README.md similarity index 90% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/README.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/README.md index 295e1e512..7e3e7b4c4 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/README.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/README.md @@ -26,7 +26,7 @@ 2. 在菜单中选择 MySQL 数据库上下文: ``` - [1] LY.MicroService.Applications.Single.EntityFrameworkCore.MySql + [1] LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql ``` 3. 输入迁移名称(可选): @@ -45,7 +45,7 @@ 生成的 SQL 脚本将保存在: ``` -aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/ +aspnet-core/InitSql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/ ``` ### 3. 应用迁移 diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs similarity index 79% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs index 0916c22a7..e334fb384 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql/SingleMigrationsDbContextFactory.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Design; using Microsoft.Extensions.Configuration; using System.IO; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.MySql; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql; public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory { @@ -13,7 +13,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory() - .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString), b => b.MigrationsAssembly("LY.MicroService.Applications.Single.EntityFrameworkCore.MySql")); + .UseMySql(connectionString, ServerVersion.AutoDetect(connectionString), b => b.MigrationsAssembly("LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql")); return new SingleMigrationsDbContext(builder!.Options); } @@ -22,7 +22,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory - + diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.Designer.cs index 15ad3f137..80c5dfe96 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20241209113645_InitialSingleProject")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.cs index 4e2db5044..44ab87a7a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241209113645_InitialSingleProject.cs @@ -4,7 +4,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class InitialSingleProject : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.Designer.cs index 00a659584..1aef8b42c 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20241210084730_Add-DataProtection-Module")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.cs index 54fa806f2..f6df055a1 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20241210084730_Add-DataProtection-Module.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class AddDataProtectionModule : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.Designer.cs index 8978a9bc4..40fc85754 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20251204080204_Upgrade-Abp-Framework-To-9.3.6")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.cs index da07e6a94..54c779ce2 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20251204080204_Upgrade-Abp-Framework-To-9.3.6.cs @@ -4,7 +4,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class UpgradeAbpFrameworkTo936 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.Designer.cs index 88fdac3a0..ae1daa45b 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260109003422_Upgrade-Abp-Framework-To-10-0-2")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.cs index 5b5f2ea05..a8860052a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260109003422_Upgrade-Abp-Framework-To-10-0-2.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class UpgradeAbpFrameworkTo1002 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.Designer.cs index 1dfa168ec..735ed5bd6 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260316031109_Add-AI-Management-Module")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.cs index e26f327e9..aeca6c6a8 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260316031109_Add-AI-Management-Module.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class AddAIManagementModule : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.Designer.cs index 53106ad7b..7e4949f3d 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260324062229_Add-Notification-Send-Record")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.cs index ff588f3a6..18e5421c0 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260324062229_Add-Notification-Send-Record.cs @@ -4,7 +4,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class AddNotificationSendRecord : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.Designer.cs index 49a466143..693342fb6 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260330065618_Add-AI-Tool-Definition-Record")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.cs similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.cs index dc47bb94b..d46408fcd 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260330065618_Add-AI-Tool-Definition-Record.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class AddAIToolDefinitionRecord : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.Designer.cs index 96d4c5a3b..ba800fcd5 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260403035350_Upgrade-Abp-Framework-To-10-2-0")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.cs index 9083d5308..4a8e4fd31 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260403035350_Upgrade-Abp-Framework-To-10-2-0.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class UpgradeAbpFrameworkTo1020 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.Designer.cs index 8482ed6fe..fc28be911 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260421023019_Add-Blob-Management-Module")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.cs index e90183118..b1127fb64 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260421023019_Add-Blob-Management-Module.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class AddBlobManagementModule : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.Designer.cs index bb44009f8..46e1529c2 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260530055941_Add-Identity-User-Inactive")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.cs similarity index 95% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.cs index b3608133c..3ec8173cb 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/20260530055941_Add-Identity-User-Inactive.cs @@ -4,7 +4,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { /// public partial class AddIdentityUserInactive : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/SingleMigrationsDbContextModelSnapshot.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/SingleMigrationsDbContextModelSnapshot.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/SingleMigrationsDbContextModelSnapshot.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/SingleMigrationsDbContextModelSnapshot.cs index 66cdc6cf0..0a5ac870f 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/Migrations/SingleMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/Migrations/SingleMigrationsDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] partial class SingleMigrationsDbContextModelSnapshot : ModelSnapshot diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/README.en.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/README.en.md similarity index 90% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/README.en.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/README.en.md index 58927c276..f33339d46 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/README.en.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/README.en.md @@ -26,7 +26,7 @@ This guide will help you manage PostgreSQL database migrations using the migrati 2. Select PostgreSQL database context from the menu: ``` - [2] LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql + [2] LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql ``` 3. Enter migration name (optional): @@ -45,7 +45,7 @@ After creating the migration, the script will ask if you want to generate SQL sc Generated SQL scripts will be saved in: ``` -aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/ +aspnet-core/InitSql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/ ``` ### 3. Apply Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/README.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/README.md similarity index 89% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/README.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/README.md index a6822d091..65a277e22 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/README.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/README.md @@ -26,7 +26,7 @@ 2. 在菜单中选择 PostgreSQL 数据库上下文: ``` - [2] LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql + [2] LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql ``` 3. 输入迁移名称(可选): @@ -45,7 +45,7 @@ 生成的 SQL 脚本将保存在: ``` -aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/ +aspnet-core/InitSql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/ ``` ### 3. 应用迁移 diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/SingleMigrationsDbContextFactory.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/SingleMigrationsDbContextFactory.cs similarity index 82% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/SingleMigrationsDbContextFactory.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/SingleMigrationsDbContextFactory.cs index b11811c39..526470942 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql/SingleMigrationsDbContextFactory.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql/SingleMigrationsDbContextFactory.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Configuration; using System; using System.IO; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql; public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory { @@ -18,7 +18,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory() .UseNpgsql(connectionString, - b => b.MigrationsAssembly("LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql")); + b => b.MigrationsAssembly("LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql")); return new SingleMigrationsDbContext(builder!.Options); } @@ -27,7 +27,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory - + diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.Designer.cs index 22460d40d..8df856d40 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20250409030245_Initial-Single-Project-MSSQL")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.cs index 69d5dff02..b4e2075de 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20250409030245_Initial-Single-Project-MSSQL.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class InitialSingleProjectMSSQL : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.Designer.cs index f16b32ee5..1a28a79c0 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20251205024538_Upgrade-Abp-Framework-To-9.3.6")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.cs similarity index 93% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.cs index b0457268b..c31c3b6e8 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20251205024538_Upgrade-Abp-Framework-To-9.3.6.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class UpgradeAbpFrameworkTo936 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.Designer.cs index 328b8833a..c043a8687 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260109034717_Upgrade-Abp-Framework-To-10-0-2")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.cs index 469fcef3d..b59d00cee 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260109034717_Upgrade-Abp-Framework-To-10-0-2.cs @@ -2,7 +2,7 @@ #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class UpgradeAbpFrameworkTo1002 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.Designer.cs index 8d703130f..2110ed49a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260319053918_Add-AI-Management-Module")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.cs index 384cdb329..031a5947c 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260319053918_Add-AI-Management-Module.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class AddAIManagementModule : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.Designer.cs index 93f983995..9c04e1fb3 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260324062303_Add-Notification-Send-Record")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.cs index 0bd495012..da29e1fa1 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260324062303_Add-Notification-Send-Record.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class AddNotificationSendRecord : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.Designer.cs index 9a6e77085..80faae874 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260330065549_Add-AI-Tool-Definition-Record")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.cs index b44e602b0..f288abc2d 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260330065549_Add-AI-Tool-Definition-Record.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class AddAIToolDefinitionRecord : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.Designer.cs index 2df5e17c2..d629e7907 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260403035440_Upgrade-Abp-Framework-To-10-2-0")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.cs index c6abed986..a1ee295bd 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260403035440_Upgrade-Abp-Framework-To-10-2-0.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class UpgradeAbpFrameworkTo1020 : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.Designer.cs index 5dda81893..dac985425 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260421023044_Add-Blob-Management-Module")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.cs index 1ffe60b9b..d15c2f02a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260421023044_Add-Blob-Management-Module.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class AddBlobManagementModule : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.Designer.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.Designer.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.Designer.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.Designer.cs index fb954060e..98c0c7695 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.Designer.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.Designer.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -10,7 +10,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] [Migration("20260530060009_Add-Identity-User-Inactive")] diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.cs similarity index 95% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.cs index 9a6978c53..76f0c523e 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/20260530060009_Add-Identity-User-Inactive.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { /// public partial class AddIdentityUserInactive : Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/SingleMigrationsDbContextModelSnapshot.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/SingleMigrationsDbContextModelSnapshot.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/SingleMigrationsDbContextModelSnapshot.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/SingleMigrationsDbContextModelSnapshot.cs index efa318d98..1d66ef4c8 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/Migrations/SingleMigrationsDbContextModelSnapshot.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/Migrations/SingleMigrationsDbContextModelSnapshot.cs @@ -1,6 +1,6 @@ // using System; -using LY.MicroService.Applications.Single.EntityFrameworkCore; +using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -9,7 +9,7 @@ using Volo.Abp.EntityFrameworkCore; #nullable disable -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer.Migrations +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer.Migrations { [DbContext(typeof(SingleMigrationsDbContext))] partial class SingleMigrationsDbContextModelSnapshot : ModelSnapshot diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/README.en.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/README.en.md similarity index 90% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/README.en.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/README.en.md index 06cf0b61a..eb175645b 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/README.en.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/README.en.md @@ -26,7 +26,7 @@ This guide will help you manage SQL Server database migrations using the migrati 2. Select SQL Server database context from the menu: ``` - [3] LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer + [3] LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer ``` 3. Enter migration name (optional): @@ -45,7 +45,7 @@ After creating the migration, the script will ask if you want to generate SQL sc Generated SQL scripts will be saved in: ``` -aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/ +aspnet-core/InitSql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/ ``` ### 3. Apply Migration diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/README.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/README.md similarity index 90% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/README.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/README.md index e086b650a..d93f0bec5 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/README.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/README.md @@ -26,7 +26,7 @@ 2. 在菜单中选择 SQL Server 数据库上下文: ``` - [3] LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer + [3] LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer ``` 3. 输入迁移名称(可选): @@ -45,7 +45,7 @@ 生成的 SQL 脚本将保存在: ``` -aspnet-core/InitSql/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/ +aspnet-core/InitSql/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/ ``` ### 3. 应用迁移 diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/SingleMigrationsDbContextFactory.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/SingleMigrationsDbContextFactory.cs similarity index 80% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/SingleMigrationsDbContextFactory.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/SingleMigrationsDbContextFactory.cs index 0d6919c93..b8aa33a29 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer/SingleMigrationsDbContextFactory.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer/SingleMigrationsDbContextFactory.cs @@ -4,7 +4,7 @@ using Microsoft.Extensions.Configuration; using System; using System.IO; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer; public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory { @@ -15,7 +15,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory() .UseSqlServer(connectionString, - b => b.MigrationsAssembly("LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer")); + b => b.MigrationsAssembly("LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer")); return new SingleMigrationsDbContext(builder!.Options); } @@ -24,7 +24,7 @@ public class SingleMigrationsDbContextFactory : IDesignTimeDbContextFactory Logger { protected get; set; } diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/IdentityDataSeedContributor.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/IdentityDataSeedContributor.cs similarity index 95% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/IdentityDataSeedContributor.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/IdentityDataSeedContributor.cs index c25d00c44..5f69faf8f 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/IdentityDataSeedContributor.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/IdentityDataSeedContributor.cs @@ -7,7 +7,7 @@ using Volo.Abp.Guids; using Volo.Abp.Identity; using Volo.Abp.MultiTenancy; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.DataSeeder; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.DataSeeder; public class IdentityDataSeedContributor : IDataSeedContributor, ITransientDependency { diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/OpenIddictDataSeederContributor.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/OpenIddictDataSeederContributor.cs similarity index 99% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/OpenIddictDataSeederContributor.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/OpenIddictDataSeederContributor.cs index b37e3030a..2c8452e42 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/OpenIddictDataSeederContributor.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/OpenIddictDataSeederContributor.cs @@ -14,7 +14,7 @@ using Volo.Abp.OpenIddict.Applications; using Volo.Abp.OpenIddict.Scopes; using Volo.Abp.PermissionManagement; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.DataSeeder; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.DataSeeder; public class OpenIddictDataSeederContributor : OpenIddictDataSeedContributorBase, IDataSeedContributor, ITransientDependency { public ILogger Logger { protected get; set; } diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/RolePermissionDataSeedContributor.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/RolePermissionDataSeedContributor.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/RolePermissionDataSeedContributor.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/RolePermissionDataSeedContributor.cs index b932958d3..f0284ce98 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/DataSeeder/RolePermissionDataSeedContributor.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/DataSeeder/RolePermissionDataSeedContributor.cs @@ -8,7 +8,7 @@ using Volo.Abp.Identity; using Volo.Abp.MultiTenancy; using Volo.Abp.PermissionManagement; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore.DataSeeder; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.DataSeeder; public class RolePermissionDataSeedContributor : IDataSeedContributor, ITransientDependency { diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/FodyWeavers.xml b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/FodyWeavers.xml similarity index 91% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/FodyWeavers.xml rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/FodyWeavers.xml index ac6b5b292..00e1d9a1c 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/FodyWeavers.xml +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/FodyWeavers.xml @@ -1,3 +1,3 @@ - - + + \ No newline at end of file diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/FodyWeavers.xsd b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/FodyWeavers.xsd similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/FodyWeavers.xsd rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/FodyWeavers.xsd index 11da52550..3f3946e28 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/FodyWeavers.xsd +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/FodyWeavers.xsd @@ -1,30 +1,30 @@ - - - - - - - - - - - - - - - '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. - - - - + + + + + + + + + + + + + + + '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/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/LY.MicroService.Applications.Single.EntityFrameworkCore.csproj b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.csproj similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/LY.MicroService.Applications.Single.EntityFrameworkCore.csproj rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.csproj index 62077eaba..90c079db2 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/LY.MicroService.Applications.Single.EntityFrameworkCore.csproj +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.csproj @@ -5,7 +5,7 @@ net10.0 - LY.MicroService.Applications.Single.EntityFrameworkCore + LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.EN.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/README.EN.md similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.EN.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/README.EN.md index 67e42e5c3..f4ec79b09 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.EN.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/README.EN.md @@ -1,4 +1,4 @@ -# LY.MicroService.Applications.Single.EntityFrameworkCore +# LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore Monolithic Application Database Migration Module, providing comprehensive application database migration functionality. diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.md b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/README.md similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.md rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/README.md index a96b753ab..31dd2309d 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/README.md +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/README.md @@ -1,4 +1,4 @@ -# LY.MicroService.Applications.Single.EntityFrameworkCore +# LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore 单体应用数据迁移模块,提供完整的应用程序数据库迁移功能。 diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleDbMigrationEventHandler.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleDbMigrationEventHandler.cs similarity index 98% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleDbMigrationEventHandler.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleDbMigrationEventHandler.cs index 5d1460f29..9dfefbd75 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleDbMigrationEventHandler.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleDbMigrationEventHandler.cs @@ -14,7 +14,7 @@ using Volo.Abp.EventBus.Distributed; using Volo.Abp.MultiTenancy; using Volo.Abp.Uow; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; public class SingleDbMigrationEventHandler : EfCoreDatabaseMigrationEventHandlerBase, IDistributedEventHandler> diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleDbMigrationService.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleDbMigrationService.cs similarity index 94% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleDbMigrationService.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleDbMigrationService.cs index 90da79a0c..403fa1b36 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleDbMigrationService.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleDbMigrationService.cs @@ -9,7 +9,7 @@ using Volo.Abp.EventBus.Distributed; using Volo.Abp.MultiTenancy; using Volo.Abp.Uow; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; public class SingleDbMigrationService : EfCoreRuntimeDatabaseMigratorBase, ITransientDependency { diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleMigrationsDbContext.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleMigrationsDbContext.cs similarity index 96% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleMigrationsDbContext.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleMigrationsDbContext.cs index 5d08af960..5da6f5b7a 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleMigrationsDbContext.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleMigrationsDbContext.cs @@ -1,4 +1,4 @@ -using LINGYUN.Abp.AIManagement.Chats; +using LINGYUN.Abp.AIManagement.Chats; using LINGYUN.Abp.AIManagement.EntityFrameworkCore; using LINGYUN.Abp.AIManagement.Tokens; using LINGYUN.Abp.AIManagement.Tools; @@ -55,7 +55,7 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore; using Volo.Abp.SettingManagement; using Volo.Abp.SettingManagement.EntityFrameworkCore; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; //[ReplaceDbContext(typeof(IAuditLoggingDbContext))] //[ReplaceDbContext(typeof(IIdentityDbContext))] @@ -186,7 +186,9 @@ public class SingleMigrationsDbContext : public DbSet UserFavoriteMenus { get; set; } - public DbSet Datas { get; set; } + // 本项目命名空间位于 LINGYUN.Abp 之下, 而框架存在 LINGYUN.Abp.Data.* 命名空间, + // 简单名 Data 会被解析为命名空间, 因此这里使用完全限定名 + public DbSet Datas { get; set; } public DbSet DataItems { get; set; } diff --git a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs similarity index 97% rename from aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs rename to aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs index ed149e80f..dd5b1388e 100644 --- a/aspnet-core/migrations/LY.MicroService.Applications.Single.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs +++ b/aspnet-core/migrations/LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore/SingleMigrationsEntityFrameworkCoreModule.cs @@ -22,7 +22,7 @@ using Volo.Abp.Modularity; using Volo.Abp.OpenIddict.EntityFrameworkCore; using Volo.Abp.SettingManagement.EntityFrameworkCore; -namespace LY.MicroService.Applications.Single.EntityFrameworkCore; +namespace LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore; [DependsOn( typeof(AbpSaasEntityFrameworkCoreModule), diff --git a/aspnet-core/migrations/Migrate.ps1 b/aspnet-core/migrations/Migrate.ps1 index dc5e5802b..d80dd8277 100755 --- a/aspnet-core/migrations/Migrate.ps1 +++ b/aspnet-core/migrations/Migrate.ps1 @@ -12,17 +12,17 @@ $projectPath = Resolve-Path (Join-Path $PSScriptRoot "..") # 定义可用的DbContext $dbContexts = @{ "1" = @{ - Name = "LY.MicroService.Applications.Single.EntityFrameworkCore.MySql" + Name = "LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql" Context = "SingleMigrationsDbContext" Factory = "SingleMigrationsDbContextFactory" } "2" = @{ - Name = "LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql" + Name = "LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql" Context = "SingleMigrationsDbContext" Factory = "SingleMigrationsDbContextFactory" } "3" = @{ - Name = "LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer" + Name = "LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer" Context = "SingleMigrationsDbContext" Factory = "SingleMigrationsDbContextFactory" } diff --git a/aspnet-core/migrations/MigrateEn.ps1 b/aspnet-core/migrations/MigrateEn.ps1 index 3ae0df556..d2c93c93a 100644 --- a/aspnet-core/migrations/MigrateEn.ps1 +++ b/aspnet-core/migrations/MigrateEn.ps1 @@ -12,17 +12,17 @@ $projectPath = Resolve-Path (Join-Path $PSScriptRoot "..") # Define available DbContexts $dbContexts = @{ "1" = @{ - Name = "LY.MicroService.Applications.Single.EntityFrameworkCore.MySql" + Name = "LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql" Context = "SingleMigrationsDbContext" Factory = "SingleMigrationsDbContextFactory" } "2" = @{ - Name = "LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql" + Name = "LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql" Context = "SingleMigrationsDbContext" Factory = "SingleMigrationsDbContextFactory" } "3" = @{ - Name = "LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer" + Name = "LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer" Context = "SingleMigrationsDbContext" Factory = "SingleMigrationsDbContextFactory" } diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/.config/dotnet-tools.json b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/.config/dotnet-tools.json similarity index 92% rename from aspnet-core/services/LY.MicroService.Applications.Single/.config/dotnet-tools.json rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/.config/dotnet-tools.json index 98de9de55..6b93cca86 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/.config/dotnet-tools.json +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/.config/dotnet-tools.json @@ -1,12 +1,12 @@ -{ - "version": 1, - "isRoot": true, - "tools": { - "dotnet-ef": { - "version": "7.0.3", - "commands": [ - "dotnet-ef" - ] - } - } +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-ef": { + "version": "7.0.3", + "commands": [ + "dotnet-ef" + ] + } + } } \ No newline at end of file diff --git a/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/.gitignore b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/.gitignore new file mode 100644 index 000000000..7b6f60857 --- /dev/null +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/.gitignore @@ -0,0 +1,2 @@ +wwwroot +package*.json \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.Configure.cs similarity index 92% rename from aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.Configure.cs index 77dbff181..086a25928 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.Configure.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.Configure.cs @@ -1,1015 +1,1000 @@ -using VoloAbpExceptionHandlingOptions = Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingOptions; - -namespace LY.MicroService.Applications.Single; - -public partial class MicroServiceApplicationsSingleModule -{ - public static string ApplicationName { get; set; } = "MicroService-Applications-Single"; - private readonly static OneTimeRunner OneTimeRunner = new(); - - private void PreConfigureFeature() - { - OneTimeRunner.Run(() => - { - GlobalFeatureManager.Instance.Modules.Editions().EnableAll(); - }); - } - - private void PreConfigureApp(IConfiguration configuration) - { - AbpSerilogEnrichersConsts.ApplicationName = ApplicationName; - - PreConfigure(options => - { - // 以开放端口区别,应在0-31之间 - options.SnowflakeIdOptions.WorkerId = 1; - options.SnowflakeIdOptions.WorkerIdBits = 5; - options.SnowflakeIdOptions.DatacenterId = 1; - }); - - if (configuration.GetValue("App:ShowPii")) - { - IdentityModelEventSource.ShowPII = true; - } - } - - private void PreConfigureCAP(IConfiguration configuration) - { - PreConfigure(options => - { - options.UseDashboard(); - if (!configuration.GetValue("CAP:IsEnabled")) - { - options - .UseInMemoryStorage() - .UseRedis(configuration["CAP:Redis:Configuration"]); - return; - } - options.UseRabbitMQ(rabbitMQOptions => - { - configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); - }); - }); - } - - private void PreConfigureAuthServer(IConfiguration configuration) - { - PreConfigure(builder => - { - builder.AddValidation(options => - { - var validAudiences = configuration.GetSection("AuthServer:ValidAudiences").Get>(); - if (validAudiences?.Count > 0) - { - foreach (var audience in validAudiences) - { - options.AddAudiences(audience); - } - } - - options.UseLocalServer(); - - options.UseAspNetCore(); - - //options.UseDataProtection(); - }); - }); - } - - private void PreConfigureIdentity() - { - PreConfigure(builder => - { - builder.AddDefaultTokenProviders(); - }); - } - - private void PreConfigureCertificate(IConfiguration configuration, IWebHostEnvironment environment) - { - if (!environment.IsDevelopment()) - { - PreConfigure(options => - { - options.AddDevelopmentEncryptionAndSigningCertificate = false; - }); - - PreConfigure(builder => - { - //builder.UseDataProtection(); - - // 禁用https - builder.UseAspNetCore() - .DisableTransportSecurityRequirement(); - - builder.AddProductionEncryptionAndSigningCertificate(configuration["App:SslFile"], configuration["App:SslPassword"]); - }); - } - else - { - PreConfigure(options => - { - //https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html - options.AddDevelopmentEncryptionAndSigningCertificate = false; - }); - - PreConfigure(builder => - { - //https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html - using (var algorithm = RSA.Create(keySizeInBits: 2048)) - { - var subject = new X500DistinguishedName("CN=Fabrikam Encryption Certificate"); - var request = new CertificateRequest(subject, algorithm, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); - request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.DigitalSignature, critical: true)); - var certificate = request.CreateSelfSigned(DateTimeOffset.UtcNow, DateTimeOffset.UtcNow.AddYears(2)); - builder.AddSigningCertificate(certificate); - } - - using (var algorithm = RSA.Create(keySizeInBits: 2048)) - { - var subject = new X500DistinguishedName("CN=Fabrikam Signing Certificate"); - var request = new CertificateRequest(subject, algorithm, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); - request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.KeyEncipherment, critical: true)); - var certificate = request.CreateSelfSigned(DateTimeOffset.UtcNow, DateTimeOffset.UtcNow.AddYears(2)); - builder.AddEncryptionCertificate(certificate); - } - - //builder.UseDataProtection(); - - // 禁用https - builder.UseAspNetCore() - .DisableTransportSecurityRequirement(); - }); - } - } - - private void PreConfigureSignalR(IConfiguration configuration) - { - PreConfigure(builder => - { - var redisEnabled = configuration["SignalR:Redis:IsEnabled"]; - if (redisEnabled.IsNullOrEmpty() || bool.Parse(redisEnabled)) - { - builder.AddStackExchangeRedis(redis => - { - var redisConfiguration = configuration["SignalR:Redis:Configuration"]; - if (!redisConfiguration.IsNullOrEmpty()) - { - redis.ConnectionFactory = async (writer) => - { - return await ConnectionMultiplexer.ConnectAsync(redisConfiguration); - }; - } - }); - } - }); - } - - private void PreConfigureQuartz(IConfiguration configuration) - { - PreConfigure(options => - { - // 如果使用持久化存储, 则配置quartz持久层 - if (configuration.GetValue("Quartz:UsePersistentStore", false)) - { - var settings = configuration.GetSection("Quartz:Properties").Get>(); - if (settings != null) - { - foreach (var setting in settings) - { - options.Properties[setting.Key] = setting.Value; - } - } - - options.Configurator += (config) => - { - config.UsePersistentStore(store => - { - store.UseProperties = false; - store.UseNewtonsoftJsonSerializer(); - }); - }; - } - }); - } - - private void PreConfigureElsa(IServiceCollection services, IConfiguration configuration) - { - var elsaSection = configuration.GetSection("Elsa"); - var startups = new[] - { - typeof(Elsa.Activities.Console.Startup), - typeof(Elsa.Activities.Http.Startup), - typeof(Elsa.Activities.UserTask.Startup), - typeof(Elsa.Activities.Temporal.Quartz.Startup), - typeof(Elsa.Activities.Email.Startup), - typeof(Elsa.Scripting.JavaScript.Startup), - typeof(Elsa.Activities.Webhooks.Startup), - }; - - PreConfigure(elsa => - { - elsa - .AddActivitiesFrom() - .AddWorkflowsFrom() - .AddFeatures(startups, configuration) - .ConfigureWorkflowChannels(options => elsaSection.GetSection("WorkflowChannels").Bind(options)); - - elsa.DistributedLockingOptionsBuilder - .UseProviderFactory(sp => name => - { - var provider = sp.GetRequiredService(); - - return provider.CreateLock(name); - }); - }); - - services.AddNotificationHandlersFrom(); - - PreConfigure(mvcBuilder => - { - mvcBuilder.AddApplicationPartIfNotExists(typeof(Elsa.Webhooks.Api.Endpoints.List).Assembly); - }); - } - - private void ConfigureAuthServer(IConfiguration configuration) - { - Configure(builder => - { - builder.DisableTransportSecurityRequirement(); - }); - - Configure(options => - { - options.DisableTransportSecurityRequirement = true; - }); - - Configure(options => - { - var lifetime = configuration.GetSection("OpenIddict:Lifetime"); - options.AuthorizationCodeLifetime = lifetime.GetValue("AuthorizationCode", options.AuthorizationCodeLifetime); - options.AccessTokenLifetime = lifetime.GetValue("AccessToken", options.AccessTokenLifetime); - options.DeviceCodeLifetime = lifetime.GetValue("DeviceCode", options.DeviceCodeLifetime); - options.IdentityTokenLifetime = lifetime.GetValue("IdentityToken", options.IdentityTokenLifetime); - options.RefreshTokenLifetime = lifetime.GetValue("RefreshToken", options.RefreshTokenLifetime); - options.RefreshTokenReuseLeeway = lifetime.GetValue("RefreshTokenReuseLeeway", options.RefreshTokenReuseLeeway); - options.UserCodeLifetime = lifetime.GetValue("UserCode", options.UserCodeLifetime); - }); - } - - private void ConfigureEndpoints(IServiceCollection services) - { - // 不需要 - //Configure(options => - //{ - // options.EndpointConfigureActions.Add( - // (context) => - // { - // context.Endpoints.MapFallbackToPage("/_Host"); - // }); - //}); - var preActions = services.GetPreConfigureActions(); - - services.AddAbpApiVersioning(options => - { - options.ReportApiVersions = true; - options.AssumeDefaultVersionWhenUnspecified = true; - - //options.ApiVersionReader = new HeaderApiVersionReader("api-version"); //Supports header too - //options.ApiVersionReader = new MediaTypeApiVersionReader(); //Supports accept header too - }, mvcOptions => - { - mvcOptions.ConfigureAbp(preActions.Configure()); - }); - - //services.AddApiVersioning(config => - //{ - // // Specify the default API Version as 1.0 - // config.DefaultApiVersion = new ApiVersion(1, 0); - // // Advertise the API versions supported for the particular endpoint (through 'api-supported-versions' response header which lists all available API versions for that endpoint) - // config.ReportApiVersions = true; - //}); - - //services.AddVersionedApiExplorer(options => - //{ - // // add the versioned api explorer, which also adds IApiVersionDescriptionProvider service - // // note: the specified format code will format the version as "'v'major[.minor][-status]" - // options.GroupNameFormat = "'v'VVV"; - - // // note: this option is only necessary when versioning by url segment. the SubstitutionFormat - // // can also be used to control the format of the API version in route templates - // options.SubstituteApiVersionInUrl = true; - //}); - services.AddRazorPages(); - services.AddControllersWithViews();//.AddNewtonsoftJson(); - } - - private void ConfigureKestrelServer(IConfiguration configuration, IWebHostEnvironment environment) - { - Configure(options => - { - options.Limits.MaxRequestBodySize = null; - options.Limits.MaxRequestBufferSize = null; - }); - - if (!environment.IsDevelopment()) - { - Configure(options => - { - options.ConfigureHttpsDefaults(https => - { - https.ServerCertificate = X509CertificateLoader.LoadPkcs12FromFile( - configuration["App:SslFile"], - configuration["App:SslPassword"]); - }); - }); - } - } - - private void ConfigureBackgroundTasks() - { - Configure(options => - { - options.NodeName = ApplicationName; - options.JobCleanEnabled = true; - options.JobFetchEnabled = true; - options.JobCheckEnabled = true; - }); - } - - private void ConfigureTextTemplating(IConfiguration configuration) - { - if (configuration.GetValue("TextTemplating:IsDynamicStoreEnabled")) - { - Configure(options => - { - options.IsDynamicTemplateDefinitionStoreEnabled = true; - }); - } - } - - private void ConfigureFeatureManagement(IConfiguration configuration) - { - if (configuration.GetValue("FeatureManagement:IsDynamicStoreEnabled")) - { - Configure(options => - { - options.IsDynamicFeatureStoreEnabled = true; - }); - } - Configure(options => - { - options.ProviderPolicies[EditionFeatureValueProvider.ProviderName] = AbpSaasPermissions.Editions.ManageFeatures; - options.ProviderPolicies[TenantFeatureValueProvider.ProviderName] = AbpSaasPermissions.Tenants.ManageFeatures; - }); - } - - private void ConfigureSettingManagement(IConfiguration configuration) - { - if (configuration.GetValue("SettingManagement:IsDynamicStoreEnabled")) - { - Configure(options => - { - options.IsDynamicSettingStoreEnabled = true; - }); - } - } - - private void ConfigureWebhooksManagement(IConfiguration configuration) - { - if (configuration.GetValue("WebhooksManagement:IsDynamicStoreEnabled")) - { - Configure(options => - { - options.IsDynamicWebhookStoreEnabled = true; - }); - } - } - /// - /// 配置数据导出 - /// - private void ConfigureExporter() - { - Configure(options => - { - options.MapExportSetting(typeof(BookDto), config => - { - config.DynamicColumns = new[] - { - // 忽略某些字段 - new DynamicExcelColumn(nameof(BookDto.AuthorId)){ Ignore = true }, - new DynamicExcelColumn(nameof(BookDto.LastModificationTime)){ Ignore = true }, - new DynamicExcelColumn(nameof(BookDto.LastModifierId)){ Ignore = true }, - new DynamicExcelColumn(nameof(BookDto.CreationTime)){ Ignore = true }, - new DynamicExcelColumn(nameof(BookDto.CreatorId)){ Ignore = true }, - new DynamicExcelColumn(nameof(BookDto.Id)){ Ignore = true }, - }; - }); - }); - } - /// - /// 配置数据权限 - /// - private void ConfigureEntityDataProtected() - { - Configure(options => - { - options.AddEntities(typeof(DemoResource), - new[] - { - typeof(Book), - }); - }); - } - - private void ConfigurePermissionManagement(IConfiguration configuration) - { - if (configuration.GetValue("PermissionManagement:IsDynamicStoreEnabled")) - { - Configure(options => - { - options.IsDynamicPermissionStoreEnabled = true; - }); - } - 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] = AbpOpenIddictPermissions.Applications.ManagePermissions; - - //if (configuration.GetValue("AuthServer:UseOpenIddict")) - //{ - // options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = AbpOpenIddictPermissions.Applications.ManagePermissions; - //} - //else - //{ - // options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = AbpIdentityServerPermissions.Clients.ManagePermissions; - //} - }); - } - - private void ConfigureNotificationManagement(IConfiguration configuration) - { - if (configuration.GetValue("NotificationsManagement:IsDynamicStoreEnabled")) - { - Configure(options => - { - options.IsDynamicNotificationsStoreEnabled = true; - }); - } - } - - private void ConfigureAIManagement(IConfiguration configuration) - { - Configure(options => - { - options.ChatClientBuildActions.Add((_, __, builder) => - { - return Task.FromResult(builder - .UseLogging() - .UseOpenTelemetry() - .UseDistributedCache()); - }); - }); - - - Configure(options => - { - options.AgentBuildActions.Add((_, builder) => - { - return Task.FromResult(builder - .UseLogging() - .UseOpenTelemetry()); - }); - }); - - if (configuration.GetValue("AIManagement:IsDynamicStoreEnabled")) - { - Configure(options => - { - options.IsDynamicWorkspaceStoreEnabled = true; - options.SaveStaticWorkspacesToDatabase = true; - - options.IsDynamicAIToolStoreEnabled = true; - options.SaveStaticAIToolsToDatabase = true; - }); - } - } - - private void ConfigureDistributedLock(IServiceCollection services, IConfiguration configuration) - { - var distributedLockEnabled = configuration["DistributedLock:IsEnabled"]; - if (distributedLockEnabled.IsNullOrEmpty() || bool.Parse(distributedLockEnabled)) - { - var redis = ConnectionMultiplexer.Connect(configuration["DistributedLock:Redis:Configuration"]); - services.AddSingleton(_ => new RedisDistributedSynchronizationProvider(redis.GetDatabase())); - } - } - - private void ConfigureVirtualFileSystem() - { - Configure(options => - { - options.FileSets.AddEmbedded("LY.MicroService.Applications.Single"); - }); - } - - private void ConfigureIP2RegionIPLocation() - { - Configure(options => - { - // 仅中国IP不显示国家 - options.UseCountry = (localtion) => - { - return !string.Equals("中国", localtion.Country); - }; - // 仅中国IP显示省份 - options.UseProvince = (localtion) => - { - return string.Equals("中国", localtion.Country); - }; - }); - } - - private void ConfigureIdempotent() - { - Configure(options => - { - options.IsEnabled = true; - options.DefaultTimeout = 0; - }); - } - - private void ConfigureDbContext(IConfiguration configuration) - { - Configure(options => - { - // - }); - } - - private void ConfigureExceptionHandling() - { - // 自定义需要处理的异常 - Configure(options => - { - // 加入需要处理的异常类型 - 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.SendStackTraceToClients = false; - options.SendExceptionsDetailsToClients = false; - }); - } - - private void ConfigureJsonSerializer(IConfiguration configuration) - { - // 统一时间日期格式 - Configure(options => - { - var jsonConfiguration = configuration.GetSection("Json"); - if (jsonConfiguration.Exists()) - { - jsonConfiguration.Bind(options); - } - }); - // 中文序列化的编码问题 - Configure(options => - { - options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); - }); - } - - private void ConfigureCaching(IServiceCollection services, IConfiguration configuration) - { - Configure(options => - { - configuration.GetSection("DistributedCache").Bind(options); - }); - - Configure(options => - { - var redisConfig = ConfigurationOptions.Parse(options.Configuration); - options.ConfigurationOptions = redisConfig; - options.InstanceName = configuration["Redis:InstanceName"]; - }); - - services.AddSingleton(sp => ConnectionMultiplexer.Connect(configuration["Redis:Configuration"])); - } - - 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 = ApplicationName; - // 是否启用实体变更记录 - var allEntitiesSelectorIsEnabled = configuration["Auditing:AllEntitiesSelector"]; - if (allEntitiesSelectorIsEnabled.IsNullOrWhiteSpace() || - (bool.TryParse(allEntitiesSelectorIsEnabled, out var enabled) && enabled)) - { - options.EntityHistorySelectors.AddAllEntities(); - } - }); - } - - private void ConfigureSwagger(IServiceCollection services, IConfiguration configuration) - { - // Swagger - services.AddAbpSwaggerGenWithOAuth( - configuration["AuthServer:Authority"], - new Dictionary - { - { configuration["AuthServer:Audience"], "Single APP"} - }, - options => - { - options.SwaggerDoc("v1", new OpenApiInfo - { - Title = "Single APP API", Version = "v1", - Contact = new OpenApiContact - { - Name = "colin", - Email = "colin.in@foxmail.com", - Url = new Uri("https://github.com/colinin") - }, - License = new OpenApiLicense - { - Name = "MIT", - Url = new Uri("https://github.com/colinin/abp-next-admin/blob/master/LICENSE") - } - }); - options.DocInclusionPredicate((docName, description) => - { - if (description.TryGetMethodInfo(out var methodInfo)) - { - var controllerNamespace = methodInfo.DeclaringType?.Namespace; - if (controllerNamespace?.StartsWith("Elsa") == true) - { - // TODO: Elsa 2.x 使用 Swashbuckle 6.x版本不兼容, 忽略Swagger文档 - return false; - } - } - - return 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.OperationFilter(); - }); - } - - private void ConfigureIdentity(IConfiguration configuration) - { - // 增加配置文件定义,在新建租户时需要 - Configure(options => - { - var identityConfiguration = configuration.GetSection("Identity"); - if (identityConfiguration.Exists()) - { - identityConfiguration.Bind(options); - } - }); - Configure(options => - { - options.IsDynamicClaimsEnabled = true; - - options.DynamicClaims.AddIfNotContains(AbpClaimTypes.Picture); - }); - Configure(options => - { - options.IsCleanupEnabled = true; - }); - } - - private void ConfigureMvcUiTheme() - { - Configure(options => - { - //options.StyleBundles.Configure( - // LeptonXLiteThemeBundles.Styles.Global, - // bundle => - // { - // bundle.AddFiles("/global-styles.css"); - // } - //); - }); - } - - private void ConfigureLocalization() - { - Configure(options => - { - options.Languages.Add(new LanguageInfo("en", "en", "English")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文")); - - 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.Get() - .AddBaseTypes( - typeof(IdentityResource), - typeof(AliyunResource), - typeof(TencentCloudResource), - typeof(WeChatResource), - typeof(PlatformResource), - typeof(AbpOpenIddictResource)); - }); - - 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); - }); - - Configure(options => - { - options.SaveStaticLocalizationsToDatabase = true; - options.IsDynamicLocalizationInitializerHost = true; - }); - } - - private void ConfigureWrapper() - { - Configure(options => - { - options.IsEnabled = true; - // options.IsWrapUnauthorizedEnabled = true; - options.IgnoreNamespaces.Add("Elsa"); - // 微信消息不能包装 - options.IgnoreNamespaces.Add("LINGYUN.Abp.WeChat"); - }); - } - - private void PreConfigureWrapper() - { - //PreConfigure(options => - //{ - // options.ProxyRequestActions.Add( - // (appid, httprequestmessage) => - // { - // httprequestmessage.Headers.TryAddWithoutValidation(AbpHttpWrapConsts.AbpDontWrapResult, "true"); - // }); - //}); - - PreConfigure(options => - { - options.ProxyClientActions.Add( - (_, _, client) => - { - client.DefaultRequestHeaders.TryAddWithoutValidation(AbpHttpWrapConsts.AbpDontWrapResult, "true"); - }); - }); - } - - private void ConfigureAuditing() - { - Configure(options => - { - // options.IsEnabledForGetRequests = true; - options.ApplicationName = ApplicationName; - }); - } - - private void ConfigureSingleModule(IServiceCollection services, bool isDevelopment) - { - Configure(options => - { - options.ScriptBundles - .Configure(StandardBundles.Scripts.Global, bundle => - { - bundle.AddContributors(typeof(SingleGlobalScriptContributor)); - }); - - options.StyleBundles - .Configure(LeptonXLiteThemeBundles.Styles.Global, bundle => - { - bundle.AddFiles("/css/global-styles.css"); - }); - }); - - Configure(options => - { - // 允许第三方调用集成服务 - options.ExposeIntegrationServices = true; - }); - - Configure(options => - { - // abp 9.0版本可存储登录IP地域, 开启IP解析 - options.IsParseIpLocation = true; - }); - - // 用于消息中心邮件集中发送 - services.Replace( - ServiceDescriptor.Transient()); - services.AddKeyedTransient("DefaultEmailSender"); - - // 用于消息中心短信集中发送 - services.Replace( - ServiceDescriptor.Transient()); - services.AddKeyedSingleton("DefaultSmsSender"); - } - - private void ConfigureUrls(IConfiguration configuration) - { - Configure(options => - { - var applicationConfiguration = configuration.GetSection("App:Urls:Applications"); - foreach (var appConfig in applicationConfiguration.GetChildren()) - { - options.Applications[appConfig.Key].RootUrl = appConfig["RootUrl"]; - foreach (var urlsConfig in appConfig.GetSection("Urls").GetChildren()) - { - options.Applications[appConfig.Key].Urls[urlsConfig.Key] = urlsConfig.Value; - } - } - }); - } - - private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) - { - Configure(options => - { - options.AutoValidate = false; - }); - - services.ForwardIdentityAuthenticationForBearer(OpenIddictValidationAspNetCoreDefaults.AuthenticationScheme); - - services.AddAuthentication() - .AddAbpJwtBearer(options => - { - configuration.GetSection("AuthServer").Bind(options); - - var validIssuers = configuration.GetSection("AuthServer:ValidIssuers").Get>(); - if (validIssuers?.Count > 0) - { - options.TokenValidationParameters.ValidIssuers = validIssuers; - options.TokenValidationParameters.IssuerValidator = TokenWildcardIssuerValidator.IssuerValidator; - } - - options.Events ??= new JwtBearerEvents(); - options.Events.OnMessageReceived = context => - { - var accessToken = context.Request.Query["access_token"]; - var path = context.HttpContext.Request.Path; - if (!string.IsNullOrEmpty(accessToken) && - (path.StartsWithSegments("/api/files"))) - { - context.Token = accessToken; - } - return Task.CompletedTask; - }; - }); - - services.ConfigureApplicationCookie(options => - { - options.Events.OnRedirectToLogin = (ctx) => - { - if (ctx.Request.Path.Value.StartsWith("/api") || - ctx.Request.Path.Value.StartsWith("/connect/token")) - { - ctx.Response.Clear(); - ctx.Response.StatusCode = 401; - return Task.FromResult(0); - } - - string authorization = ctx.Request.Headers.Authorization; - if (!authorization.IsNullOrWhiteSpace() && - authorization.StartsWith("Bearer ", StringComparison.InvariantCultureIgnoreCase)) - { - ctx.Response.Clear(); - ctx.Response.ContentType = "application/json"; - ctx.Response.StatusCode = StatusCodes.Status401Unauthorized; - return Task.CompletedTask; - } - - ctx.Response.Redirect(ctx.RedirectUri); - return Task.CompletedTask; - }; - }); - - if (!isDevelopment) - { - services - .AddDataProtection() - .SetApplicationName("LINGYUN.Abp.Application") - .PersistKeysToStackExchangeRedis(() => - { - var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]!); - - return redis.GetDatabase(); - }, - "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); - } - - services.AddSameSiteCookiePolicy(); - } - - private void ConfigureCors(IServiceCollection services, IConfiguration configuration) - { - services.AddCors(options => - { - options.AddDefaultPolicy(builder => - { - var corsOrigins = configuration.GetSection("App:CorsOrigins").Get>(); - if (corsOrigins == null || corsOrigins.Count == 0) - { - corsOrigins = configuration["App:CorsOrigins"]? - .Split(",", StringSplitOptions.RemoveEmptyEntries) - .Select(o => o.RemovePostFix("/")) - .ToList() ?? new List(); - } - builder - .WithOrigins(corsOrigins - .Select(o => o.RemovePostFix("/")) - .ToArray() - ) - .WithAbpExposedHeaders() - .WithAbpWrapExposedHeaders() - .SetIsOriginAllowedToAllowWildcardSubdomains() - .AllowAnyHeader() - .AllowAnyMethod() - .AllowCredentials(); - }); - }); - } - - private void ConfigureWeChat() - { - Configure(options => - { - // 回复文本消息 - options.MapMessage< - LINGYUN.Abp.WeChat.Official.Messages.Models.TextMessage, - LY.MicroService.Applications.Single.WeChat.Official.Messages.TextMessageReplyContributor>(); - // 处理关注事件 - options.MapEvent< - LINGYUN.Abp.WeChat.Official.Messages.Models.UserSubscribeEvent, - LY.MicroService.Applications.Single.WeChat.Official.Messages.UserSubscribeEventContributor>(); - - options.MapMessage< - LINGYUN.Abp.WeChat.Work.Common.Messages.Models.TextMessage, - LY.MicroService.Applications.Single.WeChat.Work.Messages.TextMessageReplyContributor>(); - }); - } -} - +using VoloAbpExceptionHandlingOptions = Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingOptions; + +namespace LINGYUN.Abp.MicroService.AllInOne; + +public partial class AllInOneModule +{ + public static string ApplicationName { get; set; } = "MicroService-Applications-Single"; + private readonly static OneTimeRunner OneTimeRunner = new(); + + private void PreConfigureFeature() + { + OneTimeRunner.Run(() => + { + GlobalFeatureManager.Instance.Modules.Editions().EnableAll(); + }); + } + + private void PreConfigureApp(IConfiguration configuration) + { + AbpSerilogEnrichersConsts.ApplicationName = ApplicationName; + + PreConfigure(options => + { + // 以开放端口区别,应在0-31之间 + options.SnowflakeIdOptions.WorkerId = 1; + options.SnowflakeIdOptions.WorkerIdBits = 5; + options.SnowflakeIdOptions.DatacenterId = 1; + }); + + if (configuration.GetValue("App:ShowPii")) + { + IdentityModelEventSource.ShowPII = true; + } + } + + private void PreConfigureCAP(IConfiguration configuration) + { + PreConfigure(options => + { + options.UseDashboard(); + if (!configuration.GetValue("CAP:IsEnabled")) + { + options + .UseInMemoryStorage() + .UseRedis(configuration["CAP:Redis:Configuration"]); + return; + } + options.UseRabbitMQ(rabbitMQOptions => + { + configuration.GetSection("CAP:RabbitMQ").Bind(rabbitMQOptions); + }); + }); + } + + private void PreConfigureAuthServer(IConfiguration configuration) + { + PreConfigure(builder => + { + builder.AddValidation(options => + { + var validAudiences = configuration.GetSection("AuthServer:ValidAudiences").Get>(); + if (validAudiences?.Count > 0) + { + foreach (var audience in validAudiences) + { + options.AddAudiences(audience); + } + } + + options.UseLocalServer(); + + options.UseAspNetCore(); + + //options.UseDataProtection(); + }); + }); + } + + private void PreConfigureIdentity() + { + PreConfigure(builder => + { + builder.AddDefaultTokenProviders(); + }); + } + + private void PreConfigureCertificate(IConfiguration configuration, IWebHostEnvironment environment) + { + if (!environment.IsDevelopment()) + { + PreConfigure(options => + { + options.AddDevelopmentEncryptionAndSigningCertificate = false; + }); + + PreConfigure(builder => + { + //builder.UseDataProtection(); + + // 禁用https + builder.UseAspNetCore() + .DisableTransportSecurityRequirement(); + + builder.AddProductionEncryptionAndSigningCertificate(configuration["App:SslFile"], configuration["App:SslPassword"]); + }); + } + else + { + PreConfigure(options => + { + //https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html + options.AddDevelopmentEncryptionAndSigningCertificate = false; + }); + + PreConfigure(builder => + { + //https://documentation.openiddict.com/configuration/encryption-and-signing-credentials.html + using (var algorithm = RSA.Create(keySizeInBits: 2048)) + { + var subject = new X500DistinguishedName("CN=Fabrikam Encryption Certificate"); + var request = new CertificateRequest(subject, algorithm, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); + request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.DigitalSignature, critical: true)); + var certificate = request.CreateSelfSigned(DateTimeOffset.UtcNow, DateTimeOffset.UtcNow.AddYears(2)); + builder.AddSigningCertificate(certificate); + } + + using (var algorithm = RSA.Create(keySizeInBits: 2048)) + { + var subject = new X500DistinguishedName("CN=Fabrikam Signing Certificate"); + var request = new CertificateRequest(subject, algorithm, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1); + request.CertificateExtensions.Add(new X509KeyUsageExtension(X509KeyUsageFlags.KeyEncipherment, critical: true)); + var certificate = request.CreateSelfSigned(DateTimeOffset.UtcNow, DateTimeOffset.UtcNow.AddYears(2)); + builder.AddEncryptionCertificate(certificate); + } + + //builder.UseDataProtection(); + + // 禁用https + builder.UseAspNetCore() + .DisableTransportSecurityRequirement(); + }); + } + } + + private void PreConfigureSignalR(IConfiguration configuration) + { + PreConfigure(builder => + { + var redisEnabled = configuration["SignalR:Redis:IsEnabled"]; + if (redisEnabled.IsNullOrEmpty() || bool.Parse(redisEnabled)) + { + builder.AddStackExchangeRedis(redis => + { + var redisConfiguration = configuration["SignalR:Redis:Configuration"]; + if (!redisConfiguration.IsNullOrEmpty()) + { + redis.ConnectionFactory = async (writer) => + { + return await ConnectionMultiplexer.ConnectAsync(redisConfiguration); + }; + } + }); + } + }); + } + + private void PreConfigureQuartz(IConfiguration configuration) + { + PreConfigure(options => + { + // 如果使用持久化存储, 则配置quartz持久层 + if (configuration.GetValue("Quartz:UsePersistentStore", false)) + { + var settings = configuration.GetSection("Quartz:Properties").Get>(); + if (settings != null) + { + foreach (var setting in settings) + { + options.Properties[setting.Key] = setting.Value; + } + } + + options.Configurator += (config) => + { + config.UsePersistentStore(store => + { + store.UseProperties = false; + store.UseNewtonsoftJsonSerializer(); + }); + }; + } + }); + } + + private void PreConfigureElsa(IServiceCollection services, IConfiguration configuration) + { + var elsaSection = configuration.GetSection("Elsa"); + // 本项目命名空间位于 LINGYUN.Abp 之下, 直接使用 Elsa.* 会被解析为 LINGYUN.Abp.Elsa.* 命名空间, + // 因此这里使用 global:: 指定 Elsa 包中的类型 + var startups = new[] + { + typeof(global::Elsa.Activities.Console.Startup), + typeof(global::Elsa.Activities.Http.Startup), + typeof(global::Elsa.Activities.UserTask.Startup), + typeof(global::Elsa.Activities.Temporal.Quartz.Startup), + typeof(global::Elsa.Activities.Email.Startup), + typeof(global::Elsa.Scripting.JavaScript.Startup), + typeof(global::Elsa.Activities.Webhooks.Startup), + }; + + PreConfigure(elsa => + { + elsa + .AddActivitiesFrom() + .AddWorkflowsFrom() + .AddFeatures(startups, configuration) + .ConfigureWorkflowChannels(options => elsaSection.GetSection("WorkflowChannels").Bind(options)); + + elsa.DistributedLockingOptionsBuilder + .UseProviderFactory(sp => name => + { + var provider = sp.GetRequiredService(); + + return provider.CreateLock(name); + }); + }); + + services.AddNotificationHandlersFrom(); + + PreConfigure(mvcBuilder => + { + mvcBuilder.AddApplicationPartIfNotExists(typeof(global::Elsa.Webhooks.Api.Endpoints.List).Assembly); + }); + } + + private void ConfigureAuthServer(IConfiguration configuration) + { + Configure(builder => + { + builder.DisableTransportSecurityRequirement(); + }); + + Configure(options => + { + options.DisableTransportSecurityRequirement = true; + }); + + Configure(options => + { + var lifetime = configuration.GetSection("OpenIddict:Lifetime"); + options.AuthorizationCodeLifetime = lifetime.GetValue("AuthorizationCode", options.AuthorizationCodeLifetime); + options.AccessTokenLifetime = lifetime.GetValue("AccessToken", options.AccessTokenLifetime); + options.DeviceCodeLifetime = lifetime.GetValue("DeviceCode", options.DeviceCodeLifetime); + options.IdentityTokenLifetime = lifetime.GetValue("IdentityToken", options.IdentityTokenLifetime); + options.RefreshTokenLifetime = lifetime.GetValue("RefreshToken", options.RefreshTokenLifetime); + options.RefreshTokenReuseLeeway = lifetime.GetValue("RefreshTokenReuseLeeway", options.RefreshTokenReuseLeeway); + options.UserCodeLifetime = lifetime.GetValue("UserCode", options.UserCodeLifetime); + }); + } + + private void ConfigureEndpoints(IServiceCollection services) + { + // 不需要 + //Configure(options => + //{ + // options.EndpointConfigureActions.Add( + // (context) => + // { + // context.Endpoints.MapFallbackToPage("/_Host"); + // }); + //}); + var preActions = services.GetPreConfigureActions(); + + services.AddAbpApiVersioning(options => + { + options.ReportApiVersions = true; + options.AssumeDefaultVersionWhenUnspecified = true; + + //options.ApiVersionReader = new HeaderApiVersionReader("api-version"); //Supports header too + //options.ApiVersionReader = new MediaTypeApiVersionReader(); //Supports accept header too + }, mvcOptions => + { + mvcOptions.ConfigureAbp(preActions.Configure()); + }); + + //services.AddApiVersioning(config => + //{ + // // Specify the default API Version as 1.0 + // config.DefaultApiVersion = new ApiVersion(1, 0); + // // Advertise the API versions supported for the particular endpoint (through 'api-supported-versions' response header which lists all available API versions for that endpoint) + // config.ReportApiVersions = true; + //}); + + //services.AddVersionedApiExplorer(options => + //{ + // // add the versioned api explorer, which also adds IApiVersionDescriptionProvider service + // // note: the specified format code will format the version as "'v'major[.minor][-status]" + // options.GroupNameFormat = "'v'VVV"; + + // // note: this option is only necessary when versioning by url segment. the SubstitutionFormat + // // can also be used to control the format of the API version in route templates + // options.SubstituteApiVersionInUrl = true; + //}); + services.AddRazorPages(); + services.AddControllersWithViews();//.AddNewtonsoftJson(); + } + + private void ConfigureKestrelServer(IConfiguration configuration, IWebHostEnvironment environment) + { + Configure(options => + { + options.Limits.MaxRequestBodySize = null; + options.Limits.MaxRequestBufferSize = null; + }); + + if (!environment.IsDevelopment()) + { + Configure(options => + { + options.ConfigureHttpsDefaults(https => + { + https.ServerCertificate = X509CertificateLoader.LoadPkcs12FromFile( + configuration["App:SslFile"], + configuration["App:SslPassword"]); + }); + }); + } + } + + private void ConfigureBackgroundTasks() + { + Configure(options => + { + options.NodeName = ApplicationName; + options.JobCleanEnabled = true; + options.JobFetchEnabled = true; + options.JobCheckEnabled = true; + }); + } + + private void ConfigureTextTemplating(IConfiguration configuration) + { + if (configuration.GetValue("TextTemplating:IsDynamicStoreEnabled")) + { + Configure(options => + { + options.IsDynamicTemplateDefinitionStoreEnabled = true; + }); + } + } + + private void ConfigureFeatureManagement(IConfiguration configuration) + { + if (configuration.GetValue("FeatureManagement:IsDynamicStoreEnabled")) + { + Configure(options => + { + options.IsDynamicFeatureStoreEnabled = true; + }); + } + Configure(options => + { + options.ProviderPolicies[EditionFeatureValueProvider.ProviderName] = AbpSaasPermissions.Editions.ManageFeatures; + options.ProviderPolicies[TenantFeatureValueProvider.ProviderName] = AbpSaasPermissions.Tenants.ManageFeatures; + }); + } + + private void ConfigureSettingManagement(IConfiguration configuration) + { + if (configuration.GetValue("SettingManagement:IsDynamicStoreEnabled")) + { + Configure(options => + { + options.IsDynamicSettingStoreEnabled = true; + }); + } + } + + private void ConfigureWebhooksManagement(IConfiguration configuration) + { + if (configuration.GetValue("WebhooksManagement:IsDynamicStoreEnabled")) + { + Configure(options => + { + options.IsDynamicWebhookStoreEnabled = true; + }); + } + } + /// + /// 配置数据导出 + /// + private void ConfigureExporter() + { + Configure(options => + { + options.MapExportSetting(typeof(BookDto), config => + { + config.DynamicColumns = new[] + { + // 忽略某些字段 + new DynamicExcelColumn(nameof(BookDto.AuthorId)){ Ignore = true }, + new DynamicExcelColumn(nameof(BookDto.LastModificationTime)){ Ignore = true }, + new DynamicExcelColumn(nameof(BookDto.LastModifierId)){ Ignore = true }, + new DynamicExcelColumn(nameof(BookDto.CreationTime)){ Ignore = true }, + new DynamicExcelColumn(nameof(BookDto.CreatorId)){ Ignore = true }, + new DynamicExcelColumn(nameof(BookDto.Id)){ Ignore = true }, + }; + }); + }); + } + /// + /// 配置数据权限 + /// + private void ConfigureEntityDataProtected() + { + Configure(options => + { + options.AddEntities(typeof(DemoResource), + new[] + { + typeof(Book), + }); + }); + } + + private void ConfigurePermissionManagement(IConfiguration configuration) + { + if (configuration.GetValue("PermissionManagement:IsDynamicStoreEnabled")) + { + Configure(options => + { + options.IsDynamicPermissionStoreEnabled = true; + }); + } + 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] = AbpOpenIddictPermissions.Applications.ManagePermissions; + + //if (configuration.GetValue("AuthServer:UseOpenIddict")) + //{ + // options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = AbpOpenIddictPermissions.Applications.ManagePermissions; + //} + //else + //{ + // options.ProviderPolicies[ClientPermissionValueProvider.ProviderName] = AbpIdentityServerPermissions.Clients.ManagePermissions; + //} + }); + } + + private void ConfigureNotificationManagement(IConfiguration configuration) + { + if (configuration.GetValue("NotificationsManagement:IsDynamicStoreEnabled")) + { + Configure(options => + { + options.IsDynamicNotificationsStoreEnabled = true; + }); + } + } + + private void ConfigureAIManagement(IConfiguration configuration) + { + Configure(options => + { + options.ChatClientBuildActions.Add((_, __, builder) => + { + return Task.FromResult(builder + .UseLogging() + .UseOpenTelemetry() + .UseDistributedCache()); + }); + }); + + + Configure(options => + { + options.AgentBuildActions.Add((_, builder) => + { + return Task.FromResult(builder + .UseLogging() + .UseOpenTelemetry()); + }); + }); + + if (configuration.GetValue("AIManagement:IsDynamicStoreEnabled")) + { + Configure(options => + { + options.IsDynamicWorkspaceStoreEnabled = true; + options.SaveStaticWorkspacesToDatabase = true; + + options.IsDynamicAIToolStoreEnabled = true; + options.SaveStaticAIToolsToDatabase = true; + }); + } + } + + private void ConfigureDistributedLock(IServiceCollection services, IConfiguration configuration) + { + var distributedLockEnabled = configuration["DistributedLock:IsEnabled"]; + if (distributedLockEnabled.IsNullOrEmpty() || bool.Parse(distributedLockEnabled)) + { + var redis = ConnectionMultiplexer.Connect(configuration["DistributedLock:Redis:Configuration"]); + services.AddSingleton(_ => new RedisDistributedSynchronizationProvider(redis.GetDatabase())); + } + } + + private void ConfigureVirtualFileSystem() + { + Configure(options => + { + options.FileSets.AddEmbedded("LINGYUN.Abp.MicroService.AllInOne"); + }); + } + + private void ConfigureIdempotent() + { + Configure(options => + { + options.IsEnabled = true; + options.DefaultTimeout = 0; + }); + } + + private void ConfigureDbContext(IConfiguration configuration) + { + Configure(options => + { + // + }); + } + + private void ConfigureExceptionHandling() + { + // 自定义需要处理的异常 + Configure(options => + { + // 加入需要处理的异常类型 + 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.SendStackTraceToClients = false; + options.SendExceptionsDetailsToClients = false; + }); + } + + private void ConfigureJsonSerializer(IConfiguration configuration) + { + // 统一时间日期格式 + Configure(options => + { + var jsonConfiguration = configuration.GetSection("Json"); + if (jsonConfiguration.Exists()) + { + jsonConfiguration.Bind(options); + } + }); + // 中文序列化的编码问题 + Configure(options => + { + options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Create(UnicodeRanges.All); + }); + } + + private void ConfigureCaching(IServiceCollection services, IConfiguration configuration) + { + Configure(options => + { + configuration.GetSection("DistributedCache").Bind(options); + }); + + Configure(options => + { + var redisConfig = ConfigurationOptions.Parse(options.Configuration); + options.ConfigurationOptions = redisConfig; + options.InstanceName = configuration["Redis:InstanceName"]; + }); + + services.AddSingleton(sp => ConnectionMultiplexer.Connect(configuration["Redis:Configuration"])); + } + + 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 = ApplicationName; + // 是否启用实体变更记录 + var allEntitiesSelectorIsEnabled = configuration["Auditing:AllEntitiesSelector"]; + if (allEntitiesSelectorIsEnabled.IsNullOrWhiteSpace() || + (bool.TryParse(allEntitiesSelectorIsEnabled, out var enabled) && enabled)) + { + options.EntityHistorySelectors.AddAllEntities(); + } + }); + } + + private void ConfigureSwagger(IServiceCollection services, IConfiguration configuration) + { + // Swagger + services.AddAbpSwaggerGenWithOAuth( + configuration["AuthServer:Authority"], + new Dictionary + { + { configuration["AuthServer:Audience"], "Single APP"} + }, + options => + { + options.SwaggerDoc("v1", new OpenApiInfo + { + Title = "Single APP API", Version = "v1", + Contact = new OpenApiContact + { + Name = "colin", + Email = "colin.in@foxmail.com", + Url = new Uri("https://github.com/colinin") + }, + License = new OpenApiLicense + { + Name = "MIT", + Url = new Uri("https://github.com/colinin/abp-next-admin/blob/master/LICENSE") + } + }); + options.DocInclusionPredicate((docName, description) => + { + if (description.TryGetMethodInfo(out var methodInfo)) + { + var controllerNamespace = methodInfo.DeclaringType?.Namespace; + if (controllerNamespace?.StartsWith("Elsa") == true) + { + // TODO: Elsa 2.x 使用 Swashbuckle 6.x版本不兼容, 忽略Swagger文档 + return false; + } + } + + return 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.OperationFilter(); + }); + } + + private void ConfigureIdentity(IConfiguration configuration) + { + // 增加配置文件定义,在新建租户时需要 + Configure(options => + { + var identityConfiguration = configuration.GetSection("Identity"); + if (identityConfiguration.Exists()) + { + identityConfiguration.Bind(options); + } + }); + Configure(options => + { + options.IsDynamicClaimsEnabled = true; + + options.DynamicClaims.AddIfNotContains(AbpClaimTypes.Picture); + }); + Configure(options => + { + options.IsCleanupEnabled = true; + }); + } + + private void ConfigureMvcUiTheme() + { + Configure(options => + { + //options.StyleBundles.Configure( + // LeptonXLiteThemeBundles.Styles.Global, + // bundle => + // { + // bundle.AddFiles("/global-styles.css"); + // } + //); + }); + } + + private void ConfigureLocalization() + { + Configure(options => + { + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文")); + + 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.Get() + .AddBaseTypes( + typeof(IdentityResource), + typeof(AliyunResource), + typeof(TencentCloudResource), + typeof(WeChatResource), + typeof(PlatformResource), + typeof(AbpOpenIddictResource)); + }); + + 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); + }); + + Configure(options => + { + options.SaveStaticLocalizationsToDatabase = true; + options.IsDynamicLocalizationInitializerHost = true; + }); + } + + private void ConfigureWrapper() + { + Configure(options => + { + options.IsEnabled = true; + // options.IsWrapUnauthorizedEnabled = true; + options.IgnoreNamespaces.Add("Elsa"); + // 微信消息不能包装 + options.IgnoreNamespaces.Add("LINGYUN.Abp.WeChat"); + }); + } + + private void PreConfigureWrapper() + { + //PreConfigure(options => + //{ + // options.ProxyRequestActions.Add( + // (appid, httprequestmessage) => + // { + // httprequestmessage.Headers.TryAddWithoutValidation(AbpHttpWrapConsts.AbpDontWrapResult, "true"); + // }); + //}); + + PreConfigure(options => + { + options.ProxyClientActions.Add( + (_, _, client) => + { + client.DefaultRequestHeaders.TryAddWithoutValidation(AbpHttpWrapConsts.AbpDontWrapResult, "true"); + }); + }); + } + + private void ConfigureAuditing() + { + Configure(options => + { + // options.IsEnabledForGetRequests = true; + options.ApplicationName = ApplicationName; + }); + } + + private void ConfigureSingleModule(IServiceCollection services, bool isDevelopment) + { + Configure(options => + { + options.ScriptBundles + .Configure(StandardBundles.Scripts.Global, bundle => + { + bundle.AddContributors(typeof(SingleGlobalScriptContributor)); + }); + + options.StyleBundles + .Configure(LeptonXLiteThemeBundles.Styles.Global, bundle => + { + bundle.AddFiles("/css/global-styles.css"); + }); + }); + + Configure(options => + { + // 允许第三方调用集成服务 + options.ExposeIntegrationServices = true; + }); + + Configure(options => + { + // abp 9.0版本可存储登录IP地域, 开启IP解析 + options.IsParseIpLocation = true; + }); + + // 用于消息中心邮件集中发送 + services.Replace( + ServiceDescriptor.Transient()); + services.AddKeyedTransient("DefaultEmailSender"); + + // 用于消息中心短信集中发送 + services.Replace( + ServiceDescriptor.Transient()); + services.AddKeyedSingleton("DefaultSmsSender"); + } + + private void ConfigureUrls(IConfiguration configuration) + { + Configure(options => + { + var applicationConfiguration = configuration.GetSection("App:Urls:Applications"); + foreach (var appConfig in applicationConfiguration.GetChildren()) + { + options.Applications[appConfig.Key].RootUrl = appConfig["RootUrl"]; + foreach (var urlsConfig in appConfig.GetSection("Urls").GetChildren()) + { + options.Applications[appConfig.Key].Urls[urlsConfig.Key] = urlsConfig.Value; + } + } + }); + } + + private void ConfigureSecurity(IServiceCollection services, IConfiguration configuration, bool isDevelopment = false) + { + Configure(options => + { + options.AutoValidate = false; + }); + + services.ForwardIdentityAuthenticationForBearer(OpenIddictValidationAspNetCoreDefaults.AuthenticationScheme); + + services.AddAuthentication() + .AddAbpJwtBearer(options => + { + configuration.GetSection("AuthServer").Bind(options); + + var validIssuers = configuration.GetSection("AuthServer:ValidIssuers").Get>(); + if (validIssuers?.Count > 0) + { + options.TokenValidationParameters.ValidIssuers = validIssuers; + options.TokenValidationParameters.IssuerValidator = TokenWildcardIssuerValidator.IssuerValidator; + } + + options.Events ??= new JwtBearerEvents(); + options.Events.OnMessageReceived = context => + { + var accessToken = context.Request.Query["access_token"]; + var path = context.HttpContext.Request.Path; + if (!string.IsNullOrEmpty(accessToken) && + (path.StartsWithSegments("/api/files"))) + { + context.Token = accessToken; + } + return Task.CompletedTask; + }; + }); + + services.ConfigureApplicationCookie(options => + { + options.Events.OnRedirectToLogin = (ctx) => + { + if (ctx.Request.Path.Value.StartsWith("/api") || + ctx.Request.Path.Value.StartsWith("/connect/token")) + { + ctx.Response.Clear(); + ctx.Response.StatusCode = 401; + return Task.FromResult(0); + } + + string authorization = ctx.Request.Headers.Authorization; + if (!authorization.IsNullOrWhiteSpace() && + authorization.StartsWith("Bearer ", StringComparison.InvariantCultureIgnoreCase)) + { + ctx.Response.Clear(); + ctx.Response.ContentType = "application/json"; + ctx.Response.StatusCode = StatusCodes.Status401Unauthorized; + return Task.CompletedTask; + } + + ctx.Response.Redirect(ctx.RedirectUri); + return Task.CompletedTask; + }; + }); + + if (!isDevelopment) + { + services + .AddDataProtection() + .SetApplicationName("LINGYUN.Abp.Application") + .PersistKeysToStackExchangeRedis(() => + { + var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]!); + + return redis.GetDatabase(); + }, + "LINGYUN.Abp.Application:DataProtection:Protection-Keys"); + } + + services.AddSameSiteCookiePolicy(); + } + + private void ConfigureCors(IServiceCollection services, IConfiguration configuration) + { + services.AddCors(options => + { + options.AddDefaultPolicy(builder => + { + var corsOrigins = configuration.GetSection("App:CorsOrigins").Get>(); + if (corsOrigins == null || corsOrigins.Count == 0) + { + corsOrigins = configuration["App:CorsOrigins"]? + .Split(",", StringSplitOptions.RemoveEmptyEntries) + .Select(o => o.RemovePostFix("/")) + .ToList() ?? new List(); + } + builder + .WithOrigins(corsOrigins + .Select(o => o.RemovePostFix("/")) + .ToArray() + ) + .WithAbpExposedHeaders() + .WithAbpWrapExposedHeaders() + .SetIsOriginAllowedToAllowWildcardSubdomains() + .AllowAnyHeader() + .AllowAnyMethod() + .AllowCredentials(); + }); + }); + } + + private void ConfigureWeChat() + { + Configure(options => + { + // 回复文本消息 + options.MapMessage< + LINGYUN.Abp.WeChat.Official.Messages.Models.TextMessage, + LINGYUN.Abp.MicroService.AllInOne.WeChat.Official.Messages.TextMessageReplyContributor>(); + // 处理关注事件 + options.MapEvent< + LINGYUN.Abp.WeChat.Official.Messages.Models.UserSubscribeEvent, + LINGYUN.Abp.MicroService.AllInOne.WeChat.Official.Messages.UserSubscribeEventContributor>(); + + options.MapMessage< + LINGYUN.Abp.WeChat.Work.Common.Messages.Models.TextMessage, + LINGYUN.Abp.MicroService.AllInOne.WeChat.Work.Messages.TextMessageReplyContributor>(); + }); + } +} + diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.cs similarity index 96% rename from aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.cs index 38fc4e380..37f60d3a3 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/MicroServiceApplicationsSingleModule.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/AllInOneModule.cs @@ -1,488 +1,489 @@ -namespace LY.MicroService.Applications.Single; - -[DependsOn( - // CAP事件总线模块 - typeof(AbpCAPEventBusModule), - // Serilog扩展模块 应用程序信息 - typeof(AbpSerilogEnrichersApplicationModule), - // Serilog扩展模块 全局唯一Id - typeof(AbpSerilogEnrichersUniqueIdModule), - // Serilog模块 - typeof(AbpAspNetCoreSerilogModule), - // 身份认证模块 扩展UserToken验证 - typeof(AbpIdentityAspNetCoreModule), - // 身份认证模块 通知集成 - typeof(AbpIdentityNotificationsModule), - // 身份认证模块 组织机构集成 - typeof(AbpIdentityOrganizaztionUnitsModule), - // 身份认证模块 微信身份标识 - typeof(AbpIdentityWeChatModule), - // 身份认证模块 企业微信身份标识 - typeof(AbpIdentityWeChatWorkModule), - // 身份认证模块 领域服务 - typeof(AbpIdentityDomainModule), - // 身份认证模块 应用服务 - typeof(AbpIdentityApplicationModule), - // 身份认证模块 控制器 - typeof(AbpIdentityHttpApiModule), - // 身份认证模块 实体框架 - typeof(AbpIdentityEntityFrameworkCoreModule), - // 身份认证模块 Mvc视图 - typeof(AbpIdentityWebModule), - - // 账户模块 应用服务 - typeof(AbpAccountApplicationModule), - // 账户模块 控制器 - typeof(AbpAccountHttpApiModule), - // 账户模块 OpenIddict集成 - typeof(AbpAccountWebOpenIddictModule), - // 账户模块 OAuth集成 - typeof(AbpAccountWebOAuthModule), - // 使用 LazyCaptcha 验证码组件 - typeof(AbpAccountWebLazyCaptchaModule), - // 使用 腾讯云验证码组件, 需配置好腾讯云相关参数 - typeof(AbpAccountWebTencentCaptchaModule), - // 使用 阿里云验证码组件, 需配置好阿里云相关参数 - typeof(AbpAccountWebAliyunCaptchaModule), - - // Gdpr 身份认证提供者模块 - typeof(AbpGdprDomainIdentityModule), - // Gdpr 应用服务模块 - typeof(AbpGdprApplicationModule), - // Gdpr 控制器模块 - typeof(AbpGdprHttpApiModule), - // Gdpr 实体框架模块 - typeof(AbpGdprEntityFrameworkCoreModule), - // Gdpr Mvc页面 - typeof(AbpGdprWebModule), - - // MVC Theme - typeof(AbpAspNetCoreMvcUiLeptonXLiteThemeModule), - - // 审计日志模块 应用服务 - typeof(AbpAuditingApplicationModule), - // 审计日志模块 控制器 - typeof(AbpAuditingHttpApiModule), - // 审计日志模块 IP 地址定位 - typeof(AbpAuditLoggingIPLocationModule), - // 审计日志模块 实体框架 - typeof(AbpAuditLoggingEntityFrameworkCoreModule), - - // 缓存模块 Redis集成 - typeof(AbpCachingStackExchangeRedisModule), - // 缓存管理模块 Redis集成 - typeof(AbpCachingManagementStackExchangeRedisModule), - // 缓存管理模块 应用服务 - typeof(AbpCachingManagementApplicationModule), - // 缓存管理模块 控制器 - typeof(AbpCachingManagementHttpApiModule), - - // 多语言管理模块 领域服务 - typeof(AbpLocalizationManagementDomainModule), - // 多语言管理模块 应用服务 - typeof(AbpLocalizationManagementApplicationModule), - // 多语言管理模块 控制器 - typeof(AbpLocalizationManagementHttpApiModule), - // 多语言管理模块 实体框架 - typeof(AbpLocalizationManagementEntityFrameworkCoreModule), - - - // 消息模块 领域服务 - typeof(AbpMessageServiceDomainModule), - // 消息模块 应用服务 - typeof(AbpMessageServiceApplicationModule), - // 消息模块 控制器 - typeof(AbpMessageServiceHttpApiModule), - // 消息模块 实体框架 - typeof(AbpMessageServiceEntityFrameworkCoreModule), - // 通知模块 领域服务 - typeof(AbpNotificationsDomainModule), - // 通知模块 应用服务 - typeof(AbpNotificationsApplicationModule), - // 通知模块 控制器 - typeof(AbpNotificationsHttpApiModule), - // 通知模块 实体框架 - typeof(AbpNotificationsEntityFrameworkCoreModule), - - // OpenIddict扩展模块 应用服务 - typeof(AbpOpenIddictApplicationModule), - // OpenIddict扩展模块 控制器 - typeof(AbpOpenIddictHttpApiModule), - // OpenIddict扩展模块 实体框架 - typeof(AbpOpenIddictEntityFrameworkCoreModule), - // OpenIddict扩展模块 短信认证 - typeof(AbpOpenIddictSmsModule), - // OpenIddict扩展模块 平台认证 - typeof(AbpOpenIddictPortalModule), - // OpenIddict扩展模块 微信认证 - typeof(AbpOpenIddictWeChatModule), - // OpenIddict扩展模块 企业微信认证 - typeof(AbpOpenIddictWeChatWorkModule), - // OpenIddict扩展模块 关联账户 - typeof(AbpOpenIddictLinkUserModule), - // OpenIddict扩展模块 扫码登录 - typeof(AbpOpenIddictQrCodeModule), - - // 对象存储模块 阿里云 - typeof(AbpBlobManagementAliyunModule), - // 对象存储模块 文件系统 - typeof(AbpBlobManagementFileSystemModule), - // 对象存储模块 Minio - typeof(AbpBlobManagementMinioModule), - // 对象存储模块 腾讯云 - typeof(AbpBlobManagementTencentModule), - // 对象存储模块 MimeCheck扩展 - typeof(AbpBlobManagementMimeCheckModule), - // 对象存储模块 应用服务 - typeof(AbpBlobManagementDomainModule), - // 对象存储模块 控制器 - typeof(AbpBlobManagementApplicationModule), - // 对象存储模块 控制器 - typeof(AbpBlobManagementHttpApiModule), - // 对象存储模块 设置管理 - typeof(AbpBlobManagementSettingManagementModule), - // 对象存储模块 通用存储代理 - typeof(AbpBlobStoringBlobManagementModule), - // 图形处理模块 - typeof(AbpImagingImageSharpModule), - - // 平台模块 领域服务 - typeof(PlatformDomainModule), - // 平台模块 应用服务 - typeof(PlatformApplicationModule), - // 平台模块 控制器 - typeof(PlatformHttpApiModule), - // 平台模块 实体框架 - typeof(PlatformEntityFrameworkCoreModule), - // 平台模块 VueVbenAdmin设置 - // typeof(PlatformSettingsVueVbenAdminModule), - // 平台模块 VueVbenAdmin主题 - // typeof(PlatformThemeVueVbenAdminModule), - // 平台模块 Vben2路由 - // typeof(AbpUINavigationVueVbenAdminModule), - // 平台模块 Vben5路由 - typeof(AbpUINavigationVueVbenAdmin5Module), - - // Saas模块 领域服务 - typeof(AbpSaasDomainModule), - // Saas模块 应用服务 - typeof(AbpSaasApplicationModule), - // Saas模块 控制器 - typeof(AbpSaasHttpApiModule), - // Saas模块 实体框架 - typeof(AbpSaasEntityFrameworkCoreModule), - // Saas模块 数据库连接检查 - typeof(AbpSaasDbCheckerModule), - - // 任务管理模块 领域服务 - typeof(TaskManagementDomainModule), - // 任务管理模块 应用服务 - typeof(TaskManagementApplicationModule), - // 任务管理模块 控制器 - typeof(TaskManagementHttpApiModule), - // 任务管理模块 实体框架 - typeof(TaskManagementEntityFrameworkCoreModule), - - // 文本模板模块 领域服务 - typeof(AbpTextTemplatingDomainModule), - // 文本模板模块 应用服务 - typeof(AbpTextTemplatingApplicationModule), - // 文本模板模块 控制器 - typeof(AbpTextTemplatingHttpApiModule), - // 文本模板模块 实体框架 - typeof(AbpTextTemplatingEntityFrameworkCoreModule), - - // Webhooks模块 领域服务 - typeof(AbpWebhooksModule), - // Webhooks模块 事件总线 - typeof(AbpWebhooksEventBusModule), - // Webhooks模块 身份认证事件 - typeof(AbpWebhooksIdentityModule), - // Webhooks模块 Saas事件 - typeof(AbpWebhooksSaasModule), - // Webhooks模块 应用服务 - typeof(WebhooksManagementDomainModule), - // Webhooks模块 控制器 - typeof(WebhooksManagementApplicationModule), - // Webhooks模块 控制器 - typeof(WebhooksManagementHttpApiModule), - // Webhooks模块 实体框架 - typeof(WebhooksManagementEntityFrameworkCoreModule), - - // 功能管理模块 应用服务 - typeof(LINGYUN.Abp.FeatureManagement.AbpFeatureManagementApplicationModule), - // 功能管理模块 控制器 - typeof(LINGYUN.Abp.FeatureManagement.HttpApi.AbpFeatureManagementHttpApiModule), - // 功能管理模块 实体框架 - typeof(AbpFeatureManagementEntityFrameworkCoreModule), - - // 设置管理模块 领域服务 - typeof(AbpSettingManagementDomainModule), - // 设置管理模块 应用服务 - typeof(AbpSettingManagementApplicationModule), - // 设置管理模块 控制器 - typeof(AbpSettingManagementHttpApiModule), - // 设置管理模块 实体框架 - typeof(AbpSettingManagementEntityFrameworkCoreModule), - // 设置管理模块 Mvc视图 - typeof(AbpSettingManagementWebModule), - - // 权限管理模块 应用服务 - typeof(LINGYUN.Abp.PermissionManagement.AbpPermissionManagementApplicationModule), - // 权限管理模块 控制器 - typeof(AbpPermissionManagementHttpApiModule), - // 权限管理模块 身份认证集成 - typeof(AbpPermissionManagementDomainIdentityModule), - // 权限管理模块 OpenIddict集成 - typeof(AbpPermissionManagementDomainOpenIddictModule), - // typeof(AbpPermissionManagementDomainIdentityServerModule), - // 权限管理模块 实体框架 - typeof(AbpPermissionManagementEntityFrameworkCoreModule), - // 权限管理模块 组织机构集成 - typeof(AbpPermissionManagementDomainOrganizationUnitsModule), // 组织机构权限管理 - // 权限管理模块 Mvc视图 - typeof(AbpPermissionManagementWebModule), - - // 短信模块 阿里云集成 - typeof(AbpAliyunSmsModule), - // 阿里云模块 设置管理 - typeof(AbpAliyunSettingManagementModule), - - // 认证模块 JWT认证 - typeof(AbpAspNetCoreAuthenticationJwtBearerModule), - // 授权模块 组织机构集成 - typeof(AbpAuthorizationOrganizationUnitsModule), - - // 后台任务模块 - typeof(AbpBackgroundTasksModule), - // 后台任务模块 行为处理 - typeof(AbpBackgroundTasksActivitiesModule), - // 后台任务模块 分布式锁 - typeof(AbpBackgroundTasksDistributedLockingModule), - // 后台任务模块 事件总线 - typeof(AbpBackgroundTasksEventBusModule), - // 后台任务模块 默认作业 - typeof(AbpBackgroundTasksJobsModule), - // 后台任务模块 通知 - typeof(AbpBackgroundTasksNotificationsModule), - // 后台任务模块 Quartz集成 - typeof(AbpBackgroundTasksQuartzModule), - // 后台任务模块 身份认证模块作业 - typeof(AbpIdentityJobsModule), - // 后台任务模块 平台管理模块作业 - typeof(PlatformJobsModule), - - // 数据审计模块 应用服务 - typeof(AbpDataProtectionManagementApplicationModule), - // 数据审计模块 控制器 - typeof(AbpDataProtectionManagementHttpApiModule), - // 数据审计模块 实体框架 - typeof(AbpDataProtectionManagementEntityFrameworkCoreModule), - - // Demo模块 应用服务 - typeof(AbpDemoApplicationModule), - // Demo模块 控制器 - typeof(AbpDemoHttpApiModule), - // Demo模块 实体框架 - typeof(AbpDemoEntityFrameworkCoreModule), - - // Dapr模块 客户端 - typeof(AbpDaprClientModule), - // 异常处理模块 - typeof(AbpExceptionHandlingModule), - // 异常处理模块 邮件通知 - typeof(AbpEmailingExceptionHandlingModule), - - // 功能限制模块 - typeof(AbpFeaturesLimitValidationModule), - // 客户端功能限制模块 Redis集成 - typeof(AbpFeaturesValidationRedisClientModule), - // 功能管理模块 Mvc视图 - typeof(AbpFeatureManagementWebModule), - // 多语言模块 语言映射 - typeof(AbpLocalizationCultureMapModule), - - // OpenApi模块 授权 - typeof(AbpOpenApiAuthorizationModule), - - // 消息模块 实时框架 - typeof(AbpIMSignalRModule), - - // 通知模块 - typeof(AbpNotificationsModule), - // 通知模块 默认通知 - typeof(AbpNotificationsCommonModule), - // 通知模块 实时框架 - typeof(AbpNotificationsSignalRModule), - // 通知模块 邮件通知 - typeof(AbpNotificationsEmailingModule), - // 通知模块 模板解析 - typeof(AbpNotificationsTemplatingModule), - // 通知模块 微信小程序 - typeof(AbpNotificationsWeChatMiniProgramModule), - // 通知模块 企业微信 - typeof(AbpNotificationsWeChatWorkModule), - // 通知模块 工作日检查拦截器 - typeof(AbpNotificationsCalendarModule), - // 多租户模块 版本 - typeof(AbpMultiTenancyEditionsModule), - - // 腾讯QQ模块 - typeof(AbpTencentQQModule), - // 腾讯云模块 设置管理 - typeof(AbpTencentCloudSettingManagementModule), - - // 微信模块 微信小程序 - typeof(AbpWeChatMiniProgramModule), - // 微信模块 微信公众号 - typeof(AbpWeChatOfficialModule), - // 微信模块 微信公众号 应用服务 - typeof(AbpWeChatOfficialApplicationModule), - // 微信模块 微信公众号 控制器 - typeof(AbpWeChatOfficialHttpApiModule), - // 微信模块 企业微信 - typeof(AbpWeChatWorkModule), - // 微信模块 企业微信通讯录 - typeof(AbpWeChatWorkContactModule), - // 微信模块 企业微信客户联系 - typeof(AbpWeChatWorkExternalContactModule), - // 微信模块 企业微信办公 - typeof(AbpWeChatWorkOAModule), - // 微信模块 企业微信 应用服务 - typeof(AbpWeChatWorkApplicationModule), - // 微信模块 企业微信 控制器 - typeof(AbpWeChatWorkHttpApiModule), - // 微信模块 微信公众号 事件处理 - typeof(AbpWeChatOfficialHandlersModule), - // 微信模块 企业微信 事件处理 - typeof(AbpWeChatWorkHandlersModule), - // 微信模块 设置管理 - typeof(AbpWeChatSettingManagementModule), - - // AI管理模块 Http工具 - typeof(AbpAIToolsHttpModule), - // AI管理模块 Mcp工具 - typeof(AbpAIToolsMcpModule), - // AI管理模块 应用服务 - typeof(AbpAIManagementApplicationModule), - // AI管理模块 控制器 - typeof(AbpAIManagementHttpApiModule), - - // 数据迁移模块 - typeof(AbpDataDbMigratorModule), - // IP解析模块 IP2Region集成 - typeof(AbpIP2RegionModule), - // 分布式Id生成器模块 - typeof(AbpIdGeneratorModule), - // 自定义导航模块 - typeof(AbpUINavigationModule), - - // Elsa工作流模块 - typeof(AbpElsaModule), - // Elsa工作流模块 工作流服务器 - typeof(AbpElsaServerModule), - // Elsa工作流模块 活动 - typeof(AbpElsaActivitiesModule), - // Elsa工作流模块 实体框架 - typeof(AbpElsaEntityFrameworkCoreModule), - // Elsa工作流设计器模块 - typeof(AbpElsaDesignerModule), - - // 数据导出模块 MiniSoftware集成 - typeof(AbpExporterMiniSoftwareModule), - - // 虚拟文件浏览器 Mvc视图 - typeof(AbpVirtualFileExplorerWebModule), - typeof(AbpLoggingSerilogElasticsearchModule), - typeof(AbpHttpClientWrapperModule), - typeof(AbpAspNetCoreMvcWrapperModule), - typeof(AbpAspNetCoreSessionModule), - typeof(AbpAspNetCoreMvcIdempotentWrapperModule), - typeof(AbpAspNetCoreHttpOverridesModule), - typeof(AbpHttpClientIdentityModelWebModule), - typeof(AbpAspNetCoreMultiTenancyModule), - typeof(AbpAspNetCoreMvcUiMultiTenancyModule), - typeof(AbpDynamicDefinitionsModule), - typeof(AbpAspNetCoreAuthenticationModule), - typeof(AbpSwashbuckleModule), - typeof(AbpMailKitModule), - typeof(AbpAutofacModule), - - // 单体应用系统状态接口 - typeof(AbpSystemInfoHttpApiModule), - - // MySql - typeof(SingleMigrationsEntityFrameworkCoreMySqlModule), - // SqlServer - typeof(SingleMigrationsEntityFrameworkCoreSqlServerModule), - // PostgreSql - typeof(SingleMigrationsEntityFrameworkCorePostgreSqlModule) - )] -public partial class MicroServiceApplicationsSingleModule : AbpModule -{ - public override void PreConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); - var hostingEnvironment = context.Services.GetHostingEnvironment(); - - PreConfigureWrapper(); - PreConfigureFeature(); - PreConfigureIdentity(); - PreConfigureApp(configuration); - PreConfigureCAP(configuration); - PreConfigureQuartz(configuration); - PreConfigureSignalR(configuration); - PreConfigureAuthServer(configuration); - PreConfigureElsa(context.Services, configuration); - PreConfigureCertificate(configuration, hostingEnvironment); - } - - public override void ConfigureServices(ServiceConfigurationContext context) - { - var hostingEnvironment = context.Services.GetHostingEnvironment(); - var configuration = context.Services.GetConfiguration(); - - ConfigureWeChat(); - ConfigureWrapper(); - ConfigureExporter(); - ConfigureAuditing(); - ConfigureIdempotent(); - ConfigureMvcUiTheme(); - ConfigureLocalization(); - ConfigureBackgroundTasks(); - ConfigureExceptionHandling(); - ConfigureVirtualFileSystem(); - ConfigureIP2RegionIPLocation(); - ConfigureEntityDataProtected(); - ConfigureUrls(configuration); - ConfigureAuditing(configuration); - ConfigureIdentity(configuration); - ConfigureDbContext(configuration); - ConfigureAuthServer(configuration); - ConfigureEndpoints(context.Services); - ConfigureMultiTenancy(configuration); - ConfigureJsonSerializer(configuration); - ConfigureTextTemplating(configuration); - ConfigureAIManagement(configuration); - ConfigureFeatureManagement(configuration); - ConfigureSettingManagement(configuration); - ConfigureWebhooksManagement(configuration); - ConfigurePermissionManagement(configuration); - ConfigureNotificationManagement(configuration); - ConfigureCors(context.Services, configuration); - ConfigureSwagger(context.Services, configuration); - ConfigureCaching(context.Services, configuration); - ConfigureDistributedLock(context.Services, configuration); - ConfigureKestrelServer(configuration, hostingEnvironment); - ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); - - ConfigureSingleModule(context.Services, hostingEnvironment.IsDevelopment()); - } - - public async override Task OnPostApplicationInitializationAsync(ApplicationInitializationContext context) - { - await context.ServiceProvider - .GetRequiredService() - .SeedAsync(); - } -} +namespace LINGYUN.Abp.MicroService.AllInOne; + +[DependsOn( + // CAP事件总线模块 + typeof(AbpCAPEventBusModule), + // Serilog扩展模块 应用程序信息 + typeof(AbpSerilogEnrichersApplicationModule), + // Serilog扩展模块 全局唯一Id + typeof(AbpSerilogEnrichersUniqueIdModule), + // Serilog模块 + typeof(AbpAspNetCoreSerilogModule), + // 身份认证模块 扩展UserToken验证 + typeof(AbpIdentityAspNetCoreModule), + // 身份认证模块 通知集成 + typeof(AbpIdentityNotificationsModule), + // 身份认证模块 组织机构集成 + typeof(AbpIdentityOrganizaztionUnitsModule), + // 身份认证模块 微信身份标识 + typeof(AbpIdentityWeChatModule), + // 身份认证模块 企业微信身份标识 + typeof(AbpIdentityWeChatWorkModule), + // 身份认证模块 领域服务 + typeof(AbpIdentityDomainModule), + // 身份认证模块 应用服务 + typeof(AbpIdentityApplicationModule), + // 身份认证模块 控制器 + typeof(AbpIdentityHttpApiModule), + // 身份认证模块 实体框架 + typeof(AbpIdentityEntityFrameworkCoreModule), + // 身份认证模块 Mvc视图 + typeof(AbpIdentityWebModule), + + // 账户模块 应用服务 + typeof(AbpAccountApplicationModule), + // 账户模块 控制器 + typeof(AbpAccountHttpApiModule), + // 账户模块 OpenIddict集成 + typeof(AbpAccountWebOpenIddictModule), + // 账户模块 OAuth集成 + typeof(AbpAccountWebOAuthModule), + // 使用 LazyCaptcha 验证码组件 + typeof(AbpAccountWebLazyCaptchaModule), + // 使用 腾讯云验证码组件, 需配置好腾讯云相关参数 + typeof(AbpAccountWebTencentCaptchaModule), + // 使用 阿里云验证码组件, 需配置好阿里云相关参数 + typeof(AbpAccountWebAliyunCaptchaModule), + + // Gdpr 身份认证提供者模块 + typeof(AbpGdprDomainIdentityModule), + // Gdpr 应用服务模块 + typeof(AbpGdprApplicationModule), + // Gdpr 控制器模块 + typeof(AbpGdprHttpApiModule), + // Gdpr 实体框架模块 + typeof(AbpGdprEntityFrameworkCoreModule), + // Gdpr Mvc页面 + typeof(AbpGdprWebModule), + + // MVC Theme + typeof(AbpAspNetCoreMvcUiLeptonXLiteThemeModule), + + // 审计日志模块 应用服务 + typeof(AbpAuditingApplicationModule), + // 审计日志模块 控制器 + typeof(AbpAuditingHttpApiModule), + // 审计日志模块 IP 地址定位 + typeof(AbpAuditLoggingIPLocationModule), + typeof(AbpMaxMindGeoIP2Module), + // 审计日志模块 实体框架 + typeof(AbpAuditLoggingEntityFrameworkCoreModule), + + // 缓存模块 Redis集成 + typeof(AbpCachingStackExchangeRedisModule), + // 缓存管理模块 Redis集成 + typeof(AbpCachingManagementStackExchangeRedisModule), + // 缓存管理模块 应用服务 + typeof(AbpCachingManagementApplicationModule), + // 缓存管理模块 控制器 + typeof(AbpCachingManagementHttpApiModule), + + // 多语言管理模块 领域服务 + typeof(AbpLocalizationManagementDomainModule), + // 多语言管理模块 应用服务 + typeof(AbpLocalizationManagementApplicationModule), + // 多语言管理模块 控制器 + typeof(AbpLocalizationManagementHttpApiModule), + // 多语言管理模块 实体框架 + typeof(AbpLocalizationManagementEntityFrameworkCoreModule), + + + // 消息模块 领域服务 + typeof(AbpMessageServiceDomainModule), + // 消息模块 应用服务 + typeof(AbpMessageServiceApplicationModule), + // 消息模块 控制器 + typeof(AbpMessageServiceHttpApiModule), + // 消息模块 实体框架 + typeof(AbpMessageServiceEntityFrameworkCoreModule), + // 通知模块 领域服务 + typeof(AbpNotificationsDomainModule), + // 通知模块 应用服务 + typeof(AbpNotificationsApplicationModule), + // 通知模块 控制器 + typeof(AbpNotificationsHttpApiModule), + // 通知模块 实体框架 + typeof(AbpNotificationsEntityFrameworkCoreModule), + + // OpenIddict扩展模块 应用服务 + typeof(AbpOpenIddictApplicationModule), + // OpenIddict扩展模块 控制器 + typeof(AbpOpenIddictHttpApiModule), + // OpenIddict扩展模块 实体框架 + typeof(AbpOpenIddictEntityFrameworkCoreModule), + // OpenIddict扩展模块 短信认证 + typeof(AbpOpenIddictSmsModule), + // OpenIddict扩展模块 平台认证 + typeof(AbpOpenIddictPortalModule), + // OpenIddict扩展模块 微信认证 + typeof(AbpOpenIddictWeChatModule), + // OpenIddict扩展模块 企业微信认证 + typeof(AbpOpenIddictWeChatWorkModule), + // OpenIddict扩展模块 关联账户 + typeof(AbpOpenIddictLinkUserModule), + // OpenIddict扩展模块 扫码登录 + typeof(AbpOpenIddictQrCodeModule), + + // 对象存储模块 阿里云 + typeof(AbpBlobManagementAliyunModule), + // 对象存储模块 文件系统 + typeof(AbpBlobManagementFileSystemModule), + // 对象存储模块 Minio + typeof(AbpBlobManagementMinioModule), + // 对象存储模块 腾讯云 + typeof(AbpBlobManagementTencentModule), + // 对象存储模块 MimeCheck扩展 + typeof(AbpBlobManagementMimeCheckModule), + // 对象存储模块 应用服务 + typeof(AbpBlobManagementDomainModule), + // 对象存储模块 控制器 + typeof(AbpBlobManagementApplicationModule), + // 对象存储模块 控制器 + typeof(AbpBlobManagementHttpApiModule), + // 对象存储模块 设置管理 + typeof(AbpBlobManagementSettingManagementModule), + // 对象存储模块 通用存储代理 + typeof(AbpBlobStoringBlobManagementModule), + // 图形处理模块 + typeof(AbpImagingImageSharpModule), + + // 平台模块 领域服务 + typeof(PlatformDomainModule), + // 平台模块 应用服务 + typeof(PlatformApplicationModule), + // 平台模块 控制器 + typeof(PlatformHttpApiModule), + // 平台模块 实体框架 + typeof(PlatformEntityFrameworkCoreModule), + // 平台模块 VueVbenAdmin设置 + // typeof(PlatformSettingsVueVbenAdminModule), + // 平台模块 VueVbenAdmin主题 + // typeof(PlatformThemeVueVbenAdminModule), + // 平台模块 Vben2路由 + // typeof(AbpUINavigationVueVbenAdminModule), + // 平台模块 Vben5路由 + typeof(AbpUINavigationVueVbenAdmin5Module), + + // Saas模块 领域服务 + typeof(AbpSaasDomainModule), + // Saas模块 应用服务 + typeof(AbpSaasApplicationModule), + // Saas模块 控制器 + typeof(AbpSaasHttpApiModule), + // Saas模块 实体框架 + typeof(AbpSaasEntityFrameworkCoreModule), + // Saas模块 数据库连接检查 + typeof(AbpSaasDbCheckerModule), + + // 任务管理模块 领域服务 + typeof(TaskManagementDomainModule), + // 任务管理模块 应用服务 + typeof(TaskManagementApplicationModule), + // 任务管理模块 控制器 + typeof(TaskManagementHttpApiModule), + // 任务管理模块 实体框架 + typeof(TaskManagementEntityFrameworkCoreModule), + + // 文本模板模块 领域服务 + typeof(AbpTextTemplatingDomainModule), + // 文本模板模块 应用服务 + typeof(AbpTextTemplatingApplicationModule), + // 文本模板模块 控制器 + typeof(AbpTextTemplatingHttpApiModule), + // 文本模板模块 实体框架 + typeof(AbpTextTemplatingEntityFrameworkCoreModule), + + // Webhooks模块 领域服务 + typeof(AbpWebhooksModule), + // Webhooks模块 事件总线 + typeof(AbpWebhooksEventBusModule), + // Webhooks模块 身份认证事件 + typeof(AbpWebhooksIdentityModule), + // Webhooks模块 Saas事件 + typeof(AbpWebhooksSaasModule), + // Webhooks模块 应用服务 + typeof(WebhooksManagementDomainModule), + // Webhooks模块 控制器 + typeof(WebhooksManagementApplicationModule), + // Webhooks模块 控制器 + typeof(WebhooksManagementHttpApiModule), + // Webhooks模块 实体框架 + typeof(WebhooksManagementEntityFrameworkCoreModule), + + // 功能管理模块 应用服务 + typeof(LINGYUN.Abp.FeatureManagement.AbpFeatureManagementApplicationModule), + // 功能管理模块 控制器 + typeof(LINGYUN.Abp.FeatureManagement.HttpApi.AbpFeatureManagementHttpApiModule), + // 功能管理模块 实体框架 + typeof(AbpFeatureManagementEntityFrameworkCoreModule), + + // 设置管理模块 领域服务 + typeof(AbpSettingManagementDomainModule), + // 设置管理模块 应用服务 + typeof(AbpSettingManagementApplicationModule), + // 设置管理模块 控制器 + typeof(AbpSettingManagementHttpApiModule), + // 设置管理模块 实体框架 + typeof(AbpSettingManagementEntityFrameworkCoreModule), + // 设置管理模块 Mvc视图 + typeof(AbpSettingManagementWebModule), + + // 权限管理模块 应用服务 + typeof(LINGYUN.Abp.PermissionManagement.AbpPermissionManagementApplicationModule), + // 权限管理模块 控制器 + typeof(AbpPermissionManagementHttpApiModule), + // 权限管理模块 身份认证集成 + typeof(AbpPermissionManagementDomainIdentityModule), + // 权限管理模块 OpenIddict集成 + typeof(AbpPermissionManagementDomainOpenIddictModule), + // typeof(AbpPermissionManagementDomainIdentityServerModule), + // 权限管理模块 实体框架 + typeof(AbpPermissionManagementEntityFrameworkCoreModule), + // 权限管理模块 组织机构集成 + typeof(AbpPermissionManagementDomainOrganizationUnitsModule), // 组织机构权限管理 + // 权限管理模块 Mvc视图 + typeof(AbpPermissionManagementWebModule), + + // 短信模块 阿里云集成 + typeof(AbpAliyunSmsModule), + // 阿里云模块 设置管理 + typeof(AbpAliyunSettingManagementModule), + + // 认证模块 JWT认证 + typeof(AbpAspNetCoreAuthenticationJwtBearerModule), + // 授权模块 组织机构集成 + typeof(AbpAuthorizationOrganizationUnitsModule), + + // 后台任务模块 + typeof(AbpBackgroundTasksModule), + // 后台任务模块 行为处理 + typeof(AbpBackgroundTasksActivitiesModule), + // 后台任务模块 分布式锁 + typeof(AbpBackgroundTasksDistributedLockingModule), + // 后台任务模块 事件总线 + typeof(AbpBackgroundTasksEventBusModule), + // 后台任务模块 默认作业 + typeof(AbpBackgroundTasksJobsModule), + // 后台任务模块 通知 + typeof(AbpBackgroundTasksNotificationsModule), + // 后台任务模块 Quartz集成 + typeof(AbpBackgroundTasksQuartzModule), + // 后台任务模块 身份认证模块作业 + typeof(AbpIdentityJobsModule), + // 后台任务模块 平台管理模块作业 + typeof(PlatformJobsModule), + + // 数据审计模块 应用服务 + typeof(AbpDataProtectionManagementApplicationModule), + // 数据审计模块 控制器 + typeof(AbpDataProtectionManagementHttpApiModule), + // 数据审计模块 实体框架 + typeof(AbpDataProtectionManagementEntityFrameworkCoreModule), + + // Demo模块 应用服务 + typeof(AbpDemoApplicationModule), + // Demo模块 控制器 + typeof(AbpDemoHttpApiModule), + // Demo模块 实体框架 + typeof(AbpDemoEntityFrameworkCoreModule), + + // Dapr模块 客户端 + typeof(AbpDaprClientModule), + // 异常处理模块 + typeof(AbpExceptionHandlingModule), + // 异常处理模块 邮件通知 + typeof(AbpEmailingExceptionHandlingModule), + + // 功能限制模块 + typeof(AbpFeaturesLimitValidationModule), + // 客户端功能限制模块 Redis集成 + typeof(AbpFeaturesValidationRedisClientModule), + // 功能管理模块 Mvc视图 + typeof(AbpFeatureManagementWebModule), + // 多语言模块 语言映射 + typeof(AbpLocalizationCultureMapModule), + + // OpenApi模块 授权 + typeof(AbpOpenApiAuthorizationModule), + + // 消息模块 实时框架 + typeof(AbpIMSignalRModule), + + // 通知模块 + typeof(AbpNotificationsModule), + // 通知模块 默认通知 + typeof(AbpNotificationsCommonModule), + // 通知模块 实时框架 + typeof(AbpNotificationsSignalRModule), + // 通知模块 邮件通知 + typeof(AbpNotificationsEmailingModule), + // 通知模块 模板解析 + typeof(AbpNotificationsTemplatingModule), + // 通知模块 微信小程序 + typeof(AbpNotificationsWeChatMiniProgramModule), + // 通知模块 企业微信 + typeof(AbpNotificationsWeChatWorkModule), + // 通知模块 工作日检查拦截器 + typeof(AbpNotificationsCalendarModule), + // 多租户模块 版本 + typeof(AbpMultiTenancyEditionsModule), + + // 腾讯QQ模块 + typeof(AbpTencentQQModule), + // 腾讯云模块 设置管理 + typeof(AbpTencentCloudSettingManagementModule), + + // 微信模块 微信小程序 + typeof(AbpWeChatMiniProgramModule), + // 微信模块 微信公众号 + typeof(AbpWeChatOfficialModule), + // 微信模块 微信公众号 应用服务 + typeof(AbpWeChatOfficialApplicationModule), + // 微信模块 微信公众号 控制器 + typeof(AbpWeChatOfficialHttpApiModule), + // 微信模块 企业微信 + typeof(AbpWeChatWorkModule), + // 微信模块 企业微信通讯录 + typeof(AbpWeChatWorkContactModule), + // 微信模块 企业微信客户联系 + typeof(AbpWeChatWorkExternalContactModule), + // 微信模块 企业微信办公 + typeof(AbpWeChatWorkOAModule), + // 微信模块 企业微信 应用服务 + typeof(AbpWeChatWorkApplicationModule), + // 微信模块 企业微信 控制器 + typeof(AbpWeChatWorkHttpApiModule), + // 微信模块 微信公众号 事件处理 + typeof(AbpWeChatOfficialHandlersModule), + // 微信模块 企业微信 事件处理 + typeof(AbpWeChatWorkHandlersModule), + // 微信模块 设置管理 + typeof(AbpWeChatSettingManagementModule), + + // AI管理模块 Http工具 + typeof(AbpAIToolsHttpModule), + // AI管理模块 Mcp工具 + typeof(AbpAIToolsMcpModule), + // AI管理模块 应用服务 + typeof(AbpAIManagementApplicationModule), + // AI管理模块 控制器 + typeof(AbpAIManagementHttpApiModule), + + // 数据迁移模块 + typeof(AbpDataDbMigratorModule), + // IP解析模块 IP2Region集成 + typeof(AbpIP2RegionModule), + // 分布式Id生成器模块 + typeof(AbpIdGeneratorModule), + // 自定义导航模块 + typeof(AbpUINavigationModule), + + // Elsa工作流模块 + typeof(AbpElsaModule), + // Elsa工作流模块 工作流服务器 + typeof(AbpElsaServerModule), + // Elsa工作流模块 活动 + typeof(AbpElsaActivitiesModule), + // Elsa工作流模块 实体框架 + typeof(AbpElsaEntityFrameworkCoreModule), + // Elsa工作流设计器模块 + typeof(AbpElsaDesignerModule), + + // 数据导出模块 MiniSoftware集成 + typeof(AbpExporterMiniSoftwareModule), + + // 虚拟文件浏览器 Mvc视图 + typeof(AbpVirtualFileExplorerWebModule), + typeof(AbpLoggingSerilogElasticsearchModule), + typeof(AbpHttpClientWrapperModule), + typeof(AbpAspNetCoreMvcWrapperModule), + typeof(AbpAspNetCoreSessionModule), + typeof(AbpAspNetCoreMvcIdempotentWrapperModule), + typeof(AbpAspNetCoreHttpOverridesModule), + typeof(AbpHttpClientIdentityModelWebModule), + typeof(AbpAspNetCoreMultiTenancyModule), + typeof(AbpAspNetCoreMvcUiMultiTenancyModule), + typeof(AbpDynamicDefinitionsModule), + typeof(AbpAspNetCoreAuthenticationModule), + typeof(AbpSwashbuckleModule), + typeof(AbpMailKitModule), + typeof(AbpAutofacModule), + + // 单体应用系统状态接口 + typeof(AbpSystemInfoHttpApiModule), + + // MySql + typeof(SingleMigrationsEntityFrameworkCoreMySqlModule), + // SqlServer + typeof(SingleMigrationsEntityFrameworkCoreSqlServerModule), + // PostgreSql + typeof(SingleMigrationsEntityFrameworkCorePostgreSqlModule) + )] +public partial class AllInOneModule : AbpModule +{ + public override void PreConfigureServices(ServiceConfigurationContext context) + { + var configuration = context.Services.GetConfiguration(); + var hostingEnvironment = context.Services.GetHostingEnvironment(); + + PreConfigureWrapper(); + PreConfigureFeature(); + PreConfigureIdentity(); + PreConfigureApp(configuration); + PreConfigureCAP(configuration); + PreConfigureQuartz(configuration); + PreConfigureSignalR(configuration); + PreConfigureAuthServer(configuration); + PreConfigureElsa(context.Services, configuration); + PreConfigureCertificate(configuration, hostingEnvironment); + } + + public override void ConfigureServices(ServiceConfigurationContext context) + { + var hostingEnvironment = context.Services.GetHostingEnvironment(); + var configuration = context.Services.GetConfiguration(); + + ConfigureWeChat(); + ConfigureWrapper(); + ConfigureExporter(); + ConfigureAuditing(); + ConfigureIdempotent(); + ConfigureMvcUiTheme(); + ConfigureLocalization(); + ConfigureBackgroundTasks(); + ConfigureExceptionHandling(); + ConfigureVirtualFileSystem(); + + ConfigureEntityDataProtected(); + ConfigureUrls(configuration); + ConfigureAuditing(configuration); + ConfigureIdentity(configuration); + ConfigureDbContext(configuration); + ConfigureAuthServer(configuration); + ConfigureEndpoints(context.Services); + ConfigureMultiTenancy(configuration); + ConfigureJsonSerializer(configuration); + ConfigureTextTemplating(configuration); + ConfigureAIManagement(configuration); + ConfigureFeatureManagement(configuration); + ConfigureSettingManagement(configuration); + ConfigureWebhooksManagement(configuration); + ConfigurePermissionManagement(configuration); + ConfigureNotificationManagement(configuration); + ConfigureCors(context.Services, configuration); + ConfigureSwagger(context.Services, configuration); + ConfigureCaching(context.Services, configuration); + ConfigureDistributedLock(context.Services, configuration); + ConfigureKestrelServer(configuration, hostingEnvironment); + ConfigureSecurity(context.Services, configuration, hostingEnvironment.IsDevelopment()); + + ConfigureSingleModule(context.Services, hostingEnvironment.IsDevelopment()); + } + + public async override Task OnPostApplicationInitializationAsync(ApplicationInitializationContext context) + { + await context.ServiceProvider + .GetRequiredService() + .SeedAsync(); + } +} diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/BackgroundJobs/NotificationPublishJob.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/BackgroundJobs/NotificationPublishJob.cs similarity index 98% rename from aspnet-core/services/LY.MicroService.Applications.Single/BackgroundJobs/NotificationPublishJob.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/BackgroundJobs/NotificationPublishJob.cs index d64b8ca16..268704911 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/BackgroundJobs/NotificationPublishJob.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/BackgroundJobs/NotificationPublishJob.cs @@ -3,7 +3,7 @@ using Volo.Abp.BackgroundJobs; using Volo.Abp.DependencyInjection; using Volo.Abp.Timing; -namespace LY.MicroService.Applications.Single.BackgroundJobs; +namespace LINGYUN.Abp.MicroService.AllInOne.BackgroundJobs; public class NotificationPublishJob : AsyncBackgroundJob, ITransientDependency { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/BackgroundJobs/NotificationPublishJobArgs.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/BackgroundJobs/NotificationPublishJobArgs.cs similarity index 91% rename from aspnet-core/services/LY.MicroService.Applications.Single/BackgroundJobs/NotificationPublishJobArgs.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/BackgroundJobs/NotificationPublishJobArgs.cs index 5f0e786df..f284072af 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/BackgroundJobs/NotificationPublishJobArgs.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/BackgroundJobs/NotificationPublishJobArgs.cs @@ -1,6 +1,6 @@ using LINGYUN.Abp.Notifications; -namespace LY.MicroService.Applications.Single.BackgroundJobs; +namespace LINGYUN.Abp.MicroService.AllInOne.BackgroundJobs; public class NotificationPublishJobArgs { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Branding/SingleBrandingProvider.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Branding/SingleBrandingProvider.cs similarity index 92% rename from aspnet-core/services/LY.MicroService.Applications.Single/Branding/SingleBrandingProvider.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Branding/SingleBrandingProvider.cs index def50fa02..b9c8cbed8 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Branding/SingleBrandingProvider.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Branding/SingleBrandingProvider.cs @@ -2,7 +2,7 @@ using Volo.Abp.DependencyInjection; using Volo.Abp.Ui.Branding; -namespace LY.MicroService.Applications.Single.Branding; +namespace LINGYUN.Abp.MicroService.AllInOne.Branding; [Dependency(ReplaceServices = true)] public class SingleBrandingProvider(IConfiguration configuration) : DefaultBrandingProvider diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Bundling/SingleGlobalScriptContributor.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Bundling/SingleGlobalScriptContributor.cs similarity index 85% rename from aspnet-core/services/LY.MicroService.Applications.Single/Bundling/SingleGlobalScriptContributor.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Bundling/SingleGlobalScriptContributor.cs index 881399528..cdd15a3a0 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Bundling/SingleGlobalScriptContributor.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Bundling/SingleGlobalScriptContributor.cs @@ -1,6 +1,6 @@ using Volo.Abp.AspNetCore.Mvc.UI.Packages.JQuery; -namespace LY.MicroService.Applications.Single.Bundling; +namespace LINGYUN.Abp.MicroService.AllInOne.Bundling; [DependsOn(typeof(JQueryScriptContributor))] public class SingleGlobalScriptContributor : BundleContributor diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Controllers/HomeController.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/HomeController.cs similarity index 68% rename from aspnet-core/services/LY.MicroService.Applications.Single/Controllers/HomeController.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/HomeController.cs index 092d68277..f1c7411e5 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Controllers/HomeController.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/HomeController.cs @@ -1,11 +1,11 @@ -using Microsoft.AspNetCore.Mvc; - -namespace LY.MicroService.Applications.Single.Controllers; - -public class HomeController : Controller -{ - public IActionResult Index() - { - return View(); - } -} +using Microsoft.AspNetCore.Mvc; + +namespace LINGYUN.Abp.MicroService.AllInOne.Controllers; + +public class HomeController : Controller +{ + public IActionResult Index() + { + return View(); + } +} diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Controllers/SettingMergeController.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/SettingMergeController.cs similarity index 97% rename from aspnet-core/services/LY.MicroService.Applications.Single/Controllers/SettingMergeController.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/SettingMergeController.cs index 8138e9bfa..a5de40f80 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Controllers/SettingMergeController.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/SettingMergeController.cs @@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Volo.Abp.DependencyInjection; -namespace LY.MicroService.Applications.Single.Controllers; +namespace LINGYUN.Abp.MicroService.AllInOne.Controllers; [ExposeServices( typeof(SettingController), diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Controllers/UserSettingMergeController.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/UserSettingMergeController.cs similarity index 96% rename from aspnet-core/services/LY.MicroService.Applications.Single/Controllers/UserSettingMergeController.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/UserSettingMergeController.cs index ae0580f07..2a545458e 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Controllers/UserSettingMergeController.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Controllers/UserSettingMergeController.cs @@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; using Volo.Abp.DependencyInjection; -namespace LY.MicroService.Applications.Single.Controllers; +namespace LINGYUN.Abp.MicroService.AllInOne.Controllers; [ExposeServices( typeof(UserSettingController), diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Dockerfile b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Dockerfile similarity index 85% rename from aspnet-core/services/LY.MicroService.Applications.Single/Dockerfile rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Dockerfile index 886b6e334..eff2b1365 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Dockerfile +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Dockerfile @@ -17,4 +17,4 @@ VOLUME [ "./app/Modules" ] RUN apt update RUN apt install wget -y -ENTRYPOINT ["dotnet", "LY.MicroService.Applications.Single.dll"] +ENTRYPOINT ["dotnet", "LINGYUN.Abp.MicroService.AllInOne.dll"] diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/ChatMessageEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/ChatMessageEventHandler.cs similarity index 97% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/ChatMessageEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/ChatMessageEventHandler.cs index 024a95830..4f84250d0 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/ChatMessageEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/ChatMessageEventHandler.cs @@ -7,7 +7,7 @@ using Volo.Abp.DependencyInjection; using Volo.Abp.EventBus.Distributed; using ChatMessage = LINGYUN.Abp.IM.Messages.ChatMessage; -namespace LY.MicroService.Applications.Single.EventBus.Distributed +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Distributed { public class ChatMessageEventHandler : IDistributedEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/IdentitySessionAccessEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/IdentitySessionAccessEventHandler.cs similarity index 99% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/IdentitySessionAccessEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/IdentitySessionAccessEventHandler.cs index c8ccebd7d..0be797f79 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/IdentitySessionAccessEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/IdentitySessionAccessEventHandler.cs @@ -8,7 +8,7 @@ using Volo.Abp.Settings; using Volo.Abp.Uow; using Volo.Abp.Users; -namespace LY.MicroService.Applications.Single.EventBus.Distributed; +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Distributed; /// /// 会话控制事件处理器 /// diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/IdentityUserChangedEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/IdentityUserChangedEventHandler.cs similarity index 91% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/IdentityUserChangedEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/IdentityUserChangedEventHandler.cs index 68bbd367c..fc48aa23b 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/IdentityUserChangedEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/IdentityUserChangedEventHandler.cs @@ -5,7 +5,7 @@ using Volo.Abp.Identity; using Volo.Abp.Uow; using Volo.Abp.Users; -namespace LY.MicroService.Applications.Single.EventBus.Distributed; +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Distributed; public class IdentityUserChangedEventHandler : IDistributedEventHandler>, diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/MessageCreatedEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/MessageCreatedEventHandler.cs similarity index 96% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/MessageCreatedEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/MessageCreatedEventHandler.cs index 2c7ea2f23..7db2f0bc3 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/MessageCreatedEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/MessageCreatedEventHandler.cs @@ -4,7 +4,7 @@ using Volo.Abp.Domain.Entities.Events.Distributed; using Volo.Abp.EventBus.Distributed; using Volo.Abp.Uow; -namespace LY.MicroService.Applications.Single.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.Messages; public class MessageCreatedEventHandler : IDistributedEventHandler>, IDistributedEventHandler>, diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/NotificationEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/NotificationEventHandler.cs similarity index 99% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/NotificationEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/NotificationEventHandler.cs index 7be961696..7f2dce6a4 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/NotificationEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/NotificationEventHandler.cs @@ -1,4 +1,4 @@ -using LY.MicroService.Applications.Single.BackgroundJobs; +using LINGYUN.Abp.MicroService.AllInOne.BackgroundJobs; using Microsoft.Extensions.Localization; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.Extensions.Options; @@ -10,7 +10,7 @@ using Volo.Abp.TextTemplating; using Volo.Abp.Timing; using Volo.Abp.Uow; -namespace LY.MicroService.Applications.Single.EventBus.Distributed +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Distributed { /// /// 订阅通知发布事件,统一发布消息 diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/UserCreateEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/UserCreateEventHandler.cs similarity index 93% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/UserCreateEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/UserCreateEventHandler.cs index 114533ab5..2091f488d 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/UserCreateEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/UserCreateEventHandler.cs @@ -5,7 +5,7 @@ using Volo.Abp.EventBus.Distributed; using Volo.Abp.EventBus.Local; using Volo.Abp.Users; -namespace LY.MicroService.Applications.Single.EventBus.Distributed +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Distributed { public class UserCreateEventHandler : IDistributedEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/WebhooksEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/WebhooksEventHandler.cs similarity index 98% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/WebhooksEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/WebhooksEventHandler.cs index 2f4ee94bd..4cd0c33aa 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Distributed/WebhooksEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Distributed/WebhooksEventHandler.cs @@ -5,7 +5,7 @@ using Volo.Abp.DependencyInjection; using Volo.Abp.EventBus.Distributed; using Volo.Abp.MultiTenancy; -namespace LY.MicroService.Applications.Single.EventBus.Distributed; +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Distributed; public class WebhooksEventHandler : IDistributedEventHandler, diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/PrivateBlobProtecteder.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/PrivateBlobProtecteder.cs similarity index 97% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/PrivateBlobProtecteder.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/PrivateBlobProtecteder.cs index 8e6d163a0..1906d0f3c 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/PrivateBlobProtecteder.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/PrivateBlobProtecteder.cs @@ -3,7 +3,7 @@ using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Entities.Events; using Volo.Abp.Users; -namespace LY.MicroService.Applications.Single.EventBus.Local; +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Local; public class PrivateBlobProtecteder : ILocalEventHandler>, diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateJoinIMEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateJoinIMEventHandler.cs similarity index 96% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateJoinIMEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateJoinIMEventHandler.cs index c875a6447..4ce4141d4 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateJoinIMEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateJoinIMEventHandler.cs @@ -7,7 +7,7 @@ using Volo.Abp.EventBus; using Volo.Abp.Uow; using Volo.Abp.Users; -namespace LY.MicroService.Applications.Single.EventBus.Distributed +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Distributed { public class UserCreateJoinIMEventHandler : ILocalEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateSendWelcomeEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateSendWelcomeEventHandler.cs similarity index 98% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateSendWelcomeEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateSendWelcomeEventHandler.cs index 95e36d960..afdf986ff 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateSendWelcomeEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateSendWelcomeEventHandler.cs @@ -4,7 +4,7 @@ using Volo.Abp.Domain.Entities.Events; using Volo.Abp.EventBus; using Volo.Abp.Users; -namespace LY.MicroService.Applications.Single.EventBus +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus { public class UserCreateSendWelcomeEventHandler : ILocalEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateSubscribeIdentityNotificationsEventHandler.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateSubscribeIdentityNotificationsEventHandler.cs similarity index 96% rename from aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateSubscribeIdentityNotificationsEventHandler.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateSubscribeIdentityNotificationsEventHandler.cs index 2e4be61bf..af409d334 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/EventBus/Local/UserCreateSubscribeIdentityNotificationsEventHandler.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/EventBus/Local/UserCreateSubscribeIdentityNotificationsEventHandler.cs @@ -2,7 +2,7 @@ using Volo.Abp.Domain.Entities.Events; using Volo.Abp.Users; -namespace LY.MicroService.Applications.Single.EventBus.Local; +namespace LINGYUN.Abp.MicroService.AllInOne.EventBus.Local; public class UserCreateSubscribeIdentityNotificationsEventHandler : ILocalEventHandler>, ITransientDependency { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/GlobalUsings.cs similarity index 95% rename from aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/GlobalUsings.cs index 1d4450c09..e4f9820ac 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/GlobalUsings.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/GlobalUsings.cs @@ -1,4 +1,4 @@ -global using DotNetCore.CAP; +global using DotNetCore.CAP; global using Elsa; global using Elsa.Options; global using LINGYUN.Abp.Account; @@ -78,11 +78,13 @@ global using LINGYUN.Abp.Identity.WeChat; global using LINGYUN.Abp.Identity.WeChat.Work; global using LINGYUN.Abp.IdGenerator; global using LINGYUN.Abp.IM.SignalR; +global using LINGYUN.Abp.IP.Location; global using LINGYUN.Abp.IP2Region; global using LINGYUN.Abp.Localization.CultureMap; global using LINGYUN.Abp.LocalizationManagement; global using LINGYUN.Abp.LocalizationManagement.EntityFrameworkCore; global using LINGYUN.Abp.Logging.Serilog.Elasticsearch; +global using LINGYUN.Abp.MaxMindGeoIP2; global using LINGYUN.Abp.MessageService; global using LINGYUN.Abp.MessageService.EntityFrameworkCore; global using LINGYUN.Abp.MultiTenancy.Editions; @@ -146,11 +148,11 @@ global using LINGYUN.Platform.HttpApi; global using LINGYUN.Platform.Jobs; global using LINGYUN.Platform.Localization; global using LINGYUN.Platform.Portal; -global using LY.MicroService.Applications.Single.Bundling; -global using LY.MicroService.Applications.Single.EntityFrameworkCore.MySql; -global using LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql; -global using LY.MicroService.Applications.Single.EntityFrameworkCore.SqlServer; -global using LY.MicroService.Applications.Single.Messages; +global using LINGYUN.Abp.MicroService.AllInOne.Bundling; +global using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.MySql; +global using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql; +global using LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.SqlServer; +global using LINGYUN.Abp.MicroService.AllInOne.Messages; global using Medallion.Threading; global using Medallion.Threading.Redis; global using Microsoft.Agents.AI; diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/LINGYUN.Abp.MicroService.AllInOne.csproj similarity index 97% rename from aspnet-core/services/LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/LINGYUN.Abp.MicroService.AllInOne.csproj index 563fd1b84..c9dcdfaed 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/LY.MicroService.Applications.Single.csproj +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/LINGYUN.Abp.MicroService.AllInOne.csproj @@ -1,296 +1,300 @@ - - - - - - net10.0 - enable - LY.MicroService.Applications.Single - A47DB958-CC3F-430B-A18A-57AA535BAB49 - 10.6.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + net10.0 + enable + LINGYUN.Abp.MicroService.AllInOne + A47DB958-CC3F-430B-A18A-57AA535BAB49 + 10.6.0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailMessageManager.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailMessageManager.cs similarity index 92% rename from aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailMessageManager.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailMessageManager.cs index 2cee53b2d..ebdb993aa 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailMessageManager.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailMessageManager.cs @@ -3,7 +3,7 @@ using Volo.Abp.DependencyInjection; using Volo.Abp.Emailing; using Volo.Abp.Settings; -namespace LY.MicroService.Applications.Single.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.Messages; [Dependency(ReplaceServices = true)] [ExposeServices(typeof(IEmailMessageManager), typeof(EmailMessageManager))] diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailSender.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailSender.cs similarity index 98% rename from aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailSender.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailSender.cs index 6cc6440a0..98aef2a8c 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailSender.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailSender.cs @@ -4,7 +4,7 @@ using System.Net.Mail; using Volo.Abp.Content; using Volo.Abp.Emailing; -namespace LY.MicroService.Applications.Single.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.Messages; public class PlatformEmailSender : IEmailSender { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailSettingsAppService.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailSettingsAppService.cs similarity index 98% rename from aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailSettingsAppService.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailSettingsAppService.cs index 571a6d056..7150c617d 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformEmailSettingsAppService.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformEmailSettingsAppService.cs @@ -3,7 +3,7 @@ using Volo.Abp.Emailing; using SendTestEmailInput = Volo.Abp.SettingManagement.SendTestEmailInput; using SettingManagementPermissions = Volo.Abp.SettingManagement.SettingManagementPermissions; -namespace LY.MicroService.Applications.Single.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.Messages; [Authorize(SettingManagementPermissions.Emailing)] public class PlatformEmailSettingsAppService : SettingManagementAppServiceBase, IEmailSettingsAppService diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformSmsMessageManager.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformSmsMessageManager.cs similarity index 90% rename from aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformSmsMessageManager.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformSmsMessageManager.cs index 48f74598f..2ba90ae90 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformSmsMessageManager.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformSmsMessageManager.cs @@ -2,7 +2,7 @@ using Volo.Abp.DependencyInjection; using Volo.Abp.Sms; -namespace LY.MicroService.Applications.Single.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.Messages; [Dependency(ReplaceServices = true)] diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformSmsSender.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformSmsSender.cs similarity index 94% rename from aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformSmsSender.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformSmsSender.cs index 33bbf669c..8acda88e8 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Messages/PlatformSmsSender.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Messages/PlatformSmsSender.cs @@ -3,7 +3,7 @@ using LINGYUN.Platform.Messages.Integration; using Volo.Abp.Sms; using SmsMessage = Volo.Abp.Sms.SmsMessage; -namespace LY.MicroService.Applications.Single.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.Messages; public class PlatformSmsSender : ISmsSender { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs similarity index 97% rename from aspnet-core/services/LY.MicroService.Applications.Single/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs index a408c6bf9..3b0c754a5 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Microsoft/Extensions/DependencyInjection/SameSiteCookiesServiceCollectionExtensions.cs @@ -1,70 +1,70 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Http; - -namespace Microsoft.Extensions.DependencyInjection -{ - public static class SameSiteCookiesServiceCollectionExtensions - { - public static IServiceCollection AddSameSiteCookiePolicy(this IServiceCollection services) - { - services.Configure(options => - { - options.MinimumSameSitePolicy = SameSiteMode.Unspecified; - options.OnAppendCookie = cookieContext => - CheckSameSite(cookieContext.Context, cookieContext.CookieOptions); - options.OnDeleteCookie = cookieContext => - CheckSameSite(cookieContext.Context, cookieContext.CookieOptions); - }); - - return services; - } - - private static void CheckSameSite(HttpContext httpContext, CookieOptions options) - { - if (options.SameSite == SameSiteMode.None) - { - var userAgent = httpContext.Request.Headers["User-Agent"].ToString(); - if (!httpContext.Request.IsHttps || DisallowsSameSiteNone(userAgent)) - { - // For .NET Core < 3.1 set SameSite = (SameSiteMode)(-1) - options.SameSite = SameSiteMode.Unspecified; - } - } - } - - private static bool DisallowsSameSiteNone(string userAgent) - { - // Cover all iOS based browsers here. This includes: - // - Safari on iOS 12 for iPhone, iPod Touch, iPad - // - WkWebview on iOS 12 for iPhone, iPod Touch, iPad - // - Chrome on iOS 12 for iPhone, iPod Touch, iPad - // All of which are broken by SameSite=None, because they use the iOS networking stack - if (userAgent.Contains("CPU iPhone OS 12") || userAgent.Contains("iPad; CPU OS 12")) - { - return true; - } - - // Cover Mac OS X based browsers that use the Mac OS networking stack. This includes: - // - Safari on Mac OS X. - // This does not include: - // - Chrome on Mac OS X - // Because they do not use the Mac OS networking stack. - if (userAgent.Contains("Macintosh; Intel Mac OS X 10_14") && - userAgent.Contains("Version/") && userAgent.Contains("Safari")) - { - return true; - } - - // Cover Chrome 50-69, because some versions are broken by SameSite=None, - // and none in this range require it. - // Note: this covers some pre-Chromium Edge versions, - // but pre-Chromium Edge does not require SameSite=None. - if (userAgent.Contains("Chrome/5") || userAgent.Contains("Chrome/6")) - { - return true; - } - - return false; - } - } +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Http; + +namespace Microsoft.Extensions.DependencyInjection +{ + public static class SameSiteCookiesServiceCollectionExtensions + { + public static IServiceCollection AddSameSiteCookiePolicy(this IServiceCollection services) + { + services.Configure(options => + { + options.MinimumSameSitePolicy = SameSiteMode.Unspecified; + options.OnAppendCookie = cookieContext => + CheckSameSite(cookieContext.Context, cookieContext.CookieOptions); + options.OnDeleteCookie = cookieContext => + CheckSameSite(cookieContext.Context, cookieContext.CookieOptions); + }); + + return services; + } + + private static void CheckSameSite(HttpContext httpContext, CookieOptions options) + { + if (options.SameSite == SameSiteMode.None) + { + var userAgent = httpContext.Request.Headers["User-Agent"].ToString(); + if (!httpContext.Request.IsHttps || DisallowsSameSiteNone(userAgent)) + { + // For .NET Core < 3.1 set SameSite = (SameSiteMode)(-1) + options.SameSite = SameSiteMode.Unspecified; + } + } + } + + private static bool DisallowsSameSiteNone(string userAgent) + { + // Cover all iOS based browsers here. This includes: + // - Safari on iOS 12 for iPhone, iPod Touch, iPad + // - WkWebview on iOS 12 for iPhone, iPod Touch, iPad + // - Chrome on iOS 12 for iPhone, iPod Touch, iPad + // All of which are broken by SameSite=None, because they use the iOS networking stack + if (userAgent.Contains("CPU iPhone OS 12") || userAgent.Contains("iPad; CPU OS 12")) + { + return true; + } + + // Cover Mac OS X based browsers that use the Mac OS networking stack. This includes: + // - Safari on Mac OS X. + // This does not include: + // - Chrome on Mac OS X + // Because they do not use the Mac OS networking stack. + if (userAgent.Contains("Macintosh; Intel Mac OS X 10_14") && + userAgent.Contains("Version/") && userAgent.Contains("Safari")) + { + return true; + } + + // Cover Chrome 50-69, because some versions are broken by SameSite=None, + // and none in this range require it. + // Note: this covers some pre-Chromium Edge versions, + // but pre-Chromium Edge does not require SameSite=None. + if (userAgent.Contains("Chrome/5") || userAgent.Contains("Chrome/6")) + { + return true; + } + + return false; + } + } } \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/MultiTenancy/PaltformAvailableTenantPickerStore.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/MultiTenancy/PaltformAvailableTenantPickerStore.cs similarity index 91% rename from aspnet-core/services/LY.MicroService.Applications.Single/MultiTenancy/PaltformAvailableTenantPickerStore.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/MultiTenancy/PaltformAvailableTenantPickerStore.cs index 7a3c49a0e..e60ba5e8c 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/MultiTenancy/PaltformAvailableTenantPickerStore.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/MultiTenancy/PaltformAvailableTenantPickerStore.cs @@ -1,4 +1,4 @@ -namespace LY.MicroService.Applications.Single.MultiTenancy; +namespace LINGYUN.Abp.MicroService.AllInOne.MultiTenancy; [Dependency(ReplaceServices = true)] public class PaltformAvailableTenantPickerStore : IAvailableTenantPickerStore, ITransientDependency diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Pages/_ViewImports.cshtml b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Pages/_ViewImports.cshtml similarity index 100% rename from aspnet-core/services/LY.MicroService.Applications.Single/Pages/_ViewImports.cshtml rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Pages/_ViewImports.cshtml diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Program.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Program.cs similarity index 81% rename from aspnet-core/services/LY.MicroService.Applications.Single/Program.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Program.cs index 2dec70d4b..51c5b482c 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Program.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Program.cs @@ -1,4 +1,4 @@ -using LY.MicroService.Applications.Single; +using LINGYUN.Abp.MicroService.AllInOne; var builder = WebApplication.CreateBuilder(args); builder.Host.AddAppSettingsSecretsJson() @@ -22,13 +22,13 @@ builder.Host.AddAppSettingsSecretsJson() config.ReadFrom.Configuration(context.Configuration); }); -await builder.AddApplicationAsync(options => +await builder.AddApplicationAsync(options => { - MicroServiceApplicationsSingleModule.ApplicationName = Environment.GetEnvironmentVariable("APPLICATION_NAME") - ?? MicroServiceApplicationsSingleModule.ApplicationName; - options.ApplicationName = MicroServiceApplicationsSingleModule.ApplicationName; + AllInOneModule.ApplicationName = Environment.GetEnvironmentVariable("APPLICATION_NAME") + ?? AllInOneModule.ApplicationName; + options.ApplicationName = AllInOneModule.ApplicationName; options.Configuration.UserSecretsId = Environment.GetEnvironmentVariable("APPLICATION_USER_SECRETS_ID"); - options.Configuration.UserSecretsAssembly = typeof(MicroServiceApplicationsSingleModule).Assembly; + options.Configuration.UserSecretsAssembly = typeof(AllInOneModule).Assembly; var pluginFolder = Path.Combine(Directory.GetCurrentDirectory(), "Modules"); DirectoryHelper.CreateIfNotExists(pluginFolder); options.PlugInSources.AddFolder(pluginFolder,SearchOption.AllDirectories); diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Properties/launchSettings.json b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Properties/launchSettings.json similarity index 100% rename from aspnet-core/services/LY.MicroService.Applications.Single/Properties/launchSettings.json rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Properties/launchSettings.json diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Settings/SystemGroupSettingDefinitionProvider.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Settings/SystemGroupSettingDefinitionProvider.cs similarity index 99% rename from aspnet-core/services/LY.MicroService.Applications.Single/Settings/SystemGroupSettingDefinitionProvider.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Settings/SystemGroupSettingDefinitionProvider.cs index 5e2403762..8fad70df6 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Settings/SystemGroupSettingDefinitionProvider.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Settings/SystemGroupSettingDefinitionProvider.cs @@ -5,7 +5,7 @@ using Volo.Abp.Settings; using Volo.Abp.Timing; using ValueType = Volo.Abp.Settings.ValueType; -namespace LY.MicroService.Applications.Single.Settings; +namespace LINGYUN.Abp.MicroService.AllInOne.Settings; public class SystemGroupSettingDefinitionProvider : SettingDefinitionProvider { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/TenantHeaderParamter.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/TenantHeaderParamter.cs similarity index 93% rename from aspnet-core/services/LY.MicroService.Applications.Single/TenantHeaderParamter.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/TenantHeaderParamter.cs index 05f73eee9..dc1828837 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/TenantHeaderParamter.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/TenantHeaderParamter.cs @@ -1,34 +1,34 @@ -using Microsoft.Extensions.Options; -using Microsoft.OpenApi; -using Swashbuckle.AspNetCore.SwaggerGen; -using Volo.Abp.AspNetCore.MultiTenancy; - -namespace LY.MicroService.Applications.Single; - -public class TenantHeaderParamter : IOperationFilter -{ - private readonly AbpMultiTenancyOptions _multiTenancyOptions; - private readonly AbpAspNetCoreMultiTenancyOptions _aspNetCoreMultiTenancyOptions; - public TenantHeaderParamter( - IOptions multiTenancyOptions, - IOptions aspNetCoreMultiTenancyOptions) - { - _multiTenancyOptions = multiTenancyOptions.Value; - _aspNetCoreMultiTenancyOptions = aspNetCoreMultiTenancyOptions.Value; - } - - public void Apply(OpenApiOperation operation, OperationFilterContext context) - { - if (_multiTenancyOptions.IsEnabled) - { - operation.Parameters ??= new List(); - operation.Parameters.Add(new OpenApiParameter - { - Name = _aspNetCoreMultiTenancyOptions.TenantKey, - In = ParameterLocation.Header, - Description = "Tenant Id in http header", - Required = false - }); - } - } -} +using Microsoft.Extensions.Options; +using Microsoft.OpenApi; +using Swashbuckle.AspNetCore.SwaggerGen; +using Volo.Abp.AspNetCore.MultiTenancy; + +namespace LINGYUN.Abp.MicroService.AllInOne; + +public class TenantHeaderParamter : IOperationFilter +{ + private readonly AbpMultiTenancyOptions _multiTenancyOptions; + private readonly AbpAspNetCoreMultiTenancyOptions _aspNetCoreMultiTenancyOptions; + public TenantHeaderParamter( + IOptions multiTenancyOptions, + IOptions aspNetCoreMultiTenancyOptions) + { + _multiTenancyOptions = multiTenancyOptions.Value; + _aspNetCoreMultiTenancyOptions = aspNetCoreMultiTenancyOptions.Value; + } + + public void Apply(OpenApiOperation operation, OperationFilterContext context) + { + if (_multiTenancyOptions.IsEnabled) + { + operation.Parameters ??= new List(); + operation.Parameters.Add(new OpenApiParameter + { + Name = _aspNetCoreMultiTenancyOptions.TenantKey, + In = ParameterLocation.Header, + Description = "Tenant Id in http header", + Required = false + }); + } + } +} diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Views/Home/Index.cshtml b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/Home/Index.cshtml similarity index 95% rename from aspnet-core/services/LY.MicroService.Applications.Single/Views/Home/Index.cshtml rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/Home/Index.cshtml index 3db3ecb98..b518fcf6b 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Views/Home/Index.cshtml +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/Home/Index.cshtml @@ -1,5 +1,5 @@ @page -@using LY.MicroService.Applications.Single.Pages.Home +@using LINGYUN.Abp.MicroService.AllInOne.Pages.Home @using Volo.Abp.Users @model IndexModel @inject ICurrentUser CurrentUser diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Views/Home/Index.cshtml.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/Home/Index.cshtml.cs similarity index 72% rename from aspnet-core/services/LY.MicroService.Applications.Single/Views/Home/Index.cshtml.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/Home/Index.cshtml.cs index 6b8242465..e1f95e792 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/Views/Home/Index.cshtml.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/Home/Index.cshtml.cs @@ -1,6 +1,6 @@ using Volo.Abp.AspNetCore.Mvc.UI.RazorPages; -namespace LY.MicroService.Applications.Single.Pages.Home +namespace LINGYUN.Abp.MicroService.AllInOne.Pages.Home { public class IndexModel : AbpPageModel { diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/Views/_ViewImports.cshtml b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/_ViewImports.cshtml similarity index 100% rename from aspnet-core/services/LY.MicroService.Applications.Single/Views/_ViewImports.cshtml rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/Views/_ViewImports.cshtml diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Official/Messages/TextMessageReplyContributor.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Official/Messages/TextMessageReplyContributor.cs similarity index 91% rename from aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Official/Messages/TextMessageReplyContributor.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Official/Messages/TextMessageReplyContributor.cs index e5662420f..2faa3f567 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Official/Messages/TextMessageReplyContributor.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Official/Messages/TextMessageReplyContributor.cs @@ -2,7 +2,7 @@ using LINGYUN.Abp.WeChat.Official.Messages.Models; using LINGYUN.Abp.WeChat.Official.Services; -namespace LY.MicroService.Applications.Single.WeChat.Official.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.WeChat.Official.Messages; /// /// 文本消息客服回复 /// diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Official/Messages/UserSubscribeEventContributor.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Official/Messages/UserSubscribeEventContributor.cs similarity index 91% rename from aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Official/Messages/UserSubscribeEventContributor.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Official/Messages/UserSubscribeEventContributor.cs index ba3d93bc2..e7e492d65 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Official/Messages/UserSubscribeEventContributor.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Official/Messages/UserSubscribeEventContributor.cs @@ -2,7 +2,7 @@ using LINGYUN.Abp.WeChat.Official.Messages.Models; using LINGYUN.Abp.WeChat.Official.Services; -namespace LY.MicroService.Applications.Single.WeChat.Official.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.WeChat.Official.Messages; /// /// 用户关注回复消息 /// diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Work/Messages/TextMessageReplyContributor.cs b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Work/Messages/TextMessageReplyContributor.cs similarity index 92% rename from aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Work/Messages/TextMessageReplyContributor.cs rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Work/Messages/TextMessageReplyContributor.cs index b8e89695e..054b66933 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/WeChat/Work/Messages/TextMessageReplyContributor.cs +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/WeChat/Work/Messages/TextMessageReplyContributor.cs @@ -2,7 +2,7 @@ using LINGYUN.Abp.WeChat.Work.Common.Messages.Models; using LINGYUN.Abp.WeChat.Work.Messages; -namespace LY.MicroService.Applications.Single.WeChat.Work.Messages; +namespace LINGYUN.Abp.MicroService.AllInOne.WeChat.Work.Messages; /// /// 文本消息客服回复 /// diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.MySql.json b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.MySql.json similarity index 100% rename from aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.MySql.json rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.MySql.json diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.PostgreSql.json b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.PostgreSql.json similarity index 100% rename from aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.PostgreSql.json rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.PostgreSql.json diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.SqlServer.json b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.SqlServer.json similarity index 100% rename from aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.SqlServer.json rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.SqlServer.json diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.json b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.json similarity index 95% rename from aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.json rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.json index 0a8e00dab..66e57522c 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/appsettings.Development.json +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.json @@ -1,275 +1,278 @@ -{ - "App": { - "ShowPii": true, - "SelfUrl": "http://localhost:30000/", - "CorsOrigins": [ "http://localhost:5666", "http://localhost:30000" ], - "Urls": { - "Applications": { - "MVC": { - "RootUrl": "http://localhost:30000/", - "Urls": { - "Abp.Account.EmailConfirm": "Account/EmailConfirm", - "Abp.Account.EmailVerifyLogin": "Account/VerifyCode" - } - }, - "STS": { - "RootUrl": "http://localhost:30000/" - }, - "VueVbenAdmin": { - "RootUrl": "http://localhost:3100", - "Urls": { - "Abp.Account.EmailConfirm": "account/email-confirm" - } - } - } - } - }, - "Auditing": { - "AllEntitiesSelector": true - }, - "CAP": { - "IsEnabled": false, - "EventBus": { - "DefaultGroupName": "Platform", - "GroupNamePrefix": "Dev", - "Version": "v1", - "FailedRetryInterval": 300, - "FailedRetryCount": 10 - }, - "RabbitMQ": { - "HostName": "localhost", - "Port": 5672, - "UserName": "admin", - "Password": "123456", - "ExchangeName": "LINGYUN.Abp.Application", - "VirtualHost": "/" - }, - "Redis": { - "Configuration": "localhost" - } - }, - "Calendar": { - "DefaultWorkdays": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday" - ], - "DefaultWorkTimes": [ - { - "StartTime": "08:00:00", - "EndTime": "12:00:00" - }, - { - "StartTime": "14:00:00", - "EndTime": "18:00:00" - } - ] - }, - "DistributedCache": { - "HideErrors": true, - "KeyPrefix": "LINGYUN.Abp.Application", - "GlobalCacheEntryOptions": { - "SlidingExpiration": "30:00:00", - "AbsoluteExpirationRelativeToNow": "60:00:00" - } - }, - "DistributedLock": { - "IsEnabled": true, - "Redis": { - "Configuration": "localhost,defaultDatabase=14" - } - }, - "Elsa": { - "Features": { - "Console": true, - "Http": true, - "Email": true, - "TemporalQuartz": true, - "JavaScriptActivities": true, - "UserTask": true, - "Conductor": true, - "Telnyx": true, - "BlobStoring": true, - "Emailing": true, - "Notification": true, - "Sms": true, - "IM": true, - "PublishWebhook": true - }, - "Server": { - "BaseUrl": "http://localhost:30000" - } - }, - "Quartz": { - "UsePersistentStore": true, - "Properties": { - "quartz.jobStore.clustered": "true", - "quartz.serializer.type": "json" - } - }, - "Redis": { - "IsEnabled": true, - "Configuration": "localhost,defaultDatabase=15,allowAdmin=true", - "InstanceName": "LINGYUN.Abp.Application" - }, - "Features": { - "Validation": { - "Redis": { - "Configuration": "localhost,defaultDatabase=13", - "InstanceName": "LINGYUN.Abp.Application" - } - } - }, - "AuthServer": { - "UseOpenIddict": true, - "Authority": "http://localhost:30000/", - "Audience": "all_in_one", - "ValidAudiences": [ "lingyun-abp-application" ], - "RequireHttpsMetadata": false, - "SwaggerClientId": "vue-oauth-client" - }, - "IdentityServer": { - "Clients": { - "VueAdmin": { - "ClientId": "vue-admin-client", - "RootUrl": "http://localhost:3100/" - }, - "InternalService": { - "ClientId": "InternalServiceClient" - } - } - }, - "OpenIddict": { - "Applications": { - "VueAdmin": { - "ClientId": "vue-admin-client", - "ClientSecret": "1q2w3e*", - "RootUrls": [ - "http://localhost:5666", - "http://localhost:30000" - ] - }, - "InternalService": { - "ClientId": "InternalServiceClient", - "ClientSecret": "1q2w3e*" - }, - "VueOAuthClient": { - "ClientId": "vue-oauth-client", - "RootUrls": [ - "http://localhost:5666", - "http://localhost:30000" - ] - } - }, - "Lifetime": { - "AuthorizationCode": "00:05:00", - "AccessToken": "02:00:00", - "DeviceCode": "00:10:00", - "IdentityToken": "00:20:00", - "RefreshToken": "06:00:00", - "RefreshTokenReuseLeeway": "00:00:30", - "UserCode": "00:10:00" - } - }, - "BlobManagement": { - "Provider": "FileSystem", - "FileSystem": { - "BasePath": "blobs", - "AppendContainerNameToBasePath": true - } - }, - "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 - } - }, - "AIManagement": { - "IsDynamicStoreEnabled": true - }, - "FeatureManagement": { - "IsDynamicStoreEnabled": true - }, - "SettingManagement": { - "IsDynamicStoreEnabled": true - }, - "PermissionManagement": { - "IsDynamicStoreEnabled": true - }, - "TextTemplating": { - "IsDynamicStoreEnabled": true - }, - "WebhooksManagement": { - "IsDynamicStoreEnabled": true - }, - "RemoteServices": { - "BlobManagement": { - "BaseUrl": "http://localhost:30000/", - "UseCurrentAccessToken": true - } - }, - "Logging": { - "Serilog": { - "Elasticsearch": { - "IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}" - } - } - }, - "AuditLogging": { - "IPLocation": { - "IsEnabled": true - }, - "Elasticsearch": { - "IndexPrefix": "abp.dev.auditing" - } - }, - "Elasticsearch": { - "NodeUris": "http://localhost:9200" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Information", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "Microsoft.EntityFrameworkCore": "Warning", - "LINGYUN.Abp.BlobManagement": "Debug", - "DotNetCore": "Warning" - } - }, - "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" - } - } - ] - } -} - +{ + "IPLocation": { + "RemoveCountry": [ "中国" ] + }, + "App": { + "ShowPii": true, + "SelfUrl": "http://localhost:30000/", + "CorsOrigins": [ "http://localhost:5666", "http://localhost:30000" ], + "Urls": { + "Applications": { + "MVC": { + "RootUrl": "http://localhost:30000/", + "Urls": { + "Abp.Account.EmailConfirm": "Account/EmailConfirm", + "Abp.Account.EmailVerifyLogin": "Account/VerifyCode" + } + }, + "STS": { + "RootUrl": "http://localhost:30000/" + }, + "VueVbenAdmin": { + "RootUrl": "http://localhost:3100", + "Urls": { + "Abp.Account.EmailConfirm": "account/email-confirm" + } + } + } + } + }, + "Auditing": { + "AllEntitiesSelector": true + }, + "CAP": { + "IsEnabled": false, + "EventBus": { + "DefaultGroupName": "Platform", + "GroupNamePrefix": "Dev", + "Version": "v1", + "FailedRetryInterval": 300, + "FailedRetryCount": 10 + }, + "RabbitMQ": { + "HostName": "localhost", + "Port": 5672, + "UserName": "admin", + "Password": "123456", + "ExchangeName": "LINGYUN.Abp.Application", + "VirtualHost": "/" + }, + "Redis": { + "Configuration": "localhost" + } + }, + "Calendar": { + "DefaultWorkdays": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday" + ], + "DefaultWorkTimes": [ + { + "StartTime": "08:00:00", + "EndTime": "12:00:00" + }, + { + "StartTime": "14:00:00", + "EndTime": "18:00:00" + } + ] + }, + "DistributedCache": { + "HideErrors": true, + "KeyPrefix": "LINGYUN.Abp.Application", + "GlobalCacheEntryOptions": { + "SlidingExpiration": "30:00:00", + "AbsoluteExpirationRelativeToNow": "60:00:00" + } + }, + "DistributedLock": { + "IsEnabled": true, + "Redis": { + "Configuration": "localhost,defaultDatabase=14" + } + }, + "Elsa": { + "Features": { + "Console": true, + "Http": true, + "Email": true, + "TemporalQuartz": true, + "JavaScriptActivities": true, + "UserTask": true, + "Conductor": true, + "Telnyx": true, + "BlobStoring": true, + "Emailing": true, + "Notification": true, + "Sms": true, + "IM": true, + "PublishWebhook": true + }, + "Server": { + "BaseUrl": "http://localhost:30000" + } + }, + "Quartz": { + "UsePersistentStore": true, + "Properties": { + "quartz.jobStore.clustered": "true", + "quartz.serializer.type": "json" + } + }, + "Redis": { + "IsEnabled": true, + "Configuration": "localhost,defaultDatabase=15,allowAdmin=true", + "InstanceName": "LINGYUN.Abp.Application" + }, + "Features": { + "Validation": { + "Redis": { + "Configuration": "localhost,defaultDatabase=13", + "InstanceName": "LINGYUN.Abp.Application" + } + } + }, + "AuthServer": { + "UseOpenIddict": true, + "Authority": "http://localhost:30000/", + "Audience": "all_in_one", + "ValidAudiences": [ "lingyun-abp-application" ], + "RequireHttpsMetadata": false, + "SwaggerClientId": "vue-oauth-client" + }, + "IdentityServer": { + "Clients": { + "VueAdmin": { + "ClientId": "vue-admin-client", + "RootUrl": "http://localhost:3100/" + }, + "InternalService": { + "ClientId": "InternalServiceClient" + } + } + }, + "OpenIddict": { + "Applications": { + "VueAdmin": { + "ClientId": "vue-admin-client", + "ClientSecret": "1q2w3e*", + "RootUrls": [ + "http://localhost:5666", + "http://localhost:30000" + ] + }, + "InternalService": { + "ClientId": "InternalServiceClient", + "ClientSecret": "1q2w3e*" + }, + "VueOAuthClient": { + "ClientId": "vue-oauth-client", + "RootUrls": [ + "http://localhost:5666", + "http://localhost:30000" + ] + } + }, + "Lifetime": { + "AuthorizationCode": "00:05:00", + "AccessToken": "02:00:00", + "DeviceCode": "00:10:00", + "IdentityToken": "00:20:00", + "RefreshToken": "06:00:00", + "RefreshTokenReuseLeeway": "00:00:30", + "UserCode": "00:10:00" + } + }, + "BlobManagement": { + "Provider": "FileSystem", + "FileSystem": { + "BasePath": "blobs", + "AppendContainerNameToBasePath": true + } + }, + "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 + } + }, + "AIManagement": { + "IsDynamicStoreEnabled": true + }, + "FeatureManagement": { + "IsDynamicStoreEnabled": true + }, + "SettingManagement": { + "IsDynamicStoreEnabled": true + }, + "PermissionManagement": { + "IsDynamicStoreEnabled": true + }, + "TextTemplating": { + "IsDynamicStoreEnabled": true + }, + "WebhooksManagement": { + "IsDynamicStoreEnabled": true + }, + "RemoteServices": { + "BlobManagement": { + "BaseUrl": "http://localhost:30000/", + "UseCurrentAccessToken": true + } + }, + "Logging": { + "Serilog": { + "Elasticsearch": { + "IndexFormat": "abp.dev.logging-{0:yyyy.MM.dd}" + } + } + }, + "AuditLogging": { + "IPLocation": { + "IsEnabled": true + }, + "Elasticsearch": { + "IndexPrefix": "abp.dev.auditing" + } + }, + "Elasticsearch": { + "NodeUris": "http://localhost:9200" + }, + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "System": "Warning", + "Microsoft": "Warning", + "Microsoft.EntityFrameworkCore": "Warning", + "LINGYUN.Abp.BlobManagement": "Debug", + "DotNetCore": "Warning" + } + }, + "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/LY.MicroService.Applications.Single/appsettings.json b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.json similarity index 96% rename from aspnet-core/services/LY.MicroService.Applications.Single/appsettings.json rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.json index f17c7dd52..6cc4531f0 100644 --- a/aspnet-core/services/LY.MicroService.Applications.Single/appsettings.json +++ b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/appsettings.json @@ -1,99 +1,99 @@ -{ - "App": { - "Name": { - "zh": "身份认证服务器", - "en": "Identity authentication server" - }, - "SslFile": "openiddict.pfx", - "SslPassword": "e1c48393-0c43-11f0-9582-4aecacda42db" - }, - "CAP": { - "IsEnabled": false - }, - "Forwarded": { - "ForwardedHeaders": "XForwardedFor,XForwardedProto" - }, - "StringEncryption": { - "DefaultPassPhrase": "s46c5q55nxpeS8Ra", - "InitVectorBytes": "s83ng0abvd02js84", - "DefaultSalt": "sf&5)s3#" - }, - "Json": { - "InputDateTimeFormats": [ - "yyyy-MM-dd HH:mm:ss", - "yyyy-MM-ddTHH:mm:ss", - "yyyy-MM-dd HH:mm:ssK", - "yyyy-MM-ddTHH:mm:ssK" - ] - }, - "AllowedHosts": "*", - "Hosting": { - "BasePath": "" - }, - "Serilog": { - "MinimumLevel": { - "Default": "Information", - "Override": { - "System": "Warning", - "Microsoft": "Warning", - "DotNetCore": "Information", - "LINGYUN.Abp.BlobManagement": "Debug" - } - }, - "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], - "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}" - } - } - ] - } +{ + "App": { + "Name": { + "zh": "身份认证服务器", + "en": "Identity authentication server" + }, + "SslFile": "openiddict.pfx", + "SslPassword": "e1c48393-0c43-11f0-9582-4aecacda42db" + }, + "CAP": { + "IsEnabled": false + }, + "Forwarded": { + "ForwardedHeaders": "XForwardedFor,XForwardedProto" + }, + "StringEncryption": { + "DefaultPassPhrase": "s46c5q55nxpeS8Ra", + "InitVectorBytes": "s83ng0abvd02js84", + "DefaultSalt": "sf&5)s3#" + }, + "Json": { + "InputDateTimeFormats": [ + "yyyy-MM-dd HH:mm:ss", + "yyyy-MM-ddTHH:mm:ss", + "yyyy-MM-dd HH:mm:ssK", + "yyyy-MM-ddTHH:mm:ssK" + ] + }, + "AllowedHosts": "*", + "Hosting": { + "BasePath": "" + }, + "Serilog": { + "MinimumLevel": { + "Default": "Information", + "Override": { + "System": "Warning", + "Microsoft": "Warning", + "DotNetCore": "Information", + "LINGYUN.Abp.BlobManagement": "Debug" + } + }, + "Enrich": [ "FromLogContext", "WithProcessId", "WithThreadId", "WithEnvironmentName", "WithMachineName", "WithApplicationName", "WithUniqueId" ], + "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}" + } + } + ] + } } \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/openiddict.pfx b/aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/openiddict.pfx similarity index 100% rename from aspnet-core/services/LY.MicroService.Applications.Single/openiddict.pfx rename to aspnet-core/services/LINGYUN.Abp.MicroService.AllInOne/openiddict.pfx diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/.gitignore b/aspnet-core/services/LY.MicroService.Applications.Single/.gitignore deleted file mode 100644 index 6cdbad2bc..000000000 --- a/aspnet-core/services/LY.MicroService.Applications.Single/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -wwwroot -package*.json \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/package.json b/aspnet-core/services/LY.MicroService.Applications.Single/package.json deleted file mode 100644 index ef847e5d2..000000000 --- a/aspnet-core/services/LY.MicroService.Applications.Single/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "version": "10.6.0", - "name": "my-app-single", - "private": true, - "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "5.6.0", - "@abp/virtual-file-explorer": "10.6.0", - "@abp/qrcode": "10.6.0" - } -} \ No newline at end of file diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/css/global-styles.css b/aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/css/global-styles.css deleted file mode 100644 index 10d251425..000000000 --- a/aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/css/global-styles.css +++ /dev/null @@ -1,9 +0,0 @@ -.account-module-form { - padding: 24px; - border: 0; - background: #fff; - color: #000; - box-shadow: 0 0 30px rgba(8, 20, 73, .1); - border-radius: 4px; - margin-top: 0.75rem !important; -} diff --git a/aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/scripts/abp-wrapper.js b/aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/scripts/abp-wrapper.js deleted file mode 100644 index 333d12949..000000000 --- a/aspnet-core/services/LY.MicroService.Applications.Single/wwwroot/scripts/abp-wrapper.js +++ /dev/null @@ -1,11 +0,0 @@ -var abp = abp || {}; -(function ($) { - - if (!abp.ajax || !abp.ajax.defaultOpts) { - throw "abp/jquery library requires the jquery library included to the page!"; - } - - var headers = abp.ajax.defaultOpts.headers || {}; - headers['_abpdontwrapresult'] = 'true'; - -})(jQuery); \ No newline at end of file diff --git a/build/build-aspnetcore-common.ps1 b/build/build-aspnetcore-common.ps1 index dc463d5c6..7426b279f 100644 --- a/build/build-aspnetcore-common.ps1 +++ b/build/build-aspnetcore-common.ps1 @@ -35,7 +35,7 @@ $dockerArray += [PsObject]@{ Dockerfile = $rootFolder + "/../gateways/internal/L [PsObject[]]$solutionArray = @() $solutionArray += [PsObject]@{ File = $rootFolder + "/../aspnet-core/LINGYUN.MicroService.All.slnx" } $solutionArray += [PsObject]@{ File = $rootFolder + "/../aspnet-core/LINGYUN.MicroService.Aspire.slnx" } -$solutionArray += [PsObject]@{ File = $rootFolder + "/../aspnet-core/LINGYUN.MicroService.SingleProject.slnx" } +$solutionArray += [PsObject]@{ File = $rootFolder + "/../aspnet-core/LINGYUN.MicroService.AllInOne.slnx" } $solutionArray += [PsObject]@{ File = $rootFolder + "/../gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/LINGYUN.MicroService.Internal.ApiGateway.slnx" } [PsObject[]]$migrationArray = @() diff --git a/docs/startup-aio-readme.en.md b/docs/startup-aio-readme.en.md index 6a3871599..1d500a38e 100644 --- a/docs/startup-aio-readme.en.md +++ b/docs/startup-aio-readme.en.md @@ -85,7 +85,7 @@ dotnet run --launch-profile "YourPackageName.YourCompanyName.YourProjectName.Dev ./build/build-aspnetcore-release.ps1 ``` -3. Open the `LY.MicroService.Applications.Single` solution in your IDE for debugging or publishing +3. Open the `LINGYUN.Abp.MicroService.AllInOne` solution in your IDE for debugging or publishing ### Environment Configuration @@ -137,8 +137,8 @@ docker run -d --name sqlserver \ Modify the database connection strings in the following configuration files according to your chosen database: -- `migrations/LY.MicroService.Applications.Single.DbMigrator/appsettings.json` -- `LY.MicroService.Applications.Single/appsettings.Development.json` +- `migrations/LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.json` +- `LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.json` Database connection string examples: @@ -249,23 +249,23 @@ Follow the command line prompts to generate migration files and SQL scripts, the Option 2: Taking PostgreSQL as an example: -- Modify database connection information in `LY.MicroService.Applications.Single.DbMigrator/appsettings.PostgreSql.json` -- Navigate to `LY.MicroService.Applications.Single.EntityFrameworkCore.PostgreSql` project +- Modify database connection information in `LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.PostgreSql.json` +- Navigate to `LINGYUN.Abp.MicroService.AllInOne.EntityFrameworkCore.PostgreSql` project - Run `dotnet ef database update` - Wait for migration completion 2. Configure data initialization: - - Modify database connection information in `LY.MicroService.Applications.Single.DbMigrator/appsettings.json` + - Modify database connection information in `LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.json` - Ensure the correct database provider is selected 3. Execute data migration: - - Run the `LY.MicroService.Applications.Single.DbMigrator` project + - Run the `LINGYUN.Abp.MicroService.AllInOne.DbMigrator` project - Wait for migration to complete, basic table data will be initialized ### Service Startup -1. Run the `LY.MicroService.Applications.Single` project +1. Run the `LINGYUN.Abp.MicroService.AllInOne` project 2. Access Swagger API documentation in your browser: - URL: http://127.0.0.1:30000/swagger diff --git a/docs/startup-aio-readme.md b/docs/startup-aio-readme.md index e827ee943..45e59d35d 100644 --- a/docs/startup-aio-readme.md +++ b/docs/startup-aio-readme.md @@ -96,7 +96,7 @@ dotnet run --launch-profile "YourPackageName.YourCompanyName.YourProjectName.Dev ./build/build-aspnetcore-release.ps1 ``` -3. 使用 IDE 打开 `LY.MicroService.Applications.Single` 解决方案进行调试或发布 +3. 使用 IDE 打开 `LINGYUN.Abp.MicroService.AllInOne` 解决方案进行调试或发布 ### 环境配置 @@ -146,7 +146,7 @@ docker run -d --name sqlserver \ PostgreSQL: -- `LY.MicroService.Applications.Single/appsettings.Development.PostgreSql.json` +- `LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.PostgreSql.json` ```json { "ConnectionStrings": { @@ -157,7 +157,7 @@ PostgreSQL: MySQL: -- `LY.MicroService.Applications.Single/appsettings.Development.MySql.json` +- `LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.MySql.json` ```json { "ConnectionStrings": { @@ -168,7 +168,7 @@ MySQL: SQL Server: -- `LY.MicroService.Applications.Single/appsettings.Development.SqlServer.json` +- `LINGYUN.Abp.MicroService.AllInOne/appsettings.Development.SqlServer.json` ```json { "ConnectionStrings": { @@ -255,20 +255,20 @@ Redis 配置示例: 以 pgsql 为例 1. 选择启动配置 - - 选择 `LY.MicroService.Applications.Single.DbMigrator/Properties/launchSettings.json` 中的 `Single.PostgreSql.Dev` + - 选择 `LINGYUN.Abp.MicroService.AllInOne.DbMigrator/Properties/launchSettings.json` 中的 `Single.PostgreSql.Dev` 2. 配置数据初始化: - - 修改 `LY.MicroService.Applications.Single.DbMigrator/appsettings.PostgreSql.json` 中的数据库连接信息 + - 修改 `LINGYUN.Abp.MicroService.AllInOne.DbMigrator/appsettings.PostgreSql.json` 中的数据库连接信息 3. 执行数据迁移: - - 运行 `LY.MicroService.Applications.Single.DbMigrator` 项目 + - 运行 `LINGYUN.Abp.MicroService.AllInOne.DbMigrator` 项目 - 等待数据迁移完成,基础表数据将被初始化 ### 服务启动 1. 选择启动配置 - - 选择 `LY.MicroService.Applications.Single/Properties/launchSettings.json` 中的 `Single.PostgreSql.Dev` -1. 运行 `LY.MicroService.Applications.Single` 项目 + - 选择 `LINGYUN.Abp.MicroService.AllInOne/Properties/launchSettings.json` 中的 `Single.PostgreSql.Dev` +1. 运行 `LINGYUN.Abp.MicroService.AllInOne` 项目 2. 在浏览器中访问 Swagger 接口文档: - URL: http://127.0.0.1:30000/swagger