From: Arthur Martella Date: Mon, 9 Oct 2017 16:54:58 +0000 (-0400) Subject: Change if condition to not always be false X-Git-Tag: v1.1.0~174 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4f33a7ce0304fa7a2f1b6c584035c92f1b41303e;p=so.git Change if condition to not always be false Issue: SO-197 Change-Id: I93f8ea9deaea5b2f08b34394fcf2b2362718ca43 Signed-off-by: Arthur Martella --- diff --git a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java index 24950db916..b6dddacd7c 100644 --- a/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java +++ b/asdc-controller/src/main/java/org/openecomp/mso/asdc/installer/heat/ToscaResourceInstaller.java @@ -98,6 +98,11 @@ public class ToscaResourceInstaller {// implements IVfResourceInstaller { throws ArtifactInstallerException { boolean status = false; VfResourceStructure vfResourceStructure = (VfResourceStructure)vfResourceStruct; + try { + status = vfResourceStructure.isDeployedSuccessfully(); + } catch (RuntimeException e) { + status = false; + } try {