From bec60702d32acc46f65c952c0f22691bad7f3fc2 Mon Sep 17 00:00:00 2001 From: zhenghaoyu Date: Sat, 11 May 2024 01:55:10 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=AD=A3=E5=BC=8F=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 4 ++-- .../src/main/resources/application-prod.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/blade-service/logpm-basicdata/src/main/resources/application.yml b/blade-service/logpm-basicdata/src/main/resources/application.yml index e6e74bccb..4c2a2358b 100644 --- a/blade-service/logpm-basicdata/src/main/resources/application.yml +++ b/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 diff --git a/blade-service/logpm-supervise/src/main/resources/application-prod.yml b/blade-service/logpm-supervise/src/main/resources/application-prod.yml index f252686c7..52e792bb7 100644 --- a/blade-service/logpm-supervise/src/main/resources/application-prod.yml +++ b/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}