summaryrefslogtreecommitdiffstats
path: root/asdc-controller/src
diff options
context:
space:
mode:
authorSmokowski, Steven <steve.smokowski@att.com>2020-03-04 10:57:32 -0500
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-03-04 10:57:33 -0500
commit64ddfcc11cdbc6994d685dd2c6029cb289e860f8 (patch)
tree214af2494ba6e76743aa81b9faf703e17e60ba6f /asdc-controller/src
parent97e7341e1206442f286900a3441bda96430e43b3 (diff)
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) <mb388a@att.com> Change-Id: Ibb99897911b018bc611ae7f1d4473bb423e8827e
Diffstat (limited to 'asdc-controller/src')
-rw-r--r--asdc-controller/src/main/java/org/onap/so/asdc/installer/heat/ToscaResourceInstaller.java3
1 files changed, 3 insertions, 0 deletions
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);
}
}