POST Create a new Fault Management alarm subscription
[Documentation]Test ID:8.3.3.3.1
...Test title: Create a new fault management alarm subscription
...Test title: POST Create a new fault management alarm subscription
...Test objective: The objective is to create a new fault management alarm subscription and perform a JSON schema validation of the returned fault management alarms subscription data structure
...Pre-conditions: No subscription with the same filter and callbackUri exists
...Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v3.5.1
@@ -23,9 +23,9 @@ Create a new Fault Management alarm subscription
Check HTTP Response Header Contains Location
Check PostCondition Subscription is created
Create a new alarm subscription - DUPLICATION
POST Create a new alarm subscription - DUPLICATION
[Documentation]Test ID: 8.3.3.3.2
...Test title: Create a new alarm subscription - DUPLICATION
...Test title: POST Create a new alarm subscription - DUPLICATION
...Test objective: The objective is to create a new subscription with the NFV-MANO allowing duplication and perform a JSON schema validation of the returned fault management alarms subscription data structure.
...Pre-conditions: subscription with the same filter and callbackUri exists
...Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v3.5.1
@@ -38,9 +38,9 @@ Create a new alarm subscription - DUPLICATION
Check HTTP Response Header Contains Location
Check Postcondition FaultManagement Subscription Is Set
Create a new alarm subscription - NO DUPLICATION
POST Create a new alarm subscription - NO DUPLICATION
[Documentation]Test ID: 8.3.3.3.3
...Test title: Create a new alarm subscription - NO DUPLICATION
...Test title: POST Create a new alarm subscription - NO DUPLICATION
...Test objective: The objective is to create a new subscription with the NFV-MANO not allowing duplication and perform a JSON schema validation of the returned fault management alarms subscription data structure.
...Pre-conditions: subscription with the same filter and callbackUri exists
...Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v3.5.1
@@ -223,3 +223,16 @@ DELETE subscriptions - Method not implemented
...Post-Conditions: none
DELETE Subscriptions
Check HTTP Response Status Code Is405
POST Create a new Fault Management alarm subscription - Unprocessable entity
[Documentation]Test ID:8.3.3.3.17
...Test title: POST Create a new fault management alarm subscription - Unprocessable entity
...Test objective: The objective is to test that a new fault management alarm subscription is not created if the notification endpoint is unreachable by the NFV-MANO.
...Pre-conditions: No subscription with the same filter and callbackUri exists.
...Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v3.5.1
...Config ID:Config_prod_NFV-MANO
...Applicability: Notification endpoint is unreachable by the NFV-MANO.
...Post-Conditions: none
POST Subscription with Unreachable callbackUri
Check HTTP Response Status Code Is422
Check HTTP Response Body Json Schema IsProblemDetails