spring: profiles: active: dev application: name: gateway-server servlet: multipart: max-file-size: 2000Mb max-request-size: 2500Mb security: user: name: admin password: select111*** rabbitmq: host: 192.168.0.176 port: 5672 virtual-host: dev username: saas password: select123*** zipkin: sender: type: rabbit locator: discovery: enabled: true sleuth: sampler: probability: 1.0 cloud: gateway: discovery: locator: enabled: true routes: - id: UI-SERVER uri: lb://UI-SERVER predicates: - Path=/api/ui/** filters: - RewritePath=/api/ui/(?.*), /$\{segment} - id: ACCOUNT-SERVER uri: lb://ACCOUNT-SERVER predicates: - Path=/api/account/** filters: - RewritePath=/api/account/(?.*), /$\{segment} - id: AUTH-SERVER uri: lb://AUTH-SERVER predicates: - Path=/api/auth/** filters: - RewritePath=/api/auth/(?.*), /$\{segment} - id: FILE-SERVER uri: lb://FILE-SERVER predicates: - Path=/api/file/** filters: - RewritePath=/api/file/(?.*), /$\{segment} - id: MAIL-SERVER uri: lb://MAIL-SERVER predicates: - Path=/api/mail/** filters: - RewritePath=/api/mail/(?.*), /$\{segment} - id: SMS-SERVER uri: lb://SMS-SERVER predicates: - Path=/api/sms/** filters: - RewritePath=/api/sms/(?.*), /$\{segment} - id: PURCHASE-SERVER uri: lb://PURCHASE-SERVER predicates: - Path=/api/purchase/** filters: - RewritePath=/api/purchase/(?.*), /$\{segment} - id: SALE-SERVER uri: lb://SALE-SERVER predicates: - Path=/api/sale/** filters: - RewritePath=/api/sale/(?.*), /$\{segment} - id: STORAGE-SERVER uri: lb://STORAGE-SERVER predicates: - Path=/api/storage/** filters: - RewritePath=/api/storage/(?.*), /$\{segment} - id: DOCUMENT-SERVER uri: lb://DOCUMENT-SERVER predicates: - Path=/api/document/** filters: - RewritePath=/api/document/(?.*), /$\{segment} - id: MONEY-SERVER uri: lb://MONEY-SERVER predicates: - Path=/api/money/** filters: - RewritePath=/api/money/(?.*), /$\{segment} - id: COMMONS-SERVER uri: lb://COMMONS-SERVER predicates: - Path=/api/commons/** filters: - RewritePath=/api/commons/(?.*), /$\{segment} redis: host: 192.168.253.12 port: 6379 server: port: 8560 tomcat: uri-encoding: UTF-8 eureka: instance: leaseRenewalIntervalInSeconds: 10 health-check-url-path: /actuator/health status-page-url-path: /actuator/info prefer-ip-address: true metadata-map: user.name: ${spring.security.user.name} user.password: ${spring.security.user.password} client: registryFetchIntervalSeconds: 5 serviceUrl: defaultZone: http://${spring.security.user.name}:${spring.security.user.password}@127.0.0.1:8500/eureka/ management: endpoints: web: exposure: include: "*" endpoint: health: show-details: always shutdown: enabled: true restart: enabled: true feign: hystrix: enabled: true compression: request: enabled: true mime-types: text/xml,application/xml,application/json min-request-size: 2048 response: enabled: true hystrix: command: default: execution: isolation: thread: timeoutInMilliseconds: 3000 ribbon: eureka: enabled: true ReadTimeout: 60000 ConnectTimeout: 60000 MaxAutoRetries: 0 MaxAutoRetriesNextServer: 1 OkToRetryOnAllOperations: false info: name: '@project.artifactId@' description: '@project.description@' version: '@project.version@' spring-boot-version: '@spring.boot.version@' spring-cloud-version: '@spring.cloud.version@' auth: auth-header: Authorization public-key: auth/pub.key ignores: - /api/auth/authorize