From 6af7ebdc92197f89e662c254e8fcb0f3e24514cc Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Thu, 22 Aug 2024 17:32:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E9=85=8D=E7=BD=AE=E8=BF=98?= =?UTF-8?q?=E5=8E=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- op-auth/src/main/resources/bootstrap.yml | 18 +++++++++--------- op-gateway/src/main/resources/bootstrap.yml | 18 +++++++++--------- .../op-device/src/main/resources/bootstrap.yml | 16 ++++++++-------- .../op-energy/src/main/resources/bootstrap.yml | 2 ++ .../op-file/src/main/resources/bootstrap.yml | 16 ++++++++-------- .../op-job/src/main/resources/bootstrap.yml | 16 ++++++++-------- .../op-mes/src/main/resources/bootstrap.yml | 15 ++++++++------- .../op-open/src/main/resources/bootstrap.yml | 14 ++++++++------ .../op-plan/src/main/resources/bootstrap.yml | 14 ++++++++------ .../src/main/resources/bootstrap.yml | 14 ++++++++------ .../op-sap/src/main/resources/bootstrap.yml | 14 ++++++++------ .../src/main/resources/bootstrap.yml | 14 ++++++++------ .../op-system/src/main/resources/bootstrap.yml | 17 ++++++++--------- .../src/main/resources/bootstrap.yml | 14 ++++++++------ .../op-wms/src/main/resources/bootstrap.yml | 14 ++++++++------ 15 files changed, 116 insertions(+), 100 deletions(-) diff --git a/op-auth/src/main/resources/bootstrap.yml b/op-auth/src/main/resources/bootstrap.yml index e0d5ba62..c062389c 100644 --- a/op-auth/src/main/resources/bootstrap.yml +++ b/op-auth/src/main/resources/bootstrap.yml @@ -12,21 +12,21 @@ spring: cloud: nacos: discovery: -# username: nacos -# password: sfnacos2023 + # username: nacos + # password: sfnacos2023 # 服务注册地址 #--spring.cloud.nacos.discovery.namespace=chj --spring.cloud.nacos.config.namespace=chj -# namespace: lanju-op-test - namespace: lanju-op - group: zxl + # namespace: lanju-op-test + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: #命名空间 - namespace: lanju-op - group: zxl + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-gateway/src/main/resources/bootstrap.yml b/op-gateway/src/main/resources/bootstrap.yml index 587efe91..de7b74c1 100644 --- a/op-gateway/src/main/resources/bootstrap.yml +++ b/op-gateway/src/main/resources/bootstrap.yml @@ -13,18 +13,18 @@ spring: cloud: nacos: discovery: -# username: nacos -# password: sfnacos2023 - namespace: lanju-op - group: zxl + # username: nacos + # password: sfnacos2023 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: #命名空间 - namespace: lanju-op - group: zxl + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 @@ -40,7 +40,7 @@ spring: datasource: ds1: nacos: - server-addr: 175.27.215.92:8848 + server-addr: 140.249.53.142:8848 dataId: sentinel-op-gateway groupId: DEFAULT_GROUP data-type: json diff --git a/op-modules/op-device/src/main/resources/bootstrap.yml b/op-modules/op-device/src/main/resources/bootstrap.yml index 2d1a795e..5d2f97a8 100644 --- a/op-modules/op-device/src/main/resources/bootstrap.yml +++ b/op-modules/op-device/src/main/resources/bootstrap.yml @@ -13,17 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-energy/src/main/resources/bootstrap.yml b/op-modules/op-energy/src/main/resources/bootstrap.yml index d2004e93..82e9492a 100644 --- a/op-modules/op-energy/src/main/resources/bootstrap.yml +++ b/op-modules/op-energy/src/main/resources/bootstrap.yml @@ -13,11 +13,13 @@ spring: cloud: nacos: discovery: + #命名空间 namespace: lanju-op-test group: test # 服务注册地址 server-addr: 192.168.202.20:8848 config: + #命名空间 namespace: lanju-op-test group: test # 服务注册地址 diff --git a/op-modules/op-file/src/main/resources/bootstrap.yml b/op-modules/op-file/src/main/resources/bootstrap.yml index 033cb8ca..c389fd94 100644 --- a/op-modules/op-file/src/main/resources/bootstrap.yml +++ b/op-modules/op-file/src/main/resources/bootstrap.yml @@ -12,17 +12,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-job/src/main/resources/bootstrap.yml b/op-modules/op-job/src/main/resources/bootstrap.yml index 449112aa..bba46440 100644 --- a/op-modules/op-job/src/main/resources/bootstrap.yml +++ b/op-modules/op-job/src/main/resources/bootstrap.yml @@ -13,17 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-mes/src/main/resources/bootstrap.yml b/op-modules/op-mes/src/main/resources/bootstrap.yml index 63c4ede5..a0e1c0df 100644 --- a/op-modules/op-mes/src/main/resources/bootstrap.yml +++ b/op-modules/op-mes/src/main/resources/bootstrap.yml @@ -13,16 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-open/src/main/resources/bootstrap.yml b/op-modules/op-open/src/main/resources/bootstrap.yml index 29d71df0..2f72dde4 100644 --- a/op-modules/op-open/src/main/resources/bootstrap.yml +++ b/op-modules/op-open/src/main/resources/bootstrap.yml @@ -13,15 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-plan/src/main/resources/bootstrap.yml b/op-modules/op-plan/src/main/resources/bootstrap.yml index 39d689e4..f18b4d21 100644 --- a/op-modules/op-plan/src/main/resources/bootstrap.yml +++ b/op-modules/op-plan/src/main/resources/bootstrap.yml @@ -13,15 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-quality/src/main/resources/bootstrap.yml b/op-modules/op-quality/src/main/resources/bootstrap.yml index b7338532..e1e532ff 100644 --- a/op-modules/op-quality/src/main/resources/bootstrap.yml +++ b/op-modules/op-quality/src/main/resources/bootstrap.yml @@ -13,15 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-sap/src/main/resources/bootstrap.yml b/op-modules/op-sap/src/main/resources/bootstrap.yml index bd77cc0c..f3ebf4cb 100644 --- a/op-modules/op-sap/src/main/resources/bootstrap.yml +++ b/op-modules/op-sap/src/main/resources/bootstrap.yml @@ -13,15 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-security/src/main/resources/bootstrap.yml b/op-modules/op-security/src/main/resources/bootstrap.yml index 26eba7e2..c384bfc1 100644 --- a/op-modules/op-security/src/main/resources/bootstrap.yml +++ b/op-modules/op-security/src/main/resources/bootstrap.yml @@ -13,15 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-system/src/main/resources/bootstrap.yml b/op-modules/op-system/src/main/resources/bootstrap.yml index f219da31..116003a6 100644 --- a/op-modules/op-system/src/main/resources/bootstrap.yml +++ b/op-modules/op-system/src/main/resources/bootstrap.yml @@ -13,18 +13,17 @@ spring: cloud: nacos: discovery: - # namespace: lanju-op-test - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - # server-addr: 192.168.202.20:8848 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-technology/src/main/resources/bootstrap.yml b/op-modules/op-technology/src/main/resources/bootstrap.yml index 8359972d..c195551d 100644 --- a/op-modules/op-technology/src/main/resources/bootstrap.yml +++ b/op-modules/op-technology/src/main/resources/bootstrap.yml @@ -13,15 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/op-modules/op-wms/src/main/resources/bootstrap.yml b/op-modules/op-wms/src/main/resources/bootstrap.yml index 2aa5669a..879feea7 100644 --- a/op-modules/op-wms/src/main/resources/bootstrap.yml +++ b/op-modules/op-wms/src/main/resources/bootstrap.yml @@ -13,15 +13,17 @@ spring: cloud: nacos: discovery: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 config: - namespace: lanju-op - group: zxl + #命名空间 + namespace: lanju-op-test + group: test # 服务注册地址 - server-addr: 175.27.215.92:8848 + server-addr: 192.168.202.20:8848 # 配置文件格式 file-extension: yml # 共享配置