SIROV - add parent heat name for volume 17/43317/2
authoreleonorali <eleonoral@amdocs.com>
Tue, 17 Apr 2018 10:48:25 +0000 (13:48 +0300)
committerAvi Gaffa <avi.gaffa@amdocs.com>
Sun, 22 Apr 2018 13:50:03 +0000 (13:50 +0000)
SIROV - add Low Test for Volume associated to Nested

Change-Id: I9ea70d27be7b87eb12205f8f94eaa193d22957e3
Issue-ID: SDC-996
Signed-off-by: eleonorali <eleonoral@amdocs.com>
openecomp-bdd/features/TOSCA/HeatToToscaTranslation.feature
openecomp-bdd/resources/uploads/volumeUnderNested.zip [new file with mode: 0644]

index 3eca123..ff2ed5a 100644 (file)
@@ -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 (file)
index 0000000..01798a5
Binary files /dev/null and b/openecomp-bdd/resources/uploads/volumeUnderNested.zip differ