Code Review
/
integration
/
csit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add snapshot version to the csit docker instance
[integration/csit.git]
/
scripts
/
dmaap-buscontroller
/
init-mock-drps.sh
1
#!/bin/bash
2
3
# $1 is the IP address of the DRPS (Data Router Provisioning Server) mock server
4
5
curl -v -X PUT -d @- http://$1:1080/expectation << EOF
6
{
7
"httpRequest": {
8
"method": "GET",
9
"path": "/hello"
10
},
11
"httpResponse": {
12
"body": "Hello world!",
13
"statusCode": 200
14
}
15
}
16
EOF
17