Commit 980acdb0 authored by root's avatar root

update

parent a010bd28
......@@ -39,6 +39,12 @@ function buildJavaProject()
sed -i "${num}s/1.0.[0-9]-SNAPSHOT/1.0.0.${suffix}-SNAPSHOT/" $project_path/$project/pom.xml
sed -i "${num}s/1.0.[0-9].[0-9]/1.0.0.${suffix}-SNAPSHOT/" $project_path/$project/pom.xml
fi
if [[ "$project" = "baitiao" ]]; then
num=`grep -n -A1 "<artifactId>quantgroup-sms-sdk</artifactId>" $project_path/$project/pom.xml| grep "<version>" | awk -F- '{print $1}'`
echo "----$project-----pom.xml file line: $num------------"
sed -i "${num}s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/" $project_path/$project/pom.xml
fi
echo "mvn clean package -P${profile} -Dmaven.test.skip=true"
mvn clean package -P${profile} -Dmaven.test.skip=true
......
......@@ -33,6 +33,12 @@ function buildJavaProject()
sed -i "${num}s/1.0.[0-9].[0-9]/1.0.0.${suffix}-SNAPSHOT/" $project_path/$project/pom.xml
fi
if [[ "$project" = "baitiao" ]]; then
num=`grep -n -A1 "<artifactId>quantgroup-sms-sdk</artifactId>" $project_path/$project/pom.xml| grep "<version>" | awk -F- '{print $1}'`
echo "----$project-----pom.xml file line: $num------------"
sed -i "${num}s/1.0.[0-9]-SNAPSHOT/1.0.6.3-SNAPSHOT/" $project_path/$project/pom.xml
fi
echo "mvn clean package -P${profile} -Dmaven.test.skip=true"
mvn clean package -P${profile} -Dmaven.test.skip=true
......
......@@ -102,6 +102,7 @@ new pClass().init(true, "node", "7018", "AppBackend", false, "QG", null, "config
new pClass().init(true, "node", "7041", "activity-op", false, "QG", null, "src/config.js", "sh start.sh", null, 1, "优惠券中心-server","","sh stop.sh");
new pClass().init(true, "node", "7047", "op-api", false, "OP", null, "src/config.js", "sh start.sh", null, 1, "系统Api Gateway-server","","sh stop.sh");
new pClass().init(true, "node", "7049", "fe-api", false, "QG", null, "src/config.js", "sh start.sh", null, 1, "科传项目-消息推送","","pm2 stop fe-api");
new pClass().init(true, "node", "7054", "xyqb-h5-backend", false, "QG", null, "src/config.js", "sh start.sh", null, 1, "信用钱包帮助中心","","sh stop.sh");
//python
new pClass().init(true, "python", "7022", "qin-qiong", false, "QG", null, "config/beta/config.properties", null, null, 1, "加密解密-server","","");
new pClass().init(true, "python", "7033", "xyqb-query", false, "QG", null, "server/config/beta/config.ini", null, null, 1, "query-server","","");
......
......@@ -15,9 +15,8 @@ function tranceConfig()
"
if [ "$type_" = "java" ]
then
sed -i "s/$source_str/$target_str/g" $base_path/$ip_host/java/$file_name
sed -i "s/$source_str/$target_str/g" $base_path/$ip_host/public/java/$file_name
sed -i "s#$source_str#$target_str#g" $base_path/$ip_host/java/$file_name
sed -i "s#$source_str#$target_str#g" $base_path/$ip_host/public/java/$file_name
elif [ "$type_" = "ui" ]
then
......@@ -34,28 +33,21 @@ function tranceConfig()
elif [ "$type_" = "nginx" ]
then
sed -i "s/$source_str/$target_str/g" $base_path/$ip_host/nginx_conf.d/$file_name
fi
}
#tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.12" "xyqb-mall.properties"
tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.151" "xyqb-mall.properties"
#tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.152" "xyqb-mall.properties"
tranceConfig java 'cardniu.client.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota_client.do' 'cardniu.client.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota_client.do' "192.168.4.14" "xyqb.properties"
tranceConfig java "cardniu.url=http://kn.feidee.net/loanmanage/loan/partner/k_n_user_quota.do" "cardniu.url=http://192.168.4.248/mockjs/31/loanmanage/loan/partner/k_n_user_quota.do" "192.168.4.14" "xyqb.properties"
#tranceConfig java "192.168.4.3" "192.168.4.17" "192.168.4.17" "*"
#tranceConfig java "sms.is.debug=1" "sms.is.debug=0" "192.168.4.24" "xyqb.properties"
#tranceConfig java "sms.is.debug=1" "sms.is.debug=0" "192.168.4.24" "di-ting.properties"
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.24" "xyqb.properties"
#tranceConfig node "192.168.4.3" "192.168.4.107" "192.168.4.12" "AppBackend.js"
tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.151" "xyqb.properties"
tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.12" "xyqb.properties"
#tranceConfig ui "7047" "12047" "192.168.4.12" "merchant-op-ui.js"
tranceConfig node "d45o0qd" "5exp2xo" "192.168.4.152" "op-api.js"
#tranceConfig java "192.168.4.15:7007" "139.198.2.95:1507" "192.168.4.15" "gu-bei.properties"
tranceConfig java "hubei.api.url=http:\/\/192.168.100.185:8585" "hubei.api.url=http:\/\/192.168.4.251:8585" "192.168.4.16" "di-ting.properties"
#这个配置是微信支付的时候,需要修改成线上的沙箱环境
#tranceConfig java "wxcdf6077af8127559" "wx0a7c0bce0c3ac523" "192.168.4.15" "xyqb-user2.properties"
......@@ -63,28 +55,15 @@ tranceConfig java "hubei.api.url=http:\/\/192.168.100.185:8585" "hubei.api.url=h
#tranceConfig java "e1dd0780c93aae56c2d786184421cfc8" "10131fe347f88e0affabe45b7ee4ca6c" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "paycenter.host.url=http:\/\/192.168.4.15:7007" "paycenter.host.url=http:\/\/wechattest1.xyqb.com" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "139.198.2.95:1507" "wechattest1.xyqb.com" "192.168.4.15" "gu-bei.properties"
#微信环境配置结束
#tranceConfig java "192.168.4.14:7007" "139.198.2.95:1407" "192.168.4.14" "gu-bei.properties"
#tranceConfig java "paycenter.exception.debug=1" "paycenter.exception.debug=0" "192.168.4.15" "gu-bei.properties"
#tranceConfig java "192.168.4.14:3306" "192.168.4.20:3306" "192.168.4.14" "*"
#tranceConfig python "192.168.4.14" "192.168.4.20" "192.168.4.14" "qin-qiong.*"
#tranceConfig java "spider-center.host=http:\/\/192.168.4.12:7021\/" "spider-center.host=http:\/\/spider-center-12.ss.xyqb.loan\/" "192.168.4.12" "spider-center.properties"
tranceConfig java "qgbc-ui.url=http:\/\/192.168.4.152:7002" "qgbc-ui.url=http:\/\/192.168.4.152:7050" "192.168.4.152" "xyqb.properties"
tranceConfig java "7025" "7003" "192.168.4.152" "baitiao.properties"
tranceConfig node "112233445512345.ittun.com" "activity-op-22.ss.xyqb.loan" "192.168.4.22" "activity-op.js"
tranceConfig node "112233445512345.ittun.com" "activity-op-24.ss.xyqb.loan" "192.168.4.24" "activity-op.js"
#tranceConfig nginx "7002" "7050" "192.168.4.13" "qgbc-ui.conf"
#tranceConfig nginx "7050" "7002" "192.168.4.13" "bt-ui.conf"
#tranceConfig ui "7002" "7050" "192.168.4.13" "bt-ui.js"
#tranceConfig node "7002" "7050" "192.168.1.23" "AppBackend.js"
tranceConfig java "7002" "7050" "192.168.4.13" "baitiao.properties"
#tranceConfig node "7002" "7050" "192.168.4.12" "AppBackend.js"
#tranceConfig nginx "7002" "7050" "192.168.4.17" "qgbc-ui.conf"
#tranceConfig nginx "7050" "7002" "192.168.4.17" "bt-ui.conf"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment