diff --git a/customer-apigateway-service/src/main/resources/application.yml b/customer-apigateway-service/src/main/resources/application.yml index 508cf62..ba88654 100644 --- a/customer-apigateway-service/src/main/resources/application.yml +++ b/customer-apigateway-service/src/main/resources/application.yml @@ -41,18 +41,14 @@ spring: allowedHeaders: '*' allow-credentials: true routes: - - id: owner-frontend-service - uri: lb://CUSTOMER-FRONTEND-SERVICE - predicates: - - Path=/customer-frontend-service/** - filters: - - RewritePath=/customer-frontend-service/(?.*),/$\{segment} - id: order-service uri: lb://ORDER-SERVCIE predicates: - Path=/order-service/** filters: + - AuthorizationHeaderFilter - RewritePath=/order-service/(?.*),/$\{segment} + - id: store-service uri: lb://STORE-SERVCIE predicates: @@ -60,6 +56,7 @@ spring: filters: - AuthorizationHeaderFilter - RewritePath=/store-service/(?.*),/$\{segment} + - id: user-service uri: lb://USER-SERVICE predicates: @@ -70,7 +67,7 @@ spring: - id: user-service uri: lb://USER-SERVICE predicates: - - Path=/user-service/refreshToken + - Path=/user-service/reissue - Method=GET filters: - RewritePath=/user-service/(?.*),/$\{segment}