|
|
|
@ -14,7 +14,7 @@ server:
|
|
|
|
|
spring: |
|
|
|
|
#排除DruidDataSourceAutoConfigure |
|
|
|
|
autoconfigure: |
|
|
|
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure,com.alibaba.cloud.seata.feign.SeataFeignClientAutoConfiguration |
|
|
|
|
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure |
|
|
|
|
datasource: |
|
|
|
|
dynamic: |
|
|
|
|
druid: |
|
|
|
@ -35,13 +35,3 @@ spring:
|
|
|
|
|
url: ${blade.datasource.datasharing.master.url} |
|
|
|
|
username: ${blade.datasource.datasharing.master.username} |
|
|
|
|
password: ${blade.datasource.datasharing.master.password} |
|
|
|
|
slave: |
|
|
|
|
druid: |
|
|
|
|
#独立校验配置 |
|
|
|
|
validation-query: select 1 |
|
|
|
|
#oracle校验 |
|
|
|
|
#validation-query: select 1 from dual |
|
|
|
|
url: ${blade.datasource.datasharing.slave.url} |
|
|
|
|
username: ${blade.datasource.datasharing.slave.username} |
|
|
|
|
password: ${blade.datasource.datasharing.slave.password} |
|
|
|
|
|
|
|
|
|