Add cleanup step to dcm_call_api.sh test script 72/110572/6
authorIgor D.C <igor.duarte.cardoso@intel.com>
Mon, 20 Jul 2020 18:16:15 +0000 (18:16 +0000)
committerIgor D.C <igor.duarte.cardoso@intel.com>
Wed, 29 Jul 2020 20:01:37 +0000 (20:01 +0000)
commit715787e1e9c995f86b0ac57f0e1f22f119298038
tree5297342489d88c3e5bf604bfcedeb83bc838b602
parent783ed87fb39a8aa25e303e97aff2170dca059068
Add cleanup step to dcm_call_api.sh test script

dcm_call_api.sh exercises some DCM API calls.
This patch adds an optional cleanup phase where it
also exercises the API calls to delete resources.

Plus added two extra GET calls for individual clusters
and minor tweaks like set DCM port to 9077 (prevent
conflict with orchestrator).

Issue-ID: MULTICLOUD-1143
Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
Change-Id: I7a00edb5c986b26ec4be739bf8b01ac362abec90
src/dcm/test/dcm_call_api.sh