Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
integration
/
csit
/
0a594cf5cb96a31bf7e5abb0d00844db25fa7408
/
.
/
scripts
/
dmaap-buscontroller
/
init-mock-mrc.sh
blob: 75c1a419aa40f2221b746c03ffb4af220a8325d1 [
file
] [
log
] [
blame
]
#!/bin/bash
# $1 is the IP address of the MRC (MR Central) mock server
curl
-
v
-
X PUT
-
d
@-
http
://
$1
:
1080
/
expectation
<<
EOF
{
"httpRequest"
:
{
"method"
:
"GET"
,
"path"
:
"/hello"
},
"httpResponse"
:
{
"body"
:
"Hello world!"
,
"statusCode"
:
200
}
}
EOF