@@ -41,7 +41,7 @@ Create a new Subscription - DUPLICATION
...Applicability: the VNFM allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
...Post-Conditions:
LogTrying to create a subscription with an already created content
Pass Execution If${VNFM_DUPLICATION}== 0NVFO is not permitting duplication. Skipping the test
Pass Execution If${VNFM_ALLOWS_DUPLICATE_SUBS}== 0NVFO is not permitting duplication. Skipping the test
Set Headers{"Accept": "${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
...
...
@@ -65,7 +65,7 @@ Create a new Subscription - NO-DUPLICATION
...Applicability: the VNFM decides to not create a duplicate subscription resource
...Post-Conditions:
LogTrying to create a subscription with an already created content
Pass Execution If${VNFM_DUPLICATION}== 1VNFM permits duplication. Skipping the test
Pass Execution If${VNFM_ALLOWS_DUPLICATE_SUBS}== 1VNFM permits duplication. Skipping the test
Set Headers{"Accept": "${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
@@ -32,32 +32,6 @@ GET Individual VNF Indicator Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
DELETE Individual VNF Indicator Subscription
[Documentation]Test ID: 6.3.2.5.3
...Test title: Delete individual subscription to VNF performance indicators
...Test objective: The objective is to test the deletion of an individual VNF performance indicator subscription.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference:section 8.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: The subscription to VNF performance indicators is deleted
Send Delete Request for Individual VNF Indicator Subscription
Check HTTP Response Status Code Is204
Check Postcondition Individual VNF Indicator Subscription is Deleted
DELETE Individual VNF Indicator Subscription with invalid resource identifier
[Documentation]Test ID: 6.3.2.5.4
...Test title: Delete individual subscription to VNF performance indicators
...Test objective: The objective is to test that the deletion of an individual VNF performance indicator subscription fails when using an invalid resource identifier. The test also checks the JSON schema of the unsuccessful operation HTTP response.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference:section 8.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Send Delete Request for Individual VNF Indicator Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
PUT Individual VNF Indicator Subscription - Method not implemented
[Documentation]Test ID 6.3.2.5.5
...Test title: PUT individual VNF indicator subscription - Method not implemented
...
...
@@ -97,7 +71,33 @@ POST Individual VNF Indicator Subscription - Method not implemented
Check HTTP Response Status Code Is405
Check Postcondition VNF individual subscription is not created
***Keywords***
DELETE Individual VNF Indicator Subscription
[Documentation]Test ID: 6.3.2.5.3
...Test title: Delete individual subscription to VNF performance indicators
...Test objective: The objective is to test the deletion of an individual VNF performance indicator subscription.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference:section 8.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: The subscription to VNF performance indicators is deleted
Send Delete Request for Individual VNF Indicator Subscription
Check HTTP Response Status Code Is204
Check Postcondition Individual VNF Indicator Subscription is Deleted
DELETE Individual VNF Indicator Subscription with invalid resource identifier
[Documentation]Test ID: 6.3.2.5.4
...Test title: Delete individual subscription to VNF performance indicators
...Test objective: The objective is to test that the deletion of an individual VNF performance indicator subscription fails when using an invalid resource identifier. The test also checks the JSON schema of the unsuccessful operation HTTP response.
...Pre-conditions: A VNF instance is instantiated. At least one VNF indicator subscription is available in the VNF.
...Reference:section 8.4.6.3.5 - SOL002 v2.4.1
...Config ID: Config_prod_VE
...Applicability: The VNF supports the generation and maintenance of performance indicators
...Post-Conditions: none
Send Delete Request for Individual VNF Indicator Subscription with invalid resource identifier
Check HTTP Response Status Code Is404
Check HTTP Response Body Json Schema IsProblemDetails
*** Keywords ***
Get Individual VNF Indicator Subscription
LogTrying to get a given subscription identified by subscriptionId