Commit 4a7520c4 authored by Sana Zulfiqar's avatar Sana Zulfiqar Committed by Giacomo Bernini
Browse files

added TD for onboarded_vnf_packages

parent 5f3d5c8f
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -400,3 +400,16 @@ Get VNF Package Artifact with "include_external_artifacts" parameter
    Get Artifact in VNF Package with include_external_artifacts parameter
    Get Artifact in VNF Package with include_external_artifacts parameter
    Check HTTP Response Status Code Is    200
    Check HTTP Response Status Code Is    200
    Check HTTP Response Header Content-Type Is    application/zip
    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
+8 −0
Original line number Original line Diff line number Diff line
@@ -1454,6 +1454,14 @@ Get Artifact in OnBoarded VNF Package with exclude_all_non_mano_artifacts parame
    ${output}=    Output    response
    ${output}=    Output    response
    Set Suite Variable    ${response}    ${output}
    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
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
    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.
    Pass Execution If    ${NFVO_non-MANO_OK} == 0    Skipping this test as NFVO is not able to handle partial Requests.