server: port: 8080
eureka: client: register-with-eureka: true fetch-registry: true service-url: defaultZone: http://localhost:8761/eureka
spring: application: name: apigateway-service cloud: gateway: default-filters: - name: GlobalFilter args: baseMessage: Spring Cloud Gateway Global Filter preLogger: true postLogger: true
routes: - id: user-service uri: lb://USER-SERVICE predicates: - Path=/user-service/** filters: - CustomFilter
- id: first-service uri: lb://MY-FIRST-SERVICE predicates: - Path=/first-service/** filters: - CustomFilter
|