Provide wrapper functions for issuing k8splugin API calls 46/91146/2
authorKonrad Bańka <k.banka@samsung.com>
Wed, 10 Jul 2019 10:11:32 +0000 (12:11 +0200)
committerKonrad Bańka <k.banka@samsung.com>
Mon, 15 Jul 2019 12:45:46 +0000 (14:45 +0200)
commit670a20f33a2b741a6a5e7c7c4f7dfc9e16378a75
treee6a0712872e750d494c71fe7758211f962524a37
parentd0182270d9169c4928bdbdefc5b83b67ff3b457e
Provide wrapper functions for issuing k8splugin API calls

In plugin.sh and plugin_edgex.sh test scenarios, there are
executed many curl calls to API endpoint. As curl's default
behavior for handling 4xx and 5xx status code is not perfect,
wrapper functions have been created to easily ensure correctness
of issued API call.

Issue-ID: MULTICLOUD-686

Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I0c6dd5e4f896972245a6fa6c8c2a10d8df8ec406
kud/tests/_functions.sh