From 50ddd6658f295a254b22338d761f1f3973e2e72f Mon Sep 17 00:00:00 2001 From: Galip Tolga Erdem Date: Mon, 20 May 2024 17:10:37 -0400 Subject: [PATCH] updated public-web-gateway with updated cmskit endpoints --- .../templates/gateway-web-public-configmap.yaml | 10 ++++++++-- .../src/EShopOnAbp.WebPublicGateway/yarp.json | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/etc/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-configmap.yaml b/etc/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-configmap.yaml index cae7806e..8d9c7a42 100644 --- a/etc/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-configmap.yaml +++ b/etc/k8s/eshoponabp/charts/gateway-web-public/templates/gateway-web-public-configmap.yaml @@ -107,10 +107,16 @@ data: { "PathRemovePrefix": "/swagger-json/Ordering" } ] }, - "Cmskit Service": { + "Cmskit Public Service": { "ClusterId": "CmsKit", "Match": { - "Path": "/api/cmskit/{**everything}" + "Path": "/api/cms-kit-public/{**everything}" + } + }, + "Cmskit Admin Service": { + "ClusterId": "CmsKit", + "Match": { + "Path": "/api/cms-kit-admin/{**everything}" } }, "Cmskit Service Swagger": { diff --git a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json index b21d328a..8c7b6e19 100644 --- a/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json +++ b/gateways/web-public/src/EShopOnAbp.WebPublicGateway/yarp.json @@ -101,10 +101,16 @@ { "PathRemovePrefix": "/swagger-json/Ordering" } ] }, - "Cmskit Service": { + "Cmskit Public Service": { "ClusterId": "CmsKit", "Match": { - "Path": "/api/cmskit/{**everything}" + "Path": "/api/cms-kit-public/{**everything}" + } + }, + "Cmskit Admin Service": { + "ClusterId": "CmsKit", + "Match": { + "Path": "/api/cms-kit-admin/{**everything}" } }, "Cmskit Service Swagger": {