summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/dmaap-buscontroller/init-mock-drps.sh
blob: e0f1d0f195a5338b73cd9a4b526c2008987c9026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# $1 is the IP address of the DRPS (Data Router Provisioning Server) mock server

curl -v -X PUT -d @- http://$1:1080/expectation << EOF
{
	"httpRequest": {
		"method": "GET",
		"path": "/hello"
	},
	"httpResponse": {
		"body": "Hello world!",
		"statusCode": 200
	}
}
EOF