Commit ee77b1c7 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

Merge branch '2.6.1-dev-SOL003-VirtualisedResourcesQuotaAvailableNotification-API' into '2.6.1-dev'

SOL003 Virtualised Resources Quota Available Notification - Implementation of deltas between v2.6.1 and v2.4.1

See merge request !100
parents c85e5bd7 cb7edbb6
...@@ -15,7 +15,7 @@ Create new Virtualised Resources Quota Available Notification individual subscri ...@@ -15,7 +15,7 @@ Create new Virtualised Resources Quota Available Notification individual subscri
... Test title: Create new Virtualised Resources Quota Available Notification individual subscription ... Test title: Create new Virtualised Resources Quota Available Notification individual subscription
... Test objective: The objective is to test that POST method is not allowed to create a new Virtualised Resources Quota Available Notification individual subscription instance on VNF ... Test objective: The objective is to test that POST method is not allowed to create a new Virtualised Resources Quota Available Notification individual subscription instance on VNF
... Pre-conditions: A VNF instance is instantiated ... Pre-conditions: A VNF instance is instantiated
... Reference: clause 11.4.3.3.1 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.3.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -27,7 +27,7 @@ Get Information about an individual subscription ...@@ -27,7 +27,7 @@ Get Information about an individual subscription
... Test title: Get Information about an individual subscription ... Test title: Get Information about an individual subscription
... Test objective: The objective is to read an individual Virtualised Resources Quota Available Notification subscription subscribed by the client and perform a JSON schema and content validation of the returned individual subscription data structure ... Test objective: The objective is to read an individual Virtualised Resources Quota Available Notification subscription subscribed by the client and perform a JSON schema and content validation of the returned individual subscription data structure
... Pre-conditions: The subscription with the given id exists ... Pre-conditions: The subscription with the given id exists
... Reference: clause 11.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.3.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -40,7 +40,7 @@ PUT an individual subscription - Method not implemented ...@@ -40,7 +40,7 @@ PUT an individual subscription - Method not implemented
... Test title: PUT an individual subscription - Method not implemented ... Test title: PUT an individual subscription - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed to update a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF ... Test objective: The objective is to test that PUT method is not allowed to update a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF
... Pre-conditions: A VNF instance is instantiated ... Pre-conditions: A VNF instance is instantiated
... Reference: clause 11.4.3.3.3 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.3.3.3 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -52,7 +52,7 @@ PATCH an individual subscription - Method not implemented ...@@ -52,7 +52,7 @@ PATCH an individual subscription - Method not implemented
... Test title: PATCH an individual subscription - Method not implemented ... Test title: PATCH an individual subscription - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to modify a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF ... Test objective: The objective is to test that PATCH method is not allowed to modify a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF
... Pre-conditions: A VNF instance is instantiated ... Pre-conditions: A VNF instance is instantiated
... Reference: clause 11.4.3.3.4 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.3.3.4 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -64,7 +64,7 @@ DELETE an individual subscription ...@@ -64,7 +64,7 @@ DELETE an individual subscription
... Test title: DELETE an individual subscription ... Test title: DELETE an individual subscription
... Test objective: The objective is to test that Delete method is allowed to remove a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF ... Test objective: The objective is to test that Delete method is allowed to remove a existing Virtualised Resources Quota Available Notification individual subscription instance on VNF
... Pre-conditions: The subscription with the given id exists ... Pre-conditions: The subscription with the given id exists
... Reference: clause 11.4.3.3.5 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.3.3.5 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
......
...@@ -16,7 +16,7 @@ Deliver a notification - Vr Quota Availibility ...@@ -16,7 +16,7 @@ Deliver a notification - Vr Quota Availibility
... Test title: Deliver a notification - Vr Quota Availibility ... Test title: Deliver a notification - Vr Quota Availibility
... Test objective: The objective is to notify related to the availability of the virtualised resources quota. ... Test objective: The objective is to notify related to the availability of the virtualised resources quota.
... Pre-conditions: The VNF has subscribed to the Vr Quota Availibility resource ... Pre-conditions: The VNF has subscribed to the Vr Quota Availibility resource
... Reference: clause 11.4.4 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.4 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: ... Applicability:
... Post-Conditions: ... Post-Conditions:
......
...@@ -14,7 +14,7 @@ Create new Virtualised Resources Quota Available Notification subscription ...@@ -14,7 +14,7 @@ Create new Virtualised Resources Quota Available Notification subscription
... Test title: Create new Virtualised Resources Quota Available Notification subscription ... Test title: Create new Virtualised Resources Quota Available Notification subscription
... Test objective: The objective is to create a new Virtualised Resources Quota Available Notification subscription and perform a JSON schema and content validation of the returned subscription data structure ... Test objective: The objective is to create a new Virtualised Resources Quota Available Notification subscription and perform a JSON schema and content validation of the returned subscription data structure
... Pre-conditions: no subscription with the same filter and callbackUri exists ... Pre-conditions: no subscription with the same filter and callbackUri exists
... Reference: clause 11.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -29,7 +29,7 @@ Create new Virtualised Resources Quota Available Notification subscription - DUP ...@@ -29,7 +29,7 @@ Create new Virtualised Resources Quota Available Notification subscription - DUP
... Test title: Create new Virtualised Resources Quota Available Notification subscription - DUPLICATION ... Test title: Create new Virtualised Resources Quota Available Notification subscription - DUPLICATION
... Test objective: The objective is to create a new Virtualised Resources Quota Available Notification subscription and perform a JSON schema and content validation of the returned duplicated subscription data structure ... Test objective: The objective is to create a new Virtualised Resources Quota Available Notification subscription and perform a JSON schema and content validation of the returned duplicated subscription data structure
... Pre-conditions: subscription with the same filter and callbackUri exists ... Pre-conditions: subscription with the same filter and callbackUri exists
... Reference: clause 11.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: the VNFM allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists ... Applicability: the VNFM allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
... Post-Conditions: none ... Post-Conditions: none
...@@ -43,7 +43,7 @@ Create new Virtualised Resources Quota Available Notification subscription - NO- ...@@ -43,7 +43,7 @@ Create new Virtualised Resources Quota Available Notification subscription - NO-
... Test title: Create new Virtualised Resources Quota Available Notification subscription - NO-DUPLICATION ... Test title: Create new Virtualised Resources Quota Available Notification subscription - NO-DUPLICATION
... Test objective: The objective is to create a nduplicated Virtualised Resources Quota Available Notification subscription and verify that the VNF does not allow duplication ... Test objective: The objective is to create a nduplicated Virtualised Resources Quota Available Notification subscription and verify that the VNF does not allow duplication
... Pre-conditions: subscription with the same filter and callbackUri exists ... Pre-conditions: subscription with the same filter and callbackUri exists
... Reference: clause 11.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.1 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: the VNFM decides to not create a duplicate subscription resource ... Applicability: the VNFM decides to not create a duplicate subscription resource
... Post-Conditions: none ... Post-Conditions: none
...@@ -56,7 +56,7 @@ GET Virtualised Resources Quota Available Notification Subscriptions ...@@ -56,7 +56,7 @@ GET Virtualised Resources Quota Available Notification Subscriptions
... Test title: GET Virtualised Resources Quota Available Notification Subscriptions ... Test title: GET Virtualised Resources Quota Available Notification Subscriptions
... Test objective: The objective is to retrieve the list of active Virtualised Resources Quota Available Notification subscriptions and perform a JSON schema and content validation of the returned subscriptions data structure ... Test objective: The objective is to retrieve the list of active Virtualised Resources Quota Available Notification subscriptions and perform a JSON schema and content validation of the returned subscriptions data structure
... Pre-conditions: none ... Pre-conditions: none
... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -69,7 +69,7 @@ GET Virtualised Resources Quota Available Notification Subscriptions with attrib ...@@ -69,7 +69,7 @@ GET Virtualised Resources Quota Available Notification Subscriptions with attrib
... Test title: GET Virtualised Resources Quota Available Notification Subscriptions with attribute-based Filter ... Test title: GET Virtualised Resources Quota Available Notification Subscriptions with attribute-based Filter
... Test objective: The objective is to retrieve the list of active Virtualised Resources Quota Available Notification subscriptions and perform a JSON schema and content validation of the returned subscriptions data structure, and verify that the retrieved information matches the issued attribute-based filters ... Test objective: The objective is to retrieve the list of active Virtualised Resources Quota Available Notification subscriptions and perform a JSON schema and content validation of the returned subscriptions data structure, and verify that the retrieved information matches the issued attribute-based filters
... Pre-conditions: none ... Pre-conditions: none
... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -82,7 +82,7 @@ GET Virtualised Resources Quota Available Notification subscriptions - Bad Reque ...@@ -82,7 +82,7 @@ GET Virtualised Resources Quota Available Notification subscriptions - Bad Reque
... Test title: GET Virtualised Resources Quota Available Notification subscriptions - Bad Request Invalid attribute-based filtering parameters ... Test title: GET Virtualised Resources Quota Available Notification subscriptions - Bad Request Invalid attribute-based filtering parameters
... Test objective: The objective is to retrieve the list of active Virtualised Resources Quota Available Notification subscriptions with invalid attribute-based filtering parameters, and verify that problem details are returned ... Test objective: The objective is to retrieve the list of active Virtualised Resources Quota Available Notification subscriptions with invalid attribute-based filtering parameters, and verify that problem details are returned
... Pre-conditions: none ... Pre-conditions: none
... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -95,7 +95,7 @@ PUT Virtualised Resources Quota Available Notification subscriptions - Method no ...@@ -95,7 +95,7 @@ PUT Virtualised Resources Quota Available Notification subscriptions - Method no
... Test title: PUT Virtualised Resources Quota Available Notification subscriptions - Method not implemented ... Test title: PUT Virtualised Resources Quota Available Notification subscriptions - Method not implemented
... Test objective: The objective is to test that PUT method is not allowed to update existing Virtualised Resources Quota Available Notification subscriptions instance on VNF ... Test objective: The objective is to test that PUT method is not allowed to update existing Virtualised Resources Quota Available Notification subscriptions instance on VNF
... Pre-conditions: A VNF instance is instantiated ... Pre-conditions: A VNF instance is instantiated
... Reference: clause 11.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.3 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -107,7 +107,7 @@ PATCH Virtualised Resources Quota Available Notification subscriptions - Method ...@@ -107,7 +107,7 @@ PATCH Virtualised Resources Quota Available Notification subscriptions - Method
... Test title: PATCH Virtualised Resources Quota Available Notification subscriptions - Method not implemented ... Test title: PATCH Virtualised Resources Quota Available Notification subscriptions - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to modify Virtualised Resources Quota Available Notification subscriptions instance on VNF ... Test objective: The objective is to test that PATCH method is not allowed to modify Virtualised Resources Quota Available Notification subscriptions instance on VNF
... Pre-conditions: A VNF instance is instantiated ... Pre-conditions: A VNF instance is instantiated
... Reference: clause 11.4.2.3.4 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.4 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
...@@ -119,12 +119,36 @@ DELETE Virtualised Resources Quota Available Notification subscriptions - Method ...@@ -119,12 +119,36 @@ DELETE Virtualised Resources Quota Available Notification subscriptions - Method
... Test title: DELETE Virtualised Resources Quota Available Notification subscriptions - Method not implemented ... Test title: DELETE Virtualised Resources Quota Available Notification subscriptions - Method not implemented
... Test objective: The objective is to test that PATCH method is not allowed to delete Virtualised Resources Quota Available Notification subscriptions instance on VNF ... Test objective: The objective is to test that PATCH method is not allowed to delete Virtualised Resources Quota Available Notification subscriptions instance on VNF
... Pre-conditions: A VNF instance is instantiated ... Pre-conditions: A VNF instance is instantiated
... Reference: clause 11.4.2.3.5 - ETSI GS NFV-SOL 003 [1] v2.4.1 ... Reference: clause 11.4.2.3.5 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM
... Applicability: none ... Applicability: none
... Post-Conditions: none ... Post-Conditions: none
Send Delete request for Virtualised Resources Quota Available Notification subscription Send Delete request for Virtualised Resources Quota Available Notification subscription
Check HTTP Response Status Code Is 405 Check HTTP Response Status Code Is 405
Check Postcondition VNF Virtualised Resources Quota Available Notification Subscriptions Exists Check Postcondition VNF Virtualised Resources Quota Available Notification Subscriptions Exists
GET Virtualised Resources Quota Available Notification Subscriptions as Paged Response
[Documentation] Test ID: 7.3.7.1.10
... Test title: GET Virtualised Resources Quota Available Notification Subscriptions as Paged Response
... Test objective: The objective is to retrieve the list of active Virtualised Resources Quota Available Notification subscriptions as a Paged Response.
... Pre-conditions: none
... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM
... Applicability: none
... Post-Conditions: none
GET Virtualised Resources Quota Available Notification Subscriptions
Check HTTP Response Status Code Is 200
Check LINK in Header
GET Virtualised Resources Quota Available Notification subscriptions - Bad Request Response too Big
\ No newline at end of file [Documentation] Test ID: 7.3.7.1.11
... Test title: GET Virtualised Resources Quota Available Notification subscriptions - Bad Request Response too Big
... Test objective: The objective is to test that the retrieval of active Virtualised Resources Quota Available Notification subscriptions list fails because response is too big, and verify that problem details are returned
... Pre-conditions: none
... Reference: clause 11.4.2.3.2 - ETSI GS NFV-SOL 003 [1] v2.6.1
... Config ID: Config_prod_VNFM
... Applicability: none
... Post-Conditions: none
GET Virtualised Resources Quota Available Notification Subscriptions
Check HTTP Response Status Code Is 400
Check HTTP Response Body Json Schema Is ProblemDetails
\ No newline at end of file
...@@ -175,4 +175,9 @@ Send Delete request for Virtualised Resources Quota Available Notification subsc ...@@ -175,4 +175,9 @@ Send Delete request for Virtualised Resources Quota Available Notification subsc
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Delete ${apiRoot}/${apiName}/${apiVersion}/subscriptions Delete ${apiRoot}/${apiName}/${apiVersion}/subscriptions
${outputResponse}= Output response ${outputResponse}= Output response
Set Global Variable @{response} ${outputResponse} Set Global Variable @{response} ${outputResponse}
\ No newline at end of file
Check LINK in Header
${linkURL}= Get Value From Json ${response.headers} $..Link
Should Not Be Empty ${linkURL}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment