From 64ddfcc11cdbc6994d685dd2c6029cb289e860f8 Mon Sep 17 00:00:00 2001 From: "Smokowski, Steven" Date: Wed, 4 Mar 2020 10:57:32 -0500 Subject: 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 --- .../java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'asdc-controller/src') 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); } } -- cgit 1.2.3-korg