Commit 21de9fd2 authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

Updated test IDs in AccessConfig, ManifestInd, VNFPckgArtif due to collisions

parent 51473ece
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_veri

*** Test Cases ***
Get Access configuration for external artifacts
    [Documentation]    Test ID: 5.3.5.10.1
    [Documentation]    Test ID: 5.3.5.11.1
    ...    Test title: Get Access configuration for external artifacts
    ...    Test objective: The objective is to test the GET method reads the access configuration information that is used by the NFVO to get the content of external VNF package artifacts and perform a JSON schema and content validation of the collected data structure
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -20,7 +20,7 @@ Get Access configuration for external artifacts
    Check HTTP Response Body Json Schema Is   ExternalArtifactsAccessConfig

Get Access configuration for external artifacts - Not Found
    [Documentation]    Test ID: 5.3.5.10.2
    [Documentation]    Test ID: 5.3.5.11.2
    ...    Test title: Get Access configuration for external artifacts - Not Found
    ...    Test objective: The objective is to test that the retrieval of access configuration information that is used by the NFVO to get the content of external VNF package artifacts fails because resource is not present.
    ...    Pre-conditions: none
@@ -33,7 +33,7 @@ Get Access configuration for external artifacts - Not Found
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
PUT Access configuration for external artifacts 
    [Documentation]    Test ID: 5.3.5.10.3
    [Documentation]    Test ID: 5.3.5.11.3
    ...    Test title: Access configuration for external artifacts
    ...    Test objective: The objective is to test that PUT method provides the access configuration information for the NFVO to download the content of external VNF package artifacts.
    ...    Pre-conditions:  the individual VNF package resource shall have been created, and the value of "onboardingState" attribute shall equal to "CREATED" or "ERROR"
@@ -47,7 +47,7 @@ PUT Access configuration for external artifacts
    Check HTTP Response Body Json Schema Is   ExternalArtifactsAccessConfig
    
PUT Access configuration for external artifacts - Downloading
    [Documentation]    Test ID: 5.3.5.10.4
    [Documentation]    Test ID: 5.3.5.11.4
    ...    Test title: Access configuration for external artifacts - Downloading
    ...    Test objective: The objective is to test that VNF package has been uploaded successfully previously, to indicate that the access configuration information has been stored successfully by the NFVO and the NFVO now starts downloading external artifacts.
    ...    Pre-conditions:  the individual VNF package resource shall have been created, and the value of "onboardingState" attribute shall equal to "CREATED" or "ERROR"
@@ -60,7 +60,7 @@ PUT Access configuration for external artifacts - Downloading
    Check HTTP Response Status Code Is    202
    
PUT Access configuration for external artifacts - Conflict
    [Documentation]    Test ID: 5.3.5.10.5
    [Documentation]    Test ID: 5.3.5.11.5
    ...    Test title: Access configuration for external artifacts
    ...    Test objective: The objective is to test that PUT method provides the access configuration information for the NFVO to download the content of external VNF package artifacts.
    ...    Pre-conditions:  the individual VNF package resource shall have been created, and the value of "onboardingState" attribute is neither "CREATED" nor "ERROR"
@@ -73,7 +73,7 @@ PUT Access configuration for external artifacts - Conflict
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
POST Access configuration for external artifacts - Method not implemented
    [Documentation]    Test ID: 5.3.5.10.6
    [Documentation]    Test ID: 5.3.5.11.6
    ...    Test title: POST Access configuration for external artifacts - Method not implemented
    ...    Test objective: The objective is to test that POST method is not allowed to create access configuration for external artifacts
    ...    Pre-conditions: none
@@ -85,7 +85,7 @@ POST Access configuration for external artifacts - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH Access configuration for external artifacts - Method not implemented
    [Documentation]    Test ID: 5.3.5.10.7
    [Documentation]    Test ID: 5.3.5.11.7
    ...    Test title: PATCH Access configuration for external artifacts - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not allowed to update access configuration for external artifacts
    ...    Pre-conditions: none
@@ -97,7 +97,7 @@ PATCH Access configuration for external artifacts - Method not implemented
    Check HTTP Response Status Code Is    405

DELETE Access configuration for external artifacts - Method not implemented
    [Documentation]    Test ID: 5.3.5.10.8
    [Documentation]    Test ID: 5.3.5.11.8
    ...    Test title: DELETE Access configuration for external artifacts - Method not implemented
    ...    Test objective: The objective is to test that DELETE  method is not allowed to delete access configuration for external artifacts
    ...    Pre-conditions: none
+8 −8
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_veri

*** Test Cases ***
Get Manifest in Individual VNF Package
    [Documentation]    Test ID: 5.3.5.11.1
    [Documentation]    Test ID: 5.3.5.12.1
    ...    Test title: Get Manifest in Individual VNF Package
    ...    Test objective: The objective is to test that content of manifest within a NVF Package is read successfully.
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -20,7 +20,7 @@ Get Manifest in Individual VNF Package
    Check HTTP Response Header Content-Type Is    text/plain
    
Get Manifest in Individual VNF Package with security information
    [Documentation]    Test ID: 5.3.5.11.2
    [Documentation]    Test ID: 5.3.5.12.2
    ...    Test title: Get Manifest in Individual VNF Package with security information
    ...    Test objective: The objective is to test the retrieval of the Manifest in 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.
@@ -33,7 +33,7 @@ Get Manifest in Individual VNF Package with security information
    Check HTTP Response Header Content-Type Is    application/zip
    
Get Manifest in Individual VNF Package - Not Acceptable
    [Documentation]    Test ID: 5.3.5.11.3
    [Documentation]    Test ID: 5.3.5.12.3
    ...    Test title: Get Manifest in Individual VNF Package - Not Acceptable
    ...    Test objective: The objective is to test that the "Accept" header is not compatible with Content type "application/zip" but "incude_signature" is provided.\
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -46,7 +46,7 @@ Get Manifest in Individual VNF Package - Not Acceptable
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
Get Manifest in Individual VNF Package - Conflict
    [Documentation]    Test ID: 5.3.5.11.4
    [Documentation]    Test ID: 5.3.5.12.4
    ...    Test title: Get Manifest in Individual VNF Package - Conflict
    ...    Test objective: The objective is to test that the operation cannot be executed currently, due to a conflict with the state of the resource.
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -59,7 +59,7 @@ Get Manifest in Individual VNF Package - Conflict
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
POST Manifest in Individual VNF Package - Method not implemented
    [Documentation]    Test ID: 5.3.5.11.5
    [Documentation]    Test ID: 5.3.5.12.5
    ...    Test title: POST Manifest in Individual VNF Package - Method not implemented
    ...    Test objective: The objective is to test that POST method is not allowed to create new Manifest
    ...    Pre-conditions: none
@@ -71,7 +71,7 @@ POST Manifest in Individual VNF Package - Method not implemented
    Check HTTP Response Status Code Is    405

PUT Manifest in Individual VNF Package - Method not implemented
    [Documentation]    Test ID: 5.3.5.11.6
    [Documentation]    Test ID: 5.3.5.12.6
    ...    Test title: PUT Manifest in Individual VNF Package - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed to modify a Manifest
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -83,7 +83,7 @@ PUT Manifest in Individual VNF Package - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH Manifest in Individual VNF Package - Method not implemented
    [Documentation]    Test ID: 5.3.5.11.7
    [Documentation]    Test ID: 5.3.5.12.7
    ...    Test title: PATCH Manifest in Individual VNF Package - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not allowed to update a Manifest
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -95,7 +95,7 @@ PATCH Manifest in Individual VNF Package - Method not implemented
    Check HTTP Response Status Code Is    405

DELETE Manifest in Individual VNF Package - Method not implemented
    [Documentation]    Test ID: 5.3.5.11.8
    [Documentation]    Test ID: 5.3.5.12.8
    ...    Test title: DELETE Manifest in Individual VNF Package - Method not implemented
    ...    Test objective: The objective is to test that DELETE  method is not allowed to delete a Manifest
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
+16 −16
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@ Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} ssl_veri

*** Test Cases ***
Get VNF Package Artifact
    [Documentation]    Test ID: 5.3.5.12.1
    [Documentation]    Test ID: 5.3.5.13.1
    ...    Test title: Get VNF Package Artifact
    ...    Test objective: The objective is to test that the GET request read the whole content of the archive containing the artifact files successfully, and perform a validation that returned content is in Zip format
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -21,7 +21,7 @@ Get VNF Package Artifact
    Check HTTP Response Header Content-Type Is    application/zip
    
Get VNF Package Artifact with "exclude_all_mano_artifacts" parameter
    [Documentation]    Test ID: 5.3.5.12.2
    [Documentation]    Test ID: 5.3.5.13.2
    ...    Test title: Get VNF Package Artifact with "exclude_all_mano_artifacts" parameter
    ...    Test objective: The objective is to test that the GET request read the whole content of the archive containing the artifact files successfully and it doesnot contain additional MANO artifacts  when requested with "exclude_all_mano_artifacts" parameter
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -34,7 +34,7 @@ Get VNF Package Artifact with "exclude_all_mano_artifacts" parameter
    Check HTTP Response Header Content-Type Is    application/zip
    
Get VNF Package Artifact with "exclude_all_non_mano_artifacts" parameter
    [Documentation]    Test ID: 5.3.5.12.3
    [Documentation]    Test ID: 5.3.5.13.3
    ...    Test title: Get VNF Package Artifact with "exclude_all_non_mano_artifacts" parameter
    ...    Test objective: The objective is to test that the GET request read the whole content of the archive containing the artifact files successfully and it doesnot contain non-MANO Artifacts when requested with "exclude_all_non_mano_artifacts" parameter
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -47,7 +47,7 @@ Get VNF Package Artifact with "exclude_all_non_mano_artifacts" parameter
    Check HTTP Response Header Content-Type Is    application/zip
    
Get VNF Package Artifact with "select_non_mano_artifact_sets" parameter
    [Documentation]    Test ID: 5.3.5.12.4
    [Documentation]    Test ID: 5.3.5.13.4
    ...    Test title: Get VNF Package Artifact with "select_non_mano_artifact_sets" parameter
    ...    Test objective: The objective is to test that the GET request read the whole content of the archive containing the artifact files successfully and also contain non_MANO artifacts set when requested with "select_non_mano_artifact_sets" parameter
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -60,7 +60,7 @@ Get VNF Package Artifact with "select_non_mano_artifact_sets" parameter
    Check HTTP Response Header Content-Type Is    application/zip
    
Get VNF Package Artifact with "include_signatures" parameter
    [Documentation]    Test ID: 5.3.5.12.5
    [Documentation]    Test ID: 5.3.5.13.5
    ...    Test title: Get VNF Package Artifact with "include_signatures" parameter
    ...    Test objective: The objective is to test that the GET request read the whole content of the archive containing the artifact files successfully and also contain security certificates 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.
@@ -73,7 +73,7 @@ Get VNF Package Artifact with "include_signatures" parameter
    Check HTTP Response Header Content-Type Is    application/zip
    
Get VNF Package Artifact with Range Request and NFVO supporting Range Requests
    [Documentation]    Test ID: 5.3.5.12.6
    [Documentation]    Test ID: 5.3.5.13.6
    ...    Test title: Get VNF Package Artifact with Range Request and NFVO supporting Range Requests
    ...    Test objective: The objective is to test the GET request read the whole content of the archive containing the artifact files successfully when using a range request to return single range of bytes from the file, with the NFVO supporting it. The test also perform a validation that returned content matches the issued range
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -87,7 +87,7 @@ Get VNF Package Artifact with Range Request and NFVO supporting Range Requests
    Check HTTP Response Header Content-Length Is Present and Matches the requested range length
    
Get VNF Package Artifact with invalid URI parameters "exclude_all_non_mano_artifacts", "select_non_mano_artifact_sets"
    [Documentation]    Test ID: 5.3.5.12.7
    [Documentation]    Test ID: 5.3.5.13.7
    ...    Test title: Get VNF Package Artifact with invalid URI parameters "exclude_all_non_mano_artifacts", "select_non_mano_artifact_sets"
    ...    Test objective: The objective is to test that the GET request to read the whole content of the archive containing the artifact files fails when both "exclude_all_non_mano_artifacts" and "select_non_mano_artifact_sets" are present in request
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -100,7 +100,7 @@ Get VNF Package Artifact with invalid URI parameters "exclude_all_non_mano_artif
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
Get VNF Package Artifact with invalid URI parameters "exclude_all_non_mano_artifacts", "exclude_all_mano_artifacts"
    [Documentation]    Test ID: 5.3.5.12.8
    [Documentation]    Test ID: 5.3.5.13.8
    ...    Test title: Get VNF Package Artifact with invalid URI parameters "exclude_all_non_mano_artifacts", "exclude_all_mano_artifactss"
    ...    Test objective: The objective is to test that the GET request to read the whole content of the archive containing the artifact files fails when both "exclude_all_non_mano_artifacts" and "exclude_all_mano_artifacts" are present in request
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -113,7 +113,7 @@ Get VNF Package Artifact with invalid URI parameters "exclude_all_non_mano_artif
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
Get VNF Package Artifact with invalid URI parameters undifend select_non_mano_artifact_sets
    [Documentation]    Test ID: 5.3.5.12.9
    [Documentation]    Test ID: 5.3.5.13.9
    ...    Test title: Get VNF Package Artifact with invalid URI parameters undefined select_non_mano_artifact_sets
    ...    Test objective: The objective is to test that the GET request to read the whole content of the archive containing the artifact files fails when one or more value provided in "select_non_mano_artifact_sets" are not provided in Manifest.
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -126,7 +126,7 @@ Get VNF Package Artifact with invalid URI parameters undifend select_non_mano_ar
    Check HTTP Response Body Json Schema Is   ProblemDetails

Get VNF Package Artifact with conflict due to onboarding state
    [Documentation]    Test ID: 5.3.5.12.10
    [Documentation]    Test ID: 5.3.5.13.10
    ...    Test title: Get VNF Package Artifact with conflict due to onboarding state
    ...    Test objective: The objective is to test that the GET request to read the whole content of the archive containing the artifact files fails due to a conflict when the VNF Package is not in onboarding state ONBOARDED in the NFVO. The test also performs a validation of the JSON schema validation of the failed operation HTTP response
    ...    Pre-conditions: The onboarding state of the VNF package for which the content is requested is different from ONBOARDED.
@@ -139,7 +139,7 @@ Get VNF Package Artifact with conflict due to onboarding state
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
GET VNF Package Artifact with invalid Range Request
    [Documentation]    Test ID: 5.3.5.12.11
    [Documentation]    Test ID: 5.3.5.13.11
    ...    Test title: GET VNF Package Artifact with invalid Range Request
    ...    Test objective: The objective is to test that the GET request to read the whole content of the archive containing the artifact files fails when using a range request that does not match any available byte range in the file.
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -152,7 +152,7 @@ GET VNF Package Artifact with invalid Range Request
    Check HTTP Response Body Json Schema Is   ProblemDetails
    
POST VNF Package Artifact - Method not implemented
    [Documentation]    Test ID: 5.3.5.12.12
    [Documentation]    Test ID: 5.3.5.13.12
    ...    Test title: POST VNF Package Artifact - Method not implemented
    ...    Test objective: The objective is to test that POST method is not allowed to create new VNF Package artifact
    ...    Pre-conditions: none
@@ -164,7 +164,7 @@ POST VNF Package Artifact - Method not implemented
    Check HTTP Response Status Code Is    405

PUT VNF Package Artifact - Method not implemented
    [Documentation]    Test ID: 5.3.5.12.13
    [Documentation]    Test ID: 5.3.5.13.13
    ...    Test title: PUT VNF Package Artifact - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed to modify a VNF Package artifact
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -176,7 +176,7 @@ PUT VNF Package Artifact - Method not implemented
    Check HTTP Response Status Code Is    405

PATCH VNF Package Artifact - Method not implemented
    [Documentation]    Test ID: 5.3.5.12.14
    [Documentation]    Test ID: 5.3.5.13.14
    ...    Test title: PATCH VNF Package Artifact - Method not implemented
    ...    Test objective: The objective is to test that PATCH  method is not allowed to update a VNF Package artifact
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -188,7 +188,7 @@ PATCH VNF Package Artifact - Method not implemented
    Check HTTP Response Status Code Is    405

DELETE VNF Package Artifact - Method not implemented
    [Documentation]    Test ID: 5.3.5.12.15
    [Documentation]    Test ID: 5.3.5.13.15
    ...    Test title: DELETE VNF Package Artifact - Method not implemented
    ...    Test objective: The objective is to test that DELETE  method is not allowed to delete a VNF Package artifact
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.
@@ -200,7 +200,7 @@ DELETE VNF Package Artifact - Method not implemented
    Check HTTP Response Status Code Is    405
    
Get VNF Package Artifact with "include_external_artifacts" parameter
    [Documentation]    Test ID: 5.3.5.12.16
    [Documentation]    Test ID: 5.3.5.13.16
    ...    Test title: Get VNF Package Artifact with "include_external_artifacts" parameter
    ...    Test objective: The objective is to test that GET request reads the whole content of the archive containing the external artifacts successfully when requested with "include_external_artifacts" parameter
    ...    Pre-conditions: One or more VNF packages are onboarded in the NFVO.