@@ -83,3 +83,29 @@ DELETE Grants - Method not implemented
Delete Grants
Check HTTP Response Status Code Is405
Check Postcondition Grants Exist
Requests a grant for a particular NS lifecycle operation with permitted authorization scope
[Documentation]Test ID: 9.3.1.1.7
...Test title: Requests a grant for a particular NS lifecycle operation with permitted authorization scope
...Test objective: The objective is to request a grant for a particular NS lifecycle operation and perform a JSON schema validation on the returned grant data structure
...Pre-conditions:
...Reference: Clause 7.5.3.3.1 - ETSI GS NFV-SOL 011 [8] v4.5.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO can decide immediately what to respond to a grant request
...Post-Conditions: The grant information is available to the NFVO.
Send Post Request for Grant with permitted authorization scope
Check HTTP Response Status Code Is201
Check HTTP Response Body Json Schema IsGrant
Check HTTP Response Header ContainsLocation
Check Postcondition Grant Is Set
Requests a grant for a particular NS lifecycle operation with NOT permitted authorization scope
[Documentation]Test ID: 9.3.1.1.8
...Test title: Requests a grant for a particular NS lifecycle operation with not permitted authorization scope
...Test objective: The objective is to request a grant for a particular NS lifecycle operation and perform a JSON schema validation on the returned grant data structure
...Pre-conditions:
...Reference: Clause 7.5.3.3.1 - ETSI GS NFV-SOL 011 [8] v4.5.1
...Config ID: Config_prod_NFVO
...Applicability: The NFVO can decide immediately what to respond to a grant request
...Post-Conditions: The grant information is available to the NFVO.
Send Post Request for Grant with not permitted authorization scope
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails