application-prod.yml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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:localhost: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:172.16.90.214: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. SSOFeign:
  44. url: ${SSOFEIGN_URL:172.16.90.214:9001}
  45. #远程调用
  46. feign:
  47. hystrix:
  48. enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
  49. client:
  50. config:
  51. default: #默认配置,连接时间要短,读取时间要长
  52. connectTimeout: 1000 #单位毫秒
  53. readTimeout: 10000 #单位毫秒
  54. #熔断器
  55. hystrix:
  56. command:
  57. default:
  58. execution:
  59. isolation:
  60. thread:
  61. timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒