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:
accessToken: ''
admin:
addresses: http://127.0.0.1:7009/xxl-job-admin
addresses: http://172.16.128.147:7009/xxl-job-admin
executor:
appname: logpm-basicdata-xxljob
ip: 127.0.0.1
ip: 172.16.128.147
logpath: ../data/applogs/logpm-factory-data-xxljob/jobhandler
logretentiondays: -1
port: 17019

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

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

Loading…
Cancel
Save