Fix LCM evacuate issue 13/116113/1
authorMarcin Wilk <m.wilk@samsung.com>
Fri, 4 Dec 2020 12:24:43 +0000 (13:24 +0100)
committerMarcin Wilk <m.wilk@samsung.com>
Mon, 7 Dec 2020 07:13:41 +0000 (07:13 +0000)
commit38c36ae1a3d1d40837087096a2b2df1a33f6c0b5
tree71ad358c48d56d8dd0656ce1e46533dacb10a4f6
parentf585617948d997bd64fefd474c18fb965689f102
Fix LCM evacuate issue

The code was missing reset() call on RequestContext prior
calling the waitForStateChange, which relies on the reset attempt
value. As a result, the code didn't wait for the VM status change.

Issue-ID: APPC-1913
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: Ib80bb154e6380dd6a90077179db41117ec74e31b
(cherry picked from commit 443c060154392b18cd3bd358cafd6a643636eba6)
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/EvacuateServer.java