From 82d06b9feeba029cb7eaa869b182a1ebc895ddb3 Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Tue, 5 Oct 2021 15:58:24 +0300 Subject: [PATCH] updated gateway configurations with service names --- .../src/EShopOnAbp.InternalGateway/appsettings.json | 7 +++++++ .../src/EShopOnAbp.WebPublicGateway/appsettings.json | 2 ++ gateways/web/src/EShopOnAbp.WebGateway/appsettings.json | 7 +++++++ 3 files changed, 16 insertions(+) diff --git a/gateways/internal/src/EShopOnAbp.InternalGateway/appsettings.json b/gateways/internal/src/EShopOnAbp.InternalGateway/appsettings.json index 91b520de..536ed6c5 100644 --- a/gateways/internal/src/EShopOnAbp.InternalGateway/appsettings.json +++ b/gateways/internal/src/EShopOnAbp.InternalGateway/appsettings.json @@ -18,6 +18,7 @@ "AllowedHosts": "*", "Routes": [ { + "ServiceName": "Identity Service", "DownstreamPathTemplate": "/api/identity/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -30,6 +31,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/account/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -42,6 +44,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Saas Service", "DownstreamPathTemplate": "/api/saas/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -54,6 +57,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/abp/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -66,6 +70,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/feature-management/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -78,6 +83,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/permission-management/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -90,6 +96,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/setting-management/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json index 4d945a08..229c363c 100644 --- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json @@ -19,6 +19,7 @@ "AllowedHosts": "*", "Routes": [ { + "ServiceName": "Identity Service", "DownstreamPathTemplate": "/api/account/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -31,6 +32,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/abp/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ diff --git a/gateways/web/src/EShopOnAbp.WebGateway/appsettings.json b/gateways/web/src/EShopOnAbp.WebGateway/appsettings.json index e93436e2..c8e3a58e 100644 --- a/gateways/web/src/EShopOnAbp.WebGateway/appsettings.json +++ b/gateways/web/src/EShopOnAbp.WebGateway/appsettings.json @@ -19,6 +19,7 @@ "AllowedHosts": "*", "Routes": [ { + "ServiceName": "Identity Service", "DownstreamPathTemplate": "/api/identity/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -31,6 +32,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Identity Service", "DownstreamPathTemplate": "/api/account/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -43,6 +45,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Saas Service", "DownstreamPathTemplate": "/api/multi-tenancy/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -55,6 +58,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/abp/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -67,6 +71,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/feature-management/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -79,6 +84,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/permission-management/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [ @@ -91,6 +97,7 @@ "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] }, { + "ServiceName": "Administration Service", "DownstreamPathTemplate": "/api/setting-management/{everything}", "DownstreamScheme": "https", "DownstreamHostAndPorts": [