aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarun chapagain <arun.chapagain@huawei.com>2020-09-29 13:55:57 +0530
committerarun chapagain <arun.chapagain@huawei.com>2020-09-29 13:55:57 +0530
commit84a923239e51bee1cbdc1c878a6bccb2384564a5 (patch)
tree42cf4c13904f418a47a925662e0660034e16dc28
parent9a0dc7df054f5fb5abe2647a0c22b3eba6c83897 (diff)
Adding Helm type
Issue-ID: SO-3080 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: I4908cb73fd960b3573a607a4a56c15fa423e5336
-rw-r--r--asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCConfiguration.java4
-rw-r--r--asdc-controller/src/main/java/org/onap/so/asdc/installer/VfResourceStructure.java1
2 files changed, 4 insertions, 1 deletions
diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCConfiguration.java b/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCConfiguration.java
index c69800d640..c2b3ffddca 100644
--- a/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCConfiguration.java
+++ b/asdc-controller/src/main/java/org/onap/so/asdc/client/ASDCConfiguration.java
@@ -57,9 +57,11 @@ public class ASDCConfiguration implements IConfiguration {
public static final String WORKFLOW = "WORKFLOW";
public static final String VF_MODULES_METADATA = "VF_MODULES_METADATA";
public static final String CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT = "CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT";
+ public static final String HELM = "HELM";
+
private static final String[] SUPPORTED_ARTIFACT_TYPES = {HEAT, HEAT_ARTIFACT, HEAT_ENV, HEAT_NESTED, HEAT_NET,
- HEAT_VOL, OTHER, TOSCA_CSAR, VF_MODULES_METADATA, WORKFLOW, CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT};
+ HEAT_VOL, OTHER, TOSCA_CSAR, VF_MODULES_METADATA, WORKFLOW, CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT, HELM};
public static final List<String> SUPPORTED_ARTIFACT_TYPES_LIST =
diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/installer/VfResourceStructure.java b/asdc-controller/src/main/java/org/onap/so/asdc/installer/VfResourceStructure.java
index f5b0e17cf5..1b5463211c 100644
--- a/asdc-controller/src/main/java/org/onap/so/asdc/installer/VfResourceStructure.java
+++ b/asdc-controller/src/main/java/org/onap/so/asdc/installer/VfResourceStructure.java
@@ -119,6 +119,7 @@ public class VfResourceStructure extends ResourceStructure {
case ASDCConfiguration.HEAT_NET:
case ASDCConfiguration.OTHER:
case ASDCConfiguration.CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT:
+ case ASDCConfiguration.HELM:
artifactsMapByUUID.put(artifactInfo.getArtifactUUID(), vfModuleArtifact);
break;
case ASDCConfiguration.VF_MODULES_METADATA: