application-prod.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. basedir: /tomcat/baseDir
  19. eureka:
  20. client:
  21. registerWithEureka: false
  22. fetchRegistry: false
  23. openfeign:
  24. ColumnDataFeign:
  25. url: ${COLUMNDATAFEIGN_URL:172.16.90.214:8083}
  26. AmsFeign:
  27. url: ${AMSFEIGN_URL:172.16.90.214:8079}
  28. BmsFeign:
  29. url: ${BMSFEIGN_URL:172.16.90.214:8078}
  30. TmsFeign:
  31. url: ${TMSFEIGN_URL:172.16.90.214:8086}
  32. WMSFeign:
  33. url: ${WMSFEIGN_URL:172.16.90.214:8093}
  34. OMSFeign:
  35. url: ${OMSFEIGN_URL:172.16.90.214:8095}
  36. RmsFeign:
  37. url: ${RMSFEIGN_URL:172.16.90.214:8060}
  38. IntegrationFeign:
  39. url: ${INTEGRATIONFEIGN_URL:172.16.90.214:8066}
  40. OTMSFeign:
  41. url: ${OTMSFEIGN_URL:172.16.90.214:8038}
  42. EmsFeign:
  43. url: ${TMSFEIGN_URL:172.16.90.214:8096}
  44. SSOFeign:
  45. url: ${SSOFEIGN_URL:172.16.90.214:9001}
  46. #远程调用
  47. feign:
  48. hystrix:
  49. enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
  50. client:
  51. config:
  52. default: #默认配置,连接时间要短,读取时间要长
  53. connectTimeout: 1000 #单位毫秒
  54. readTimeout: 15000 #单位毫秒
  55. #熔断器
  56. hystrix:
  57. command:
  58. default:
  59. execution:
  60. isolation:
  61. thread:
  62. timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒