WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
@@ -23,7 +23,15 @@ POST Alarm - Method not implemented
Integerresponse status405
Get information about an alarm
LogQuery VNF The GET method queries information about multiple alarms.
[Documentation]Test ID: 7.4.3.1
...Test title: Get information about an alarm
...Test objective: The objective is to read an individual alarm.
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogQuery VNF The GET method queries information about an alarm.
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization":"${AUTHORIZATION}"}
@@ -49,7 +57,14 @@ PUT Alarm - Method not implemented
Integerresponse status405
PATCH Alarm
[Documentation]This method modifies an individual alarm resource
[Documentation]Test ID: 7.4.3.2
...Test title: Modify an individual alarm resource
...Test objective: The objective is to Modify an individual alarm resource
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
logTrying to perform a PATCH. This method modifies an individual alarm resource
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_PATCH}"}
@@ -67,11 +82,14 @@ PATCH Alarm
LogValidation OK
PATCH Alarm - Conflict
[Documentation]Conflict
...The operation cannot be executed currently, due to a conflict with the state of the �Individual alarm� resource.
...Typically, this is due to the fact that the alarm is already in the state that is requested to be set (such as trying to acknowledge an already-acknowledged alarm).
...The response body shall contain a ProblemDetails structure, in which the �detail� attribute should convey more information about the error.
Depends On TestPATCH Alarm# If the previous test scceeded, it means that the alarm is in ackownledged state
[Documentation]Test ID: 7.4.3.2-1
...Test title: Modify an individual alarm resource - Conflict
...Test objective: The objective is to Modify an individual alarm resource
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions: The alarm resource is not modified
logTrying to perform a PATCH. This method modifies an individual alarm resource
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE_PATCH}"}
@@ -86,10 +104,14 @@ PATCH Alarm - Conflict
LogValidation OK
PATCH Alarm - Precondition failed
[Documentation]Precondition Failed
...A precondition given in an HTTP request header is not fulfilled. Typically, this is due to an ETag mismatch,
...indicating that the resource was modified by another entity. The response body should contain a ProblemDetails structure,
...in which the �detail� attribute should convey more information about the error.
[Documentation]Test ID: 7.4.3.2-1
...Test title: Modify an individual alarm resource - Precondition failed
...Test objective: The objective is to Modify an individual alarm resource
...Pre-conditions: The related alarm exists
...Reference: section 7.4.3 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions: The alarm resource is not modified
Depends On TestPATCH Alarm# If the previous test scceeded, it means that Etag has been modified
logTrying to perform a PATCH. This method modifies an individual alarm resource
...Test objective: The objective is to create a new subscription.
...Pre-conditions: no subscription with the same filter and callbackUri exists
...Reference: section 7.4.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogCreate subscription instance by POST to ${apiRoot}/${apiName}/${apiVersion}/subscriptions
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
@@ -26,6 +34,14 @@ Create a new subscription
LogValidation OK
Create a new Subscription - DUPLICATION
[Documentation]Test ID: 7.4.4.2
...Test title: Create a new alarm subscription - DUPLICATION
...Test objective: The objective is to create a new subscription.
...Pre-conditions: subscription with the same filter and callbackUri exists
...Reference: section 7.4.4 - SOL003 v2.4.1
...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
...Post-Conditions:
LogTrying to create a subscription with an already created content
Pass Execution If${NVFM_DUPLICATION}== 0NVFO is not permitting duplication. Skipping the test
Set Headers{"Accept": "${ACCEPT}"}
@@ -43,6 +59,14 @@ Create a new Subscription - DUPLICATION
LogValidation OK
Create a new Subscription - NO-DUPLICATION
[Documentation]Test ID: 7.4.4.3
...Test title: Create a new alarm subscription - NO DUPLICATION
...Test objective: The objective is to create a new subscription.
...Pre-conditions: subscription with the same filter and callbackUri exists
...Reference: section 7.4.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...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${NVFM_DUPLICATION}== 1VNFM permits duplication. Skipping the test
Set Headers{"Accept": "${ACCEPT}"}
@@ -57,6 +81,14 @@ Create a new Subscription - NO-DUPLICATION
LogValidation OK
GET Subscriptions
[Documentation]Test ID: 7.4.4.4
...Test title: Retrieve a list of alarm subscriptions
...Test objective: The objective is to retrieve the list of active subscriptions
...Pre-conditions:
...Reference: section 7.4.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogGet the list of active subscriptions
Set Headers{"Accept":"${ACCEPT}"}
Set Headers{"Content-Type": "${CONTENT_TYPE}"}
@@ -71,6 +103,14 @@ GET Subscriptions
LogValidation OK
GET Subscription - Filter
[Documentation]Test ID: 7.4.4.5
...Test title: Retrieve a list of alarm subscriptions
...Test objective: The objective is to retrieve the list of active subscriptions with filter
...Pre-conditions:
...Reference: section 7.4.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogGet the list of active subscriptions using a filter
Set Headers{"Accept": "${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}
@@ -83,6 +123,14 @@ GET Subscription - Filter
LogValidation OK
GET subscriptions - Bad Request Invalid attribute-based filtering parameters
[Documentation]Test ID: 7.4.4.5-1
...Test title: Retrieve a list of alarm subscriptions
...Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters
...Pre-conditions:
...Reference: section 7.4.4 - SOL003 v2.4.1
...Config ID: Config_prod_VNFM
...Applicability:
...Post-Conditions:
LogGet the list of active subscriptions using an invalid filter
Set Headers{"Accept": "${ACCEPT}"}
Run Keyword If${AUTH_USAGE}== 1Set Headers{"Authorization": "${AUTHORIZATION}"}