application-dev.yml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. # redis:
  14. # # Redis本地服务器地址,注意要开启redis服务,即那个redis-server.exe
  15. # host: 127.0.0.1
  16. # # Redis服务器端口,默认为6379.若有改动按改动后的来
  17. # port: 6379
  18. # #Redis服务器连接密码,默认为空,若有设置按设置的来
  19. # password:
  20. # jedis:
  21. # pool:
  22. # # 连接池最大连接数,若为负数则表示没有任何限制
  23. # max-active: 8
  24. # # 连接池最大阻塞等待时间,若为负数则表示没有任何限制
  25. # max-wait: -1
  26. # # 连接池中的最大空闲连接
  27. # max-idle: 8
  28. server:
  29. port: 8080
  30. tomcat:
  31. max-threads: 1000
  32. accept-count: 800
  33. eureka:
  34. client:
  35. registerWithEureka: false
  36. fetchRegistry: false
  37. openfeign:
  38. ColumnDataFeign:
  39. url: ${COLUMNDATAFEIGN_URL:172.16.90.214:8083}
  40. AmsFeign:
  41. url: ${AMSFEIGN_URL:localhost:8079}
  42. BmsFeign:
  43. url: ${BMSFEIGN_URL:172.16.90.214:8078}
  44. TmsFeign:
  45. url: ${TMSFEIGN_URL:localhost:8086}
  46. WMSFeign:
  47. url: ${WMSFEIGN_URL:localhost:8093}
  48. OMSFeign:
  49. url: ${OMSFEIGN_URL:172.16.90.214:8095}
  50. RmsFeign:
  51. url: ${RMSFEIGN_URL:172.16.90.214:8060}
  52. IntegrationFeign:
  53. url: ${INTEGRATIONFEIGN_URL:localhost:8066}
  54. OTMSFeign:
  55. url: ${OTMSFEIGN_URL:localhost:8038}
  56. EmsFeign:
  57. url: ${TMSFEIGN_URL:localhost:8096}
  58. WebSocketFeign:
  59. url: ${WEBSOCKETFEIGN_URL:localhost:8000}
  60. SSOFeign:
  61. url: ${SSOFEIGN_URL:172.16.90.214:9001}
  62. REPORTFeign:
  63. url: ${REPORTFEIGN_URL:localhost:8055}
  64. #远程调用
  65. feign:
  66. hystrix:
  67. enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
  68. client:
  69. config:
  70. default: #默认配置,连接时间要短,读取时间要长
  71. connectTimeout: 1000 #单位毫秒
  72. readTimeout: 150000 #单位毫秒
  73. #熔断器
  74. hystrix:
  75. command:
  76. default:
  77. execution:
  78. isolation:
  79. thread:
  80. timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒