summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-bdd')
-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