From: Smokowski, Steven Date: Wed, 4 Mar 2020 15:57:32 +0000 (-0500) Subject: mso to store the heat template timeout minutes and X-Git-Tag: 1.6.1~93^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F103023%2F1;p=so.git mso to store the heat template timeout minutes and Update timeout value of artifact on distrobution Update timeout value of artifact on distrobution Issue-ID: SO-2700 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Ibb99897911b018bc611ae7f1d4473bb423e8827e --- diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java b/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java index 3175839725..1c7ebb7d9a 100644 --- a/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java +++ b/asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java @@ -1297,6 +1297,9 @@ public class ToscaResourceInstaller { heatTemplate.setParameters(heatParam); vfModuleArtifact.setHeatTemplate(heatTemplate); } else { + if (vfModuleArtifact.getArtifactInfo().getArtifactTimeout() != null) { + existingHeatTemplate.setTimeoutMinutes(vfModuleArtifact.getArtifactInfo().getArtifactTimeout()); + } vfModuleArtifact.setHeatTemplate(existingHeatTemplate); } }