omind-baseplat.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. spring:
  2. datasource:
  3. dynamic:
  4. # 设置默认的数据源或者数据源组,默认值即为 master
  5. primary: master
  6. seata: false
  7. datasource:
  8. # 主库数据源
  9. master:
  10. type: ${spring.datasource.type}
  11. driver-class-name: com.mysql.cj.jdbc.Driver
  12. url: ${datasource.tino-base-plat.url}
  13. username: ${datasource.tino-base-plat.username}
  14. password: ${datasource.tino-base-plat.password}
  15. forest:
  16. backend: okhttp3
  17. max-retry-count: 3 #请求失败后重试次数,默认为0次不重试
  18. max-retry-interval: 1000 #重试间隔时间
  19. connect-timeout: 3000 #链接超时时间
  20. timeout: 3000 # 请求超时时间
  21. ## 日志总开关,打开/关闭Forest请求/响应日志(默认为 true)
  22. log-enabled: true
  23. ## 打开/关闭Forest请求日志(默认为 true)
  24. log-request: true
  25. ## 打开/关闭Forest响应状态日志(默认为 true)
  26. log-response-status: true
  27. ## 打开/关闭Forest响应内容日志(默认为 false)
  28. log-response-content: true
  29. variables:
  30. uplatAuthUrl: http://test
  31. xxl:
  32. job:
  33. admin:
  34. addresses: http://172.25.0.9:8080/xxl-job-admin
  35. accessToken: default_token
  36. executor:
  37. appname: tino-scheduler-baseplat
  38. address:
  39. ip:
  40. port: 18090
  41. logpath: /data/applogs/xxl-job/jobhandler
  42. logretentiondays: 30