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
parent
commit
bed9ec7305
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbp.InternalGateway.csproj
  2. 10
      gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbpInternalGatewayModule.cs
  3. 4
      gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbp.WebPublicGateway.csproj
  4. 4
      gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbpWebPublicGatewayModule.cs
  5. 3
      gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj
  6. 10
      gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbpWebGatewayModule.cs

3
gateways/internal/src/EShopOnAbp.InternalGateway/EShopOnAbp.InternalGateway.csproj

@ -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>

10
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
{

4
gateways/web-public/src/EShopOnAbp.WebPublicGateway/EShopOnAbp.WebPublicGateway.csproj

@ -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>

4
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
{

3
gateways/web/src/EShopOnAbp.WebGateway/EShopOnAbp.WebGateway.csproj

@ -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>

10
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
{

Loading…
Cancel
Save