aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreleonorali <eleonoral@amdocs.com>2018-04-17 13:48:25 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-04-22 13:50:03 +0000
commit669c984de1c9b0dcf1dcd25e62ac611e4d3ff1c3 (patch)
tree1bfddfd0ac4aaa6fbfe6d6e9a7e43818c64ebf7c
parent5fbe9fa818ce9a3f254501615bb6cad8a5e5e2cb (diff)
SIROV - add parent heat name for volume
SIROV - add Low Test for Volume associated to Nested Change-Id: I9ea70d27be7b87eb12205f8f94eaa193d22957e3 Issue-ID: SDC-996 Signed-off-by: eleonorali <eleonoral@amdocs.com>
-rw-r--r--openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature20
-rw-r--r--openecomp-bdd/resources/uploads/volumeUnderNested.zipbin0 -> 2381 bytes
2 files changed, 19 insertions, 1 deletions
diff --git a/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature b/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature
index 3eca1235b1..ff2ed5a473 100644
--- a/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature
+++ b/openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature
@@ -55,7 +55,7 @@ Feature: Tosca Validation Flow
Then I want to create a VF for this Item
- Scenario: Validate Input parameter for volume file
+ Scenario: Validate Input parameter for volume HEAT file
When I want to create a VSP with onboarding type "NetworkPackage"
Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/annotationMultVolume.zip"
@@ -103,6 +103,24 @@ Feature: Tosca Validation Flow
Then I want to create a VF for this Item
+ Scenario: Validate Input parameter - annotation was no added for Volume associated to Nested
+
+ When I want to create a VSP with onboarding type "NetworkPackage"
+
+ Then I want to upload a NetworkPackage for this VSP from path "resources/uploads/volumeUnderNested.zip"
+ And I want to process the NetworkPackage file for this VSP
+
+ Then I want to commit this Item
+ And I want to submit this VSP
+ And I want to package this VSP
+
+ Then I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
+
+ When I want to load the yaml content of the entry "Definitions/nestedServiceTemplate.yaml" in the zip "resources/downloads/VSPPackage.zip" to context
+ Then I want to check property "topology_template.inputs.CMAUI_volume_type.annotations" does not exist
+
+ Then I want to create a VF for this Item
+
Scenario: Validate Input parameter - annotation was not added
When I want to create a VSP with onboarding type "NetworkPackage"
diff --git a/openecomp-bdd/resources/uploads/volumeUnderNested.zip b/openecomp-bdd/resources/uploads/volumeUnderNested.zip
new file mode 100644
index 0000000000..01798a5723
--- /dev/null
+++ b/openecomp-bdd/resources/uploads/volumeUnderNested.zip
Binary files differ