summaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/features/Example_VSP.feature
diff options
context:
space:
mode:
authorilanap <ilanap@amdocs.com>2019-01-01 17:22:07 +0200
committerOren Kleks <orenkle@amdocs.com>2019-01-02 12:37:08 +0000
commit866418030975f2ee09a27d144de4e880218e84e8 (patch)
tree70a329025f0c382b658c667813dd4f9183e6e98e /openecomp-bdd/features/Example_VSP.feature
parent9da0b14bb0a0321f08458ba7b9148336e00d77d3 (diff)
docker for cucumber BDD
Issue-ID: SDC-2028 Change-Id: I7c1376c449ba7650c3bbc1838726cfd178d2ca40 Signed-off-by: ilanap <ilanap@amdocs.com>
Diffstat (limited to 'openecomp-bdd/features/Example_VSP.feature')
-rw-r--r--openecomp-bdd/features/Example_VSP.feature60
1 files changed, 0 insertions, 60 deletions
diff --git a/openecomp-bdd/features/Example_VSP.feature b/openecomp-bdd/features/Example_VSP.feature
deleted file mode 100644
index 5cffa585c5..0000000000
--- a/openecomp-bdd/features/Example_VSP.feature
+++ /dev/null
@@ -1,60 +0,0 @@
-Feature: VSP Example File
-
- Background: Init
- Given I want to create a VLM
-
- Scenario: Create and submit VSP Network Package
- When I want to create a VSP with onboarding type "NetworkPackage"
- Then I want to make sure this Item has status "Draft"
-
- When I want to upload a NetworkPackage for this VSP from path "resources/uploads/BASE_MUX.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 make sure this Item has status "Certified"
- When I want to get the package for this Item to path "resources/downloads/VSPPackage.zip"
- Then I want to compare the content of the entry "Artifacts/CB_BASE.yaml" in the zip "resources/downloads/VSPPackage.zip" with file "resources/yaml/CB_BASE.yaml"
- When I want to load the yaml content of the entry "Artifacts/CB_BASE.yaml" in the zip "resources/downloads/VSPPackage.zip" to context
- Then I want to check property "parameters.vnf_name.description" for value "Unique name for this VF instance"
- When I want to load the json content of the entry "Artifacts/MANIFEST.json" in the zip "resources/downloads/VSPPackage.zip" to context
- Then I want to check property "description" for value "for testing"
- Scenario: Create VSP Manual
- When I want to create a VSP with onboarding type "Manual"
- Then I want to make sure this Item has status "Draft"
-
- When I want to create a VSP with onboarding type "Manual"
- Then I want to get path "/vendor-software-products/{item.id}/versions/{item.versionId}"
-
- When I want to get path "/vendor-software-products/{item.id}/versions/{item.versionId}/components"
- Then I want to check property "listCount" for value 0
-
- When I want to add a component
- Then I want to get path "/vendor-software-products/{item.id}/versions/{item.versionId}/components"
- Then I want to check property "listCount" for value 1
-
- Then I want the following to fail with error code "VSP_VFC_COUNT_EXCEED"
- When I want to add a component
-
- Then I want to commit this Item
- Then I want the following to fail
- When I want to submit this VSP
-
-
- Scenario: VSP Questionnaire Examples
- Given I want to create a VSP with onboarding type "Manual"
-
- When I want to get the questionnaire for this item
-
- When I want to add a component
- Then I want to get path "/vendor-software-products/{item.id}/versions/{item.versionId}/components"
- Then I want to check property "listCount" for value 1
-
- Then I want to get the questionnaire for this item
- And I want to update this questionnaire with value "15" for property "general/storageDataReplication/storageReplicationSize"
- And I want to update this questionnaire
-
- When I want to get the questionnaire for this item
- Then I want to check this questionnaire has value "15" for property "general/storageDataReplication/storageReplicationSize" \ No newline at end of file