Browse Source
Merge pull request #4 from abpframework/gterdem/gateway_updates
Remove HttpApi layers of the microservices from API gateways
gterdem/deployment_k8s
Halil İbrahim Kalkan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
5 additions and
29 deletions
-
gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbp.InternalGateway.csproj
-
gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbpInternalGatewayModule.cs
-
gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbp.WebPublicGateway.csproj
-
gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbpWebPublicGatewayModule.cs
-
gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj
-
gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbpWebGatewayModule.cs
|
|
|
@ -7,9 +7,6 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\..\..\shared\EShopOnAbp.Shared.Hosting.Gateways\EShopOnAbp.Shared.Hosting.Gateways.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\services\identity\src\EShopOnAbp.IdentityService.HttpApi\EShopOnAbp.IdentityService.HttpApi.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\services\saas\src\EShopOnAbp.SaasService.HttpApi\EShopOnAbp.SaasService.HttpApi.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\services\administration\src\EShopOnAbp.AdministrationService.HttpApi\EShopOnAbp.AdministrationService.HttpApi.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -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 |
|
|
|
{ |
|
|
|
|
|
|
|
@ -4,10 +4,6 @@ |
|
|
|
<TargetFramework>net5.0</TargetFramework> |
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Volo.Abp.Account.HttpApi" Version="4.4.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\..\..\shared\EShopOnAbp.Shared.Hosting.Gateways\EShopOnAbp.Shared.Hosting.Gateways.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
@ -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 |
|
|
|
{ |
|
|
|
|
|
|
|
@ -7,9 +7,6 @@ |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<ProjectReference Include="..\..\..\..\shared\EShopOnAbp.Shared.Hosting.Gateways\EShopOnAbp.Shared.Hosting.Gateways.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\services\identity\src\EShopOnAbp.IdentityService.HttpApi\EShopOnAbp.IdentityService.HttpApi.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\services\saas\src\EShopOnAbp.SaasService.HttpApi\EShopOnAbp.SaasService.HttpApi.csproj" /> |
|
|
|
<ProjectReference Include="..\..\..\..\services\administration\src\EShopOnAbp.AdministrationService.HttpApi\EShopOnAbp.AdministrationService.HttpApi.csproj" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -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 |
|
|
|
{ |
|
|
|
|