server: port: 8080 eureka: client: service-url: defaultZone: ${EUREKA_SERVER_URL:http://localhost:8761/eureka/} register-with-eureka: true fetch-registry: true initial-instance-info-replication-interval-seconds: 10 registry-fetch-interval-seconds: 10 healthcheck: enabled: true management: zipkin: tracing: endpoint: ${ZIPKIN_URL:http://localhost:9411/api/v2/spans} export: enabled: true health: refresh: enabled: true tracing: sampling: probability: 1.0 spring: cloud: config: fail-fast: false retry: initial-interval: 2000 max-attempts: 5 max-interval: 10000 multiplier: 1.5 gateway: routes: - id: auth-service uri: ${AUTH_SERVICE_LB:lb://auth-service} predicates: - Path=/api/v1/auth/** filters: - name: JwtFilter - id: user-demarcation-service uri: ${USER_DEMARCATION_SERVICE_LB:lb://user-demarcation-service} predicates: - Path=/api/v1/userDemarcation/** filters: - name: JwtFilter - id: sales-service uri: ${SALES_SERVICE_LB:lb://sales-service} predicates: - Path=/api/v1/sales/** filters: - name: JwtFilter - id: report-service uri: ${REPORT_SERVICE_LB:lb://report-service} predicates: - Path=/api/v1/reports/** filters: - name: JwtFilter logging: # config: http://localhost:8088/log/logback.xml file: name: logs/ApiGateway-log.txt level: org.springframework.cloud.gateway: INFO