application-prod.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #正式环境配置文件
  2. spring:
  3. datasource:
  4. url: jdbc:oracle:thin:@172.16.90.214:1521/gxmes
  5. password: gxmestest
  6. username: gxmestest
  7. driver-class-name: oracle.jdbc.OracleDriver
  8. application:
  9. name: antai-api
  10. mvc:
  11. async:
  12. request-timeout: 15000
  13. server:
  14. port: 8080
  15. tomcat:
  16. max-threads: 1000
  17. accept-count: 800
  18. eureka:
  19. client:
  20. registerWithEureka: false
  21. fetchRegistry: false
  22. openfeign:
  23. ColumnDataFeign:
  24. url: ${COLUMNDATAFEIGN_URL:172.16.90.214:8083}
  25. AmsFeign:
  26. url: ${AMSFEIGN_URL:172.16.90.214:8079}
  27. BmsFeign:
  28. url: ${BMSFEIGN_URL:172.16.90.214:8078}
  29. TmsFeign:
  30. url: ${TMSFEIGN_URL:localhost:8086}
  31. WMSFeign:
  32. url: ${WMSFEIGN_URL:172.16.90.214:8093}
  33. OMSFeign:
  34. url: ${OMSFEIGN_URL:172.16.90.214:8095}
  35. RmsFeign:
  36. url: ${RMSFEIGN_URL:localhost:8060}
  37. IntegrationFeign:
  38. url: ${INTEGRATIONFEIGN_URL:172.16.90.214:8066}
  39. OTMSFeign:
  40. url: ${OTMSFEIGN_URL:172.16.90.214:8038}
  41. EmsFeign:
  42. url: ${TMSFEIGN_URL:172.16.90.214:8096}
  43. #远程调用
  44. feign:
  45. hystrix:
  46. enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
  47. client:
  48. config:
  49. default: #默认配置,连接时间要短,读取时间要长
  50. connectTimeout: 1000 #单位毫秒
  51. readTimeout: 10000 #单位毫秒
  52. #熔断器
  53. hystrix:
  54. command:
  55. default:
  56. execution:
  57. isolation:
  58. thread:
  59. timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒