POST Cancel VNF Snapshot Package Content Task with permitted authorization scope
[Documentation]Test ID: 5.3.7.8.1
...Test title: POST Cancel VNF Snapshot Package Content Task with permitted authorization scope
...Test objective: The objective is to test thatPOST method provides the information for the NFVO to cancel the ongoing operation related to the content of a VNF snapshot package with permitted authorization scope.
...Pre-conditions: none
...Reference: Clause 11.4.8.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
POST Cancel VNF Snapshot Package Content Task with permitted authorization scope
Check HTTP Response Status Code Is202
POST Cancel VNF Snapshot Package Content Task with not permitted authorization scope
[Documentation]Test ID: 5.3.7.8.1
...Test title: POST Cancel VNF Snapshot Package Content Task with not permitted authorization scope
...Test objective: The objective is to test thatPOST method fails toprovide the information for the NFVO to cancel the ongoing operation related to the content of a VNF snapshot package when using not permitted authorization scope.
...Pre-conditions: none
...Reference: Clause 11.4.8.3.1 - ETSI GS NFV-SOL 005 [3] v4.5.1
...Config ID: Config_prod_NFVO
...Applicability: none
...Post-Conditions: none
POST Cancel VNF Snapshot Package Content Task with not permitted authorization scope
Run Keyword If ${AUTH_USAGE}== 1 Set Headers {"${AUTHORIZATION_HEADER}":"${authorizationToken}"}
Log Authorization Token: ${authorizationToken
${body}= Get File jsons/CancelVnfSnapshotPkgOperationRequest.json
Post ${apiRoot}/${apiName}/${apiMajorVersion}/vnf_snapshot_packages/${vnfSnapshotPkgId}/package_content/cancel ${body}
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
POST Cancel VNF Snapshot Package Content Task - Conflict
Check Conflict State for Cancel VNF Snapshot Package Content
Log Trying to initiate the cancelation of VNF Snapshot Content task when the state of the VNF Snapshot Package is other than "UPLOADING", "BUILDING", "PROCESSING" or "EXTRACTING".