1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- spring:
- datasource:
- dynamic:
- # 设置默认的数据源或者数据源组,默认值即为 master
- primary: master
- seata: false
- datasource:
- # 主库数据源
- master:
- type: ${spring.datasource.type}
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: ${datasource.tino-base-plat.url}
- username: ${datasource.tino-base-plat.username}
- password: ${datasource.tino-base-plat.password}
- forest:
- backend: okhttp3
- max-retry-count: 3 #请求失败后重试次数,默认为0次不重试
- max-retry-interval: 1000 #重试间隔时间
- connect-timeout: 3000 #链接超时时间
- timeout: 3000 # 请求超时时间
- ## 日志总开关,打开/关闭Forest请求/响应日志(默认为 true)
- log-enabled: true
- ## 打开/关闭Forest请求日志(默认为 true)
- log-request: true
- ## 打开/关闭Forest响应状态日志(默认为 true)
- log-response-status: true
- ## 打开/关闭Forest响应内容日志(默认为 false)
- log-response-content: true
- variables:
- uplatAuthUrl: http://test
- xxl:
- job:
- admin:
- addresses: http://172.25.0.9:8080/xxl-job-admin
- accessToken: default_token
- executor:
- appname: tino-scheduler-baseplat
- address:
- ip:
- port: 18090
- logpath: /data/applogs/xxl-job/jobhandler
- logretentiondays: 30
|