diff --git a/SOL005/VNFSnapshotPackageManagement-API/AccessConfigurationForExternalArtifacts.robot b/SOL005/VNFSnapshotPackageManagement-API/AccessConfigurationForExternalArtifacts.robot index 9f0595b80df3c8491d68607a67ec9ab5c46fed5f..cad4a06c60af7cbb0f9b51ab6d75b8f555260bce 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/AccessConfigurationForExternalArtifacts.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/AccessConfigurationForExternalArtifacts.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Access Configuration for External Artifacts - Method not implemented - [Documentation] Test ID: 5.3.6.9.1 + [Documentation] Test ID: 5.3.7.9.1 ... Test title: POST Access Configuration for External Artifacts - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: Individual VNF Snapshot Package resource have been created. @@ -15,7 +15,7 @@ POST Access Configuration for External Artifacts - Method not implemented Check HTTP Response Status Code Is 405 GET Access Configuration for External Artifacts - [Documentation] Test ID: 5.3.6.9.2 + [Documentation] Test ID: 5.3.7.9.2 ... Test title: GET Access Configuration for External Artifacts ... Test objective: The objective is to test that GET method reads the access configuration information that is used by the NFVO to get the content of external VNF snapshot package artifacts. ... Pre-conditions: Individual VNF Snapshot Package resource have been created. @@ -28,7 +28,7 @@ GET Access Configuration for External Artifacts Check HTTP Response Body Json Schema Is VnfSnapshotPkgExtArtifactsAccessInfo PUT Access Configuration for External Artifacts - [Documentation] Test ID: 5.3.6.9.3 + [Documentation] Test ID: 5.3.7.9.3 ... Test title: PUT 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: Individual VNF Snapshot Package resource have been created. @@ -41,7 +41,7 @@ PUT Access Configuration for External Artifacts Check HTTP Response Body Json Schema Is VnfSnapshotPkgExtArtifactsAccessInfo PUT Access Configuration for External Artifacts - Conflict - [Documentation] Test ID: 5.3.6.9.4 + [Documentation] Test ID: 5.3.7.9.4 ... Test title: PUT Access Configuration for External Artifacts - Conflict ... Test objective: The objective is to test that PUT method cannot provide the access configuration information to the NFVO when the VNF Snapshot Package resource is not in CREATED or ERROR state. ... Pre-conditions: Individual VNF Snapshot Package resource have been created. @@ -54,7 +54,7 @@ PUT Access Configuration for External Artifacts - Conflict Check HTTP Response Body Json Schema Is ProblemDetails PATCH Access Configuration for External Artifacts - Method Not implemented - [Documentation] Test ID: 5.3.6.9.5 + [Documentation] Test ID: 5.3.7.9.5 ... Test title: PATCH Access Configuration for External Artifacts - Method Not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -66,7 +66,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.6.9.6 + [Documentation] Test ID: 5.3.7.9.6 ... Test title: DELETE Access Configuration for External Artifacts - Method Not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/ApiVersion.robot b/SOL005/VNFSnapshotPackageManagement-API/ApiVersion.robot index ba118d5c07065f7a2b7d1bf40a11ae3a666baa9a..df3ac023c1837df1a97d9eedeee6895789a23c24 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/ApiVersion.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/ApiVersion.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST API Version - Method not implemented - [Documentation] Test ID: 5.3.6.1.1 + [Documentation] Test ID: 5.3.7.1.1 ... Test title: POST API version - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none @@ -15,7 +15,7 @@ POST API Version - Method not implemented Check HTTP Response Status Code Is 405 GET API Version - [Documentation] Test ID: 5.3.6.1.2 + [Documentation] Test ID: 5.3.7.1.2 ... Test title: GET API Version ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none @@ -28,7 +28,7 @@ GET API Version Check HTTP Response Body Json Schema Is ApiVersionInformation PUT API Version - Method not implemented - [Documentation] Test ID: 5.3.6.1.3 + [Documentation] Test ID: 5.3.7.1.3 ... Test title: PUT API Version - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -40,7 +40,7 @@ PUT API Version - Method not implemented Check HTTP Response Status Code Is 405 PATCH API Version - Method not implemented - [Documentation] Test ID: 5.3.6.1.4 + [Documentation] Test ID: 5.3.7.1.4 ... Test title: PATCH API Version - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -52,7 +52,7 @@ PATCH API Version - Method not implemented Check HTTP Response Status Code Is 405 DELETE API Version - Method not implemented - [Documentation] Test ID: 5.3.6.1.5 + [Documentation] Test ID: 5.3.7.1.5 ... Test title: DELETE API Version - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none @@ -64,7 +64,7 @@ DELETE API Version - Method not implemented Check HTTP Response Status Code Is 405 POST API Version with apiMajorVerion - Method not implemented - [Documentation] Test ID: 5.3.6.1.6 + [Documentation] Test ID: 5.3.7.1.6 ... Test title: POST API version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none @@ -76,7 +76,7 @@ POST API Version with apiMajorVerion - Method not implemented Check HTTP Response Status Code Is 405 GET API Version with apiMajorVerion - [Documentation] Test ID: 5.3.6.1.7 + [Documentation] Test ID: 5.3.7.1.7 ... Test title: GET API Version with apiMajorVerion ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none @@ -89,7 +89,7 @@ GET API Version with apiMajorVerion Check HTTP Response Body Json Schema Is ApiVersionInformation PUT API Version with apiMajorVerion - Method not implemented - [Documentation] Test ID: 5.3.6.1.8 + [Documentation] Test ID: 5.3.7.1.8 ... Test title: PUT API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -101,7 +101,7 @@ PUT API Version with apiMajorVerion - Method not implemented Check HTTP Response Status Code Is 405 PATCH API Version with apiMajorVerion - Method not implemented - [Documentation] Test ID: 5.3.6.1.9 + [Documentation] Test ID: 5.3.7.1.9 ... Test title: PATCH API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -113,7 +113,7 @@ PATCH API Version with apiMajorVerion - Method not implemented Check HTTP Response Status Code Is 405 DELETE API Version with apiMajorVerion - Method not implemented - [Documentation] Test ID: 5.3.6.1.10 + [Documentation] Test ID: 5.3.7.1.10 ... Test title: DELETE API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/BuildVNFSnapshotPackageContentTask.robot b/SOL005/VNFSnapshotPackageManagement-API/BuildVNFSnapshotPackageContentTask.robot index 142e5485f3d067c4a309a7f186f49440235cd67f..6bd1a6e31455268df0cbd3d2d6ab458f65018d97 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/BuildVNFSnapshotPackageContentTask.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/BuildVNFSnapshotPackageContentTask.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Build VNF Snapshot Package Content Task - [Documentation] Test ID: 5.3.6.6.1 + [Documentation] Test ID: 5.3.7.6.1 ... Test title: POST Build VNF Snapshot Package Content Task ... Test objective: The objective is to test that POST method provides the information for the NFVO to start building the content of a VNF snapshot package. ... Pre-conditions: none @@ -15,7 +15,7 @@ POST Build VNF Snapshot Package Content Task Check HTTP Response Status Code Is 202 POST Build VNF Snapshot Package Content Task - Conflict - [Documentation] Test ID: 5.3.6.6.2 + [Documentation] Test ID: 5.3.7.6.2 ... Test title: POST Build VNF Snapshot Package Content Task - Conflict ... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate building of VNF Snapshot Package and the state of the VNF snapshot package resource is other than "CREATED". ... Pre-conditions: none @@ -28,7 +28,7 @@ POST Build VNF Snapshot Package Content Task - Conflict Check HTTP Response Body Json Schema Is ProblemDetails GET Build VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.6.3 + [Documentation] Test ID: 5.3.7.6.3 ... Test title: GET Build VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that GET method is not implemented ... Pre-conditions: none @@ -40,7 +40,7 @@ GET Build VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 PUT Build VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.6.4 + [Documentation] Test ID: 5.3.7.6.4 ... Test title: PUT Build VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -52,7 +52,7 @@ PUT Build VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 PATCH Build VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.6.5 + [Documentation] Test ID: 5.3.7.6.5 ... Test title: PATCH Build VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -64,7 +64,7 @@ PATCH Build VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 DELETE Build VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.6.6 + [Documentation] Test ID: 5.3.7.6.6 ... Test title: DELETE Build VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/CancelVNFSnapshotPackageOperationTask.robot b/SOL005/VNFSnapshotPackageManagement-API/CancelVNFSnapshotPackageOperationTask.robot index 7e9f6829b6b4e38c3bd9c42ff13fdd30e3d271ae..439d4cc146b2dab52f98bbf44f8ce77f86ebbb86 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/CancelVNFSnapshotPackageOperationTask.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/CancelVNFSnapshotPackageOperationTask.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Cancel VNF Snapshot Package Content Task - [Documentation] Test ID: 5.3.6.8.1 + [Documentation] Test ID: 5.3.7.8.1 ... Test title: POST Cancel VNF Snapshot Package Content Task ... Test objective: The objective is to test that POST method provides the information for the NFVO to cancel the ongoing operation related to the content of a VNF snapshot package. ... Pre-conditions: none @@ -15,7 +15,7 @@ POST Cancel VNF Snapshot Package Content Task Check HTTP Response Status Code Is 202 POST Cancel VNF Snapshot Package Content Task - Conflict - [Documentation] Test ID: 5.3.6.8.2 + [Documentation] Test ID: 5.3.7.8.2 ... Test title: POST Cancel VNF Snapshot Package Content Task - Conflict ... Test objective: The objective is to test that a correct error code is returned when the POST method tries to cancel a VNF Snapshot Package task and the state of the VNF snapshot package resource is other than "UPLOADING", "BUILDING", "PROCESSING" or "EXTRACTING". ... Pre-conditions: none @@ -28,7 +28,7 @@ POST Cancel VNF Snapshot Package Content Task - Conflict Check HTTP Response Body Json Schema Is ProblemDetails GET Cancel VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.8.3 + [Documentation] Test ID: 5.3.7.8.3 ... Test title: GET Cancel VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that GET method is not implemented ... Pre-conditions: none @@ -40,7 +40,7 @@ GET Cancel VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 PUT Cancel VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.8.4 + [Documentation] Test ID: 5.3.7.8.4 ... Test title: PUT Cancel VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -52,7 +52,7 @@ PUT Cancel VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.8.5 + [Documentation] Test ID: 5.3.7.8.5 ... Test title: PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -64,7 +64,7 @@ PATCH Cancel VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 DELETE Cancel VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.8.6 + [Documentation] Test ID: 5.3.7.8.6 ... Test title: DELETE Cancel VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/ExtractVNFSnapshotPackageContentTask.robot b/SOL005/VNFSnapshotPackageManagement-API/ExtractVNFSnapshotPackageContentTask.robot index 2a5ec3d061b673c8b625031bbc39553a075ed693..aceaff8c0b060d4e76430f0f104f8b6b10be081b 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/ExtractVNFSnapshotPackageContentTask.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/ExtractVNFSnapshotPackageContentTask.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Extract VNF Snapshot Package Content Task - [Documentation] Test ID: 5.3.6.7.1 + [Documentation] Test ID: 5.3.7.7.1 ... Test title: POST Extract VNF Snapshot Package Content Task ... Test objective: The objective is to test that POST method provides the information for the NFVO to start extracting the content of a VNF snapshot package. ... Pre-conditions: none @@ -15,7 +15,7 @@ POST Extract VNF Snapshot Package Content Task Check HTTP Response Status Code Is 202 POST Extract VNF Snapshot Package Content Task - Conflict State - [Documentation] Test ID: 5.3.6.7.2 + [Documentation] Test ID: 5.3.7.7.2 ... Test title: POST Extract VNF Snapshot Package Content Task - Conflict ... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate extraction of VNF Snapshot Package and the state of the VNF snapshot package resource is other than "AVAILABLE". ... Pre-conditions: none @@ -28,7 +28,7 @@ POST Extract VNF Snapshot Package Content Task - Conflict State Check HTTP Response Body Json Schema Is ProblemDetails POST Extract VNF Snapshot Package Content Task - Invalid VnfInstanceId - [Documentation] Test ID: 5.3.6.7.3 + [Documentation] Test ID: 5.3.7.7.3 ... Test title: POST Extract VNF Snapshot Package Content Task - Conflict ... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate extraction of VNF Snapshot Package using an invalid VnfInstanceId in the request body. ... Pre-conditions: none @@ -41,7 +41,7 @@ POST Extract VNF Snapshot Package Content Task - Invalid VnfInstanceId Check HTTP Response Body Json Schema Is ProblemDetails GET Extract VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.7.4 + [Documentation] Test ID: 5.3.7.7.4 ... Test title: GET Extract VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that GET method is not implemented ... Pre-conditions: none @@ -53,7 +53,7 @@ GET Extract VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 PUT Extract VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.7.5 + [Documentation] Test ID: 5.3.7.7.5 ... Test title: PUT Extract VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -65,7 +65,7 @@ PUT Extract VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 PATCH Extract VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.7.6 + [Documentation] Test ID: 5.3.7.7.6 ... Test title: PATCH Extract VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -77,7 +77,7 @@ PATCH Extract VNF Snapshot Package Content Task - Method Not implemented Check HTTP Response Status Code Is 405 DELETE Extract VNF Snapshot Package Content Task - Method Not implemented - [Documentation] Test ID: 5.3.6.7.7 + [Documentation] Test ID: 5.3.7.7.7 ... Test title: DELETE Extract VNF Snapshot Package Content Task - Method Not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackage.robot b/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackage.robot index 8ab4bde6d2079378a8ae6dd2fd4b522a2e9b24b4..2200ca0546bdc6e34d25c2bc920d0c75223b94e8 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackage.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackage.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Individual VNF Snapshot Package - Method not implemented - [Documentation] Test ID: 5.3.6.3.1 + [Documentation] Test ID: 5.3.7.3.1 ... Test title: POST Individual VNF Snapshot Package - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none @@ -15,7 +15,7 @@ POST Individual VNF Snapshot Package - Method not implemented Check HTTP Response Status Code Is 405 GET Information about an individual VNF Snapshot Package - SUCCESSFUL - [Documentation] Test ID: 5.3.6.3.2 + [Documentation] Test ID: 5.3.7.3.2 ... Test title: GET Information about an individual VNF Snapshot Package - SUCCESSFUL ... Test objective: The objective is to create a new VNF Snapshot Package resource ... Pre-conditions: none @@ -28,7 +28,7 @@ GET Information about an individual VNF Snapshot Package - SUCCESSFUL Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfo GET Information about an individual VNF Snapshot Package - NOT FOUND - [Documentation] Test ID: 5.3.6.3.3 + [Documentation] Test ID: 5.3.7.3.3 ... Test title: GET Information about an individual VNF Snapshot Package - NOT FOUND ... Test objective: The objective is to test that the retrieval of individual VNF Snapshot Package fails when using an invalid resource identifier. ... Pre-conditions: At least one individual VNF Snapshot Package is available in the NFV-MANO. @@ -41,7 +41,7 @@ GET Information about an individual VNF Snapshot Package - NOT FOUND Check HTTP Response Body Json Schema Is ProblemDetails PUT Individual VNF Snapshot Package - Method not implemented - [Documentation] Test ID: 5.3.6.3.4 + [Documentation] Test ID: 5.3.7.3.4 ... Test title: PUT Individual VNF Snapshot Package - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -53,7 +53,7 @@ PUT Individual VNF Snapshot Package - Method not implemented Check HTTP Response Status Code Is 405 PATCH Individual VNF Snapshot Package - Modified - [Documentation] Test ID: 5.3.6.3.5 + [Documentation] Test ID: 5.3.7.3.5 ... Test title: PATCH Individual VNF Snapshot Package - Modified ... Test objective: The objective is to test that PATCH method updates the information of a VNF Snapshot package ... Pre-conditions: none @@ -66,7 +66,7 @@ PATCH Individual VNF Snapshot Package - Modified Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfoModifications PATCH Individual VNF Snapshot Package - Conflict - [Documentation] Test ID: 5.3.6.3.6 + [Documentation] Test ID: 5.3.7.3.6 ... Test title: PATCH Individual VNF Snapshot Package - Conflict ... Test objective: The objective is to test that PATCH method does not update the information of a VNF Snapshot package when the state of the VNF snapshot package resource is in a state other than CREATED, ERROR_EXTRACTING or AVAILABLE. ... Pre-conditions: none @@ -79,7 +79,7 @@ PATCH Individual VNF Snapshot Package - Conflict Check HTTP Response Body Json Schema Is ProblemDetails DELETE Individual VNF Snapshot Package - [Documentation] Test ID: 5.3.6.3.7 + [Documentation] Test ID: 5.3.7.3.7 ... Test title: DELETE Individual VNF Snapshot Package ... Test objective: The objective is to test that DELETE method deletes an individual VNF Snapshot Package resource ... Pre-conditions: none @@ -91,7 +91,7 @@ DELETE Individual VNF Snapshot Package Check HTTP Response Status Code Is 204 DELETE Individual VNF Snapshot Package - Conflict - [Documentation] Test ID: 5.3.6.3.8 + [Documentation] Test ID: 5.3.7.3.8 ... Test title: DELETE Individual VNF Snapshot Package - Method Not im ... Test objective: The objective is to test that DELETE method does not delete a VNF Snapshot package when the state of the VNF snapshot package resource is in a state other than CREATED, ERROR or AVAILABLE. ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackageArtifact.robot b/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackageArtifact.robot index 2ffa83338e2055568d93ebc1bddbfe39b50603ef..c0241349a1fef9164c45c10c3e7fc61d0b66bfc9 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackageArtifact.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/IndividualVNFSnapshotPackageArtifact.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Individual VNF Snapshot Package Artifact - Method not implemented - [Documentation] Test ID: 5.3.6.10.1 + [Documentation] Test ID: 5.3.7.10.1 ... Test title: POST Individual VNF Snapshot Package Artifact - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none @@ -15,7 +15,7 @@ POST Individual VNF Snapshot Package Artifact - Method not implemented Check HTTP Response Status Code Is 405 GET Individual VNF Snapshot Package Artifact - Complete File - [Documentation] Test ID: 5.3.6.10.2 + [Documentation] Test ID: 5.3.7.10.2 ... Test title: GET Information about an individual VNF Snapshot Package - Complete File ... Test objective: The objective is to fetch the whole content of a VNF snapshot package using GET method. ... Pre-conditions: none @@ -28,7 +28,7 @@ GET Individual VNF Snapshot Package Artifact - Complete File Check HTTP Content-Type Header Is Set For Package Artifact GET Individual VNF Snapshot Package Artifact - Partial Content - [Documentation] Test ID: 5.3.6.10.3 + [Documentation] Test ID: 5.3.7.10.3 ... Test title: GET Individual VNF Snapshot Package Artifact - Partial Content ... Test objective: The objective is to fetch partial content of a VNF snapshot package by sending a range request using GET method. ... Pre-conditions: none @@ -42,7 +42,7 @@ GET Individual VNF Snapshot Package Artifact - Partial Content Check HTTP Content-Range Header Is Set GET Individual VNF Snapshot Package Artifact - Range Request Not Supported - [Documentation] Test ID: 5.3.6.10.4 + [Documentation] Test ID: 5.3.7.10.4 ... Test title: GET Information about an individual VNF Snapshot Package - Range Request Not Supported ... Test objective: The objective is to test that the whole content of a VNF snapshot package is delivered even with a range request when NFVO does not support range requests. ... Pre-conditions: none @@ -55,7 +55,7 @@ GET Individual VNF Snapshot Package Artifact - Range Request Not Supported Check HTTP Content-Type Header Is Set For Package Artifact GET Individual VNF Snapshot Package Artifact - Range Not Satisfiable - [Documentation] Test ID: 5.3.6.10.5 + [Documentation] Test ID: 5.3.7.10.5 ... Test title: GET Information about an individual VNF Snapshot Package - Range Not Satisfiable ... Test objective: The objective is to test that an error is returned when the byte range passed in the "Range" header does not match any available byte range in the VNF snapshot package file. ... Pre-conditions: none @@ -67,7 +67,7 @@ GET Individual VNF Snapshot Package Artifact - Range Not Satisfiable Check HTTP Response Status Code Is 416 GET Individual VNF Snapshot Package Artifact - Conflict - [Documentation] Test ID: 5.3.6.10.6 + [Documentation] Test ID: 5.3.7.10.6 ... Test title: GET Information about an individual VNF Snapshot Package - Conflict ... Test objective: The objective is to test that an error is returned when the "state" of the VNF snapshot package has a value different from "AVAILABLE". ... Pre-conditions: none @@ -80,7 +80,7 @@ GET Individual VNF Snapshot Package Artifact - Conflict Check HTTP Response Body Json Schema Is ProblemDetails GET Individual VNF Snapshot Package Artifact - External Artifact - [Documentation] Test ID: 5.3.6.10.7 + [Documentation] Test ID: 5.3.7.10.7 ... Test title: GET Information about an individual VNF Snapshot Package - External Artifact ... Test objective: The objective is to test that correct response code is returned the referred "Individual VNF Snapshot package artifact" is external to the main VNF snapshot package file created from a build process. ... Pre-conditions: none @@ -93,7 +93,7 @@ GET Individual VNF Snapshot Package Artifact - External Artifact Check HTTP Response Contains Resource URI PUT Individual VNF Snapshot Package Artifact - Method not implemented - [Documentation] Test ID: 5.3.6.10.8 + [Documentation] Test ID: 5.3.7.10.8 ... Test title: PUT Individual VNF Snapshot Package Artifact - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -105,7 +105,7 @@ PUT Individual VNF Snapshot Package Artifact - Method not implemented Check HTTP Response Status Code Is 405 PATCH Individual VNF Snapshot Package Artifact - Method Not implemented - [Documentation] Test ID: 5.3.6.10.9 + [Documentation] Test ID: 5.3.7.10.9 ... Test title: PATCH Individual VNF Snapshot Package Artifact ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -117,7 +117,7 @@ PATCH Individual VNF Snapshot Package Artifact - Method Not implemented Check HTTP Response Status Code Is 405 DELETE Individual VNF Snapshot Package Artifact - Method Not implemented - [Documentation] Test ID: 5.3.6.10.10 + [Documentation] Test ID: 5.3.7.10.10 ... Test title: DELETE Individual VNF Snapshot Package Artifact - Method Not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/UploadVNFSnapshotPackageFromUriTask.robot b/SOL005/VNFSnapshotPackageManagement-API/UploadVNFSnapshotPackageFromUriTask.robot index 4d4a00a69eabd59def1602bcb7826a6a5daf7c5d..74d13ee5212526542094643a08d40b1b882652c7 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/UploadVNFSnapshotPackageFromUriTask.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/UploadVNFSnapshotPackageFromUriTask.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Upload VNF Snapshot Package Content from URI - [Documentation] Test ID: 5.3.6.5.1 + [Documentation] Test ID: 5.3.7.5.1 ... Test title: POST Upload VNF Snapshot Package Content from URI ... Test objective: The objective is to test that POST method provides the information for the NFVO to get the content of a VNF snapshot package. ... Pre-conditions: none @@ -15,7 +15,7 @@ POST Upload VNF Snapshot Package Content from URI Check HTTP Response Status Code Is 202 POST Upload VNF Snapshot Package Content from URI - Conflict - [Documentation] Test ID: 5.3.6.5.2 + [Documentation] Test ID: 5.3.7.5.2 ... Test title: POST Upload VNF Snapshot Package Content from URI - Conflict ... Test objective: The objective is to test that a correct error code is returned when the POST method tries to intiate upload VNF Snapshot Package from URI task and the state of the VNF snapshot package resource is other than "CREATED" or "ERROR". ... Pre-conditions: none @@ -28,7 +28,7 @@ POST Upload VNF Snapshot Package Content from URI - Conflict Check HTTP Response Body Json Schema Is ProblemDetails GET Upload VNF Snapshot Package Content from URI - Method Not implemented - [Documentation] Test ID: 5.3.6.5.3 + [Documentation] Test ID: 5.3.7.5.3 ... Test title: GET Upload VNF Snapshot Package Content from URI - Method Not implemented ... Test objective: The objective is to test that GET method is not implemented ... Pre-conditions: none @@ -40,7 +40,7 @@ GET Upload VNF Snapshot Package Content from URI - Method Not implemented Check HTTP Response Status Code Is 405 PUT Upload VNF Snapshot Package Content from URI - Method Not implemented - [Documentation] Test ID: 5.3.6.5.4 + [Documentation] Test ID: 5.3.7.5.4 ... Test title: PUT Upload VNF Snapshot Package Content from URI - Method Not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -52,7 +52,7 @@ PUT Upload VNF Snapshot Package Content from URI - Method Not implemented Check HTTP Response Status Code Is 405 PATCH Upload VNF Snapshot Package Content from URI - Method Not implemented - [Documentation] Test ID: 5.3.6.5.5 + [Documentation] Test ID: 5.3.7.5.5 ... Test title: PATCH Upload VNF Snapshot Package Content from URI - Method Not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -64,7 +64,7 @@ PATCH Upload VNF Snapshot Package Content from URI - Method Not implemented Check HTTP Response Status Code Is 405 DELETE Upload VNF Snapshot Package Content from URI - Method Not implemented - [Documentation] Test ID: 5.3.6.5.6 + [Documentation] Test ID: 5.3.7.5.6 ... Test title: DELETE Upload VNF Snapshot Package Content from URI - Method Not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackageContent.robot b/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackageContent.robot index 7d9cca275465b1d0d856ac94abe0ebc7d76ca8dc..14b7382742006e6daebeae987031429f56025f4e 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackageContent.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackageContent.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST VNF Snapshot Package Content - Method not implemented - [Documentation] Test ID: 5.3.6.4.1 + [Documentation] Test ID: 5.3.7.4.1 ... Test title: POST VNF Snapshot Package Content - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none @@ -15,7 +15,7 @@ POST VNF Snapshot Package Content - Method not implemented Check HTTP Response Status Code Is 405 GET VNF Snapshot Package Content - Complete File - [Documentation] Test ID: 5.3.6.4.2 + [Documentation] Test ID: 5.3.7.4.2 ... Test title: GET Information about an individual VNF Snapshot Package - Complete File ... Test objective: The objective is to fetch the whole content of a VNF snapshot package using GET method. ... Pre-conditions: none @@ -28,7 +28,7 @@ GET VNF Snapshot Package Content - Complete File Check HTTP Content-Type Header Is Set For Package Content GET VNF Snapshot Package Content - Partial Content - [Documentation] Test ID: 5.3.6.4.3 + [Documentation] Test ID: 5.3.7.4.3 ... Test title: GET VNF Snapshot Package Content - Partial Content ... Test objective: The objective is to fetch partial content of a VNF snapshot package by sending a range request using GET method. ... Pre-conditions: none @@ -42,7 +42,7 @@ GET VNF Snapshot Package Content - Partial Content Check HTTP Content-Range Header Is Set GET VNF Snapshot Package Content - Range Request Not Supported - [Documentation] Test ID: 5.3.6.4.4 + [Documentation] Test ID: 5.3.7.4.4 ... Test title: GET Information about an individual VNF Snapshot Package - Range Request Not Supported ... Test objective: The objective is to test that the whole content of a VNF snapshot package is delivered even with a range request when NFVO does not support range requests. ... Pre-conditions: none @@ -55,7 +55,7 @@ GET VNF Snapshot Package Content - Range Request Not Supported Check HTTP Content-Type Header Is Set For Package Content GET VNF Snapshot Package Content - Range Not Satisfiable - [Documentation] Test ID: 5.3.6.4.5 + [Documentation] Test ID: 5.3.7.4.5 ... Test title: GET Information about an individual VNF Snapshot Package - Range Not Satisfiable ... Test objective: The objective is to test that an error is returned when the byte range passed in the "Range" header does not match any available byte range in the VNF snapshot package file. ... Pre-conditions: none @@ -67,7 +67,7 @@ GET VNF Snapshot Package Content - Range Not Satisfiable Check HTTP Response Status Code Is 416 GET VNF Snapshot Package Content - Conflict - [Documentation] Test ID: 5.3.6.4.6 + [Documentation] Test ID: 5.3.7.4.6 ... Test title: GET Information about an individual VNF Snapshot Package - Conflict ... Test objective: The objective is to test that an error is returned when the "state" of the VNF snapshot package has a value different from "AVAILABLE". ... Pre-conditions: none @@ -80,7 +80,7 @@ GET VNF Snapshot Package Content - Conflict Check HTTP Response Body Json Schema Is ProblemDetails PUT VNF Snapshot Package Content - [Documentation] Test ID: 5.3.6.4.7 + [Documentation] Test ID: 5.3.7.4.7 ... Test title: PUT VNF Snapshot Package Content ... Test objective: The objective is to test that PUT method uploads the content of VNF Snapshot Package. ... Pre-conditions: none @@ -92,7 +92,7 @@ PUT VNF Snapshot Package Content Check HTTP Response Status Code Is 202 PUT VNF Snapshot Package Content - Conflict - [Documentation] Test ID: 5.3.6.4.8 + [Documentation] Test ID: 5.3.7.4.8 ... Test title: PUT VNF Snapshot Package Content ... Test objective: The objective is to test that PUT method cannot upload the content of VNF Package when the state of the VNF snapshot package resource is other than "CREATED" or "ERROR".. ... Pre-conditions: none @@ -105,7 +105,7 @@ PUT VNF Snapshot Package Content - Conflict Check HTTP Response Body Json Schema Is ProblemDetails PATCH VNF Snapshot Package Content - Method Not implemented - [Documentation] Test ID: 5.3.6.4.9 + [Documentation] Test ID: 5.3.7.4.9 ... Test title: PATCH VNF Snapshot Package Content ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -117,7 +117,7 @@ PATCH VNF Snapshot Package Content - Method Not implemented Check HTTP Response Status Code Is 405 DELETE VNF Snapshot Package Content - Method Not implemented - [Documentation] Test ID: 5.3.6.4.10 + [Documentation] Test ID: 5.3.7.4.10 ... Test title: DELETE VNF Snapshot Package Content - Method Not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none diff --git a/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackages.robot b/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackages.robot index e1c053128a27b663f875be157d71949cbb73c611..7a6c51d845415b8d1161905d4878b18f20422b92 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackages.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/VNFSnapshotPackages.robot @@ -3,7 +3,7 @@ Resource VnfSnapshotPackageManagementKeywords.robot *** Test Cases *** POST Create a VNF Snapshot Package - [Documentation] Test ID: 5.3.6.2.1 + [Documentation] Test ID: 5.3.7.2.1 ... Test title: POST Create a VNF Snapshot Package ... Test objective: The objective is to test that POST method creates a VNF Snapshot Package ... Pre-conditions: none @@ -16,7 +16,7 @@ POST Create a VNF Snapshot Package Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfo GET information about multiple VNF Snapshot Packages - [Documentation] Test ID: 5.3.6.2.2 + [Documentation] Test ID: 5.3.7.2.2 ... Test title: GET information about multiple VNF Snapshot Packages ... Test objective: The objective is to get information about multiples VNF Snapshot Packages ... Pre-conditions: none @@ -29,7 +29,7 @@ GET information about multiple VNF Snapshot Packages Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfos GET information about multiple VNF Snapshot Packages Bad Request Invalid attribute-based filtering parameters - [Documentation] Test ID: 5.3.6.2.3 + [Documentation] Test ID: 5.3.7.2.3 ... Test title: GET information about multiple VNF Snapshot Packages Bad Request Invalid attribute-based filtering parameters ... Test objective: The objective is to get information about multiples VNF Snapshot Packages with Invalid attribute-based filtering parameters ... Pre-conditions: none @@ -42,7 +42,7 @@ GET information about multiple VNF Snapshot Packages Bad Request Invalid attribu Check HTTP Response Body Json Schema Is ProblemDetails GET information about multiple VNF Snapshot Packages Bad Request Invalid attribute selector - [Documentation] Test ID: 5.3.6.2.4 + [Documentation] Test ID: 5.3.7.2.4 ... Test title: GET information about multiple VNF Snapshot Packages Bad Request Invalid attribute selector ... Test objective: The objective is to get information about multiples VNF Snapshot Packages with Invalid attribute-based filtering parameters ... Pre-conditions: none @@ -55,7 +55,7 @@ GET information about multiple VNF Snapshot Packages Bad Request Invalid attribu Check HTTP Response Body Json Schema Is ProblemDetails GET information about multiple VNF Snapshot Packages with "all_fields" attribute selector - [Documentation] Test ID: 5.3.6.2.5 + [Documentation] Test ID: 5.3.7.2.5 ... Test title: GET information about multiple VNF Snapshot Packages with "all_fields" attribute selector ... Test objective: The objective is to query information about multiple VNF Snapshot Packages ... Pre-conditions: none @@ -68,7 +68,7 @@ GET information about multiple VNF Snapshot Packages with "all_fields" attribute Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfos GET information about multiple VNF Snapshot Packages with "exclude_default" attribute selector - [Documentation] Test ID: 5.3.6.2.6 + [Documentation] Test ID: 5.3.7.2.6 ... Test title: GET information about multiple VNF Snapshot Packages with "exclude_default" attribute selector ... Test objective: The objective is to query information about multiple VNF Snapshot Packages ... Pre-conditions: none @@ -81,7 +81,7 @@ GET information about multiple VNF Snapshot Packages with "exclude_default" attr Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfos GET information about multiple VNF Snapshot Packages with "fields" attribute selector - [Documentation] Test ID: 5.3.6.2.7 + [Documentation] Test ID: 5.3.7.2.7 ... Test title: GET information about multiple VNF Snapshot Packages with "fields" attribute selector ... Test objective: The objective is to query information about multiple VNF Snapshot Packages ... Pre-conditions: none @@ -94,7 +94,7 @@ GET information about multiple VNF Snapshot Packages with "fields" attribute sel Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfos GET information about multiple VNF Snapshot Packages with "exclude_default" and "fields" attribute selector - [Documentation] Test ID: 5.3.6.2.8 + [Documentation] Test ID: 5.3.7.2.8 ... Test title: GET information about multiple VNF Snapshot Packages with "exclude_default" and "fields" attribute selector ... Test objective: The objective is to query information about multiple VNF Snapshot Packages ... Pre-conditions: none @@ -107,7 +107,7 @@ GET information about multiple VNF Snapshot Packages with "exclude_default" and Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfos GET information about multiple VNF Snapshot Packages with "exclude_fields" attribute selector - [Documentation] Test ID: 5.3.6.2.9 + [Documentation] Test ID: 5.3.7.2.9 ... Test title: GET information about multiple VNF Snapshot Packages with "exclude_fields" attribute selector ... Test objective: The objective is to query information about multiple VNF Snapshot Packages ... Pre-conditions: none @@ -120,7 +120,7 @@ GET information about multiple VNF Snapshot Packages with "exclude_fields" attri Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfos GET VNF Snapshot Packages - Bad Request Response too Big - [Documentation] Test ID: 5.3.6.2.10 + [Documentation] Test ID: 5.3.7.2.10 ... Test title: GET VNF Snapshot Packages - Bad Request Response too Big ... Test objective: The objective is test that the retrieval of existing VNF Snapshot Packages list fails because response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none @@ -133,7 +133,7 @@ GET VNF Snapshot Packages - Bad Request Response too Big Check HTTP Response Body Json Schema Is ProblemDetails GET VNF Snapshot Packages as Paged Response - [Documentation] Test ID: 5.3.6.2.11 + [Documentation] Test ID: 5.3.7.2.11 ... Test title: GET VNF Snapshot Packages as Paged Response ... Test objective: The objective is to test that GET method retrieves the list of existing VNF Snapshot Packages as paged response. ... Pre-conditions: none @@ -146,7 +146,7 @@ GET VNF Snapshot Packages as Paged Response Check HTTP Response Header Contains Link PUT VNF Snapshot Packages - Method not implemented - [Documentation] Test ID: 5.3.6.2.12 + [Documentation] Test ID: 5.3.7.2.12 ... Test title: PUT VNF Snapshot Packages - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none @@ -158,7 +158,7 @@ PUT VNF Snapshot Packages - Method not implemented Check HTTP Response Status Code Is 405 PATCH VNF Snapshot Packages - Method not implemented - [Documentation] Test ID: 5.3.6.2.13 + [Documentation] Test ID: 5.3.7.2.13 ... Test title: PATCH VNF Snapshot Packages - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none @@ -170,7 +170,7 @@ PATCH VNF Snapshot Packages - Method not implemented Check HTTP Response Status Code Is 405 DELETE VNF Snapshot Packages - Method not implemented - [Documentation] Test ID: 5.3.6.2.14 + [Documentation] Test ID: 5.3.7.2.14 ... Test title: DELETE VNF Snapshot Packages - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none @@ -180,3 +180,16 @@ DELETE VNF Snapshot Packages - Method not implemented ... Post-Conditions: VNF snapshot package is not deleted DELETE VNF Snapshot Packages Check HTTP Response Status Code Is 405 + +GET information about multiple VNF Snapshot Packages with Filter + [Documentation] Test ID: 5.3.7.2.15 + ... Test title: GET information about multiple VNF Snapshot Packages with Filter + ... Test objective: The objective is to get information about multiples VNF Snapshot Packages using filter + ... Pre-conditions: none + ... Reference: Clause 11.4.2.3.2 - ETSI GS NFV-SOL 005 [3] v3.3.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET multiple VNF Snapshot Packages using filter + Check HTTP Response Status Code Is 200 + Check HTTP Response Body Json Schema Is VnfSnapshotPkgInfos \ No newline at end of file diff --git a/SOL005/VNFSnapshotPackageManagement-API/VnfSnapshotPackageManagementKeywords.robot b/SOL005/VNFSnapshotPackageManagement-API/VnfSnapshotPackageManagementKeywords.robot index 1025fefec5431f4aa006ebd594277dc349c5fbba..3c5a616bce54d9593b020232faa4f90eb5d9bee5 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/VnfSnapshotPackageManagementKeywords.robot +++ b/SOL005/VNFSnapshotPackageManagement-API/VnfSnapshotPackageManagementKeywords.robot @@ -124,15 +124,24 @@ GET multiple VNF Snapshot Packages with bad filter Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} - GET ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshot_packages?fields=wrong_field + GET ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshot_packages?${filter_ko} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} +GET multiple VNF Snapshot Packages using filter + Log Query VNF The GET method queries information about multiple VNF Snapshot Packages using filter + Set Headers {"Accept":"${ACCEPT_JSON}"} + Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} + GET ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshot_packages?${filter_ok} + ${outputResponse}= Output response + Set Global Variable ${response} ${outputResponse} + GET multiple VNF Snapshot Packages with all_fields attribute selector Log Query status information about multiple VNF Snapshot Packages, using fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} - GET ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshot_packages?exclude_default + GET ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshot_packages?all_fields ${output}= Output response Set Suite Variable ${response} ${output} diff --git a/SOL005/VNFSnapshotPackageManagement-API/environment/variables.txt b/SOL005/VNFSnapshotPackageManagement-API/environment/variables.txt index 0c2117dd2b49796cc86539724b6be2090518537b..7c7acc1356773f55fb3dd2f2d453188525a17348 100644 --- a/SOL005/VNFSnapshotPackageManagement-API/environment/variables.txt +++ b/SOL005/VNFSnapshotPackageManagement-API/environment/variables.txt @@ -57,7 +57,7 @@ ${erroneousVnfPackageId} erroneousVnfPackageId # Given ID for vnfPkg not p ${erroneousVnfdId} erroneousVnfdId -${filter_ok} callbackUri=http://172.22.1.7:9091/vnfpkgm/subscriptions +${filter_ok} id=f9f130e4-05eb-4082-a676-4c97d13a883d ${filter_ko} nfvId=f9f130e4-05eb-4082-a676-4c97d13a883d # Not existant filter attribute-based ${SEPERATOR} = diff --git a/SOL005/VNFSnapshotPackageManagement-API/schemas/ProblemDetails.schema.json b/SOL005/VNFSnapshotPackageManagement-API/schemas/ProblemDetails.schema.json new file mode 100644 index 0000000000000000000000000000000000000000..c6156efbe2dcce0b2c27c7faaccfd15ee22c9ba1 --- /dev/null +++ b/SOL005/VNFSnapshotPackageManagement-API/schemas/ProblemDetails.schema.json @@ -0,0 +1,32 @@ +{ + "description": "The definition of the general \"ProblemDetails\" data structure from IETF RFC 7807 [19] is reproduced in this structure. Compared to the general framework defined in IETF RFC 7807 [19], the \"status\" and \"detail\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \"ProblemDetails\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19].\n", + "type": "object", + "required": [ + "status", + "detail" + ], + "properties": { + "type": { + "description": "A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \"about:blank\".\n", + "type": "string", + "format": "URI" + }, + "title": { + "description": "A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \"about:blank\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4).\n", + "type": "string" + }, + "status": { + "description": "The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.\n", + "type": "integer" + }, + "detail": { + "description": "A human-readable explanation specific to this occurrence of the problem.\n", + "type": "string" + }, + "instance": { + "description": "A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced.\n", + "type": "string", + "format": "URI" + } + } +} \ No newline at end of file