From 44ae91aceacbf8af43ed13b1e874b0c11df915a7 Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Tue, 5 Oct 2021 14:28:18 +0300 Subject: [PATCH] removed httpApi layers from gateways --- .../EShopOnAbp.InternalGateway.csproj | 3 --- .../EShopOnAbpInternalGatewayModule.cs | 10 ++-------- .../EShopOnAbp.WebPublicGateway.csproj | 4 ---- .../EShopOnAbpWebPublicGatewayModule.cs | 4 +--- .../EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj | 3 --- .../EShopOnAbpWebGatewayModule.cs | 10 ++-------- 6 files changed, 5 insertions(+), 29 deletions(-) diff --git a/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbp.InternalGateway.csproj b/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbp.InternalGateway.csproj index d3af9924..c7a061bb 100644 --- a/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbp.InternalGateway.csproj +++ b/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbp.InternalGateway.csproj @@ -7,9 +7,6 @@ - - - diff --git a/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbpInternalGatewayModule.cs b/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbpInternalGatewayModule.cs index d6fd6028..69df5f54 100644 --- a/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbpInternalGatewayModule.cs +++ b/gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbpInternalGatewayModule.cs @@ -1,7 +1,4 @@ -using EShopOnAbp.AdministrationService; -using EShopOnAbp.IdentityService; -using EShopOnAbp.SaasService; -using EShopOnAbp.Shared.Hosting.Gateways; +using EShopOnAbp.Shared.Hosting.Gateways; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; @@ -14,10 +11,7 @@ using Volo.Abp.Modularity; namespace EShopOnAbp.InternalGateway { [DependsOn( - typeof(EShopOnAbpSharedHostingGatewaysModule), - typeof(IdentityServiceHttpApiModule), - typeof(SaasServiceHttpApiModule), - typeof(AdministrationServiceHttpApiModule) + typeof(EShopOnAbpSharedHostingGatewaysModule) )] public class EShopOnAbpInternalGatewayModule : AbpModule { diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbp.WebPublicGateway.csproj b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbp.WebPublicGateway.csproj index 8833117e..1027bff0 100644 --- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbp.WebPublicGateway.csproj +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbp.WebPublicGateway.csproj @@ -4,10 +4,6 @@ net5.0 - - - - diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbpWebPublicGatewayModule.cs b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbpWebPublicGatewayModule.cs index 71917b2b..2b3aa805 100644 --- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbpWebPublicGatewayModule.cs +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbpWebPublicGatewayModule.cs @@ -6,14 +6,12 @@ using Microsoft.Extensions.Hosting; using Ocelot.Middleware; using System.Collections.Generic; using Volo.Abp; -using Volo.Abp.Account; using Volo.Abp.Modularity; namespace EShopOnAbp.WebPublicGateway { [DependsOn( - typeof(EShopOnAbpSharedHostingGatewaysModule), - typeof(AbpAccountHttpApiModule) + typeof(EShopOnAbpSharedHostingGatewaysModule) )] public class EShopOnAbpWebPublicGatewayModule : AbpModule { diff --git a/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj b/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj index d3af9924..c7a061bb 100644 --- a/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj +++ b/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj @@ -7,9 +7,6 @@ - - - diff --git a/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbpWebGatewayModule.cs b/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbpWebGatewayModule.cs index 680ca239..41443f3a 100644 --- a/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbpWebGatewayModule.cs +++ b/gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbpWebGatewayModule.cs @@ -1,7 +1,4 @@ -using EShopOnAbp.AdministrationService; -using EShopOnAbp.IdentityService; -using EShopOnAbp.SaasService; -using EShopOnAbp.Shared.Hosting.Gateways; +using EShopOnAbp.Shared.Hosting.Gateways; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Cors; using Microsoft.Extensions.Configuration; @@ -17,10 +14,7 @@ using Volo.Abp.Modularity; namespace EShopOnAbp.WebGateway { [DependsOn( - typeof(EShopOnAbpSharedHostingGatewaysModule), - typeof(IdentityServiceHttpApiModule), - typeof(SaasServiceHttpApiModule), - typeof(AdministrationServiceHttpApiModule) + typeof(EShopOnAbpSharedHostingGatewaysModule) )] public class EShopOnAbpWebGatewayModule : AbpModule {