Browse Source

rename backend-admin project name

pull/80/head
cKey 5 years ago
parent
commit
ee44f01624
  1. 2
      aspnet-core/LINGYUN.MicroService.sln
  2. 0
      aspnet-core/configuration/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.Development.json
  3. 0
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/.gitignore
  4. 8
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.cs
  5. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Controllers/LocationController.cs
  6. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Dockerfile
  7. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContext.cs
  8. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContextFactory.cs
  9. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantConnectionStringCreateEventHandler.cs
  10. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantCreateEventHandler.cs
  11. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantDeleteEventHandler.cs
  12. 10
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj
  13. 0
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/en.json
  14. 0
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/zh-Hans.json
  15. 4
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200804085641_Migration-Backend-Admin-MySql.Designer.cs
  16. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200804085641_Migration-Backend-Admin-MySql.cs
  17. 4
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200910080638_Add-abp-feature-module.Designer.cs
  18. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200910080638_Add-abp-feature-module.cs
  19. 4
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs
  20. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/MultiTenancy/AuthorizationTenantResolveContributor.cs
  21. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Program.cs
  22. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Properties/launchSettings.json
  23. 2
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Startup.cs
  24. 0
      aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/tempkey.rsa
  25. 2
      aspnet-core/services/cleanup-logs.bat
  26. 2
      aspnet-core/services/start-backend-admin.bat

2
aspnet-core/LINGYUN.MicroService.sln

@ -59,7 +59,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.TenantManagemen
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "platform", "platform", "{E5D1B78A-1A8F-4D52-BF99-A4A863ADE898}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.BackendAdminApp.Host", "services\admin\LINGYUN.BackendAdminApp.Host\LINGYUN.BackendAdminApp.Host.csproj", "{85090598-6B03-43D3-BE61-1E9777252D50}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LINGYUN.Abp.BackendAdmin.HttpApi.Host", "services\admin\LINGYUN.Abp.BackendAdmin.HttpApi.Host\LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj", "{85090598-6B03-43D3-BE61-1E9777252D50}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "common", "common", "{8AC72641-30D3-4ACF-89FA-808FADC55C2E}"
EndProject

0
aspnet-core/configuration/admin/LINGYUN.BackendAdminApp.Host/appsettings.Development.json → aspnet-core/configuration/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/appsettings.Development.json

0
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/.gitignore → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/.gitignore

8
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/BackendAdminHostModule.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/BackendAdminHostModule.cs

@ -10,7 +10,7 @@ using LINGYUN.Abp.MultiTenancy.DbFinder;
using LINGYUN.Abp.SettingManagement;
using LINGYUN.Abp.TenantManagement;
using LINGYUN.ApiGateway;
using LINGYUN.BackendAdmin.MultiTenancy;
using LINGYUN.Abp.BackendAdmin.MultiTenancy;
using LINGYUN.Platform;
using LINYUN.Abp.Sms.Aliyun;
using Microsoft.AspNetCore.Builder;
@ -54,7 +54,7 @@ using Volo.Abp.TenantManagement.EntityFrameworkCore;
using Volo.Abp.Threading;
using Volo.Abp.VirtualFileSystem;
namespace LINGYUN.BackendAdmin
namespace LINGYUN.Abp.BackendAdmin
{
[DependsOn(
typeof(AbpAspNetCoreMvcUiMultiTenancyModule),
@ -183,7 +183,7 @@ namespace LINGYUN.BackendAdmin
Configure<AbpVirtualFileSystemOptions>(options =>
{
options.FileSets.AddEmbedded<BackendAdminHostModule>("LINGYUN.BackendAdmin");
options.FileSets.AddEmbedded<BackendAdminHostModule>("LINGYUN.Abp.BackendAdmin");
});
// 多租户
@ -233,7 +233,7 @@ namespace LINGYUN.BackendAdmin
options.Resources
.Get<IdentityResource>()
.AddVirtualJson("/LINGYUN/BackendAdmin/Identity/Localization");
.AddVirtualJson("/Localization");
options
.AddLanguagesMapOrUpdate(
"vue-admin-element-ui",

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Controllers/LocationController.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Controllers/LocationController.cs

@ -4,7 +4,7 @@ using System.Threading.Tasks;
using Volo.Abp.AspNetCore.Mvc;
#if DEBUG
namespace LINGYUN.BackendAdmin.Controllers
namespace LINGYUN.Abp.BackendAdmin.Controllers
{
[Route("Location")]
public class LocationController : AbpController

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Dockerfile → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Dockerfile

@ -10,4 +10,4 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
EXPOSE 80/tcp
VOLUME [ "./app/Logs" ]
ENTRYPOINT ["dotnet", "LINGYUN.BackendAdminApp.Host.dll"]
ENTRYPOINT ["dotnet", "LINGYUN.Abp.BackendAdminApp.Host.dll"]

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContext.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContext.cs

@ -5,7 +5,7 @@ using Volo.Abp.PermissionManagement.EntityFrameworkCore;
using Volo.Abp.SettingManagement.EntityFrameworkCore;
using Volo.Abp.TenantManagement.EntityFrameworkCore;
namespace LINGYUN.BackendAdmin.EntityFrameworkCore
namespace LINGYUN.Abp.BackendAdmin.EntityFrameworkCore
{
public class BackendAdminHostMigrationsDbContext : AbpDbContext<BackendAdminHostMigrationsDbContext>
{

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContextFactory.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EntityFrameworkCore/BackendAdminHostMigrationsDbContextFactory.cs

@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace LINGYUN.BackendAdmin.EntityFrameworkCore
namespace LINGYUN.Abp.BackendAdmin.EntityFrameworkCore
{
public class BackendAdminHostMigrationsDbContextFactory : IDesignTimeDbContextFactory<BackendAdminHostMigrationsDbContext>
{

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/EventBus/Handlers/TenantConnectionStringCreateEventHandler.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantConnectionStringCreateEventHandler.cs

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LINGYUN.BackendAdmin.EventBus.Handlers
namespace LINGYUN.Abp.BackendAdmin.EventBus.Handlers
{
public class TenantConnectionStringCreateEventHandler
{

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/EventBus/Handlers/TenantCreateEventHandler.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantCreateEventHandler.cs

@ -13,7 +13,7 @@ using Volo.Abp.MultiTenancy;
using Volo.Abp.PermissionManagement;
using Volo.Abp.Uow;
namespace LINGYUN.BackendAdmin.EventBus.Handlers
namespace LINGYUN.Abp.BackendAdmin.EventBus.Handlers
{
public class TenantCreateEventHandler : IDistributedEventHandler<CreateEventData>, ITransientDependency
{

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/EventBus/Handlers/TenantDeleteEventHandler.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/EventBus/Handlers/TenantDeleteEventHandler.cs

@ -12,7 +12,7 @@ using Volo.Abp.PermissionManagement;
using Volo.Abp.TenantManagement;
using Volo.Abp.Uow;
namespace LINGYUN.BackendAdmin.EventBus.Handlers
namespace LINGYUN.Abp.BackendAdmin.EventBus.Handlers
{
public class TenantDeleteEventHandler : IDistributedEventHandler<EntityDeletedEto<TenantEto>>, ITransientDependency
{

10
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/LINGYUN.BackendAdminApp.Host.csproj → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/LINGYUN.Abp.BackendAdmin.HttpApi.Host.csproj

@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RootNamespace>LINGYUN.BackendAdmin</RootNamespace>
<RootNamespace>LINGYUN.Abp.BackendAdmin</RootNamespace>
</PropertyGroup>
<ItemGroup>
@ -13,13 +13,13 @@
</ItemGroup>
<ItemGroup>
<Content Remove="LINGYUN\BackendAdmin\Identity\Localization\en.json" />
<Content Remove="LINGYUN\BackendAdmin\Identity\Localization\zh-Hans.json" />
<Content Remove="Localization\en.json" />
<Content Remove="Localization\zh-Hans.json" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="LINGYUN\BackendAdmin\Identity\Localization\en.json" />
<EmbeddedResource Include="LINGYUN\BackendAdmin\Identity\Localization\zh-Hans.json" />
<EmbeddedResource Include="Localization\en.json" />
<EmbeddedResource Include="Localization\zh-Hans.json" />
</ItemGroup>
<ItemGroup>

0
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/LINGYUN/BackendAdmin/Identity/Localization/en.json → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/en.json

0
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/LINGYUN/BackendAdmin/Identity/Localization/zh-Hans.json → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Localization/zh-Hans.json

4
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Migrations/20200804085641_Migration-Backend-Admin-MySql.Designer.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200804085641_Migration-Backend-Admin-MySql.Designer.cs

@ -1,13 +1,13 @@
// <auto-generated />
using System;
using LINGYUN.BackendAdmin.EntityFrameworkCore;
using LINGYUN.Abp.BackendAdmin.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
namespace LINGYUN.BackendAdmin.Migrations
namespace LINGYUN.Abp.BackendAdmin.Migrations
{
[DbContext(typeof(BackendAdminHostMigrationsDbContext))]
[Migration("20200804085641_Migration-Backend-Admin-MySql")]

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Migrations/20200804085641_Migration-Backend-Admin-MySql.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200804085641_Migration-Backend-Admin-MySql.cs

@ -1,7 +1,7 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace LINGYUN.BackendAdmin.Migrations
namespace LINGYUN.Abp.BackendAdmin.Migrations
{
public partial class MigrationBackendAdminMySql : Migration
{

4
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Migrations/20200910080638_Add-abp-feature-module.Designer.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200910080638_Add-abp-feature-module.Designer.cs

@ -1,13 +1,13 @@
// <auto-generated />
using System;
using LINGYUN.BackendAdmin.EntityFrameworkCore;
using LINGYUN.Abp.BackendAdmin.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
namespace LINGYUN.BackendAdmin.Migrations
namespace LINGYUN.Abp.BackendAdmin.Migrations
{
[DbContext(typeof(BackendAdminHostMigrationsDbContext))]
[Migration("20200910080638_Add-abp-feature-module")]

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Migrations/20200910080638_Add-abp-feature-module.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/20200910080638_Add-abp-feature-module.cs

@ -1,7 +1,7 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace LINGYUN.BackendAdmin.Migrations
namespace LINGYUN.Abp.BackendAdmin.Migrations
{
public partial class Addabpfeaturemodule : Migration
{

4
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Migrations/BackendAdminHostMigrationsDbContextModelSnapshot.cs

@ -1,12 +1,12 @@
// <auto-generated />
using System;
using LINGYUN.BackendAdmin.EntityFrameworkCore;
using LINGYUN.Abp.BackendAdmin.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Volo.Abp.EntityFrameworkCore;
namespace LINGYUN.BackendAdmin.Migrations
namespace LINGYUN.Abp.BackendAdmin.Migrations
{
[DbContext(typeof(BackendAdminHostMigrationsDbContext))]
partial class BackendAdminHostMigrationsDbContextModelSnapshot : ModelSnapshot

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/MultiTenancy/AuthorizationTenantResolveContributor.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/MultiTenancy/AuthorizationTenantResolveContributor.cs

@ -4,7 +4,7 @@ using Volo.Abp.AspNetCore.MultiTenancy;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Security.Claims;
namespace LINGYUN.BackendAdmin.MultiTenancy
namespace LINGYUN.Abp.BackendAdmin.MultiTenancy
{
public class AuthorizationTenantResolveContributor : HttpTenantResolveContributorBase
{

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Program.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Program.cs

@ -5,7 +5,7 @@ using Serilog;
using System;
using System.IO;
namespace LINGYUN.BackendAdmin
namespace LINGYUN.Abp.BackendAdmin
{
public class Program
{

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Properties/launchSettings.json → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Properties/launchSettings.json

@ -8,7 +8,7 @@
}
},
"profiles": {
"LINGYUN.BackendAdminApp.Host": {
"LINGYUN.Abp.BackendAdminApp.Host": {
"commandName": "Project",
"launchBrowser": false,
"applicationUrl": "http://localhost:30010",

2
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/Startup.cs → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/Startup.cs

@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace LINGYUN.BackendAdmin
namespace LINGYUN.Abp.BackendAdmin
{
public class Startup
{

0
aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host/tempkey.rsa → aspnet-core/services/admin/LINGYUN.Abp.BackendAdmin.HttpApi.Host/tempkey.rsa

2
aspnet-core/services/cleanup-logs.bat

@ -9,5 +9,5 @@ del .\apigateway\LINGYUN.ApiGateway.Host\Logs /Q
del .\apigateway\LINGYUN.ApiGateway.HttpApi.Host\Logs /Q
del .\account\AuthServer.Host\Logs /Q
del .\messages\LINGYUN.Abp.MessageService.HttpApi.Host\Logs /Q
del .\admin\LINGYUN.BackendAdminApp.Host\Logs /Q
del .\admin\LINGYUN.Abp.BackendAdmin.HttpApi.Host\Logs /Q

2
aspnet-core/services/start-backend-admin.bat

@ -4,7 +4,7 @@ chcp 65001
echo. 启动后台管理服务
cd .\admin\LINGYUN.BackendAdminApp.Host
cd .\admin\LINGYUN.Abp.BackendAdmin.HttpApi.Host
if '%1' equ '--publish' goto publish
if '%1' equ '--run' goto run

Loading…
Cancel
Save