WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
DocumentationThis task resource represents the "Cancel operation" operation. The client can use this resource to cancel an ongoing VNF lifecycle operation.
Suite SetupCheck resource existance
*** Test Cases ***
*** Test Cases ***
Post Cancel operation task
Post Cancel operation task
[Documentation]Test ID: 7.3.1.16.1
[Documentation]Test ID: 7.3.1.16.1
...Test title: POST Cancel operation task
...Test title: POST Cancel operation task
...Test objective: The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the related "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.
...Test objective: The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the related "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.
...Pre-conditions: none
...Pre-conditions: the related "VNF LCM operation occurrence" is either in "PROCESSING" or "ROLLING_BACK" state.
...Reference:section 5.4.17.3.1 - SOL003 v2.4.1
...Reference:section 5.4.17.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability: none
...Applicability: none
...Post-Conditions: in response header Location should not be null
...Post-Conditions: in response header Location should not be null
POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is202
Check HTTP Response Status Code Is202
Check resource FAILED_TEMP
Post Cancel operation task Conflict
Post Cancel operation task Conflict
[Documentation]Test ID: 7.3.1.16.2
[Documentation]Test ID: 7.3.1.16.2
@@ -31,7 +30,6 @@ Post Cancel operation task Conflict
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability: none
...Applicability: none
...Post-Conditions: in response header Location should not be null
...Post-Conditions: in response header Location should not be null
Depends on testCheck resource FAILED_TEMP
POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is409
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
Check HTTP Response Body Json Schema IsProblemDetails
@@ -40,15 +38,15 @@ Post Cancel operation task Not Found
# TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent
# TODO: Need to create a vnfInstance which's instantiatedVnfInfo.scaleStatus is absent
[Documentation]Test ID: 7.3.1.16.2
[Documentation]Test ID: 7.3.1.16.2
...Test title: POST Cancel operation task
...Test title: POST Cancel operation task
...Test objective: The objective is to test that POST method cannot cancel a VNF lifecycle operation because the operation is not supported
...Test objective: The objective is to test that POST method cannot cancel a VNF lifecycle operation because the resource is not found
...Pre-conditions:
...Pre-conditions:
...Reference:section 5.4.17.3.1 - SOL003 v2.4.1
...Reference:section 5.4.17.3.1 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability: none
...Applicability: none
...Post-Conditions: in response header Location should not be null
...Post-Conditions: in response header Location should not be null
[Setup]Check Fail not supported
POST Cancel operation task
POST Cancel operation task
Check HTTP Response Status Code Is404
Check HTTP Response Status Code Is404
GET Cancel operation task - Method not implemented
GET Cancel operation task - Method not implemented
[Documentation]Test ID: 7.3.1.16.3
[Documentation]Test ID: 7.3.1.16.3
...Test title: GET Cancel operation task - Method not implemented
...Test title: GET Cancel operation task - Method not implemented
DocumentationThis task resource represents the "Fail operation" operation.
... The client can use this resource to mark a VNF lifecycle management operation occurrence as "finally failed",
... i.e. change the state of the related VNF LCM operation occurrence resource to "FAILED", if it is not assumed that a subsequent retry or rollback will succeed.
... Once the operation is marked as "finally failed", it cannot be retried or rolled back anymore.
Suite SetupCheck resource existance
*** Test Cases ***
*** Test Cases ***
Post Fail operation task
Post Fail operation task
@@ -22,7 +17,6 @@ Post Fail operation task
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability: none
...Applicability: none
...Post-Conditions: none
...Post-Conditions: none
Depends on testCheck resource FAILED_TEMP
Post Fail operation
Post Fail operation
Check HTTP Response Status Code Is202
Check HTTP Response Status Code Is202
Check Operation Occurrence Id
Check Operation Occurrence Id
@@ -37,7 +31,6 @@ Post Fail operation task Conflict (Not-FAILED_TEMP)
...Config ID: Config_prod_VNFM
...Config ID: Config_prod_VNFM
...Applicability: none
...Applicability: none
...Post-Conditions: none
...Post-Conditions: none
Depends on test failureCheck resource FAILED_TEMP
Post Fail operation
Post Fail operation
Check HTTP Response Status Code Is409
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
Check HTTP Response Body Json Schema IsProblemDetails
@@ -52,7 +45,6 @@ Post Fail operation task Not Found