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
f1788542
Commit
f1788542
authored
Dec 08, 2017
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
e013df4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
initial_mq.sh
qa_shell_script/rabbitmq/initial_mq.sh
+5
-0
No files found.
qa_shell_script/rabbitmq/initial_mq.sh
View file @
f1788542
...
@@ -13,5 +13,10 @@ response=$(curl -X GET -H "Authorization: Basic cmFiYml0X2FkbWluOmFiYzEyMzQ=" "h
...
@@ -13,5 +13,10 @@ response=$(curl -X GET -H "Authorization: Basic cmFiYml0X2FkbWluOmFiYzEyMzQ=" "h
for
ip_last_num
in
$project_path
for
ip_last_num
in
$project_path
do
do
IP_host
=
`
sh
$pwd_path_0
/get-ip.sh
$ip_last_num
`
IP_host
=
`
sh
$pwd_path_0
/get-ip.sh
$ip_last_num
`
echo
curl
-X
POST
-H
"Content-Type: application/json"
-H
"Authorization: Basic cWE6cWF0ZXN0"
-d
$response
"http://
$IP_host
:15672/api/definitions"
curl
-X
POST
-H
"Content-Type: application/json"
-H
"Authorization: Basic cWE6cWF0ZXN0"
-d
$response
"http://
$IP_host
:15672/api/definitions"
curl
-X
POST
-H
"Content-Type: application/json"
-H
"Authorization: Basic cWE6cWF0ZXN0"
-d
$response
"http://
$IP_host
:15672/api/definitions"
if
[
$?
!=
0
]
;
then
echo
"curl
$IP_host
failed"
exit
-1
fi
done
done
\ No newline at end of file
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