diff --git a/SOL003/VNFPackageManagement-API/VNFPackageArtifacts.robot b/SOL003/VNFPackageManagement-API/VNFPackageArtifacts.robot index 946193f6356c7c9659986b63d444cb3f1abf8d67..2d8d1e99c22f278a21ee4cbb2df614a25321354f 100644 --- a/SOL003/VNFPackageManagement-API/VNFPackageArtifacts.robot +++ b/SOL003/VNFPackageManagement-API/VNFPackageArtifacts.robot @@ -399,4 +399,17 @@ Get VNF Package Artifact with "include_external_artifacts" parameter ... Post-Conditions: none Get Artifact in VNF Package with include_external_artifacts parameter Check HTTP Response Status Code Is 200 + Check HTTP Response Header Content-Type Is application/zip + +Get OnBoarded VNF Package Artifact with "include_external_artifacts" parameter + [Documentation] Test ID: 7.3.3.11.17 + ... Test title: Get OnBoarded VNF Package Artifact with "include_external_artifacts" parameter + ... Test objective: The objective is to test that the GET request read the whole content of the archive containing the external OnBoarded VNF Package Artifacts successfully when requested with "include_external_artifacts" parameter + ... Pre-conditions: One or more VNF packages are onboarded in the NFVO. + ... Reference: Clause 10.4.5a.3.2 - ETSI GS NFV-SOL 003 [1] v3.3.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + Get Artifact in OnBoarded VNF Package with include_external_artifacts parameter + Check HTTP Response Status Code Is 200 Check HTTP Response Header Content-Type Is application/zip \ No newline at end of file diff --git a/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot b/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot index 398dc75cdb1f51da0503d44ac6b2fb3778190028..d8fff8432718abfb84b2bcfb7d94e9552ff8c193 100644 --- a/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot +++ b/SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot @@ -1454,6 +1454,14 @@ Get Artifact in OnBoarded VNF Package with exclude_all_non_mano_artifacts parame ${output}= Output response Set Suite Variable ${response} ${output} +Get Artifact in OnBoarded VNF Package with include_external_artifacts parameter + Log Trying to get Artifact in OnBoarded VNF Package with include_external_artifacts + Set Headers {"Accept": "${ACCEPT_ZIP}"} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} + GET ${apiRoot}/${apiName}/${apiMajorVersion}/onboarded_vnf_packages/${vnfPackageId}/artifacts/include_external_artifacts + ${output}= Output response + Set Suite Variable ${response} ${output} + Get Artifact in OnBoarded VNF Package with select_non_mano_artifact_sets parameter Log Trying to get Artifact in OnBoarded VNF Package with security certificates Pass Execution If ${NFVO_non-MANO_OK} == 0 Skipping this test as NFVO is not able to handle partial Requests.