Merge "convert openstack to external tasks"
authorSteve Smokowski <ss835w@att.com>
Mon, 30 Mar 2020 12:43:56 +0000 (12:43 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 30 Mar 2020 12:43:56 +0000 (12:43 +0000)
1  2 
adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/vnf/MsoVnfAdapterImpl.java

@@@ -1048,11 -1087,12 +1085,12 @@@ public class MsoVnfAdapterImpl implemen
                  }
                  if (msoHeatUtils != null) {
                      heatStack = msoHeatUtils.createStack(cloudSiteId, cloudOwner, tenantId, vfModuleName, null,
-                             template, goldenInputs, true, heatTemplate.getTimeoutMinutes(), newEnvironmentString,
-                             nestedTemplatesChecked, heatFilesObjects, backout.booleanValue(), failIfExists);
+                             template, goldenInputs, pollForCompletion, heatTemplate.getTimeoutMinutes(),
+                             newEnvironmentString, nestedTemplatesChecked, heatFilesObjects, backout.booleanValue(),
+                             failIfExists);
                      if (msoRequest.getRequestId() != null) {
                          msoHeatUtils.updateResourceStatus(msoRequest.getRequestId(),
 -                                heatStack.isOperationPerformed() ? VF_EXIST_STATUS_MESSAGE : VF_CREATED_STATUS_MESSAGE);
 +                                heatStack.isOperationPerformed() ? VF_CREATED_STATUS_MESSAGE : VF_EXIST_STATUS_MESSAGE);
                      }
                  } else {
                      throw new MsoHeatNotFoundException();