aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/main/java/org
diff options
context:
space:
mode:
authorarun chapagain <arun.chapagain@huawei.com>2020-10-31 17:03:39 +0530
committerarun chapagain <arun.chapagain@huawei.com>2020-10-31 20:20:56 +0530
commit3b15d4923c0432074460880b165e3c29264d668c (patch)
tree47a3b81440304db4651532618b2b6233fec78489 /asdc-controller/src/main/java/org
parent1757b2f9727591fd5907f43834dbe9f0b8261740 (diff)
ignore dummy file
Issue-ID: SO-3080 Signed-off-by: arun chapagain <arun.chapagain@huawei.com> Change-Id: Id037dde9eb1ab31f2b4b5c7993787f354b2fc75f
Diffstat (limited to 'asdc-controller/src/main/java/org')
-rw-r--r--asdc-controller/src/main/java/org/onap/so/asdc/installer/VfResourceStructure.java7
1 files changed, 7 insertions, 0 deletions
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 1b5463211c..6497a99e5e 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
@@ -120,6 +120,10 @@ public class VfResourceStructure extends ResourceStructure {
case ASDCConfiguration.OTHER:
case ASDCConfiguration.CLOUD_TECHNOLOGY_SPECIFIC_ARTIFACT:
case ASDCConfiguration.HELM:
+ if (artifactInfo.getArtifactName().contains("dummy")
+ && artifactInfo.getArtifactName().contains("ignore")) {
+ break;
+ }
artifactsMapByUUID.put(artifactInfo.getArtifactUUID(), vfModuleArtifact);
break;
case ASDCConfiguration.VF_MODULES_METADATA:
@@ -143,6 +147,9 @@ public class VfResourceStructure extends ResourceStructure {
return;
}
for (IVfModuleData vfModuleMeta : vfModulesMetadataList) {
+ if (vfModuleMeta.getVfModuleModelName().contains("dummy")
+ && vfModuleMeta.getVfModuleModelName().contains("ignore"))
+ continue;
vfModulesStructureList.add(new VfModuleStructure(this, vfModuleMeta));
}
setNumberOfResources(vfModulesMetadataList.size());