From 694b126334d208a3e14ecdf88860d20e7400c8ab Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Tue, 28 Dec 2021 10:16:44 +0300 Subject: [PATCH] added payment service ocelot configuration --- .../EShopOnAbp.WebPublicGateway/appsettings.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json index fceda57f..0d2c05a6 100644 --- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/appsettings.json @@ -87,6 +87,19 @@ ], "UpstreamPathTemplate": "/api/ordering/{everything}", "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] + }, + { + "ServiceKey": "Payment Service", + "DownstreamPathTemplate": "/api/payment/{everything}", + "DownstreamScheme": "https", + "DownstreamHostAndPorts": [ + { + "Host": "localhost", + "Port": 44357 + } + ], + "UpstreamPathTemplate": "/api/payment/{everything}", + "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ] } ], "GlobalConfiguration": {