application-prod.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #正式环境配置文件
  2. spring:
  3. datasource:
  4. url: jdbc:oracle:thin:@172.16.90.197:1521/ATTMS
  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.202:80}
  26. AmsFeign:
  27. url: ${AMSFEIGN_URL:172.16.90.202:8000}
  28. # url: ${AMSFEIGN_URL:localhost:8079}
  29. TmsFeign:
  30. # url: ${TMSFEIGN_URL:172.16.90.202:8000}
  31. url: ${RMSFEIGN_URL:localhost:8086}
  32. WMSFeign:
  33. url: ${WMSFEIGN_URL:172.16.90.202:8000}
  34. RmsFeign:
  35. url: ${RMSFEIGN_URL:172.16.90.202:8000}
  36. # url: ${RMSFEIGN_URL:localhost:8060}
  37. EmsFeign:
  38. url: ${EMSFEIGN_URL:172.16.90.202:8000}
  39. SSOFeign:
  40. url: ${SSOFEIGN_URL:172.16.90.202:80}
  41. WebSocketFeign:
  42. url: ${WEBSOCKETFEIGN_URL:172.16.90.202:8000}
  43. REPORTFeign:
  44. url: ${REPORTFEIGN_URL:172.16.90.202:8000}
  45. # url: ${RMSFEIGN_URL:localhost:8055}
  46. #远程调用
  47. feign:
  48. hystrix:
  49. enabled: false #开启熔断,熔断时间和feign超时时间必须一致,否则时间短的生效
  50. client:
  51. config:
  52. default: #默认配置,连接时间要短,读取时间要长
  53. connectTimeout: 1000 #单位毫秒
  54. readTimeout: 30000 #单位毫秒
  55. #熔断器
  56. hystrix:
  57. command:
  58. default:
  59. execution:
  60. isolation:
  61. thread:
  62. timeoutInMilliseconds: 15000 #设置熔断时间,单位毫秒
  63. strategy: SEMAPHORE
  64. semaphore:
  65. maxConcurrentRequests: 1