Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
d8ef4fce
Commit
d8ef4fce
authored
May 15, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add rbmq bindings command
parent
ec8a959e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+1
-1
initial_mq.sh
qa_shell_script/rabbitmq/initial_mq.sh
+12
-2
No files found.
qa_shell_script/config_server/get_project_config.js
View file @
d8ef4fce
...
@@ -78,7 +78,7 @@ new pClass().init(true, "java", "7014", "du-jiang-yan", false, "QG", "du_jiang_y
...
@@ -78,7 +78,7 @@ new pClass().init(true, "java", "7014", "du-jiang-yan", false, "QG", "du_jiang_y
new
pClass
().
init
(
false
,
"
java
"
,
"
7051
"
,
"
msg
"
,
false
,
"
QG
"
,
"
msg.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
新版消息中心
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7051
"
,
"
msg
"
,
false
,
"
QG
"
,
"
msg.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
新版消息中心
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7052
"
,
"
xyqb-btzt
"
,
true
,
"
git@gitabc.xyqb.com:qg-op-backend/xyqb-btzt.git
"
,
"
xyqb-btzt.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
白条直投外部
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7052
"
,
"
xyqb-btzt
"
,
true
,
"
git@gitabc.xyqb.com:qg-op-backend/xyqb-btzt.git
"
,
"
xyqb-btzt.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
白条直投外部
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7053
"
,
"
xyqb-btzt-internal
"
,
true
,
"
git@gitabc.xyqb.com:qg-op-backend/xyqb-btzt-internal.git
"
,
"
xyqb-btzt-internal.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
白条直投内部
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7053
"
,
"
xyqb-btzt-internal
"
,
true
,
"
git@gitabc.xyqb.com:qg-op-backend/xyqb-btzt-internal.git
"
,
"
xyqb-btzt-internal.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
白条直投内部
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7060
"
,
"
xyqb-backend
"
,
true
,
"
git@gitabc.xyqb.com:qg-op-backend/xyqb-backend.git
"
,
"
xyqb
_
backend.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
运营系统服务
"
,
""
);
new
pClass
().
init
(
false
,
"
java
"
,
"
7060
"
,
"
xyqb-backend
"
,
true
,
"
git@gitabc.xyqb.com:qg-op-backend/xyqb-backend.git
"
,
"
xyqb
-
backend.log
"
,
"
application.properties
"
,
null
,
null
,
2
,
"
运营系统服务
"
,
""
);
// new pClass(true,"java","7027","sms-center","QG","sms-center.log",null,null,null,"短信中心-server");
// new pClass(true,"java","7027","sms-center","QG","sms-center.log",null,null,null,"短信中心-server");
// ui----
// ui----
// projectName,projectType,port,gitPath,logName,configFile,command,nodeVersion
// projectName,projectType,port,gitPath,logName,configFile,command,nodeVersion
...
...
qa_shell_script/rabbitmq/initial_mq.sh
View file @
d8ef4fce
...
@@ -17,6 +17,10 @@ function add_queues()
...
@@ -17,6 +17,10 @@ function add_queues()
/home/qa-deploy-utils/qa_shell_script/rabbitmq/rabbitmqadmin
declare
queue
--vhost
=
$1
name
=
$2
durable
=
true
-u
qa
-p
qatest
/home/qa-deploy-utils/qa_shell_script/rabbitmq/rabbitmqadmin
declare
queue
--vhost
=
$1
name
=
$2
durable
=
true
-u
qa
-p
qatest
}
}
function
add_binding
()
{
/home/qa-deploy-utils/qa_shell_script/rabbitmq/rabbitmqadmin
--vhost
=
$1
declare
binding
source
=
$2
destination
=
$3
routing_key
=
$4
-u
qa
-p
qatest
}
#ad vhost
#ad vhost
add_vhost /
add_vhost /
...
@@ -52,9 +56,9 @@ add_exchange xyqb_push events direct
...
@@ -52,9 +56,9 @@ add_exchange xyqb_push events direct
add_exchange bt_loan bt_loan_exchange direct
add_exchange bt_loan bt_loan_exchange direct
add_exchange baitiao_debt baitiaodebt_orderinfo direct
add_exchange baitiao_debt baitiaodebt_orderinfo direct
add_exchange baitiao_qrcode qrcode fanout
add_exchange baitiao_qrcode qrcode fanout
add_exchange bt_loan_exchange driect
add_exchange /pay_center paycenter_exchange direct
add_exchange /pay_center paycenter_exchange direct
add_exchange backend backend_message_rewrite_exc direct
add_exchange backend backend_file_exc direct
#add queues
#add queues
add_queues /black_hole contractQueue
add_queues /black_hole contractQueue
add_queues /black_hole generate_success
add_queues /black_hole generate_success
...
@@ -96,4 +100,10 @@ add_queues /black_hole waiting_mult_generate
...
@@ -96,4 +100,10 @@ add_queues /black_hole waiting_mult_generate
add_queues financial_system xyqb
add_queues financial_system xyqb
add_queues /pay_center withhold_single_service_fee_queue
add_queues /pay_center withhold_single_service_fee_queue
add_queues /pay_center result_single_service_fee_queue
add_queues /pay_center result_single_service_fee_queue
add_queues backend backend_message_rewrite_queue
add_queues backend backend_file_queue
#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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment