diff --git a/scripts_244/auth_bootstrap.yml b/scripts_244/auth_bootstrap.yml index 79bccf5..afab05e 100644 --- a/scripts_244/auth_bootstrap.yml +++ b/scripts_244/auth_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28581 + port: 28681 # Spring spring: @@ -9,7 +9,7 @@ spring: name: bonus-auth profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -17,11 +17,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置 diff --git a/scripts_244/deploy.sh b/scripts_244/deploy.sh index 8974daf..868ae90 100644 --- a/scripts_244/deploy.sh +++ b/scripts_244/deploy.sh @@ -1,10 +1,10 @@ #!/bin/bash -suffix="-material-mall" +suffix="-smart-site" jar_version="24.10.0-SNAPSHOT" -export deploy_path=/opt/webapps/bonus-material-mall +export deploy_path=/opt/webapps/bonus-smart-site export app_workspace=/opt/builds/releases/Bonus-Cloud/${jar_version} -export biz_workspace=/opt/install/jenkins_home/workspace/Bonus-Cloud-Material +export biz_workspace=/opt/install/jenkins_home/workspace/Bonus-Cloud-Smart-Site app_source_jars=( "bonus-auth-${jar_version}.jar" @@ -34,17 +34,17 @@ for source_jar in "${app_source_jars[@]}"; do echo "copied ${app_workspace}/${source_jar} to '$deploy_path/$new_filename'" done -cp -f ${biz_workspace}/"bonus-modules/bonus-material-mall/target/bonus-material-mall.jar" $deploy_path +cp -f ${biz_workspace}/"bonus-modules/bonus-smart-site/target/bonus-smart-site.jar" $deploy_path echo "copied ${app_workspace}/${source_jar} to $deploy_path" # Define an array of JAR files to run -jars=("bonus-auth-${jar_version}-material-mall.jar --spring.config.location=file:auth_bootstrap.yml" -"bonus-gateway-${jar_version}-material-mall.jar --spring.config.location=file:gateway_bootstrap.yml" -"bonus-system-${jar_version}-material-mall.jar --spring.config.location=file:system_bootstrap.yml" -"bonus-job-${jar_version}-material-mall.jar --spring.config.location=file:job_bootstrap.yml" -"bonus-file-${jar_version}-material-mall.jar --spring.config.location=file:file_bootstrap.yml" -"bonus-visual-monitor-${jar_version}-material-mall.jar --spring.config.location=file:visual_bootstrap.yml" -"bonus-material-mall.jar --spring.config.location=file:material_mall_bootstrap.yml") +jars=("bonus-auth-${jar_version}-smart-site.jar --spring.config.location=file:auth_bootstrap.yml" +"bonus-gateway-${jar_version}-smart-site.jar --spring.config.location=file:gateway_bootstrap.yml" +"bonus-system-${jar_version}-smart-site.jar --spring.config.location=file:system_bootstrap.yml" +"bonus-job-${jar_version}-smart-site.jar --spring.config.location=file:job_bootstrap.yml" +"bonus-file-${jar_version}-smart-site.jar --spring.config.location=file:file_bootstrap.yml" +"bonus-visual-monitor-${jar_version}-smart-site.jar --spring.config.location=file:visual_bootstrap.yml" +"bonus-smart-site.jar --spring.config.location=file:smart_site_bootstrap.yml") # 遍历数组并检查每个JAR文件的进程 for jar_with_args in "${jars[@]}"; do diff --git a/scripts_244/file_bootstrap.yml b/scripts_244/file_bootstrap.yml index d86018a..f2fc209 100644 --- a/scripts_244/file_bootstrap.yml +++ b/scripts_244/file_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28583 + port: 28683 # Spring spring: @@ -9,7 +9,7 @@ spring: name: bonus-file profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -17,11 +17,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置 diff --git a/scripts_244/gateway_bootstrap.yml b/scripts_244/gateway_bootstrap.yml index 205ae2a..03257d7 100644 --- a/scripts_244/gateway_bootstrap.yml +++ b/scripts_244/gateway_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28580 + port: 28680 servlet: context-path: zhgd # Spring @@ -10,7 +10,7 @@ spring: name: bonus-gateway profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -18,11 +18,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置 @@ -41,7 +41,7 @@ spring: username: nacos password: bonus@Admin123 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site dataId: sentinel-bonus-gateway groupId: DEFAULT_GROUP data-type: json diff --git a/scripts_244/gen_bootstrap.yml b/scripts_244/gen_bootstrap.yml index 4c7a5da..ce8f108 100644 --- a/scripts_244/gen_bootstrap.yml +++ b/scripts_244/gen_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28584 + port: 28684 # Spring spring: @@ -9,7 +9,7 @@ spring: name: bonus-gen profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -17,11 +17,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置 diff --git a/scripts_244/job_bootstrap.yml b/scripts_244/job_bootstrap.yml index a5d8a50..9428bc2 100644 --- a/scripts_244/job_bootstrap.yml +++ b/scripts_244/job_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28585 + port: 28685 # Spring spring: @@ -9,7 +9,7 @@ spring: name: bonus-job profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -17,11 +17,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置 diff --git a/scripts_244/material_mall_bootstrap.yml b/scripts_244/smart_site_bootstrap.yml similarity index 86% rename from scripts_244/material_mall_bootstrap.yml rename to scripts_244/smart_site_bootstrap.yml index f731810..5f5725c 100644 --- a/scripts_244/material_mall_bootstrap.yml +++ b/scripts_244/smart_site_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28588 + port: 28688 # Spring spring: servlet: @@ -14,7 +14,7 @@ spring: name: bonus-material-mall profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -22,11 +22,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置 diff --git a/scripts_244/system_bootstrap.yml b/scripts_244/system_bootstrap.yml index 77352f5..1033079 100644 --- a/scripts_244/system_bootstrap.yml +++ b/scripts_244/system_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28582 + port: 28682 # Spring spring: @@ -9,7 +9,7 @@ spring: name: bonus-system profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -17,11 +17,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置 diff --git a/scripts_244/visual_bootstrap.yml b/scripts_244/visual_bootstrap.yml index 997d87e..ed152de 100644 --- a/scripts_244/visual_bootstrap.yml +++ b/scripts_244/visual_bootstrap.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 28586 + port: 28686 # Spring spring: @@ -9,7 +9,7 @@ spring: name: bonus-monitor profiles: # 环境配置 - active: material_mall_test + active: smart_site_test cloud: nacos: username: nacos @@ -17,11 +17,11 @@ spring: discovery: # 服务注册地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site config: # 配置中心地址 server-addr: 192.168.0.244:8848 - namespace: material_mall + namespace: smart_site # 配置文件格式 file-extension: yml # 共享配置