Fix LCM migrate issue 15/116015/1
authorMarcin Wilk <m.wilk@samsung.com>
Thu, 3 Dec 2020 10:32:26 +0000 (11:32 +0100)
committerMarcin Wilk <m.wilk@samsung.com>
Thu, 3 Dec 2020 15:03:28 +0000 (15:03 +0000)
commitc7e1c9c4d24314709c3ac5ed12bc2d4b462c5173
tree052db7db2000993296fecebac83fb7c6dbd7f33a
parente909aac2440873ea6125f6a079deafb8e1831174
Fix LCM migrate 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-1912
Signed-off-by: Marcin Wilk <m.wilk@samsung.com>
Change-Id: I5e47a789ae8529ce461326fe25003362a4e42ec5
(cherry picked from commit 7c8a9e1f3b759089c935231cb7d2d950429b33a3)
appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/MigrateServer.java