...Test title: Create a new Fault Management alarm subscription
...Test objective: The objective is to create a new Fault management alarm subscriptions and perform a JSON schema and content 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 [5] v3.3.1
...Config ID:Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: subscription is created
POST Subscription
Check HTTP Response Status Code Is201
Check Operation Occurrence Id
Check HTTP Response Body Json Schema IsFmSubscription
Create a new alarm subscription - DUPLICATION
[Documentation]Test ID: 8.3.3.3.2
...Test title: 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 and content 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 [5] v3.3.1
...Config ID:Config_prod_NFV-MANO
...Applicability: the NFV-MANO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
...Post-Conditions: duplicated subscription is created
POST Subscription Duplication permitted
Check HTTP Response Status Code Is201
Check Operation Occurrence Id
Check HTTP Response Body Json Schema IsFmSubscription
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 objective: The objective is to create a new subscription with the NFV-MANO not allowing duplication and perform a JSON schema and content 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 [5] v3.3.1
...Config ID:Config_prod_NFV-MANO
...Applicability: the NFV-MANO decides to not create a duplicate subscription resource
...Post-Conditions: duplicated subscription is not created
POST Subscription Duplication not permitted
Check HTTP Response Status Code Is303
Check Operation Occurrence Id
Check HTTP Response Body Json Schema IsFmSubscription
Retrieve a list of alarm subscriptions
[Documentation]Test ID: 8.3.3.3.4
...Test title: Retrieve a list of alarm subscriptions
...Test objective: The objective is to retrieve the list of active subscriptions and perform a JSON schema and content validation of the returned fault management alarms subscription data structure.
...Pre-conditions: none
...Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
...Config ID:Config_prod_NFV-MANO
...Applicability:none
...Post-Conditions: noe
GET Subscriptions
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsFmSubscriptions
Retrieve a list of alarm subscriptions with filter
[Documentation]Test ID: 8.3.3.3.5
...Test title: Retrieve a list of alarm subscriptions with filter
...Test objective: The objective is to retrieve the list of active subscriptions with filter and perform a JSON schema and content validation of the returned fault management alarms subscription data structure.
...Pre-conditions: none
...Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
...Config ID:Config_prod_NFV-MANO
...Applicability:none
...Post-Conditions: none
GET Subscriptions with filter
Check HTTP Response Status Code Is200
Check HTTP Response Body Json Schema IsFmSubscriptions
Get information about multiple alarms as a Paged Response
[Documentation]Test ID: 8.3.3.3.6
...Test title: Get information about multiple alarms as a Paged Response
...Test objective: The objective is to retrieve information about active list subscriptions as a Paged Response
...Pre-conditions: none
...Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
...Config ID: Config_prod_NFV-MANO
...Applicability: none
...Post-Conditions: none
GET Subscriptions
Check HTTP Response Status Code Is200
Check LINK in Header
GET subscriptions - Bad Request Invalid attribute-based filtering parameters
[Documentation]Test ID: 8.3.3.3.7
...Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters
...Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters and perform a JSON schema and content validation of the returned problem details data structure.
...Pre-conditions: none
...Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [5] v3.3.1
...Config ID:Config_prod_NFV-MANO
...Applicability:none
...Post-Conditions:none
GET Subscriptions with Invalid filter
Check HTTP Response Status Code Is400
Check HTTP Response Body Json Schema IsProblemDetails
Get information about multiple alarms - Bad Request Response too Big
[Documentation]Test ID: 8.3.3.3.8
...Test title:Get information about multiple alarms - Bad Request Response too Big
...Test objective: The objective is to try to retrieve information about active list subscription to check that response is too big and perform a JSON schema and content validation of the returned problem details data structure