application-dev.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. 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:80}
  26. AmsFeign:
  27. url: ${AMSFEIGN_URL:172.16.90.214:80}
  28. TmsFeign:
  29. url: ${TMSFEIGN_URL:172.16.90.214:80}
  30. WMSFeign:
  31. url: ${WMSFEIGN_URL:172.16.90.214:80}
  32. RmsFeign:
  33. url: ${RMSFEIGN_URL:172.16.90.214:80}
  34. EmsFeign:
  35. url: ${TMSFEIGN_URL:172.16.90.214:80}
  36. SSOFeign:
  37. url: ${SSOFEIGN_URL:172.16.90.214:80}
  38. WebSocketFeign:
  39. url: ${WEBSOCKETFEIGN_URL:172.16.90.214:80}
  40. REPORTFeign:
  41. url: ${REPORTFEIGN_URL:172.16.90.214:80}
  42. #远程调用
  43. feign:
  44. hystrix:
  45. enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
  46. client:
  47. config:
  48. default: #默认配置,连接时间要短,读取时间要长
  49. connectTimeout: 1000 #单位毫秒
  50. readTimeout: 30000 #单位毫秒
  51. #熔断器
  52. hystrix:
  53. command:
  54. default:
  55. execution:
  56. isolation:
  57. thread:
  58. timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒
  59. strategy: SEMAPHORE
  60. semaphore:
  61. maxConcurrentRequests: 1