application-dev.yml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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:localhost:8078}
  44. TmsFeign:
  45. url: ${TMSFEIGN_URL:localhost:8086}
  46. WMSFeign:
  47. url: ${WMSFEIGN_URL:localhost:8093}
  48. OMSFeign:
  49. url: ${OMSFEIGN_URL:localhost: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. #远程调用
  57. feign:
  58. hystrix:
  59. enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
  60. client:
  61. config:
  62. default: #默认配置,连接时间要短,读取时间要长
  63. connectTimeout: 1000 #单位毫秒
  64. readTimeout: 10000 #单位毫秒
  65. #熔断器
  66. hystrix:
  67. command:
  68. default:
  69. execution:
  70. isolation:
  71. thread:
  72. timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒