Loading Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 +19 −47 Original line number Diff line number Diff line Loading @@ -17,73 +17,45 @@ Package MEC010_2_MEO_MM1_LCM_NOTIF { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEO_MM1_LCM_NOTIF_001_v1" TP Id "TP_MEC_MEO_LCM_014_OK" Test objective "Check that the MEO sends an AppLcmOpOccNotification to the subscriber when the App Instance is enabled" "Check that the MEO sends a notification to the subscriber when an application lcm change event occurs" Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.5.3.1", "ETSI GS MEC 010-2 2.0.9, table 6.2.2.18.2-1", // AppLcmOpOccNotification "ETSI GS MEC 010-2 2.0.9, table 6.2.2.17.2-1", // AppLcmOpOccSubscriptionLinkList "ETSI GS MEC 010-2 2.0.9, table 6.2.2.4.2-1" // AppInstanceInfo "ETSI GS MEC 010-2 2.0.9, table 6.2.2.12.2-1" // AppInstNotification Config Id Config_MEC_3 PICS Selection PIC_APP_LCM_NOTIFICATIONS Initial conditions with { the IUT entity having a App_Instance containing appInstanceId set to APP_INSTANCE_ID, appDId set to APP_D_ID, appProvider set to APP_PROVIDER, appName set to APP_NAME, appSoftVersion set to APP_SOFT_VERSION, appDVersion set to APP_D_VEERSION, appPkgId set to APP_PKG_ID, instantiationState set to NOT_INSTANTIATED, _links containing self set to any_value ; ; and the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "AppLcmOpOccStateChangeSubscription", callbackUri set to URI, notificationType set to "NOT_INSTANTIATED", _links containing self set to "/alcmi/v1/subscriptions/{subscriptionId}" ; the IUT entity having a App_Instance_Subscription containing subscriptionType indicating value SUBSCRIPTION_TYPE, callbackUri indicating value CALLBACK_URI, attribute _links ; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing notificationId set to any_value, notificationType set to "STARTING", subscriptionId set to SUBSCRIPTION_ID, timeStamp set to TIMESTAMP, appLcmOpOccId set to APP_LCM_OP_OCC_ID, appInstanceId set to APP_INSTANCE_ID, AppLcmOpOccSubscriptionLinkList containing _links containing self set to "/alcmi/v1/subscriptions/{subscriptionId}", href set to "/alcmi/v1/app_instances/{appInstanceId}", rel set to "STARTING" ; ; ; from the MEC_OSS entity the IUT entity generates a application_lcm_change_event containing notificationId set to NOTIFICATION_ID; } then { the IUT entity sends a vPOST containing uri indicating value CALLBACK_URI, body containing AppLcmOpOccNotification containing notificationId indicating value any_value, notificationType indicating value "STARTING", subscriptionId indicating value SUBSCRIPTION_ID, appInstanceId set to APP_INSTANCE_ID Notification containing notificationId set to NOTIFICATION_ID, notificationType set to NOTIFICATION_TYPE, subscriptionId set to any_value, timeStamp set to any_value, appInstanceId set to any_value, appDId set to any_value, attribute _links ; ; ; to the MEC_SUB entity Loading Test Purposes/mec-common.tplan2 +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ Package MEC_Common { - S1_bearer_event - nr_measurement_repost_event - expiry_notification_event - application_lcm_change_event ; } Loading Loading
Test Purposes/MEO/Mm1/AppLcmMgmt/AppInstanceMgmt_notifications.tplan2 +19 −47 Original line number Diff line number Diff line Loading @@ -17,73 +17,45 @@ Package MEC010_2_MEO_MM1_LCM_NOTIF { import all from MEC_Common; Test Purpose { TP Id "TP_MEC_MEO_MM1_LCM_NOTIF_001_v1" TP Id "TP_MEC_MEO_LCM_014_OK" Test objective "Check that the MEO sends an AppLcmOpOccNotification to the subscriber when the App Instance is enabled" "Check that the MEO sends a notification to the subscriber when an application lcm change event occurs" Reference "ETSI GS MEC 010-2 2.0.9, clause 7.5.5.3.1", "ETSI GS MEC 010-2 2.0.9, table 6.2.2.18.2-1", // AppLcmOpOccNotification "ETSI GS MEC 010-2 2.0.9, table 6.2.2.17.2-1", // AppLcmOpOccSubscriptionLinkList "ETSI GS MEC 010-2 2.0.9, table 6.2.2.4.2-1" // AppInstanceInfo "ETSI GS MEC 010-2 2.0.9, table 6.2.2.12.2-1" // AppInstNotification Config Id Config_MEC_3 PICS Selection PIC_APP_LCM_NOTIFICATIONS Initial conditions with { the IUT entity having a App_Instance containing appInstanceId set to APP_INSTANCE_ID, appDId set to APP_D_ID, appProvider set to APP_PROVIDER, appName set to APP_NAME, appSoftVersion set to APP_SOFT_VERSION, appDVersion set to APP_D_VEERSION, appPkgId set to APP_PKG_ID, instantiationState set to NOT_INSTANTIATED, _links containing self set to any_value ; ; and the IUT entity having a App_Package_subscription containing subscriptionId set to SUBSCRIPTION_ID, subscriptionType set to "AppLcmOpOccStateChangeSubscription", callbackUri set to URI, notificationType set to "NOT_INSTANTIATED", _links containing self set to "/alcmi/v1/subscriptions/{subscriptionId}" ; the IUT entity having a App_Instance_Subscription containing subscriptionType indicating value SUBSCRIPTION_TYPE, callbackUri indicating value CALLBACK_URI, attribute _links ; } Expected behaviour ensure that { when { the IUT entity receives a vPOST containing notificationId set to any_value, notificationType set to "STARTING", subscriptionId set to SUBSCRIPTION_ID, timeStamp set to TIMESTAMP, appLcmOpOccId set to APP_LCM_OP_OCC_ID, appInstanceId set to APP_INSTANCE_ID, AppLcmOpOccSubscriptionLinkList containing _links containing self set to "/alcmi/v1/subscriptions/{subscriptionId}", href set to "/alcmi/v1/app_instances/{appInstanceId}", rel set to "STARTING" ; ; ; from the MEC_OSS entity the IUT entity generates a application_lcm_change_event containing notificationId set to NOTIFICATION_ID; } then { the IUT entity sends a vPOST containing uri indicating value CALLBACK_URI, body containing AppLcmOpOccNotification containing notificationId indicating value any_value, notificationType indicating value "STARTING", subscriptionId indicating value SUBSCRIPTION_ID, appInstanceId set to APP_INSTANCE_ID Notification containing notificationId set to NOTIFICATION_ID, notificationType set to NOTIFICATION_TYPE, subscriptionId set to any_value, timeStamp set to any_value, appInstanceId set to any_value, appDId set to any_value, attribute _links ; ; ; to the MEC_SUB entity Loading
Test Purposes/mec-common.tplan2 +1 −0 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ Package MEC_Common { - S1_bearer_event - nr_measurement_repost_event - expiry_notification_event - application_lcm_change_event ; } Loading