From 62b8b1254aff20a874a2867fda42bbaf3bb1b193 Mon Sep 17 00:00:00 2001 From: dglFromAtt Date: Sat, 3 Mar 2018 11:57:29 -0500 Subject: Initial CSIT framework for dmaap/buscontroller Change-Id: I068ccaafbeeea0d08949e83cccac56a238901aa3 Signed-off-by: dglFromAtt Issue-ID: DMAAP-318 --- test/csit/scripts/dmaap-buscontroller/init-mock-drps.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 test/csit/scripts/dmaap-buscontroller/init-mock-drps.sh (limited to 'test/csit/scripts/dmaap-buscontroller/init-mock-drps.sh') diff --git a/test/csit/scripts/dmaap-buscontroller/init-mock-drps.sh b/test/csit/scripts/dmaap-buscontroller/init-mock-drps.sh new file mode 100755 index 000000000..e0f1d0f19 --- /dev/null +++ b/test/csit/scripts/dmaap-buscontroller/init-mock-drps.sh @@ -0,0 +1,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 + -- cgit 1.2.3-korg