@@ -41,15 +41,15 @@ Requests a grant for a particular VNF lifecycle operation - Asynchronous mode
Check HTTP Response Body Json Schema Isgrant
Wait Until Keyword Succeeds2 min10 secGet an individual grant - Successful
Request a new Grant - Forbidden
Requests a grant for a particular VNF lifecycle operation - Forbidden
[Documentation]Test ID: 7.3.2.1.3
...Test title: Requests a grant for a particular VNF lifecycle operation - Forbidden
...Test objective: The objective is to request a grant for a particular VNF lifecycle operation and check the content of the problem details data structure returned
...Pre-conditions: The grant should not be accorded
...Reference: section 9.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
...Applicability: none
...Post-Conditions: none
Send Request a new Grant Forbiden
Check HTTP Response Status Code Is403
Check HTTP Response Body Json Schema IsProblemDetails
...
...
@@ -57,7 +57,7 @@ Request a new Grant - Forbidden
GET Grants - Method not implemented
[Documentation]Test ID: 7.3.2.1.4
...Test title: GET Grants - Method not implemented
...Test objective: The objective is to test that GET method is not allowed to for Life cycle operation granting
...Test objective: The objective is to test that GET method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: section 9.4.2.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...
...
@@ -69,7 +69,7 @@ GET Grants - Method not implemented
PUT Grants - Method not implemented
[Documentation]Test ID: 7.3.2.1.5
...Test title: PUT Grants - Method not implemented
...Test objective: The objective is to test that PUT method is not allowed to for Life cycle operation granting
...Test objective: The objective is to test that PUT method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: section 9.4.2.3.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...
...
@@ -81,7 +81,7 @@ PUT Grants - Method not implemented
PATCH Grants - Method not implemented
[Documentation]Test ID: 7.3.2.1.6
...Test title: PATCH Grants - Method not implemented
...Test objective: The objective is to test that PATCH method is not allowed to for Life cycle operation granting
...Test objective: The objective is to test that PATCH method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: section 9.4.2.3.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...
...
@@ -93,7 +93,7 @@ PATCH Grants - Method not implemented
DELETE Grants - Method not implemented
[Documentation]Test ID: 7.3.2.1.7
...Test title: DELETE Grants - Method not implemented
...Test objective: The objective is to test that DELETE method is not allowed to for Life cycle operation granting
...Test objective: The objective is to test that DELETE method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: section 9.4.2.3.5 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...
...
@@ -182,7 +182,7 @@ Get Grants
Set Suite Variable&{response}${body}
Put Grants
LogTrying to perform a GET. This method should not be implemented
LogTrying to perform a PUT. This method should not be implemented
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
Put${apiRoot}/${apiName}/${apiVersion}/grants
...
...
@@ -190,7 +190,7 @@ Put Grants
Set Suite Variable&{response}${body}
Patch Grants
LogTrying to perform a GET. This method should not be implemented
LogTrying to perform a PATCH. This method should not be implemented
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
Patch${apiRoot}/${apiName}/${apiVersion}/grants
...
...
@@ -199,7 +199,7 @@ Patch Grants
Delete Grants
LogTrying to perform a GET. This method should not be implemented
LogTrying to perform a DELETE. This method should not be implemented
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
...Test title: Post Individual Grant - Method not implemented
...Test objective: The objective is to test that POST method is not allowed for Life cycle operation granting
...Pre-conditions: none
...Reference: section 9.4.2.3.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability: none
...Post-Conditions: none
Post individual Grant
Check HTTP Response Status Code Is405
Get an individual grant - Successful
[Documentation]Test ID: 9.4.3.1
...Test title: Requests a grant for a particular VNF lifecycle operation - Successful
[Documentation]Test ID: 7.3.2.2.2
...Test title: Requests a grant for a particular VNF lifecycle operation - Successfuland perform a JSON schema validation on the returned grant data structure
...Test objective: The objective is to request a grant for a particular VNF lifecycle operation
...Pre-conditions: The related grant information is available to the VNFM
...Reference: section 9.4.3 - SOL003 v2.4.1
...Reference: section 9.4.3.3.2 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logTrying to read an individual grant
Set Headers{"Accept":"${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}