Browse Source

1.正式配置修改

master
zhenghaoyu 8 months ago
parent
commit
bec60702d3
  1. 4
      blade-service/logpm-basicdata/src/main/resources/application.yml
  2. 14
      blade-service/logpm-supervise/src/main/resources/application-prod.yml

4
blade-service/logpm-basicdata/src/main/resources/application.yml

@ -24,10 +24,10 @@ xxl:
job: job:
accessToken: '' accessToken: ''
admin: admin:
addresses: http://127.0.0.1:7009/xxl-job-admin addresses: http://172.16.128.147:7009/xxl-job-admin
executor: executor:
appname: logpm-basicdata-xxljob appname: logpm-basicdata-xxljob
ip: 127.0.0.1 ip: 172.16.128.147
logpath: ../data/applogs/logpm-factory-data-xxljob/jobhandler logpath: ../data/applogs/logpm-factory-data-xxljob/jobhandler
logretentiondays: -1 logretentiondays: -1
port: 17019 port: 17019

14
blade-service/logpm-supervise/src/main/resources/application-prod.yml

@ -30,16 +30,16 @@ spring:
validation-query: select 1 validation-query: select 1
#oracle校验 #oracle校验
#validation-query: select 1 from dual #validation-query: select 1 from dual
url: ${blade.datasource.basic.master.url} url: ${blade.datasource.supervise.master.url}
username: ${blade.datasource.basic.master.username} username: ${blade.datasource.supervise.master.username}
password: ${blade.datasource.basic.master.password} password: ${blade.datasource.supervise.master.password}
627683: slave:
druid: druid:
#独立校验配置 #独立校验配置
validation-query: select 1 validation-query: select 1
#oracle校验 #oracle校验
#validation-query: select 1 from dual #validation-query: select 1 from dual
url: ${blade.datasource.basic.627683.url} url: ${blade.datasource.supervise.slave.url}
username: ${blade.datasource.basic.627683.username} username: ${blade.datasource.supervise.slave.username}
password: ${blade.datasource.basic.627683.password} password: ${blade.datasource.supervise.slave.password}

Loading…
Cancel
Save