aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/simulator.sh
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2018-08-02 13:40:25 +0200
committerMarcin Migdal <marcin.migdal@nokia.com>2018-08-02 14:06:51 +0200
commitffd526656aad91b3bf165eea90bc158b3dc3e4fd (patch)
tree18437ee9f1ee79a4c618a991a7b67d239cf63ad1 /test/mocks/pnfsimulator/simulator.sh
parentcbb3d888e8264023e891298c69fdcccc32e09bd4 (diff)
Preparing simulator for INT-607
Change-Id: Ibc5b9be98f46e699398a29a981053435bc09dc2a Issue-ID: INT-607 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'test/mocks/pnfsimulator/simulator.sh')
-rwxr-xr-xtest/mocks/pnfsimulator/simulator.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mocks/pnfsimulator/simulator.sh b/test/mocks/pnfsimulator/simulator.sh
index cf16e2400..a1d7c0f23 100755
--- a/test/mocks/pnfsimulator/simulator.sh
+++ b/test/mocks/pnfsimulator/simulator.sh
@@ -89,14 +89,14 @@ function stop(){
function run_simulator(){
cat << EndOfMessage
Simulator response:
-$(curl -s -X POST -H "Content-Type: application/json" -d @config/config.json $SIMULATOR_START_URL | json_pp)
+$(curl -s -X POST -H "Content-Type: application/json" -H "X-ONAP-RequestID: 123" -H "X-InvocationID: 456" -d @config/config.json $SIMULATOR_START_URL)
EndOfMessage
}
function stop_simulator(){
cat << EndOfMessage
Simulator response:
-$(curl -s -X POST $SIMULATOR_STOP_URL | json_pp)
+$(curl -s -X POST $SIMULATOR_STOP_URL)
EndOfMessage
}
@@ -114,7 +114,7 @@ cat << EndOfMessage
$(docker-compose -f $RUNNING_COMPOSE_CONFIG ps)
Simulator response:
-$(curl -s -X GET $SIMULATOR_STATUS_URL | json_pp)
+$(curl -s -X GET $SIMULATOR_STATUS_URL)
EndOfMessage
}