POST Cancellation of an Ongoing Individual Coordination Action
[Documentation]Test ID: 6.3.6.4.1
...Test title: POST Cancellation of an Ongoing Individual Coordination Action
...Test Objective: The objective is to test that POST request for cancellation of an ongoing individual coordination Action has accepted for processing.
...pre-condition: The status of the related LCM operation occurance is "PROCESSING"
...Reference: Clause 10.4.4.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: When there is an Ongoing individual LCM operation coordination action.
...Post-Condition: none
POST Cancellation of an Ongoing Individual Coordination Action
Check HTTP Response Status Code Is202
Check HTTP Response Body Should be Empty
POST Cancellation of an Ongoing Individual Coordination Action - Conflict
[Documentation]Test ID: 6.3.6.4.2
...Test title: POST Cancellation of an Ongoing Individual Coordination Action - Conflict
...Test Objective: The objective is to test that POST request for cancellation of an ongoing individual coordination Action is not successfull due to a conflict with the state of the "Individual coordination action" resource.
...pre-condition: none
...Reference: Clause 10.4.4.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: Processing of Individual Coordination Action has 'Finished'.
...Post-Condition: none
POST Cancellation of an Ongoing Individual Coordination Action - Conflict
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
Request a cancellation of an ongoing coordination action without authentication
[Documentation]Test ID: 6.3.6.4.3
...Test title: Request a cancellation of an ongoing coordination action without authentication
...Test objective: The objective is to test the failure of the request for a cancellation of a coordination task when no authentication is used
POST Coordination of LCM Operation Occurance and API Producer has Chosen the Synchronous Mode
[Documentation]Test ID: 6.3.6.2.1
...Test title: Post Coordination of an LCM operation occurrence
...Test Objective: The objective is to test the creation of new Individual Coordination Action, and perform a JSON schema validation of the returned LCM coordination data structure.
...pre-condition: LCM operation occurrence resource is in Processing state
...Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: API producer has chosen the synchronous mode
...Post-Condition: none
Post coordination of LCM operation Occurance and API Producer has Chosen Synchronous Mode
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsLcmCoord
Check HTTP Response Header ContainsLocation
Check Postcondition LcmCoord Exists
POST Coordination of LCM Operation Occurance and API Producer has Chosen the Asynchronous Mode
[Documentation]Test ID: 6.3.6.2.2
...Test title: Post Coordination of an LCM operation occurrence
...Test Objective: The objective is to test that the coordination of a LCM operation occurance request has been accepted for processing, and perform a JSON schema validation of the returned LCM coordination data structure.
...pre-condition: LCM operation occurrence resource is in Processing state
...Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: API producer has chosen the asynchronous mode
...Post-Condition: none
Post coordination of LCM operation Occurance and API Producer has Chosen Asynchronous Mode
Check HTTP Response Status Code Is202
Check HTTP Response Body Should be Empty
Check HTTP Response Header ContainsLocation
POST Coordination of a LCM Operation Occurance Forbidden
[Documentation]Test ID: 6.3.6.2.3
...Test title: Post Coordination of an LCM operation occurrence Forbidden
...Test Objective: The objective is to test the failure of a request for the coordination of an LCM operation occurrence
...pre-condition: The status of the related LCM opeation occurrence is "PROCESSING". The request is performed by a user that has not the grant to run this operation
...Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Condition: none
Post coordination of LCM operation Occurance is Forbidden
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
POST Coordination of LCM Operation Occurance Conflict
[Documentation]Test ID: 6.3.6.2.4
...Test title: Post Coordination of an LCM operation occurrence Conflict
...Test Objective: The objective is to verify that no coordination actions can be executed currently, due to a conflict with the state of the "Coordinations" resource.
...pre-condition: The status of the related LCM opeation occurrence is not "PROCESSING"
...Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: When there are many coordination actions exist, or conflicting ones, are in progress.
...Post-Condition: none
Post coordination of LCM operation Occurance - conflict
Check HTTP Response Status Code Is409
Check HTTP Response Body Json Schema IsProblemDetails
POST Coordination of LCM Operation Occurance Service Unavailable
[Documentation]Test ID: 6.3.6.2.5
...Test title: Post Coordination of an LCM operation occurrence Service Unavailable
...Test Objective: The objective is to test the request for the coordination of an LCM operation occurrence and the verify that the NFVO cannot perform immediately the request, but can perform it sometime in the future.
...pre-condition: The status of the related LCM opeation occurrence is "PROCESSING" but API producer cannot perform immediately the request
...Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: API producer has chosen the synchronous mode
...Post-Condition: none
Post coordination of LCM operation Occurance and API Producer has Chosen Synchronous Mode - Service Unavailable
Check HTTP Response Status Code Is503
Check HTTP Response Header ContainsRetry-After
Check HTTP Response Body Json Schema IsProblemDetails
POST Coordination of an LCM operation occurrence without authentication
[Documentation]Test ID: 6.3.6.2.6
...Test title:Request a Coordination of an LCM operation occurrence without authentication
...Test objective: The objective is to test the failure of the request for the coordination of an LCM operation occurrence without providing an authentication token
...Pre-conditions: The status of the related LCM opeation occurrence is "PROCESSING"
...Reference: Clause 10.4.2.3.1 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Conditions: none
Post Request for coordination of an LCM operation occurrence without authorization token
Check HTTP Response Status Code Is401
GET Coordination of a LCM Operation Occurance - Method not implemented
[Documentation]Test ID: 6.3.6.2.7
...Test title: GET Coordination of a LCM Operation Occurance - Method not implemented
...Test Objective: The objective is to test that GET method for Resource Coordinations is not implemented.
...pre-condition: none
...Reference: Clause 10.4.2.3.2 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Condition: none
GET coordination of LCM operation Occurance
Check HTTP Response Status Code Is405
PUT Coordination of a LCM Operation Occurance - Method not implemented
[Documentation]Test ID: 6.3.6.2.8
...Test title: PUT Coordination of a LCM Operation Occurance - Method not implemented
...Test Objective: The objective is to test that PUT method for Resource Coordinations is not implemented.
...pre-condition: none
...Reference: Clause 10.4.2.3.3 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Condition: none
PUT coordination of LCM operation Occurance
Check HTTP Response Status Code Is405
PACTH Coordination of a LCM Operation Occurance - Method not implemented
[Documentation]Test ID: 6.3.6.2.9
...Test title: PATCH Coordination of a LCM Operation Occurance - Method not implemented
...Test Objective: The objective is to test that PATCH method for Resource Coordinations is not implemented.
...pre-condition: none
...Reference: Clause 10.4.2.3.4 - ETSI GS NFV-SOL 002 [2] v3.5.1
...Config ID: Config_prod_VE
...Applicability: none
...Post-Condition: none
PATCH coordination of LCM operation Occurance
Check HTTP Response Status Code Is405
DELETE Coordination of a LCM Operation Occurance - Method not implemented
[Documentation]Test ID: 6.3.6.2.10
...Test title: DELETE Coordination of a LCM Operation Occurance - Method not implemented
...Test Objective: The objective is to test that DELETE method for Resource Coordinations is not implemented.
...pre-condition: none
...Reference: Clause 10.4.2.3.5 - ETSI GS NFV-SOL 002 [2] v3.5.1