hanghong.test.3.0.16.source-code.application.yml Maven / Gradle / Ivy
#spring:
# datasource:
# dynamic:
# primary: master #设置默认的数据源或者数据源组,默认值即为master
# strict: true #设置严格模式,默认false不启动. 启动后在未匹配到指定数据源时候回抛出异常,不启动会使用默认数据源.
# datasource:
# master:
# url: jdbc:postgresql://127.0.0.1:5432/db2
# username: postgres
# password: Hik12345
# driver-class-name: org.postgresql.Driver
# db2:
# url: jdbc:postgresql://127.0.0.1:5432/check_job
# username: postgres
# password: Hik12345
# driver-class-name: org.postgresql.Driver