From 4a5bae5c721ad0e98a50ac8ed30891ac35ee5326 Mon Sep 17 00:00:00 2001 From: bum12ark Date: Thu, 3 Feb 2022 18:09:42 +0900 Subject: [PATCH] =?UTF-8?q?feat(owner-apigateway-service):=20=EB=9D=BC?= =?UTF-8?q?=EC=9A=B0=ED=8C=85=20=EC=A0=95=EB=B3=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - store service - user service --- .../src/main/resources/application.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/owner-apigateway-service/src/main/resources/application.yml b/owner-apigateway-service/src/main/resources/application.yml index ee1c4db..68321c9 100644 --- a/owner-apigateway-service/src/main/resources/application.yml +++ b/owner-apigateway-service/src/main/resources/application.yml @@ -26,4 +26,16 @@ spring: predicates: - Path=/order-service/** filters: - - RewritePath=/order-service/(?.*),/$\{segment} \ No newline at end of file + - RewritePath=/order-service/(?.*),/$\{segment} + - id: store-service + uri: lb://STORE-SERVCIE + predicates: + - Path=/store-service/** + filters: + - RewritePath=/store-service/(?.*),/$\{segment} + - id: user-service + uri: lb://USER-SERVICE + predicates: + - Path=/user-service/** + filters: + - RewritePath=/user-service/(?.*),/$\{segment} \ No newline at end of file