Loading SOL005/NSLifecycleManagement-API/CancelOperationTask.robot +60 −7 Original line number Original line Diff line number Diff line Loading @@ -9,39 +9,92 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** *** Test Cases *** Post Cancel operation task 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 Depends on test Check resource FAILED_TEMP POST Cancel operation task POST Cancel operation task Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Post Cancel operation task Not Found 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 [Setup] Check Cancel not supported POST Cancel operation task POST Cancel operation task Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Post Cancel operation task Conflict 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 Depends on test failure Check resource FAILED_TEMP POST Cancel operation task POST Cancel operation task Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails 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 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 PUT Cancel operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Cancel operation task - Method not implemented 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 PATCH Cancel operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Cancel operation task - Method not implemented 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 DELETE Cancel operation task Check HTTP Response Status Code Is 405 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 SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot +60 −4 Original line number Original line Diff line number Diff line Loading @@ -9,37 +9,93 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** *** Test Cases *** Post Continue operation task 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 Depends on test Check resource FAILED_TEMP POST Continue operation task POST Continue operation task Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Post Continue operation task Not Found 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 [Setup] Check Continue not supported POST Continue operation task POST Continue operation task Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Post Continue operation task Conflict 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 Depends on test failure Check resource FAILED_TEMP POST Continue operation task POST Continue operation task Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails 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 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 PUT Continue operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Continue operation task - Method not implemented 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 PATCH Continue operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Continue operation task - Method not implemented 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 DELETE Continue operation task Check HTTP Response Status Code Is 405 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 SOL005/NSLifecycleManagement-API/FailOperationTask.robot +60 −6 Original line number Original line Diff line number Diff line Loading @@ -9,38 +9,92 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** *** Test Cases *** Post Fail operation task 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 Depends on test Check resource FAILED_TEMP POST Fail operation task POST Fail operation task Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Post Fail operation task Not Found 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 [Setup] Check Fail not supported POST Fail operation task POST Fail operation task Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Post Fail operation task Conflict 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 Depends on test failure Check resource FAILED_TEMP POST Fail operation task POST Fail operation task Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails 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 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 PUT Fail operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Fail operation task - Method not implemented 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 PATCH Fail operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Fail operation task - Method not implemented 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 DELETE Fail operation task Check HTTP Response Status Code Is 405 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 SOL005/NSLifecycleManagement-API/HealNSTask.robot +48 −0 Original line number Original line Diff line number Diff line Loading @@ -9,11 +9,27 @@ Suite Setup Check resource existance *** Test Cases *** *** Test Cases *** Heal a NSInstance 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 POST Heal NSInstance Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location Heal a NSInstance Conflict 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 [Setup] Check resource not_instantiated POST Heal NSInstance POST Heal NSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Loading @@ -21,18 +37,50 @@ Heal a NSInstance Conflict Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails GET Heal NSInstance- Method not implemented 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 GET Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PUT Heal NSInstance - Method not implemented 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 PUT Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Heal NSInstance - Method not implemented 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 PATCH Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Heal NSInstance - Method not implemented 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 DELETE Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot +49 −1 Original line number Original line Diff line number Diff line Loading @@ -8,29 +8,77 @@ Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance Suite Setup Check resource existance *** Test Cases *** *** 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 POST IndividualNSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 Get Information about an individual NS Instance 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 GET IndividualNSInstance Check HTTP Response Status Code Is 200 Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is NsInstance Check HTTP Response Body Json Schema Is NsInstance PUT Individual NSInstance - Method not implemented 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 PUT IndividualNSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Individual NSInstance - Method not implemented 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 PATCH IndividualNSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Individual NSInstance 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 DELETE IndividualNSInstance Check HTTP Response Status Code Is 204 Check HTTP Response Status Code Is 204 DELETE Individual NSInstance Conflict 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 [Setup] Check resource instantiated DELETE IndividualNSInstance DELETE IndividualNSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Loading Loading
SOL005/NSLifecycleManagement-API/CancelOperationTask.robot +60 −7 Original line number Original line Diff line number Diff line Loading @@ -9,39 +9,92 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** *** Test Cases *** Post Cancel operation task 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 Depends on test Check resource FAILED_TEMP POST Cancel operation task POST Cancel operation task Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Post Cancel operation task Not Found 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 [Setup] Check Cancel not supported POST Cancel operation task POST Cancel operation task Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Post Cancel operation task Conflict 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 Depends on test failure Check resource FAILED_TEMP POST Cancel operation task POST Cancel operation task Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails 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 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 PUT Cancel operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Cancel operation task - Method not implemented 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 PATCH Cancel operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Cancel operation task - Method not implemented 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 DELETE Cancel operation task Check HTTP Response Status Code Is 405 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
SOL005/NSLifecycleManagement-API/ContinueOperationTask.robot +60 −4 Original line number Original line Diff line number Diff line Loading @@ -9,37 +9,93 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** *** Test Cases *** Post Continue operation task 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 Depends on test Check resource FAILED_TEMP POST Continue operation task POST Continue operation task Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Post Continue operation task Not Found 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 [Setup] Check Continue not supported POST Continue operation task POST Continue operation task Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Post Continue operation task Conflict 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 Depends on test failure Check resource FAILED_TEMP POST Continue operation task POST Continue operation task Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails 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 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 PUT Continue operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Continue operation task - Method not implemented 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 PATCH Continue operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Continue operation task - Method not implemented 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 DELETE Continue operation task Check HTTP Response Status Code Is 405 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
SOL005/NSLifecycleManagement-API/FailOperationTask.robot +60 −6 Original line number Original line Diff line number Diff line Loading @@ -9,38 +9,92 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** *** Test Cases *** Post Fail operation task 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 Depends on test Check resource FAILED_TEMP POST Fail operation task POST Fail operation task Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Post Fail operation task Not Found 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 [Setup] Check Fail not supported POST Fail operation task POST Fail operation task Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Post Fail operation task Conflict 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 Depends on test failure Check resource FAILED_TEMP POST Fail operation task POST Fail operation task Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Check HTTP Response Body Json Schema Is ProblemDetails 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 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 PUT Fail operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Fail operation task - Method not implemented 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 PATCH Fail operation task Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Fail operation task - Method not implemented 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 DELETE Fail operation task Check HTTP Response Status Code Is 405 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
SOL005/NSLifecycleManagement-API/HealNSTask.robot +48 −0 Original line number Original line Diff line number Diff line Loading @@ -9,11 +9,27 @@ Suite Setup Check resource existance *** Test Cases *** *** Test Cases *** Heal a NSInstance 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 POST Heal NSInstance Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location Heal a NSInstance Conflict 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 [Setup] Check resource not_instantiated POST Heal NSInstance POST Heal NSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Loading @@ -21,18 +37,50 @@ Heal a NSInstance Conflict Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails GET Heal NSInstance- Method not implemented 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 GET Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PUT Heal NSInstance - Method not implemented 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 PUT Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Heal NSInstance - Method not implemented 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 PATCH Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Heal NSInstance - Method not implemented 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 DELETE Heal NSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405
SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot +49 −1 Original line number Original line Diff line number Diff line Loading @@ -8,29 +8,77 @@ Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance Suite Setup Check resource existance *** Test Cases *** *** 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 POST IndividualNSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 Get Information about an individual NS Instance 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 GET IndividualNSInstance Check HTTP Response Status Code Is 200 Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is NsInstance Check HTTP Response Body Json Schema Is NsInstance PUT Individual NSInstance - Method not implemented 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 PUT IndividualNSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 PATCH Individual NSInstance - Method not implemented 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 PATCH IndividualNSInstance Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405 DELETE Individual NSInstance 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 DELETE IndividualNSInstance Check HTTP Response Status Code Is 204 Check HTTP Response Status Code Is 204 DELETE Individual NSInstance Conflict 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 [Setup] Check resource instantiated DELETE IndividualNSInstance DELETE IndividualNSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Status Code Is 409 Loading