From dad69c66ae6b02dbf59a28ffbd2b6b4b84fad799 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Wed, 27 Nov 2024 10:22:46 +0800 Subject: [PATCH] add material_mall profile --- .../bootstrap-material_mall_local.yml | 27 ++++++++++++ .../bootstrap-material_mall_local.yml | 43 +++++++++++++++++++ .../bootstrap-material_mall_local.yml | 21 +++++++++ .../bootstrap-material_mall_local.yml | 26 +++++++++++ .../resources/bootstrap-sgzb_bns_local.yml | 2 - 5 files changed, 117 insertions(+), 2 deletions(-) create mode 100644 bonus-auth/src/main/resources/bootstrap-material_mall_local.yml create mode 100644 bonus-gateway/src/main/resources/bootstrap-material_mall_local.yml create mode 100644 bonus-modules/bonus-file/src/main/resources/bootstrap-material_mall_local.yml create mode 100644 bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_local.yml diff --git a/bonus-auth/src/main/resources/bootstrap-material_mall_local.yml b/bonus-auth/src/main/resources/bootstrap-material_mall_local.yml new file mode 100644 index 0000000..1b2a1f7 --- /dev/null +++ b/bonus-auth/src/main/resources/bootstrap-material_mall_local.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 28081 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-gateway/src/main/resources/bootstrap-material_mall_local.yml b/bonus-gateway/src/main/resources/bootstrap-material_mall_local.yml new file mode 100644 index 0000000..4238b7b --- /dev/null +++ b/bonus-gateway/src/main/resources/bootstrap-material_mall_local.yml @@ -0,0 +1,43 @@ +# Tomcat +server: + port: 28080 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + sentinel: + # 取消控制台懒加载 + eager: true + transport: + # 控制台地址 + dashboard: 127.0.0.1:18858 + # nacos配置持久化 + datasource: + ds1: + nacos: + server-addr: 127.0.0.1:8848 + namespace: sgzb_bns + dataId: sentinel-bonus-gateway + groupId: DEFAULT_GROUP + data-type: json + rule-type: gw-flow + +#加密组件 +jasypt: + encryptor: + password: Encrypt + diff --git a/bonus-modules/bonus-file/src/main/resources/bootstrap-material_mall_local.yml b/bonus-modules/bonus-file/src/main/resources/bootstrap-material_mall_local.yml new file mode 100644 index 0000000..9f2db92 --- /dev/null +++ b/bonus-modules/bonus-file/src/main/resources/bootstrap-material_mall_local.yml @@ -0,0 +1,21 @@ +# Tomcat +server: + port: 29300 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_local.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_local.yml new file mode 100644 index 0000000..4711197 --- /dev/null +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap-material_mall_local.yml @@ -0,0 +1,26 @@ +# Tomcat +server: + port: 28082 + +# Spring +spring: + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + namespace: material_mall + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +#加密组件 +jasypt: + encryptor: + password: Encrypt diff --git a/bonus-modules/bonus-system/src/main/resources/bootstrap-sgzb_bns_local.yml b/bonus-modules/bonus-system/src/main/resources/bootstrap-sgzb_bns_local.yml index 09e336e..db2006e 100644 --- a/bonus-modules/bonus-system/src/main/resources/bootstrap-sgzb_bns_local.yml +++ b/bonus-modules/bonus-system/src/main/resources/bootstrap-sgzb_bns_local.yml @@ -9,12 +9,10 @@ spring: discovery: # 服务注册地址 server-addr: 127.0.0.1:8848 - # namespace: sgzb_bns namespace: sgzb_bns config: # 配置中心地址 server-addr: 127.0.0.1:8848 - # namespace: sgzb_bns namespace: sgzb_bns # 配置文件格式 file-extension: yml