Loading SOL011/NSLifecycleOperationGranting-API/Grants.robot +6 −6 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ Requests a grant for a particular NS lifecycle operation Check HTTP Response Status Code Is 201 Check HTTP Response Body Json Schema Is Grant Check HTTP Response Header Contains Location Check Resource URI existence Check Postcondition Grant Is Set Requests a grant for a particular NS lifecycle operation - Forbidden [Documentation] Test ID: 9.3.3.1.2 Loading Loading @@ -82,4 +82,4 @@ DELETE Grants - Method not implemented ... Post-Conditions: Resources are not deleted Delete Grants Check HTTP Response Status Code Is 405 Get an individual grant - Successful No newline at end of file Check Postcondition Grants Exist No newline at end of file SOL011/NSLifecycleOperationGranting-API/IndividualGrant.robot +5 −5 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ DELETE an individual grant - Method not implemented ... Reference: Clause 7.5.4.3.5 - ETSI GS NFV-SOL 011 [1] v3.3.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: Grant is not deleted ... Post-Conditions: none Delete individual Grant Check HTTP Response Status Code Is 405 Loading SOL011/NSLifecycleOperationGranting-API/NSLCOperationGrantingKeywords.robot +15 −1 Original line number Diff line number Diff line Loading @@ -126,3 +126,17 @@ Delete individual Grant Delete ${apiRoot}/${apiName}/${apiVersion}/grants/${grantId} ${body}= Output response Set Suite Variable ${response} ${body} Check Postcondition Grants Exist Log Checking that grants exists Get Grants Check Postcondition Grant Is Set Log Check Postcondition subscription exist Log Trying to get the subscription Set Headers {"Accept": "${ACCEPT}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/grants/${response['body']['id']} ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Status Code Is 200 No newline at end of file Loading
SOL011/NSLifecycleOperationGranting-API/Grants.robot +6 −6 Original line number Diff line number Diff line Loading @@ -20,7 +20,7 @@ Requests a grant for a particular NS lifecycle operation Check HTTP Response Status Code Is 201 Check HTTP Response Body Json Schema Is Grant Check HTTP Response Header Contains Location Check Resource URI existence Check Postcondition Grant Is Set Requests a grant for a particular NS lifecycle operation - Forbidden [Documentation] Test ID: 9.3.3.1.2 Loading Loading @@ -82,4 +82,4 @@ DELETE Grants - Method not implemented ... Post-Conditions: Resources are not deleted Delete Grants Check HTTP Response Status Code Is 405 Get an individual grant - Successful No newline at end of file Check Postcondition Grants Exist No newline at end of file
SOL011/NSLifecycleOperationGranting-API/IndividualGrant.robot +5 −5 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ DELETE an individual grant - Method not implemented ... Reference: Clause 7.5.4.3.5 - ETSI GS NFV-SOL 011 [1] v3.3.1 ... Config ID: Config_prod_NFVO ... Applicability: none ... Post-Conditions: Grant is not deleted ... Post-Conditions: none Delete individual Grant Check HTTP Response Status Code Is 405 Loading
SOL011/NSLifecycleOperationGranting-API/NSLCOperationGrantingKeywords.robot +15 −1 Original line number Diff line number Diff line Loading @@ -126,3 +126,17 @@ Delete individual Grant Delete ${apiRoot}/${apiName}/${apiVersion}/grants/${grantId} ${body}= Output response Set Suite Variable ${response} ${body} Check Postcondition Grants Exist Log Checking that grants exists Get Grants Check Postcondition Grant Is Set Log Check Postcondition subscription exist Log Trying to get the subscription Set Headers {"Accept": "${ACCEPT}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiVersion}/grants/${response['body']['id']} ${output}= Output response Set Suite Variable ${response} ${output} Check HTTP Response Status Code Is 200 No newline at end of file