Commit 9105303c authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

new test cases added in VNFDInIndividualVNFPackage

parent 6bd0756e
......@@ -258,3 +258,29 @@ DELETE VNFD in Individual OnBoarded VNF Package Content - Method not implemented
Send DELETE Request for VNFD in individual OnBoarded VNF Package
Check HTTP Response Status Code Is 405
Check Postcondition VNFD Exist
Get multi file VNFD in Individual VNF Package with security information
[Documentation] Test ID: 7.3.3.4.23
... Test title: Get multi file VNFD in Individual VNF Package with security information
... Test objective: The objective is to test the retrieval of the multi file VNFD for an individual VNF package shall include in the ZIP archive the security information when requested with "include_signature" parameter, and perform a validation that returned content is in Zip format
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
... Reference: Clause 10.4.4.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: The VNFD is implemented as a multi file
... Post-Conditions: none
Get multi file VNFD in Individual VNF Package with security information
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
Get multi file VNFD in Individual OnBoarded VNF Package with security information
[Documentation] Test ID: 7.3.3.4.24
... Test title: Get multi file VNFD in Individual OnBoarded VNF Package with security information
... Test objective: The objective is to test the retrieval of the multi file VNFD for an individual OnBoarded VNF package shall include in the ZIP archive the security information when requested with "include_signature" parameter, and perform a validation that returned content is in Zip format
... Pre-conditions: One or more VNF packages are onboarded in the NFVO.
... Reference: Clause 10.4.4.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_NFVO
... Applicability: The VNFD is implemented as a multi file
... Post-Conditions: none
Get multi file VNFD in Individual OnBoarded VNF Package with security information
Check HTTP Response Status Code Is 200
Check HTTP Response Header Content-Type Is application/zip
......@@ -1148,3 +1148,21 @@ Check Postcondition OnBoarded VNF Package Artifact Exist
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/onboarded_vnf_packages/${vndId}/artifacts/${artifactPath}
Check HTTP Response Status Code Is 200
Get multi file VNFD in Individual OnBoarded VNF Package with security information
Log Trying to get a VNFD from a given OnBoarded VNF Package present in the NFVO Catalogue
Set Headers {"Accept": "${ACCEPT_PLAIN}"}
Set Headers {"Accept": "${ACCEPT_ZIP}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/onboarded_vnf_packages/${vndId}/vnfd/include_signatures
${output}= Output response
Set Suite Variable ${response} ${output}
Get multi file VNFD in Individual VNF Package with security information
Log Trying to get a VNFD from a given VNF Package present in the NFVO Catalogue
Set Headers {"Accept": "${ACCEPT_PLAIN}"}
Set Headers {"Accept": "${ACCEPT_ZIP}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"}
GET ${apiRoot}/${apiName}/${apiVersion}/vnf_packages/${vnfPkgZipVNFD}/vnfd/include_signatures
${output}= Output response
Set Suite Variable ${response} ${output}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment