From 669c984de1c9b0dcf1dcd25e62ac611e4d3ff1c3 Mon Sep 17 00:00:00 2001 From: eleonorali Date: Tue, 17 Apr 2018 13:48:25 +0300 Subject: 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 --- .../features/TOSCA/HeatToToscaTranslation.feature | 20 +++++++++++++++++++- .../resources/uploads/volumeUnderNested.zip | Bin 0 -> 2381 bytes 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 openecomp-bdd/resources/uploads/volumeUnderNested.zip (limited to 'openecomp-bdd') 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 Binary files /dev/null and b/openecomp-bdd/resources/uploads/volumeUnderNested.zip differ -- cgit 1.2.3-korg