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

Merge branch '2.7.1-dev-notification-consumer-config-id' into '2.7.1-dev'

SOL002/3/5 Notification Endpoint tests: fix of Config ID in v2.7.1

See merge request !171
parents d48fe749 ffdbb3b7
......@@ -26,36 +26,8 @@ Create a new subscription
Check HTTP Response Header Contain Link
Check Postcondition resource exists
# Create a new Subscription - DUPLICATION
# [Documentation] Test ID: 6.3.4.4.2
# ... Test title: Create a new Subscription - DUPLICATION
# ... Test objective: The objective is to create a duplicate subscription.
# ... Pre-conditions: subscription with the same filter and callbackUri exists
# ... Reference: Clause 7.4.5.3.1 - ETSI GS NFV-SOL 002 [2] v2.7.1
# ... Config ID: Config_prod_VNFM
# ... Applicability: the VNFM does not allow creation of a subscription resource if another subscription resource with the same filter and callbackUri already exists
# ... Post-Conditions: duplicated subscription is created
# Post Create subscription - DUPLICATION
# Check HTTP Response Status Code Is 201
# Check HTTP Response Body Json Schema Is FmSubscription
# Check HTTP Response Header Contain Link
# Check Postcondition Duplicate Subscription exsist
# Create a new Subscription - NO-DUPLICATION
# [Documentation] Test ID: 6.3.4.4.3
# ... Test title: Create a new Subscription - NO-DUPLICATION
# ... Test objective: The objective is to create a subscription in case of not allowed DUPLICATION.
# ... Pre-conditions: subscription with the same filter and callbackUri exists
# ... Reference: Clause 7.4.5.3.1 - ETSI GS NFV-SOL 002 [2] v2.7.1
# ... Config ID: Config_prod_VNFM
# ... Applicability: the VNFM does not allow creation of a duplicate subscription resource
# ... Post-Conditions: duplicated subscription is not created
# Post Create subscription - DUPLICATION
# Check HTTP Response Status Code Is 303
# Check HTTP Response Header Contain Link
Create a duplicated Subscription
[Documentation] Test ID: 6.3.4.4.2a
[Documentation] Test ID: 6.3.4.4.2
... Test title: Create a duplicated Subscription
... Test objective: The objective is to create a duplicate subscription.
... Pre-conditions: subscription with the same filter and callbackUri exists
......@@ -66,7 +38,6 @@ Create a duplicated Subscription
Post Create subscription
Check Response for duplicated subscription
GET Subscriptions
[Documentation] Test ID: 6.3.4.4.4
... Test title: GET Subscriptions
......
......@@ -8,12 +8,12 @@ Suite Setup Check resource existence and get CallbackUri
*** Test Cases ***
VNF Indicator Value Change Notification
[Documentation] Test ID: 6.3.2.7.1
[Documentation] Test ID: 6.3.2.8.1
... Test title: VNF Indicator Value Change Notification
... Test objective: The objective is to test that the POST request triggers VNF Indicator Value Change Notification .
... Pre-conditions: A VNF is instantiated, and a subscription for indicator value change notifications is available in the VNF.
... Reference: Clause 8.4.7.3.1 - ETSI GS NFV-SOL 002 [2] v2.7.1
... Config ID: Config_prod_VNF
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post Value Change Notification
......
......@@ -14,7 +14,7 @@ VNF Fault Alarm Notification
... Test objective: The objective is to test that the POST request triggers VNF Fault Alarm Notification.
... Pre-conditions: A VNF instance is instantiated, and a subscription for fault alarm notifications is available in the VNFM.
... Reference: Clause 7.4.6.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post Alarm Notification
......@@ -26,7 +26,7 @@ VNF Fault Alarm Cleared Notification
... Test objective: The objective is to test that the POST request triggers VNF Fault Alarm Cleared Notification.
... Pre-conditions: A VNF instance is instantiated, and a subscription for fault alarm cleared notifications is available in the VNFM.
... Reference: Clause 7.4.6.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post Alarm Cleared Notification
......@@ -38,7 +38,7 @@ VNF Fault Alarm List Reulit Notification
... Test objective: The objective is to test that the POST request triggers VNF Fault Alarm List Rebuilt Notification.
... Pre-conditions: A VNF instance is instantiated, and a subscription for fault alarm list rebuilt notifications is available in the VNFM.
... Reference: Clause 7.4.6.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post Alarm List Rebuilt Notification
......
......@@ -13,7 +13,7 @@ VNF Indicator Value Change Notification
... Test objective: The objective is to test that the POST request triggers VNF Indicator Value Change Notification.
... Pre-conditions: A VNF is instantiated, and a subscription for indicator value change notifications is available in the VNFM.
... Reference: Clause 8.4.7.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post VNF Indicator Value Change Notification
......
......@@ -14,7 +14,7 @@ VNF LCM Operation Occurrence Notification
... Test objective: The objective is to test that the POST request triggers VNF LCM Operation Occurrence Notification.
... Pre-conditions: A subscription for VNF LCM Operation Occurrence notifications is available in the VNFM.
... Reference: Clause 5.4.20.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post VNF LCM Operation Occurrence Notification
......@@ -26,7 +26,7 @@ VNF Identifier Creation Notification
... Test objective: The objective is to test that the POST request triggers VNF Identifier Creation Notification.
... Pre-conditions: A subscription for VNF identifier creation cotification is available in the VNFM.
... Reference: Clause 5.4.20.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post VNF Identifier Creation Notification
......@@ -38,7 +38,7 @@ VNF Identifier Deletion Notification
... Test objective: The objective is to test that the POST request triggers VNF Identifier Deletion Notification.
... Pre-conditions: A subscription for VNF identifier deletion notifications is available in the VNFM.
... Reference: Clause 5.4.20.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post VNF LCM Operation Occurrence Notification
......
......@@ -14,7 +14,7 @@ VNF Package Onboarding Notification
... Test objective: The objective is to test that the POST request triggers VNF Package Onboarding notification.
... Pre-conditions: A VNF package subscription for onboarding notifications is available in the NFVO.
... Reference: Clause 10.4.9.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_NFVO
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post VNF Package Onboarding Notification
......@@ -26,7 +26,7 @@ VNF Package Change Notification
... Test objective: The objective is to test that the POST request triggers VNF Package Change notification.
... Pre-conditions: A VNF package subscription for change notifications is available in the NFVO.
... Reference: Clause 10.4.9.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_NFVO
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post VNF Package Change Notification
......
......@@ -14,7 +14,7 @@ Performance Information Available Notification
... Test objective: The objective is to test that the POST request triggers Performance Information Available Notification.
... Pre-conditions: A VNF performance job is created, and a subscription for performance information available notification is available in the VNFM.
... Reference: Clause 6.4.9.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post Performance Information Available Notification
......@@ -26,7 +26,7 @@ Threshold Crossed Notification
... Test objective: The objective is to test that the POST request triggers Threshold Crossed Notification
... Pre-conditions: A VNF performance job is created, and a subscription for threshold crossed notification is available in the VNFM.
... Reference: Clause 6.4.9.3.1 - ETSI GS NFV-SOL 003 [1] v2.7.1
... Config ID: Config_prod_VNFM
... Config ID: Config_prod_Notif_Endpoint
... Applicability: none
... Post-Conditions: none
Post Threshold Crossed Notification
......
......@@ -24,36 +24,9 @@ Create a new alarm subscription
Check HTTP Response Status Code Is 201
Check Operation Occurrence Id
Check HTTP Response Body Json Schema Is FmSubscription
# Create a new alarm subscription - DUPLICATION
# [Documentation] Test ID: 5.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 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 8.4.4.3.1 - ETSI GS NFV-SOL 005 [3] v2.7.1
# ... Config ID: Config_prod_NFVO
# ... Applicability: the NFVO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists
# ... Post-Conditions: none
# Post Create subscription - DUPLICATION
# Check HTTP Response Status Code Is 201
# Check Operation Occurrence Id
# Check HTTP Response Body Json Schema Is FmSubscription
# Create a new alarm subscription - NO DUPLICATION
# [Documentation] Test ID: 5.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 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 8.4.4.3.1 - ETSI GS NFV-SOL 005 [3] v2.7.1
# ... Config ID: Config_prod_NFVO
# ... Applicability: the NFVO decides to not create a duplicate subscription resource
# ... Post-Conditions: none
# Post Create subscription - NO-DUPLICATION
# Check HTTP Response Status Code Is 303
# Check Operation Occurrence Id
Create a duplicated Subscription
[Documentation] Test ID: 5.3.3.3.2a
[Documentation] Test ID: 5.3.3.3.2
... Test title: Create a duplicated alarm subscription
... Test objective: The objective is to create a new subscription with the NFV 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
......@@ -64,8 +37,7 @@ Create a duplicated Subscription
POST Subscription
Check Response for duplicated subscription
Check Operation Occurrence Id
Retrieve a list of alarm subscriptions
[Documentation] Test ID: 5.3.3.3.4
... Test title: Retrieve a list of alarm subscriptions
......
......@@ -10,7 +10,7 @@
6.3.2.5,Individual Subscription Resource Endpoint,IndividualSubscription.robot
6.3.2.6,Notifications,../VNFIndicatorNotification-API/Notifications.robot
6.3.2.7,API Version Resource Endpoint,ApiVersion.robot
6.3.2.8,Notification Consumer,NotificationConsumer.robot
6.3.2.8,Notification Endpoint,NotificationEndpoint.robot
6.3.3,VNF Performance Management Interface,VNFPerformanceManagement-API
6.3.3.1,PM Jobs Resource Endpoint,PMJobs.robot
6.3.3.2,Individual PM Job Resource Endpoint,IndividualPmJob.robot
......@@ -19,7 +19,7 @@
6.3.3.5,Individual Threshold Resource Endpoint,IndividualThreshold.robot
6.3.3.8,Notification Endpoint,../VNFPerformanceManagementNotification-API/Notifications.robot
6.3.3.9,API Version Resource Endpoint,ApiVersion.robot
6.3.3.10, Notification Consumer,NotificationConsumer.robot
6.3.3.10, Notification Endpoint,NotificationEndpoint.robot
6.3.4,VNF Fault Management interface,VNFFaultManagement-API
6.3.4.1,Alarms,Alarms.robot
6.3.4.2,Individual Alarm,IndividualAlarm.robot
......@@ -28,7 +28,7 @@
6.3.4.5,Individual Subscription,IndividualSubscription.robot
6.3.4.6,Notifications,Notifications.robot
6.3.4.7,API Version Resource Endpoint,ApiVersion.robot
6.3.4.8,Notification Consumer,NotificationConsumer.robot
6.3.4.8,Notification Endpoint,NotificationEndpoint.robot
6.3.5,VNF Lifecycle Management interface,VNFLifecycleManagement-API
6.3.5.1,VNF Instances,VNFInstances.robot
6.3.5.2,Individual VNFInstance,IndividualVNFInstance.robot
......@@ -50,4 +50,4 @@
6.3.5.18,Individual Subscription,IndividualSubscription.robot
6.3.5.19,Notifications,Notifications.robot
6.3.5.20,API Version Resource Endpoint,ApiVersion.robot
6.3.5.21,Notification Consumer,NotificationConsumer.robot
6.3.5.21,Notification Endpoint,NotificationEndpoint.robot
......@@ -35,7 +35,7 @@
7.3.1.33,Terminate a VNF Instance, TerminateVNFWorkflow.robot
7.3.1.34,Notifications, Notifications.robot
7.3.1.35,API Version Resource Endpoint, ApiVersion.robot
7.3.1.36,Notification Consumer, NotificationConsumer.robot
7.3.1.36,Notification Endpoint,NotificationEndpoint.robot
7.3.2,VNF Lifecycle Operation Granting Interface, VNFLifecycleOperationGranting-API
7.3.2.1,Grants, Grants.robot
7.3.2.2,Individual Grant, IndividualGrant.robot
......@@ -50,7 +50,7 @@
7.3.3.7,Individual Subscription Resource Endpoint, IndividualSubscription.robot
7.3.3.8,Notifications, Notifications.robot
7.3.3.9,API Version Resource Endpoint, ApiVersion.robot
7.3.3.10,Notification Consumer, NotificationConsumer.robot
7.3.3.10,Notification Endpoint,NotificationEndpoint.robot
7.3.4,VNF Performance Management Interface, VNFPerformanceManagement-API
7.3.4.1,PM Jobs Resource Endpoint, PMJobs.robot
7.3.4.2,Individual Pm Job Resource Endpoint, IndividualPmJob.robot
......@@ -59,7 +59,7 @@
7.3.4.5,Individual Threshold Resource Endpoint, IndividualThreshold.robot
7.3.4.8,Notifications,Notifications.robot
7.3.4.9,API Version Resource Endpoint, ApiVersion.robot
7.3.4.10,Notification Consumer,NotificationConsumer.robot
7.3.4.10,Notification Endpoint,NotificationEndpoint.robot
7.3.5,VNF Fault Management interface, VNFFaultManagement-API
7.3.5.1,Alarms, Alarms.robot
7.3.5.2,Individual Alarm, IndividualAlarm.robot
......@@ -67,7 +67,7 @@
7.3.5.4,Individual Subscription, IndividualSubscription.robot
7.3.5.5,Notifications, ../VNFFaultManagementNotification-API/Notifications.robot
7.3.5.6,API Version Resource Endpoint, ApiVersion.robot
7.3.5.7,Notification Consumer,NotificationConsumer.robot
7.3.5.7,Notification Endpoint,NotificationEndpoint.robot
7.3.6,VNF Indicator Interface, VNFIndicator-API
7.3.6.1,VNF Indicators Resource Endpoint, VNFIndicators.robot
7.3.6.2,VNF Indicators Related to a VNF Instance Resource Endpoint, VnfIndicatorsInVnfInstanceId.robot
......@@ -76,10 +76,10 @@
7.3.6.5,Individual Subscription Resource Endpoint, IndividualSubscription.robot
7.3.6.6,Notifications,Notifications.robot
7.3.6.7,API Version Resource Endpoint, ApiVersion.robot
7.3.6.8,Notification Consumer, NotificationConsumer.robot
7.3.6.8,Notification Endpoint,NotificationEndpoint.robot
7.3.7,Virtualised Resources Quota Available Notification interface, VirtualisedResourcesQuotaAvailableNotification-API
7.3.7.1,Subscriptions, Subscriptions.robot
7.3.7.2,Individual Subscription, IndividualSubscription.robot
7.3.7.3,API Version Resource Endpoint, ApiVersion.robot
7.3.7.4,Notification Consumer, NotificationConsumer.robot
7.3.7.4,Notification Endpoint,NotificationEndpoint.robot
7.3.7.5,Notifications, Notifications.robot
......@@ -14,7 +14,7 @@
5.3.1.12,NSD Archive Manifest Resource Endpoint, NSDArchiveManifest.robot
5.3.1.13,PNFD Resource Endpoint, PNFD.robot
5.3.1.14,PNFD Archive Manifest Resource Endpoint, PNFDArchiveManifest.robot
5.3.1.15,Notifications Consumer, NotificationConsumer.robot
5.3.1.15,Notification Endpoint,NotificationEndpoint.robot
5.3.2,NS Lifecycle Management interface, NSLifecycleManagement-API
5.3.2.1,NsInstances, NSInstances.robot
5.3.2.2,Individual NSInstance, IndividualNSInstance.robot
......@@ -41,7 +41,7 @@
5.3.2.23, Terminate Flow of NS lifecycle management operations, TerminateNSTaskWorkflow.robot
5.3.2.24, Update Flow of NS lifecycle management operations, UpdateNSTaskWorkflow.robot
5.3.2.25,API Version Resource Endpoint, ApiVersion.robot
5.3.2.26,Notification Consumer, NotificationConsumer.robot
5.3.2.26,Notification Endpoint,NotificationEndpoint.robot
5.3.3,NS Fault Management interface, NSFaultManagement-API
5.3.3.1,Alarms, Alarms.robot
5.3.3.2,Individual Alarm, IndividualAlarm.robot
......@@ -49,7 +49,7 @@
5.3.3.4,Individual Subscription, IndividualSubscription.robot
5.3.3.5,Notifications, Notifications.robot
5.3.3.6,API Version Resource Endpoint, ApiVersion.robot
5.3.3.7,Notification Consumer, NotificationConsumer.robot
5.3.3.7,Notification Endpoint,NotificationEndpoint.robot
5.3.4,NS Performance Management interface, NSPerformanceManagement-API
5.3.4.1,PM Jobs Resource Endpoint, PMJobs.robot
5.3.4.2,Individual PM Job Resource Endpoint, IndividualPmJob.robot
......@@ -58,7 +58,7 @@
5.3.4.5,Individual Threshold Resource Endpoint, IndividualThreshold.robot
5.3.4.8,Notifications, Notifications.robot
5.3.4.9,API Version Resource Endpoint, ApiVersion.robot
5.3.4.10,Notifications Consumer, NotificationConsumer.robot
5.3.4.10,Notification Endpoint,NotificationEndpoint.robot
5.3.5,VNF Package Management interface, VNFPackageManagement-API
5.3.5.1,VNF Packages Resource Endpoint, VNFPackages.robot
5.3.5.2,Individual VNF Package Resource Endpoint, IndividualVNFPackage.robot
......@@ -70,4 +70,4 @@
5.3.5.8,Individual Subscription Resource Endpoint, IndividualSubscription.robot
5.3.5.9,Notifications, Notifications.robot
5.3.5.10,API Version Resource Endpoint, ApiVersion.robot
5.3.5.11,Notifications Consumer, NotificationConsumer.robot
5.3.5.11,Notification Endpoint,NotificationEndpoint.robot
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