| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- 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>.*), /$\{segment}
- - id: ACCOUNT-SERVER
- uri: lb://ACCOUNT-SERVER
- predicates:
- - Path=/api/account/**
- filters:
- - RewritePath=/api/account/(?<segment>.*), /$\{segment}
- - id: AUTH-SERVER
- uri: lb://AUTH-SERVER
- predicates:
- - Path=/api/auth/**
- filters:
- - RewritePath=/api/auth/(?<segment>.*), /$\{segment}
- - id: FILE-SERVER
- uri: lb://FILE-SERVER
- predicates:
- - Path=/api/file/**
- filters:
- - RewritePath=/api/file/(?<segment>.*), /$\{segment}
- - id: MAIL-SERVER
- uri: lb://MAIL-SERVER
- predicates:
- - Path=/api/mail/**
- filters:
- - RewritePath=/api/mail/(?<segment>.*), /$\{segment}
- - id: SMS-SERVER
- uri: lb://SMS-SERVER
- predicates:
- - Path=/api/sms/**
- filters:
- - RewritePath=/api/sms/(?<segment>.*), /$\{segment}
- - id: PURCHASE-SERVER
- uri: lb://PURCHASE-SERVER
- predicates:
- - Path=/api/purchase/**
- filters:
- - RewritePath=/api/purchase/(?<segment>.*), /$\{segment}
- - id: SALE-SERVER
- uri: lb://SALE-SERVER
- predicates:
- - Path=/api/sale/**
- filters:
- - RewritePath=/api/sale/(?<segment>.*), /$\{segment}
- - id: STORAGE-SERVER
- uri: lb://STORAGE-SERVER
- predicates:
- - Path=/api/storage/**
- filters:
- - RewritePath=/api/storage/(?<segment>.*), /$\{segment}
- - id: DOCUMENT-SERVER
- uri: lb://DOCUMENT-SERVER
- predicates:
- - Path=/api/document/**
- filters:
- - RewritePath=/api/document/(?<segment>.*), /$\{segment}
- - id: MONEY-SERVER
- uri: lb://MONEY-SERVER
- predicates:
- - Path=/api/money/**
- filters:
- - RewritePath=/api/money/(?<segment>.*), /$\{segment}
- - id: COMMONS-SERVER
- uri: lb://COMMONS-SERVER
- predicates:
- - Path=/api/commons/**
- filters:
- - RewritePath=/api/commons/(?<segment>.*), /$\{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
|