From e92fce768cb792f11920f45fdbb38b3af69e212f Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Tue, 19 Jan 2021 12:32:04 -0500 Subject: Update to latest version Issue-ID: TEST-295 Signed-off-by: Jozsef Csongvai Change-Id: Ie14e2061c1e0931bf3d555e54c79bb736d140d5c --- .../test/remote-ansible/init-mockserver.sh | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100755 cds-regression-test/test/remote-ansible/init-mockserver.sh (limited to 'cds-regression-test/test/remote-ansible/init-mockserver.sh') diff --git a/cds-regression-test/test/remote-ansible/init-mockserver.sh b/cds-regression-test/test/remote-ansible/init-mockserver.sh deleted file mode 100755 index c737b9e..0000000 --- a/cds-regression-test/test/remote-ansible/init-mockserver.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash - -CBA_NAME="remote-ansible" -DIR_PAYLOADS="$TEST_DIRECTORY/$CBA_NAME/mock-payloads" - -# JOB TEMPLATE -echo "Mocking Job Template route..." -JT_PAYLOAD="job-template.json" -curl -v -X PUT "http://$MOCKSERVER_URL:$MOCKSERVER_PORT/mockserver/expectation" -d "@$DIR_PAYLOADS/$JT_PAYLOAD" - -# JOB TEMPLATE ERROR -echo "Mocking Job Template Error route..." -JT_ERR_PAYLOAD="job-template-error.json" -curl -v -X PUT "http://$MOCKSERVER_URL:$MOCKSERVER_PORT/mockserver/expectation" -d "@$DIR_PAYLOADS/$JT_ERR_PAYLOAD" - -# JOB TEMPLATE LAUNCH - GET -echo "Mocking Job Template Launch GET route..." -GET_JT_LAUNCH_PAYLOAD="get_job-template-launch.json" -curl -v -X PUT "http://$MOCKSERVER_URL:$MOCKSERVER_PORT/mockserver/expectation" -d "@$DIR_PAYLOADS/$GET_JT_LAUNCH_PAYLOAD" - -# JOB TEMPLATE LAUNCH -echo "Mocking Inventory route..." -INVENTORY_PAYLOAD="inventory.json" -curl -v -X PUT "http://$MOCKSERVER_URL:$MOCKSERVER_PORT/mockserver/expectation" -d "@$DIR_PAYLOADS/$INVENTORY_PAYLOAD" - -# JOB TEMPLATE LAUNCH - POST -echo "Mocking Job Template Launch POST route..." -POST_JT_LAUNCH_PAYLOAD="post_job-template-launch.json" -curl -v -X PUT "http://$MOCKSERVER_URL:$MOCKSERVER_PORT/mockserver/expectation" -d "@$DIR_PAYLOADS/$POST_JT_LAUNCH_PAYLOAD" - -# JOB EXECUTION -echo "Mocking Job Execution route..." -JOB_EXECUTION_PAYLOAD="job-execution.json" -curl -v -X PUT "http://$MOCKSERVER_URL:$MOCKSERVER_PORT/mockserver/expectation" -d "@$DIR_PAYLOADS/$JOB_EXECUTION_PAYLOAD" - -# JOB OUTPUT -echo "Mocking Job Output route..." -JOB_OUTPUT_PAYLOAD="job-output.json" -curl -v -X PUT "http://$MOCKSERVER_URL:$MOCKSERVER_PORT/mockserver/expectation" -d "@$DIR_PAYLOADS/$JOB_OUTPUT_PAYLOAD" -- cgit 1.2.3-korg