From c0bbc07e5e1b746210c1ad98abc529a3e2c037cf Mon Sep 17 00:00:00 2001 From: aureliano sinatra Date: Wed, 10 Jul 2019 17:06:24 +0200 Subject: [PATCH] added documentation --- .../CancelOperationTask.robot | 67 ++++++++- .../ContinueOperationTask.robot | 64 +++++++- .../FailOperationTask.robot | 66 ++++++++- .../HealNSTask.robot | 48 ++++++ .../IndividualNSInstance.robot | 50 ++++++- .../IndividualNSLCMOccurences.robot | 52 ++++++- .../IndividualSubscription.robot | 40 +++++ .../InstantiateNSTask.robot | 48 ++++++ .../NSInstances.robot | 56 +++++++ .../NSLCMOccurences.robot | 92 ++++++++++-- .../NSLCMOperationKeywords.robot | 85 +++++++++++ .../NotificationEndpoint.robot | 138 ++++++++---------- .../RetryOperationTask.robot | 64 +++++++- .../RollbackOperationTask.robot | 64 +++++++- .../ScaleNSTask.robot | 48 ++++++ .../Subscriptions.robot | 66 ++++++++- .../TerminateNSTask.robot | 48 ++++++ .../UpdateNSTask.robot | 48 ++++++ 18 files changed, 1024 insertions(+), 120 deletions(-) diff --git a/SOL005/NSLifecycleManagement-API/CancelOperationTask.robot b/SOL005/NSLifecycleManagement-API/CancelOperationTask.robot index 43a4c7ec..7ffdb8db 100644 --- a/SOL005/NSLifecycleManagement-API/CancelOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/CancelOperationTask.robot @@ -9,39 +9,92 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Post Cancel operation task + [Documentation] Test ID: 5.3.2.14.1 + ... Test title: POST Cancel a NS lifecycle operation + ... Test objective: The objective is to test that POST method cancel an LCM operation + ... Pre-conditions: NS instance status equal to STARTING, PROCESSING or ROLLING_BACK + ... Reference: section 6.4.15.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test Check resource FAILED_TEMP POST Cancel operation task Check HTTP Response Status Code Is 202 Post Cancel operation task Not Found + [Documentation] Test ID: 5.3.2.14.2 + ... Test title: POST Cancel a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail if LCM operation not found + ... Pre-conditions: none + ... Reference: section 6.4.15.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none [Setup] Check Cancel not supported POST Cancel operation task Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Post Cancel operation task Conflict + [Documentation] Test ID: 5.3.2.14.3 + ... Test title: POST Cancel a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail if a status conflict exist on LCM operation + ... Pre-conditions: none + ... Reference: section 6.4.15.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test failure Check resource FAILED_TEMP POST Cancel operation task Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails + +GET Cancel operation task - Method not implemented + [Documentation] Test ID: 5.3.2.14.4 + ... Test title: GET Cancel NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.15.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET Cancel operation task + Check HTTP Response Status Code Is 405 PUT Cancel operation task - Method not implemented + [Documentation] Test ID: 5.3.2.14.5 + ... Test title: PUT Cancel NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.15.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Cancel operation task Check HTTP Response Status Code Is 405 PATCH Cancel operation task - Method not implemented + [Documentation] Test ID: 5.3.2.14.6 + ... Test title: PATCH Cancel NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.15.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Cancel operation task Check HTTP Response Status Code Is 405 DELETE Cancel operation task - Method not implemented + [Documentation] Test ID: 5.3.2.14.7 + ... Test title: DELETE Cancel NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.15.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Cancel operation task Check HTTP Response Status Code Is 405 -GET Cancel operation task - Method not implemented - GET Cancel operation task - Check HTTP Response Status Code Is 405 - - - - \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot b/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot index 6734bf07..2d171da4 100644 --- a/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot @@ -9,37 +9,93 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Post Continue operation task + [Documentation] Test ID: 5.3.2.12.1 + ... Test title: POST Continue a NS lifecycle operation + ... Test objective: The objective is to test that POST method trigger a continue on the LCM operation + ... Pre-conditions: NS instance status equal to FAILED_TEMP + ... Reference: section 6.4.13.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test Check resource FAILED_TEMP POST Continue operation task Check HTTP Response Status Code Is 202 Post Continue operation task Not Found + [Documentation] Test ID: 5.3.2.12.2 + ... Test title: POST Continue a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail if operation is not found + ... Pre-conditions: none + ... Reference: section 6.4.13.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none [Setup] Check Continue not supported POST Continue operation task Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Post Continue operation task Conflict + [Documentation] Test ID: 5.3.2.12.3 + ... Test title: POST Continue a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail in case of operation status conflict + ... Pre-conditions: none + ... Reference: section 6.4.13.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test failure Check resource FAILED_TEMP POST Continue operation task Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails +GET Continue operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.4 + ... Test title: GET Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.10.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET Continue operation task + Check HTTP Response Status Code Is 405 + PUT Continue operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.5 + ... Test title: PUT Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.13.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Continue operation task Check HTTP Response Status Code Is 405 PATCH Continue operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.5 + ... Test title: PATCH Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.14.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Continue operation task Check HTTP Response Status Code Is 405 DELETE Continue operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.5 + ... Test title: DELETE Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.14.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Continue operation task Check HTTP Response Status Code Is 405 -GET Continue operation task - Method not implemented - GET Continue operation task - Check HTTP Response Status Code Is 405 - \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/FailOperationTask.robot b/SOL005/NSLifecycleManagement-API/FailOperationTask.robot index b86573d3..052f8e02 100644 --- a/SOL005/NSLifecycleManagement-API/FailOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/FailOperationTask.robot @@ -9,38 +9,92 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Post Fail operation task + [Documentation] Test ID: 5.3.2.13.1 + ... Test title: POST Fail a NS lifecycle operation + ... Test objective: The objective is to test that POST method trigger a state change to "finally failed" on the LCM operation + ... Pre-conditions: NS instance status equal to FAILED_TEMP + ... Reference: section 6.4.14.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test Check resource FAILED_TEMP POST Fail operation task Check HTTP Response Status Code Is 202 Post Fail operation task Not Found + [Documentation] Test ID: 5.3.2.13.2 + ... Test title: POST Fail a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail if the LCM operation is not found + ... Pre-conditions: none + ... Reference: section 6.4.14.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none [Setup] Check Fail not supported POST Fail operation task Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Post Fail operation task Conflict + [Documentation] Test ID: 5.3.2.13.3 + ... Test title: POST Fail a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail in case of status conflict on the LCM operation + ... Pre-conditions: none + ... Reference: section 6.4.14.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test failure Check resource FAILED_TEMP POST Fail operation task Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails + +GET Fail operation task - Method not implemented + [Documentation] Test ID: 5.3.2.13.4 + ... Test title: GET Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.14.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET Fail operation task + Check HTTP Response Status Code Is 405 PUT Fail operation task - Method not implemented + [Documentation] Test ID: 5.3.2.13.5 + ... Test title: PUT Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.14.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Fail operation task Check HTTP Response Status Code Is 405 PATCH Fail operation task - Method not implemented + [Documentation] Test ID: 5.3.2.13.6 + ... Test title: PATCH Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.14.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Fail operation task Check HTTP Response Status Code Is 405 DELETE Fail operation task - Method not implemented + [Documentation] Test ID: 5.3.2.13.7 + ... Test title: DELETE Continue NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.14.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Fail operation task Check HTTP Response Status Code Is 405 -GET Fail operation task - Method not implemented - GET Fail operation task - Check HTTP Response Status Code Is 405 - - - \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/HealNSTask.robot b/SOL005/NSLifecycleManagement-API/HealNSTask.robot index 3a5e3f00..32f32c23 100644 --- a/SOL005/NSLifecycleManagement-API/HealNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/HealNSTask.robot @@ -9,11 +9,27 @@ Suite Setup Check resource existance *** Test Cases *** Heal a NSInstance + [Documentation] Test ID: 5.3.2.6.1 + ... Test title: POST Individual Heal NS instance + ... Test objective: The objective is to test that POST method allow to create a Heal NS instance + ... Pre-conditions: none + ... Reference: section 6.4.7.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The Heal NS instance is created on the NFVO POST Heal NSInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Heal a NSInstance Conflict + [Documentation] Test ID: 5.3.2.6.2 + ... Test title: POST Individual Heal NS instance + ... Test objective: The objective is to test that POST method fail if NS instance is not in NOT_INSTANTIATE state + ... Pre-conditions: none + ... Reference: section 6.4.7.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The Heal NS instance is not created on the NFVO [Setup] Check resource not_instantiated POST Heal NSInstance Check HTTP Response Status Code Is 409 @@ -21,18 +37,50 @@ Heal a NSInstance Conflict Check HTTP Response Body Json Schema Is ProblemDetails GET Heal NSInstance- Method not implemented + [Documentation] Test ID: 5.3.2.6.3 + ... Test title: GET Individual Heal NS instance - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.7.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET Heal NSInstance Check HTTP Response Status Code Is 405 PUT Heal NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.6.4 + ... Test title: PUT Individual Heal NS instance - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.7.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Heal NSInstance Check HTTP Response Status Code Is 405 PATCH Heal NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.6.4 + ... Test title: PATCH Individual Heal NS instance - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.7.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Heal NSInstance Check HTTP Response Status Code Is 405 DELETE Heal NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.6.4 + ... Test title: DELETE Individual Heal NS instance - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.7.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Heal NSInstance Check HTTP Response Status Code Is 405 diff --git a/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot b/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot index 16850e75..11b7b1a8 100644 --- a/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot +++ b/SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot @@ -8,29 +8,77 @@ Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** -Post Individual VNFInstance - Method not implemented +Post Individual NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.2.1 + ... Test title: POST Individual NS instance - Method not implemented + ... Test objective: The objective is to test that POST method is not allowed to create a new NS instance + ... Pre-conditions: none + ... Reference: section 6.4.3.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not created on the NFVO POST IndividualNSInstance Check HTTP Response Status Code Is 405 Get Information about an individual NS Instance + [Documentation] Test ID: 5.3.2.2.2 + ... Test title: GET Individual NS instance + ... Test objective: The objective is to test that GET method allow to query an NS instance + ... Pre-conditions: none + ... Reference: section 6.4.3.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET IndividualNSInstance Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is NsInstance PUT Individual NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.2.3 + ... Test title: PUT Individual NS instance - Method not implemented + ... Test objective: The objective is to test that PUT method is not allowed to create a new NS instance + ... Pre-conditions: none + ... Reference: section 6.4.3.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not modified on the NFVO PUT IndividualNSInstance Check HTTP Response Status Code Is 405 PATCH Individual NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.2.4 + ... Test title: PATCH Individual NS instance - Method not implemented + ... Test objective: The objective is to test that PATCH method is not allowed to create a new NS instance + ... Pre-conditions: none + ... Reference: section 6.4.3.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not modified on the NFVO PATCH IndividualNSInstance Check HTTP Response Status Code Is 405 DELETE Individual NSInstance + [Documentation] Test ID: 5.3.2.2.5 + ... Test title: DELETE Individual NS instance + ... Test objective: The objective is to test that DELETE method is allowed to delete a NS instance + ... Pre-conditions: none. + ... Reference: section 6.4.3.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is deleted from the NFVO DELETE IndividualNSInstance Check HTTP Response Status Code Is 204 DELETE Individual NSInstance Conflict + [Documentation] Test ID: 5.3.2.2.5 + ... Test title: DELETE Individual NS instance + ... Test objective: The objective is to test that DELETE method is allowed to delete a NS instance + ... Pre-conditions: At least one running instance of a NS + ... Reference: section 6.4.3.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is deleted from the NFVO [Setup] Check resource instantiated DELETE IndividualNSInstance Check HTTP Response Status Code Is 409 diff --git a/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot b/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot index b51d2b14..a6caf6a8 100644 --- a/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot +++ b/SOL005/NSLifecycleManagement-API/IndividualNSLCMOccurences.robot @@ -8,26 +8,68 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Post Individual NS LCM occurences - Method not implemented + [Documentation] Test ID: 5.3.2.9.1 + ... Test title: POST Individual NS LCM occurrences - Method not implemented + ... Test objective: The objective is to test that POST method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.10.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none POST Individual NS LCM OP Occurence Check HTTP Response Status Code Is 405 +Get stauts information about Individual NS LCM OP OCC + [Documentation] Test ID: 5.3.2.9.2 + ... Test title: GET NS LCM Occurrences + ... Test objective: The objective is to test that GET method return the LCM occurrence of the NS + ... Pre-conditions: none + ... Reference: section 6.4.10.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET Individual NS LCN OP Occurence + Check HTTP Response Status Code Is 200 + Check HTTP Response Header ContentType is ${CONTENT_TYPE} + Check HTTP Response Body Json Schema Is NsLcmOpOcc + PUT stauts information about Individual NS LCM OP OCC - Method not implemented + [Documentation] Test ID: 5.3.2.9.3 + ... Test title: PUT Individual NS LCM occurrences - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.10.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Individual NS LCM OP Occurence Check HTTP Response Status Code Is 405 PATCH stauts information about Individual NS LCM OP OCC - Method not implemented + [Documentation] Test ID: 5.3.2.9.4 + ... Test title: PATCH Individual NS LCM occurrences - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.10.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Individual NS LCM OP Occurence Check HTTP Response Status Code Is 405 DELETE stauts information about Individual NS LCM OP OCC - Method not implemented + [Documentation] Test ID: 5.3.2.9.5 + ... Test title: DELETE Individual NS LCM occurrences - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.10.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Individual NS LCM OP Occurence Check HTTP Response Status Code Is 405 -Get stauts information about Individual NS LCM OP OCC - GET Individual NS LCN OP Occurence - Check HTTP Response Status Code Is 200 - Check HTTP Response Header ContentType is ${CONTENT_TYPE} - Check HTTP Response Body Json Schema Is NsLcmOpOcc + \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/IndividualSubscription.robot b/SOL005/NSLifecycleManagement-API/IndividualSubscription.robot index 6d734b90..ee94d628 100644 --- a/SOL005/NSLifecycleManagement-API/IndividualSubscription.robot +++ b/SOL005/NSLifecycleManagement-API/IndividualSubscription.robot @@ -10,22 +10,62 @@ Suite Setup Check subscription existance *** Test Cases *** Post Individual Subscription - Method not implemented + [Documentation] Test ID: 5.3.2.16.1 + ... Test title: POST Individual NS lifecycle management subscription - Method not implemented + ... Test objective: The objective is to test that POST method is not allowed to create a new NS lifecycle management subscription + ... Pre-conditions: none + ... Reference: section 6.4.17.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS lifecycle management subscription is not created on the NFVO POST Individual Subscription Check HTTP Response Status Code Is 405 Get Information about an individual subscription + [Documentation] Test ID: 5.3.2.16.2 + ... Test title: GET Individual NS lifecycle management subscription + ... Test objective: The objective is to test the retrieval of NS lifecycle management subscription and perform a JSON schema validation of the returned subscription data structure + ... Pre-conditions: none + ... Reference: section 6.4.17.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET Individual subscription Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is subscription PUT an individual subscription - Method not implemented + [Documentation] Test ID: 5.3.2.16.3 + ... Test title: PUT Individual NS lifecycle management subscription - Method not implemented + ... Test objective: The objective is to test that PUT method is not allowed to modify a NS lifecycle management subscription + ... Pre-conditions: none + ... Reference: section 6.4.17.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS lifecycle management subscription is not modified by the operation PUT Individual Subscription Check HTTP Response Status Code Is 405 PATCH an individual subscription - Method not implemented + [Documentation] Test ID: 5.3.2.16.4 + ... Test title: PATCH Individual NS lifecycle management subscription - Method not implemented + ... Test objective: The objective is to test that PATCH method is not allowed to modify a new NS lifecycle management subscription + ... Pre-conditions: none + ... Reference: section 6.4.17.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS lifecycle management subscription is not modified by the operation PATCH Individual Subscription Check HTTP Response Status Code Is 405 DELETE an individual subscription + [Documentation] Test ID: 5.3.2.16.5 + ... Test title: POST Individual NS lifecycle management subscription - Method not implemented + ... Test objective: The objective is to test the deletion of an individual NS lifecycle management subscription + ... Pre-conditions: At least one lifecycle management subscription is available in the NFVO + ... Reference: section 6.4.17.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS lifecycle management subscription is not available anymore on NFVO DELETE Individual Subscription Check HTTP Response Status Code Is 204 \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot b/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot index a297dfe3..6a7cabc7 100644 --- a/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot @@ -9,28 +9,76 @@ Suite Setup Check resource existance *** Test Cases *** Instantiate a nsInstance + [Documentation] Test ID: 5.3.2.3.1 + ... Test title: POST Individual NS instance + ... Test objective: The objective is to test that POST method allow to create a new NS instance + ... Pre-conditions: none + ... Reference: section 6.4.4.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is created on the NFVO POST Instatiate nsInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Instantiate a nsInstance Conflict + [Documentation] Test ID: 5.3.2.3.2 + ... Test title: POST Individual NS instance + ... Test objective: The objective is to test that the operation can't be performed due to a conflict with the state of resource + ... Pre-conditions: none + ... Reference: section 6.4.4.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not instantiated on the NFVO [Setup] Check resource instantiated POST Instatiate nsInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails GET Instantiate NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.3.3 + ... Test title: GET Individual NS instance - Method not implemented + ... Test objective: The objective is to test that the operation can't be performed due because method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.4.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none. GET Instantiate NSInstance Check HTTP Response Status Code Is 405 PUT Instantiate NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.3.4 + ... Test title: PUT Individual NS instance - Method not implemented + ... Test objective: The objective is to test that the operation can't be performed due because method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.4.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not modified on the NFVO PUT Instantiate NSInstance Check HTTP Response Status Code Is 405 PATCH Instantiate NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.3.5 + ... Test title: PATCH Individual NS instance - Method not implemented + ... Test objective: The objective is to test that the operation can't be performed due because method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.4.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not modified on the NFVO PATCH Instantiate NSInstance Check HTTP Response Status Code Is 405 DELETE Instantiate NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.3.6 + ... Test title: DELETE Individual NS instance - Method not implemented + ... Test objective: The objective is to test that the operation can't be performed due because method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.4.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not deleted from the NFVO DELETE Instantiate NSInstance Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/NSInstances.robot b/SOL005/NSLifecycleManagement-API/NSInstances.robot index c74944d1..61d1cf20 100644 --- a/SOL005/NSLifecycleManagement-API/NSInstances.robot +++ b/SOL005/NSLifecycleManagement-API/NSInstances.robot @@ -8,34 +8,90 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Create a new NsInstance + [Documentation] Test ID: 5.3.2.1.1 + ... Test title: POST Individual NS instance + ... Test objective: The objective is to test the creation of a new Ns Instances and perform a JSON schema validation of the collected instance data structure + ... Pre-conditions: none. + ... Reference: section 6.4.2.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none. + ... Post-Conditions: A Ns instance is instantiated. POST New nsInstance Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Body Json Schema Is NsInstance Get information about multiple NS instances + [Documentation] Test ID: 5.3.2.1.2 + ... Test title: GET Individual NS instance + ... Test objective: The objective is to test the retrieval of all the available NS Instances and perform a JSON schema and content validation of the collected instance data structure + ... Pre-conditions: A Ns instance is instantiated. + ... Reference: section 6.4.2.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none. + ... Post-Conditions: A Ns instance is instantiated. GET NsInstances Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is NsInstances Get information about multiple NS instances Bad Request Invalid attribute-based filtering parameters + [Documentation] Test ID: 5.3.2.1.3 + ... Test title: GET Individual NS instance + ... Test objective: The objective is to test the retrieval of all the available NS Instances using attribute-based filter and perform a JSON schema and content validation of the collected instance data structure + ... Pre-conditions: A Ns instance is instantiated. + ... Reference: section 6.4.2.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none. + ... Post-Conditions: none. GET NsInstance Invalid Attribute-Based filtering parameter Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails Get information about multiple NS instances Bad Request Invalid attribute selector + [Documentation] Test ID: 5.3.2.1.4 + ... Test title: GET Individual NS instance + ... Test objective: The objective is to test the retrieval of all the available NS Instances using attribute-based filter and perform a JSON schema and content validation of the collected instance data structure + ... Pre-conditions: A Ns instance is instantiated. + ... Reference: section 6.4.2.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none. + ... Post-Conditions: none. GET NsInstance Invalid Attribute Selector Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails PUT NSInstances - Method not implemented + [Documentation] Test ID: 5.3.2.1.5 + ... Test title: PUT Individual NS instance - Method not implemented + ... Test objective: The objective is to test that PUT method is not allowed to modify a NS instance + ... Pre-conditions: none + ... Reference: section 6.4.2.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not modified by the operation PUT NSInstances Check HTTP Response Status Code Is 405 PATCH NSInstances - Method not implemented + [Documentation] Test ID: 5.3.2.1.6 + ... Test title: PATCH Individual NS instance - Method not implemented + ... Test objective: The objective is to test that PATCH method is not allowed to modify a NS instance + ... Pre-conditions: none + ... Reference: section 6.4.2.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not modified by the operation PATCH NSInstances Check HTTP Response Status Code Is 405 DELETE NSInstances - Method not implemented + [Documentation] Test ID: 5.3.2.1.7 + ... Test title: DELETE Individual NS instance - Method not implemented + ... Test objective: The objective is to test that DELETE method is not allowed to modify a list of NS instance + ... Pre-conditions: none + ... Reference: section 6.4.2.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS instance is not modified by the operation DELETE NSInstances Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot b/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot index 5a15ef38..8cd8ee78 100644 --- a/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot +++ b/SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot @@ -8,33 +8,93 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Post NS LCM occurences - Method not implemented + [Documentation] Test ID: 5.3.2.8.1 + ... Test title: POST NS LCM occurrences - Method not implemented + ... Test objective: The objective is to test that POST method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.9.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + POST Terminate NSInstance + Check HTTP Response Status Code Is 202 + Check HTTP Response Header Contains Location POST NS LCM OP Occurences Check HTTP Response Status Code Is 405 -PUT stauts information about multiple NS LCM OP OCC - Method not implemented - PUT NS LCM OP Occurences - Check HTTP Response Status Code Is 405 - -PATCH stauts information about multiple NS LCM OP OCC - Method not implemented - PATCH NS LCM OP Occurences - Check HTTP Response Status Code Is 405 - -DELETE stauts information about multiple NS LCM OP OCC - Method not implemented - DELETE NS LCM OP Occurences - Check HTTP Response Status Code Is 405 - -Get stauts information about multiple NS LCM OP OCC +Get status information about multiple NS LCM OP OCC + [Documentation] Test ID: 5.3.2.8.2 + ... Test title: GET NS LCM Occurrences + ... Test objective: The objective is to test that GET method return a list of LCM occurrences of the NS + ... Pre-conditions: none + ... Reference: section 6.4.9.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET NS LCN OP Occurences Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is NsLcmOpOccs -Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute-based filtering parameters +Get status information about multiple NS LCM OP OCC Bad Request Invalid attribute-based filtering parameters + [Documentation] Test ID: 5.3.2.8.3 + ... Test title: GET NS LCM Occurrences + ... Test objective: The objective is to test that GET method fail because the query parameter is not existing + ... Pre-conditions: none + ... Reference: section 6.4.9.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET NS LCN OP Occurences Invalid attribute-based filtering parameters Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails -Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute selector +Get status information about multiple NS LCM OP OCC Bad Request Invalid attribute selector + [Documentation] Test ID: 5.3.2.8.4 + ... Test title: GET NS LCM Occurrences + ... Test objective: The objective is to test that GET method fail because the attributes selector is not existing + ... Pre-conditions: none + ... Reference: section 6.4.9.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET NS LCN OP Occurences Invalid attribute selector Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails - \ No newline at end of file + + +PUT status information about multiple NS LCM OP OCC - Method not implemented + [Documentation] Test ID: 5.3.2.8.5 + ... Test title: PUT Terminate NS instance - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.9.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + PUT NS LCM OP Occurences + Check HTTP Response Status Code Is 405 + +PATCH status information about multiple NS LCM OP OCC - Method not implemented + [Documentation] Test ID: 5.3.2.8.6 + ... Test title: PATCH Terminate NS instance - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.9.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + PATCH NS LCM OP Occurences + Check HTTP Response Status Code Is 405 + +DELETE status information about multiple NS LCM OP OCC - Method not implemented + [Documentation] Test ID: 5.3.2.8.7 + ... Test title: DELETE Terminate NS instance - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.9.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + DELETE NS LCM OP Occurences + Check HTTP Response Status Code Is 405 + diff --git a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot index c837de30..fd5d8b90 100644 --- a/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot +++ b/SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot @@ -882,3 +882,88 @@ DELETE Individual subscription Delete ${apiRoot}/${apiName}/${apiVersion}/subscriptions/${subscriptionId} ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} + +POST Operation occurrence + log The POST method delivers a notification from the server to the client. + ${json}= Get File schemas/NsLcmOperationOccurrenceNotification.schema.json + ${BODY}= evaluate json.loads('''${json}''') json + Log Creating mock request and response to handle NSLcmOperationOccurrenceNotification + &{req}= Create Mock Request Matcher POST ${callback_endpoint} body_type="JSON_SCHEMA" body=${BODY} + &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 + Create Mock Expectation ${req} ${rsp} + Sleep ${sleep_interval} + Log Verifying results + Verify Mock Expectation ${req} + Log Cleaning the endpoint + Clear Requests ${callback_endpoint} + +POST Id creation + log The POST method delivers a notification from the server to the client. + ${json}= Get File schemas/NsIdentifierCreationNotification.schema.json + ${BODY}= evaluate json.loads('''${json}''') json + Log Creating mock request and response to handle NsIdentifierCreationNotification + &{req}= Create Mock Request Matcher POST ${callback_endpoint}} body_type="JSON_SCHEMA" body=${BODY} + &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 + Create Mock Expectation ${req} ${rsp} + Sleep ${sleep_interval} + Log Verifying results + Verify Mock Expectation ${req} + Log Cleaning the endpoint + Clear Requests ${callback_endpoint} + +POST Id deletion + log The POST method delivers a notification from the server to the client. + ${json}= Get File schemas/NsIdentifierDeletionNotification.schema.json + ${BODY}= evaluate json.loads('''${json}''') json + Log Creating mock request and response to handle NsIdentifierDeletionNotification + &{req}= Create Mock Request Matcher POST ${callback_endpoint} body_type="JSON_SCHEMA" body=${BODY} + &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 + Create Mock Expectation ${req} ${rsp} + Sleep ${sleep_interval} + Log Verifying results + Verify Mock Expectation ${req} + Log Cleaning the endpoint + Clear Requests ${callback_endpoint} + +GET Notification endpoint + log The GET method allows the server to test the notification endpoint + &{req}= Create Mock Request Matcher GET ${callback_endpoint} + &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 + Create Mock Expectation ${req} ${rsp} + Sleep ${sleep_interval} + Verify Mock Expectation ${req} + Clear Requests ${callback_endpoint} + +PUT notification + Log PUT Method not implemented + &{req}= Create Mock Request Matcher PUT ${callback_endpoint} + &{rsp}= Create Mock Response status_code=405 + Create Mock Expectation ${req} ${rsp} + Sleep ${sleep_interval} + Log Verifying results + Verify Mock Expectation ${req} + Log Cleaning the endpoint + Clear Requests ${callback_endpoint} + +PATCH subscriptions + Log PATCH Method not implemented + &{req}= Create Mock Request Matcher PATCH ${callback_endpoint} + &{rsp}= Create Mock Response status_code=405 + Create Mock Expectation ${req} ${rsp} + Sleep ${sleep_interval} + Log Verifying results + Verify Mock Expectation ${req} + Log Cleaning the endpoint + Clear Requests ${callback_endpoint} + +DELETE subscriptions + Log DELETE Method not implemented + &{req}= Create Mock Request Matcher DELETE ${callback_endpoint} + &{rsp}= Create Mock Response status_code=405 + Create Mock Expectation ${req} ${rsp} + Sleep ${sleep_interval} + Log Verifying results + Verify Mock Expectation ${req} + Log Cleaning the endpoint + Clear Requests ${callback_endpoint} + \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/NotificationEndpoint.robot b/SOL005/NSLifecycleManagement-API/NotificationEndpoint.robot index 9f4c79bf..6fd5179d 100644 --- a/SOL005/NSLifecycleManagement-API/NotificationEndpoint.robot +++ b/SOL005/NSLifecycleManagement-API/NotificationEndpoint.robot @@ -10,86 +10,76 @@ Library OperatingSystem *** Test Cases *** Deliver a notification - Operation Occurence - log The POST method delivers a notification from the server to the client. - ${json}= Get File schemas/NsLcmOperationOccurrenceNotification.schema.json - ${BODY}= evaluate json.loads('''${json}''') json - Log Creating mock request and response to handle NSLcmOperationOccurrenceNotification - &{req}= Create Mock Request Matcher POST ${callback_endpoint} body_type="JSON_SCHEMA" body=${BODY} - &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 - Create Mock Expectation ${req} ${rsp} - Sleep ${sleep_interval} - Log Verifying results - Verify Mock Expectation ${req} - Log Cleaning the endpoint - Clear Requests ${callback_endpoint} - + [Documentation] Test ID: 5.3.2.17.1 + ... Test title: POST delivers a notification from the server to the client + ... Test objective: The objective is to test that POST method trigger a notification about lifecycle changes triggered by a NS LCM operation occurrence + ... Pre-conditions: none + ... Reference: section 6.4.18.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + POST Operation occurrence Deliver a notification - Id Creation - log The POST method delivers a notification from the server to the client. - ${json}= Get File schemas/NsIdentifierCreationNotification.schema.json - ${BODY}= evaluate json.loads('''${json}''') json - Log Creating mock request and response to handle NsIdentifierCreationNotification - &{req}= Create Mock Request Matcher POST ${callback_endpoint}} body_type="JSON_SCHEMA" body=${BODY} - &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 - Create Mock Expectation ${req} ${rsp} - Sleep ${sleep_interval} - Log Verifying results - Verify Mock Expectation ${req} - Log Cleaning the endpoint - Clear Requests ${callback_endpoint} - + [Documentation] Test ID: 5.3.2.17.2 + ... Test title: POST delivers a notification from the server to the client + ... Test objective: The objective is to test that POST method trigger a notification about the creation of a NS identifier and the related NS instance resource + ... Pre-conditions: none + ... Reference: section 6.4.18.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + POST Id creation Deliver a notification - Id deletion - log The POST method delivers a notification from the server to the client. - ${json}= Get File schemas/NsIdentifierDeletionNotification.schema.json - ${BODY}= evaluate json.loads('''${json}''') json - Log Creating mock request and response to handle NsIdentifierDeletionNotification - &{req}= Create Mock Request Matcher POST ${callback_endpoint} body_type="JSON_SCHEMA" body=${BODY} - &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 - Create Mock Expectation ${req} ${rsp} - Sleep ${sleep_interval} - Log Verifying results - Verify Mock Expectation ${req} - Log Cleaning the endpoint - Clear Requests ${callback_endpoint} + [Documentation] Test ID: 5.3.2.17.3 + ... Test title: POST delivers a notification from the server to the client + ... Test objective: The objective is to test that POST method trigger a notification about the deletion of a NS identifier and the related NS instance resource + ... Pre-conditions: none + ... Reference: section 6.4.18.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + POST Id deletion -Test a notification end point - log The GET method allows the server to test the notification endpoint - &{req}= Create Mock Request Matcher GET ${callback_endpoint} - &{rsp}= Create Mock Response headers="Content-Type: application/json" status_code=204 - Create Mock Expectation ${req} ${rsp} - Sleep ${sleep_interval} - Verify Mock Expectation ${req} - Clear Requests ${callback_endpoint} +GET a notification end point + [Documentation] Test ID: 5.3.2.17.4 + ... Test title: GET allows the server to test the notification endpoint that is provided by the client + ... Test objective: The objective is to test that GET method successfully test the notification endpoint + ... Pre-conditions: none + ... Reference: section 6.4.18.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET notification endpoint PUT notification - Method not implemented - Log PUT Method not implemented - &{req}= Create Mock Request Matcher PUT ${callback_endpoint} - &{rsp}= Create Mock Response status_code=405 - Create Mock Expectation ${req} ${rsp} - Sleep ${sleep_interval} - Log Verifying results - Verify Mock Expectation ${req} - Log Cleaning the endpoint - Clear Requests ${callback_endpoint} + [Documentation] Test ID: 5.3.2.17.5 + ... Test title: PUT notification endpoint - Method not implemented + ... Test objective: The objective is to test that the PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.18.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + PUT notification PATCH subscriptions - Method not implemented - Log PATCH Method not implemented - &{req}= Create Mock Request Matcher PATCH ${callback_endpoint} - &{rsp}= Create Mock Response status_code=405 - Create Mock Expectation ${req} ${rsp} - Sleep ${sleep_interval} - Log Verifying results - Verify Mock Expectation ${req} - Log Cleaning the endpoint - Clear Requests ${callback_endpoint} - + [Documentation] Test ID: 5.3.2.17.6 + ... Test title: PATCH notification endpoint - Method not implemented + ... Test objective: The objective is to test that the PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.18.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + PATCH subscriptions DELETE subscriptions - Method not implemented - Log DELETE Method not implemented - &{req}= Create Mock Request Matcher DELETE ${callback_endpoint} - &{rsp}= Create Mock Response status_code=405 - Create Mock Expectation ${req} ${rsp} - Sleep ${sleep_interval} - Log Verifying results - Verify Mock Expectation ${req} - Log Cleaning the endpoint - Clear Requests ${callback_endpoint} + [Documentation] Test ID: 5.3.2.17.7 + ... Test title: DELETE notification endpoint - Method not implemented + ... Test objective: The objective is to test that the DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.18.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + DELETE subscriptions diff --git a/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot b/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot index 99210715..082f8cef 100644 --- a/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/RetryOperationTask.robot @@ -9,38 +9,96 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Post Retry operation task + [Documentation] Test ID: 5.3.2.10.1 + ... Test title: POST Retry a NS lifecycle operation + ... Test objective: The objective is to test that POST method trigger a retry of NS lifecycle operation in case of temporary failure + ... Pre-conditions: NS instance status equal to FAILED_TEMP + ... Reference: section 6.4.11.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test Check resource FAILED_TEMP POST Retry operation task Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Post Retry operation task Not Found + [Documentation] Test ID: 5.3.2.10.2 + ... Test title: POST Retry a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail in case of NS lifecycle operation not found + ... Pre-conditions: none + ... Reference: section 6.4.11.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none [Setup] Check retry not supported POST Retry operation task Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Post Retry operation task Conflict + [Documentation] Test ID: 5.3.2.10.3 + ... Test title: POST Retry a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail in case of NS lifecycle operation status conflict + ... Pre-conditions: none + ... Reference: section 6.4.11.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test failure Check resource FAILED_TEMP POST Retry operation task Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails + +GET Retry operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.4 + ... Test title: GET Retry NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.11.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET Retry operation task + Check HTTP Response Status Code Is 405 PUT Retry operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.5 + ... Test title: PUT Retry NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.11.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Retry operation task Check HTTP Response Status Code Is 405 PATCH Retry operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.6 + ... Test title: PATCH Retry NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.11.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Retry operation task Check HTTP Response Status Code Is 405 DELETE Retry operation task - Method not implemented + [Documentation] Test ID: 5.3.2.10.7 + ... Test title: DELETE Retry NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.11.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Retry operation task Check HTTP Response Status Code Is 405 -GET Retry operation task - Method not implemented - GET Retry operation task - Check HTTP Response Status Code Is 405 + \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot b/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot index f0765aa3..70154ea3 100644 --- a/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot +++ b/SOL005/NSLifecycleManagement-API/RollbackOperationTask.robot @@ -9,38 +9,96 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Post Rollback operation task + [Documentation] Test ID: 5.3.2.11.1 + ... Test title: POST Rollback a NS lifecycle operation + ... Test objective: The objective is to test that POST method trigger a rollback on the LCM operation + ... Pre-conditions: NS instance status equal to FAILED_TEMP + ... Reference: section 6.4.12.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test Check resource FAILED_TEMP POST Rollback operation task Check HTTP Response Status Code Is 202 Post Rollback operation task Not Found + [Documentation] Test ID: 5.3.2.11.2 + ... Test title: POST Rollback a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail if operation is not found + ... Pre-conditions: none + ... Reference: section 6.4.12.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none [Setup] Check Rollback not supported POST Rollback operation task Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Post Rollback operation task Conflict + [Documentation] Test ID: 5.3.2.11.3 + ... Test title: POST Rollback a NS lifecycle operation + ... Test objective: The objective is to test that POST method fail in case of operation status conflict + ... Pre-conditions: none + ... Reference: section 6.4.12.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none Depends on test failure Check resource FAILED_TEMP POST Rollback operation task Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails + +GET Rollback operation task - Method not implemented + [Documentation] Test ID: 5.3.2.11.4 + ... Test title: GET Rollback NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.12.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none + GET Rollback operation task + Check HTTP Response Status Code Is 405 PUT Rollback operation task - Method not implemented + [Documentation] Test ID: 5.3.2.11.5 + ... Test title: PUT Rollback NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.12.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Rollback operation task Check HTTP Response Status Code Is 405 PATCH Rollback operation task - Method not implemented + [Documentation] Test ID: 5.3.2.11.6 + ... Test title: PATCH Rollback NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.12.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Rollback operation task Check HTTP Response Status Code Is 405 DELETE Rollback operation task - Method not implemented + [Documentation] Test ID: 5.3.2.11.7 + ... Test title: DELETE Rollback NS lifecycle operation - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.12.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Rollback operation task Check HTTP Response Status Code Is 405 -GET Rollback operation task - Method not implemented - GET Rollback operation task - Check HTTP Response Status Code Is 405 + \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot b/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot index 6c2320d9..79fea132 100644 --- a/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/ScaleNSTask.robot @@ -9,29 +9,77 @@ Suite Setup Check resource existance *** Test Cases *** Scale a nsInstance + [Documentation] Test ID: 5.3.2.4.1 + ... Test title: POST Individual Scale NS instance + ... Test objective: The objective is to test that POST method allow to create a Scale NS instance + ... Pre-conditions: none + ... Reference: section 6.4.5.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The Scale NS instance is created on the NFVO POST scale nsInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Instantiate a nsInstance Conflict + [Documentation] Test ID: 5.3.2.4.2 + ... Test title: POST Individual Scale NS instance + ... Test objective: The objective is to test that POST method allow to create a Scale NS instance + ... Pre-conditions: none + ... Reference: section 6.4.5.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The Scale NS instance is not created on the NFVO [Setup] Check resource not_instantiated POST scale nsInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails GET Scale NSInstance- Method not implemented + [Documentation] Test ID: 5.3.2.4.3 + ... Test title: GET Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.5.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET scale NSInstance Check HTTP Response Status Code Is 405 PUT Scale NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.4.4 + ... Test title: PUT Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.5.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT scale NSInstance Check HTTP Response Status Code Is 405 PATCH Scale NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.4.5 + ... Test title: PATCH Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.5.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH scale NSInstance Check HTTP Response Status Code Is 405 DELETE Scale NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.4.6 + ... Test title: DELETE Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.5.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE scale NSInstance Check HTTP Response Status Code Is 405 diff --git a/SOL005/NSLifecycleManagement-API/Subscriptions.robot b/SOL005/NSLifecycleManagement-API/Subscriptions.robot index f9a87961..bd33532c 100644 --- a/SOL005/NSLifecycleManagement-API/Subscriptions.robot +++ b/SOL005/NSLifecycleManagement-API/Subscriptions.robot @@ -8,6 +8,14 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Create a new subscription + [Documentation] Test ID: 5.3.2.15.1 + ... Test title: POST Create a new subscription + ... Test objective: The objective is to test that POST method create a subscription + ... Pre-conditions: none + ... Reference: section 6.4.16.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none POST subscriptions Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location @@ -15,34 +23,90 @@ Create a new subscription Create a new Subscription - DUPLICATION + [Documentation] Test ID: 5.3.2.15.2 + ... Test title: POST Create a new subscription + ... Test objective: The objective is to test that POST method create a duplicate subscription + ... Pre-conditions: none + ... Reference: section 6.4.16.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none POST subscriptions DUPLICATION Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Body Json Schema Is subscription Create a new Subscription - NO-DUPLICATION + [Documentation] Test ID: 5.3.2.15.3 + ... Test title: POST Create a new subscription + ... Test objective: The objective is to test that POST method create a duplicate subscription + ... Pre-conditions: none + ... Reference: section 6.4.16.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none POST subscriptions NO DUPLICATION - Check HTTP Response Status Code Is 201 + Check HTTP Response Status Code Is 303 Check HTTP Response Header Contains Location GET Subscriptions + [Documentation] Test ID: 5.3.2.15.4 + ... Test title: GET retrive the list of existing subscriptions + ... Test objective: The objective is to test that GET method retrive the list of existing subscriptions + ... Pre-conditions: none + ... Reference: section 6.4.16.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET Subscriptions Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is subscriptions GET Subscription - Filter + [Documentation] Test ID: 5.3.2.15.5 + ... Test title: GET retrive the list of existing subscriptions + ... Test objective: The objective is to test that GET method retrive the list of existing subscriptions + ... Pre-conditions: none + ... Reference: section 6.4.16.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET Subscriptions with filter Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is subscriptions PUT subscriptions - Method not implemented + [Documentation] Test ID: 5.3.2.15.6 + ... Test title: PUT Individual NS lifecycle management subscription - Method not implemented + ... Test objective: The objective is to test that PUT method is not allowed to modify a NS lifecycle management subscription + ... Pre-conditions: none + ... Reference: section 6.4.16.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS lifecycle management subscription is not modified by the operation PUT subscriptions Check HTTP Response Status Code Is 405 PATCH subscriptions - Method not implemented + [Documentation] Test ID: 5.3.2.15.7 + ... Test title: PUT Individual NS lifecycle management subscription - Method not implemented + ... Test objective: The objective is to test that PUT method is not allowed to modify a NS lifecycle management subscription + ... Pre-conditions: none + ... Reference: section 6.4.16.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS lifecycle management subscription is not modified by the operation PATCH subscriptions Check HTTP Response Status Code Is 405 DELETE subscriptions - Method not implemented + [Documentation] Test ID: 5.3.2.15.6 + ... Test title: DELETE Individual NS lifecycle management subscription - Method not implemented + ... Test objective: The objective is to test that DELETE method is not allowed to modify a NS lifecycle management subscription + ... Pre-conditions: none + ... Reference: section 6.4.16.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The NS lifecycle management subscription is not deleted by the operation DELETE subscriptions Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot b/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot index 29f8bc60..3ec67202 100644 --- a/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/TerminateNSTask.robot @@ -9,29 +9,77 @@ Suite Setup Check resource existance *** Test Cases *** Terminate a NSInstance + [Documentation] Test ID: 5.3.2.7.1 + ... Test title: POST Terminate Individual NS instance + ... Test objective: The objective is to test that POST method allow to terminate the NS + ... Pre-conditions: NS instance in INSTANTIATED state + ... Reference: section 6.4.8.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: NS instance has NOT_INSTANTIATED state POST Terminate NSInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Terminate a NSInstance Conflict + [Documentation] Test ID: 5.3.2.7.2 + ... Test title: POST Terminate Individual NS instance + ... Test objective: The objective is to test that POST method can't terminate the NS because the resource is not in INSTANTIATED state + ... Pre-conditions: none + ... Reference: section 6.4.8.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none [Setup] Check resource not_instantiated POST Terminate NSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails GET Terminate NSInstance- Method not implemented + [Documentation] Test ID: 5.3.2.7.3 + ... Test title: GET Terminate NS instance - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.8.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET Terminate NSInstance Check HTTP Response Status Code Is 405 PUT Terminate NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.7.4 + ... Test title: PUT Terminate NS instance - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.8.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Terminate NSInstance Check HTTP Response Status Code Is 405 PATCH Terminate NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.7.5 + ... Test title: PATCH Terminate NS instance - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.8.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Terminate NSInstance Check HTTP Response Status Code Is 405 DELETE Terminate NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.7.5 + ... Test title: DELETE Terminate NS instance - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.8.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Terminate NSInstance Check HTTP Response Status Code Is 405 diff --git a/SOL005/NSLifecycleManagement-API/UpdateNSTask.robot b/SOL005/NSLifecycleManagement-API/UpdateNSTask.robot index f1f397ab..74b0ed58 100644 --- a/SOL005/NSLifecycleManagement-API/UpdateNSTask.robot +++ b/SOL005/NSLifecycleManagement-API/UpdateNSTask.robot @@ -9,29 +9,77 @@ Suite Setup Check resource existance *** Test Cases *** Update a NSInstance + [Documentation] Test ID: 5.3.2.5.1 + ... Test title: POST Update Individual Scale NS instance + ... Test objective: The objective is to test that POST method allow to update a Scale NS instance + ... Pre-conditions: an existing Scale Instance + ... Reference: section 6.4.6.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The Scale NS instance is updated on the NFVO POST Update NSInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Update a NSInstance Conflict + [Documentation] Test ID: 5.3.2.5.2 + ... Test title: POST Update Individual Scale NS instance + ... Test objective: The objective is to test that POST method fail if a scale Instance is not existing or is not in NOT_INSTANTIATED state + ... Pre-conditions: an existing Scale Instance + ... Reference: section 6.4.6.3.1 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: The Scale NS instance is not updated on the NFVO [Setup] Check resource not_instantiated POST Update NSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails GET Update NSInstance- Method not implemented + [Documentation] Test ID: 5.3.2.5.3 + ... Test title: GET Update Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that GET method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.6.3.2 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none GET Update NSInstance Check HTTP Response Status Code Is 405 PUT Update NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.5.4 + ... Test title: PUT Update Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that PUT method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.6.3.3 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PUT Update NSInstance Check HTTP Response Status Code Is 405 PATCH Update NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.5.5 + ... Test title: PATCH Update Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that PATCH method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.6.3.4 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none PATCH Update NSInstance Check HTTP Response Status Code Is 405 DELETE Update NSInstance - Method not implemented + [Documentation] Test ID: 5.3.2.5.6 + ... Test title: DELETE Update Individual Scale NS instance - Method not implemented + ... Test objective: The objective is to test that DELETE method is not implemented + ... Pre-conditions: none + ... Reference: section 6.4.6.3.5 - SOL005 v2.4.1 + ... Config ID: Config_prod_NFVO + ... Applicability: none + ... Post-Conditions: none DELETE Update NSInstance Check HTTP Response Status Code Is 405 -- GitLab