Commit 692ae30d authored by daidekun's avatar daidekun
parents 8719847c cf22812c
UPDATE `qinqiong`.`secure_key` SET qinqiong.`secure_key`.`public_key` = '-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvKEKOt+IJH6v2vA2y3lj\n4BA+Exi9dK6Chol4sS85Na6br0I03KG4Qg7W5KA9CsWtPM07AxBizr5QsCt7CvT/\nHJUNs8hxSBfseW/eoL6PDwvgjfaAlGQ/hradqnzmU3c9za13E6Qmj64s+ZuNog0l\nsavlbKXlMp5riv4Rd6qZ5BXBRqB8zEhqgdLmW5QV9PYp8XNbmcRv/XRtFVQgSnig\npslVKJRCi0RuGuYr0JMk3Eg+7ZPYhYA6Y35xY6F3Ln6lGkjq1hOhaKzTHFkxTB0H\nu1jz6e+xfVrKWt7q+B8581367pTKxbec3lsylmI+gUOeHDtDn6Gtvcm8M/rpV/Y0\n6wIDAQAB\n-----END PUBLIC KEY-----' WHERE qinqiong.`secure_key`.`merchant_id` = 'xyqb_mall';
UPDATE risk_control.user SET enable = 1 WHERE username = 'zhouqian';
\ No newline at end of file
UPDATE risk_control.user SET enable = 1,role=0,password='318e235d3e52648b236faa3f748000d5' WHERE username = 'zhouqian';
......@@ -25,6 +25,7 @@ function buildJavaProject()
cd $project_path/$project
rm -rf ./target/
rm -rf $project.jar
if [[ "$project" = "xyqb" || "$project" = "gu-bei" || "$project" = "han-gu-guan" || "$project" = "di-ting" || "$project" = "xyqb-offline" || "$project" = "xyqb-user2" ]]; then
echo "module is $project, need replace sms jar version from 1.0.x to 1.0.2"
......@@ -40,11 +41,11 @@ 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
# 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
if [[ "$project" = "finance-api" || "$project" = "financial-system" ]]; then
num=`grep -n -A1 "<artifactId>quantgroup-sms-sdk</artifactId>" $project_path/$project/pom.xml| grep "<version>" | awk -F- '{print $1}'`
......
......@@ -22,6 +22,7 @@ function buildJavaProject()
sh $config_server/show_info.sh $project "打包BUILD" $desc $2
cd $project_path/$project
rm -rf ./target/
rm -rf $project.jar
if [[ "$project" = "xyqb" || "$project" = "gu-bei" || "$project" = "han-gu-guan" || "$project" = "di-ting" || "$project" = "xyqb-offline" || "$project" = "xyqb-user2" ]]; then
echo "module is $project, need replace sms jar version from 1.0.x to 1.0.2"
......@@ -35,11 +36,11 @@ 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
# 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
if [[ "$project" = "finance-api" || "$project" = "financial-system" ]]; then
num=`grep -n -A1 "<artifactId>quantgroup-sms-sdk</artifactId>" $project_path/$project/pom.xml| grep "<version>" | awk -F- '{print $1}'`
......
12 13 14 15 16 17 22 23 24 25 26 28 50 151 152 153 154 155 156 158 161 162 163 164
12 13 14 15 16 17 22 23 24 25 26 28 50 72 151 152 153 154 155 156 158 160 161 162 163 164
......@@ -55,7 +55,7 @@ pClass.prototype = {
}
// projectName,projectType,port,gitPath,logName,configFile,command,nodeVersion false,
new pClass().init(true, "java", "7003", "xyqb", false, "QG", "xyqb.log", "application.properties", null, null, 2, "现金贷-server","");
new pClass().init(true, "java", "7025", "baitiao", false, "QG", "baitiao.log", "application.properties", null, null, 2, "白条-server","");
new pClass().init(true, "java", "7025", "baitiao", true, "git@gitabc.xyqb.com:baitiao/baitiao.git", "baitiao.log", "application.properties", null, null, 2, "白条-server","");
new pClass().init(true, "java", "7019", "xyqb-mall", false, "QG", "mall.log", "application.properties", null, null, 2, "商城后台-server","");
new pClass().init(true, "java", "7010", "xyqb-offline", false, "QG", "xyqb_offline.log", "application.properties", null, null, 2, "线下业务-server","");
new pClass().init(true, "java", "7042", "xyqb-user2", true, "git@gitabc.xyqb.com:head_group/xyqb-user2.git", "xyqb_user.log", "application.properties", null, null, 2, "用户注册登录-V2-server","");
......@@ -99,7 +99,7 @@ new pClass().init(true, "ui", "7058", "mall-ui", true, "git@gitabc.xyqb.com:ui/m
new pClass().init(true, "ui", "7001", "xyqb-ui", false, "QG", null, "client/app/config.js", "grunt build", "node4", 1, "现金贷和白条-现金贷-ui","");
new pClass().init(true, "ui", "7046", "activity-op-ui", false, "QG", null, "src/config/env.config.js", "npm run build", "node7", 1, "优惠券管理后台-ui","");
new pClass().init(true, "ui", "7048", "order-op-ui", false, "OP", null, "src/js/env.config.js", "gulp build", "node7", 1, "订单系统-ui","");
new pClass().init(true, "ui", "7002", "bt-ui", false, "QG", null, "src/app/config/env.config.js", "npm run qa", "node7", 1, "新版白条-ui","");
new pClass().init(true, "ui", "7002", "bt-ui", false, "QG", null, "src/app/config/env.config.js", "npm --registry http://172.16.3.15:4873 run qa", "node7", 1, "新版白条-ui","");
new pClass().init(true, "ui", "7057", "xjd-ui", false, "QG", null, "src/app/config/env.config.js", "npm run qa", "node7", 1, "新版现金贷-ui","");
new pClass().init(true, "ui", "7007", "new-paycenter-ui", false, "QG", null, "src/app/config/env.config.js", "npm run qa", "node7", 1, "新版支付中心-ui","");
new pClass().init(false, "ui", "7061", "wind-control-op-ui", true, "git@gitabc.xyqb.com:ui/wind-control-op-ui.git", null, "src/app/config/env.config.js", "npm run qa", "node7", 1, "临时项目,未来删除风控平台-ui","");
......
......@@ -20,19 +20,19 @@ function tranceConfig()
elif [ "$type_" = "ui" ]
then
sed -i "N;s/$source_str/$target_str/g" $base_path/$ip_host/ui/$file_name
sed -i "N;s/$source_str/$target_str/g" $base_path/$ip_host/public/ui/$file_name
sed -i "N;s#$source_str#$target_str#g" $base_path/$ip_host/ui/$file_name
sed -i "N;s#$source_str#$target_str#g" $base_path/$ip_host/public/ui/$file_name
elif [ "$type_" = "python" ]
then
sed -i "N;s/$source_str/$target_str/g" $base_path/$ip_host/python/$file_name
sed -i "N;s#$source_str#$target_str#g" $base_path/$ip_host/python/$file_name
elif [ "$type_" = "node" ]
then
sed -i "N;s/$source_str/$target_str/g" $base_path/$ip_host/node/$file_name
sed -i "N;s#$source_str#$target_str#g" $base_path/$ip_host/node/$file_name
elif [ "$type_" = "nginx" ]
then
sed -i "N;s/$source_str/$target_str/g" $base_path/$ip_host/nginx_conf.d/$file_name
sed -i "N;s#$source_str#$target_str#g" $base_path/$ip_host/nginx_conf.d/$file_name
fi
}
......@@ -42,7 +42,11 @@ function tranceConfig()
#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 ui "7041" "7054" "192.168.4.12" "activity-ui.js"
tranceConfig java "baitiao_redpacket_notify_url=http:\/\/192.168.4.12:7031\/redpacket\/distribute\/" "baitiao_redpacket_notify_url=http:\/\/192.168.4.12:7031" "192.168.4.12" "baitiao.properties"
tranceConfig java "wx89894cd83d117b26" "wxdf0392b9a648b646" "192.168.4.12" "xyqb-user2.properties"
tranceConfig java "11fb7f6a8b8edf2776a72c2f5624229c" "0849d140bbb50de8fceae2c4694e2e3f" "192.168.4.12" "xyqb-user2.properties"
tranceConfig ui "wx89894cd83d117b26" "wxdf0392b9a648b646" "192.168.4.12" "xyqb-user-ui.js"
tranceConfig ui "11fb7f6a8b8edf2776a72c2f5624229c" "0849d140bbb50de8fceae2c4694e2e3f" "192.168.4.12" "xyqb-user-ui.js"
tranceConfig ui "wechattest.xyqb.com" "wechattest2.xyqb.com" "192.168.4.12" "xyqb-user-ui.js"
#4.13
#tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.13" "xyqb-mall.properties"
......@@ -50,6 +54,11 @@ tranceConfig java "red.packet.id=10000115" "red.packet.id=56" "192.168.4.13" "xy
tranceConfig java "7002" "7050" "192.168.4.13" "baitiao.properties"
tranceConfig java "lkb.model.url=http:\/\/192.168.4.202\/Model\/openapi" "lkb.model.url=http:\/\/192.168.4.13:8090\/Model\/openapi" "192.168.4.13" "baitiao.properties"
tranceConfig java "xyqb.model.url=http:\/\/192.168.4.202\/Model\/openapi" "xyqb.model.url=http:\/\/192.168.4.13:8090\/Model\/openapi" "192.168.4.13" "baitiao.properties"
tranceConfig java "wx89894cd83d117b26" "wxdf0392b9a648b646" "192.168.4.13" "xyqb-user2.properties"
tranceConfig java "11fb7f6a8b8edf2776a72c2f5624229c" "0849d140bbb50de8fceae2c4694e2e3f" "192.168.4.13" "xyqb-user2.properties"
tranceConfig ui "wx89894cd83d117b26" "wxdf0392b9a648b646" "192.168.4.13" "xyqb-user-ui.js"
tranceConfig ui "11fb7f6a8b8edf2776a72c2f5624229c" "0849d140bbb50de8fceae2c4694e2e3f" "192.168.4.13" "xyqb-user-ui.js"
tranceConfig ui "wechattest.xyqb.com" "wechattest2.xyqb.com" "192.168.4.13" "xyqb-user-ui.js"
#4.14
#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"
......@@ -73,7 +82,7 @@ tranceConfig java "www.q-gp.com:2181" "192.168.4.14:2181" "192.168.4.14" "xyqb-u
#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 "loanorder" "loanstatus" "192.168.4.15" "xyqb.properties"
tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192.168.4.15:7057" "192.168.4.15" "xyqb.properties"
#tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192.168.4.15:7057" "192.168.4.15" "xyqb.properties"
#tranceConfig java "mall-ui.url=http://192.168.4.15:7058" "mall-ui.url=http://wechattest1.xyqb.com" "192.168.4.15" "xyqb.properties"
#4.16
......@@ -88,6 +97,11 @@ tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192
#tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.22" "baitiao.properties"
#tranceConfig java "7002" "7050" "192.168.4.22" "baitiao.properties"
#tranceConfig node "7002" "7050" "192.168.4.22" "AppBackend.js"
tranceConfig ui "192.168.4.22:7040" "139.198.2.95:2240" "192.168.4.22" "activity-ui.js"
tranceConfig ui "192.168.4.22:7003/api/coupon/activity/wechat/rent_house/bargain" "wechattest1.xyqb.com/wechat/active_redirect" "192.168.4.22" "activity-ui.js"
tranceConfig java "http://192.168.4.22:7040/to-share" "http://139.198.2.95:7040/to-share" "192.168.4.22" "xyqb.properties"
tranceConfig ui "wechattest.xyqb.com" "wechattest1.xyqb.com" "192.168.4.22" "xyqb-user-ui.js"
tranceConfig java "xyqb-user-ui-22.ss.xyqb.loan" "139.198.2.95:2243" "192.168.4.22" "xyqb-user2.properties"
#4.23
#tranceConfig node "db: {\n host: '192.168.4.23'" "db: {\n host: '192.168.4.8'" "192.168.4.23" "*"
......@@ -98,7 +112,8 @@ tranceConfig java "xyqb-ui.url=http://192.168.4.15:7001" "xyqb-ui.url=http://192
#tranceConfig java "qatest" "Uiwb@o^fR&nHOa5t" "192.168.4.23" "redpacket.properties"
#tranceConfig java "redpacket.data.mysql.user=qa" "redpacket.data.mysql.user=xyqb_query" "192.168.4.23" "redpacket.properties"
tranceConfig node "192.168.4.50:9050" "192.168.4.23:7060" "192.168.4.23" "op-api.js"
tranceConfig java "xyqb.is.debug=1" "xyqb.is.debug=0" "192.168.4.23" "baitiao.properties"
tranceConfig java "xyqb.is.debug=0" "xyqb.is.debug=1" "192.168.4.23" "baitiao.properties"
#tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.23" "xyqb-mall.properties"
#4.24
#tranceConfig java "sms.is.debug=1" "sms.is.debug=0" "192.168.4.24" "di-ting.properties"
......@@ -111,6 +126,7 @@ tranceConfig java "liebao.aes.key=0123456789abcdef" "liebao.aes.key=e2XNtnB8QEEu
tranceConfig java "liebao.md5.key=0123456" "liebao.md5.key=8KRrA2U" "192.168.4.151" "cash-loan-flow.properties"
#tranceConfig java "pay.debug=0" "pay.debug=1" "192.168.4.151" "xyqb-mall.properties"
tranceConfig java "xyqb-ui.url=http:\/\/192.168.4.151:7001" "xyqb-ui.url=http:\/\/139.198.2.95:15101" "192.168.4.151" "cash-loan-flow.properties"
#tranceConfig java "permit.new.user = 1" "permit.new.user = 0" "192.168.4.151" "cash-loan-flow.properties"
#4.152
......@@ -128,8 +144,3 @@ tranceConfig ui "wx89894cd83d117b26" "wx5b2e77c58fdcf1a5" "192.168.4.22" "xyqb-u
tranceConfig ui "11fb7f6a8b8edf2776a72c2f5624229c" "feb3c0705c1200f3759052310bde3369" "192.168.4.22" "xyqb-user-ui.js"
#end
tranceConfig java "wx89894cd83d117b26" "wxdf0392b9a648b646" "192.168.4.13" "xyqb-user2.properties"
tranceConfig java "11fb7f6a8b8edf2776a72c2f5624229c" "0849d140bbb50de8fceae2c4694e2e3f" "192.168.4.13" "xyqb-user2.properties"
tranceConfig ui "wx89894cd83d117b26" "wxdf0392b9a648b646" "192.168.4.13" "xyqb-user-ui.js"
tranceConfig ui "11fb7f6a8b8edf2776a72c2f5624229c" "0849d140bbb50de8fceae2c4694e2e3f" "192.168.4.13" "xyqb-user-ui.js"
tranceConfig ui "wechattest.xyqb.com" "wechattest2.xyqb.com" "192.168.4.13" "xyqb-user-ui.js"
# -------------------------------------------------------------------------------
# Filename: java_deploy.sh
# Revision: 1.0
# Date: 2016/09
# Author: Xiaolin.zhu
# Description: 该脚本负责build java项目。
# Usage:used by ../deploy/java_deploy.sh
# -------------------------------------------------------------------------------
pwd_path="/home/qa-deploy-utils/qa_shell_script"
cd /home/quant_group/han-gu-guan
echo "关闭han-gu-guan验证码"
echo `git checkout ./`
num=`grep -n "Boolean validCaptcha" src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java|awk -F ':' '{print $1}'`
echo "----------------------${num}-------------------"
sed -i "${num}s/false/true/" src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java
num1=`expr ${num} + 1`
num6=`expr ${num} + 7`
echo "注释掉第${num1}行到${num6}行"
sed -i "${num1}i/*" src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java
sed -i "${num6}i*/" src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java
sh $pwd_path/4_build_by_name.sh han-gu-guan
sh $pwd_path/5_restart_by_name.sh han-gu-guan
cd /home/quant_group/xyqb-user2
echo `git checkout ./`
echo "关闭xyqb-user2验证码"
num=`grep -n "if (validCaptcha)" src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java|awk -F ':' '{print $1}'`
echo "----------------------${num}----------------------"
sed -i "${num}s/if (validCaptcha)/if (true)/g" src/main/java/cn/quantgroup/xyqb/aspect/captcha/CaptchaValidateAdvisor.java
sh $pwd_path/4_build_by_name.sh xyqb-user2
sh $pwd_path/5_restart_by_name.sh xyqb-user2
\ No newline at end of file
#!/bin/bash
sh /home/qa-deploy-utils/qa_shell_script/2_get_code_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/3_link_config_file_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/3_link_config_file_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/4_build_by_type.sh all
sh /home/qa-deploy-utils/qa_shell_script/5_restart_by_type.sh all
......@@ -2,32 +2,46 @@
year=`date +%Y`
month=`date +%m`
date=`date +%d`
echo "清空/var/log"
cd /var/log
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/usr/local/openresty/nginx/logs"
cd /usr/local/openresty/nginx/logs
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/home/quant_group/logs"
cd /home/quant_group/logs
rm -rf *.log.*
rm -rf *-2017*.log
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/var/log/nginx"
cd /var/log/nginx
rm -rf *.gz *.log-*
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/home/quant_group/op-api/logs"
cd /home/quant_group/op-api/logs
rm -rf *.log.*
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/home/quant_group/AppBackend/logs"
cd /home/quant_group/AppBackend/logs
rm -rf `ls access*.log|grep -v $year$month$date`
rm -rf `ls *.log_*.log|grep -v $year-$month-$date`
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/home/quant_group/activity-op/logs"
cd /home/quant_group/activity-op/logs
rm -rf *.log.*
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/home/quant_group/op-api/logs"
cd /home/quant_group/op-api/logs
rm -rf *.log.*
for i in `find . -name "*.log"`; do cat /dev/null >$i; done
echo "清空/tmp/"
rm -rf /tmp/*
#!/bin/bash
echo "安装OPENRESTY "
sh /home/qa-deploy-utils/qa_shell_script/TEMP/install_openresty.sh
echo "设置OPENRESTY 到系统PATH"
sed -i "7iexport PATH=/usr/local/openresty/nginx/sbin:\$PATH" ~/.bash_profile
echo "停止当前nginx"
nginx -s stop
service nginx stop
echo "删除原来的nginx"
rm -rf /etc/nginx
rm -rf /home/quant_group/nginx/
rm -rf /usr/sbin/nginx
echo "环境变量重制"
source ~/.bash_profile
source ~/.bash_profile
echo "重新关联配置文件"
cd /usr/local/openresty/nginx/conf
rm -rf conf.d
ln -s /home/config_files/nginx_conf.d conf.d
rm -rf nginx.conf
echo " nginx基础配置文件更新"
cp /home/qa-deploy-utils/qa_shell_script/TEMP/nginx.conf nginx.conf
echo "重启nginx"
nginx -p /usr/local/openresty/nginx -c /usr/local/openresty/nginx/conf/nginx.conf
ps -ef|grep nginx
#!/bin/bash
echo " nginx基础配置文件更新"
cd /usr/local/openresty/nginx/conf
rm -rf nginx.conf
cp /home/qa-deploy-utils/qa_shell_script/TEMP/nginx.conf nginx.conf
echo "重启nginx"
nginx -s reload
#nginx -p /usr/local/openresty/nginx -c /usr/local/openresty/nginx/conf/nginx.conf
......@@ -57,7 +57,7 @@ function addFile()
# port=`node $config_server/get_project_config.js -name $project -attr port`
# addFile $project $port $filename
#done
projects_of_out_proxy=( gu-bei activity-op op-api spider-center di-ting merchant-backend cash-loan-flow xyqb xyqb-quartz xyqb-query qgbc-ui bt-ui xyqb-ui xyqb-user-ui xyqb-mall )
projects_of_out_proxy=( activity-ui gu-bei activity-op op-api spider-center di-ting merchant-backend cash-loan-flow xyqb xyqb-quartz xyqb-query qgbc-ui bt-ui xyqb-user2 xyqb-ui xyqb-user-ui xyqb-mall )
for ip_last in ${ips[@]}
......
......@@ -47,6 +47,7 @@ add_exchange /black_hole contractExchange direct
add_exchange /funding assignment direct
add_exchange /loan_order loan_order_exchange fanout
add_exchange baitiao_debt baitiaodebt_orderinfo direct
add_exchange baitiao_debt baitiao_debt direct
add_exchange financial_system fs direct
add_exchange mall digital direct
add_exchange offline Spider direct
......@@ -60,6 +61,8 @@ add_exchange /pay_center paycenter_exchange direct
add_exchange backend backend_message_rewrite_exc direct
add_exchange backend backend_file_exc direct
add_exchange /funding async direct
add_exchange spider_center feature_save direct
#add queues
add_queues /black_hole contractQueue
......@@ -78,6 +81,7 @@ add_queues financial_system loan_info
add_queues financial_system xyqb
add_queues financial_system xyqbInfoForRedpacketQueue
add_queues financial_system xyqbPay
add_queues financial_system xyqbLoanInfo
add_queues mall deliver
add_queues mall mallOrder
add_queues mall refund
......@@ -107,10 +111,16 @@ add_queues backend backend_message_rewrite_queue
add_queues backend backend_file_queue
add_queues /loan_order ka_loan_progress_queue
add_queues /funding generate_contract
add_queues baitiao_debt xyqb_baitiao_queue
add_queues /black_hole generate_auth_success
add_queues /black_hole waiting_auth_generate
add_queues spider_center feature_calculate
#add bindings
add_binding backend backend_message_rewrite_exc backend_message_rewrite_queue backend_message_rewrite_route
add_binding backend backend_file_exc backend_file_queue backend_file_route
add_binding /black_hole contract generate_auth_success generate_auth_success
add_binding /black_hole contract waiting_auth_generate waiting_auth_generate
add_binding /black_hole contract generate_success generate_success
add_binding /black_hole contract waiting_generate waiting_generate
#bin/bash
redis-server redis1.conf
redis-server redis2.conf
redis-server redis3.conf
redis-server redis4.conf
redis-server redis5.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