Loading Test Purposes/MEC011/mec-011-domain.tplan2 +22 −2 Changes for Test Purposes/MEC011/mec-011-domain.tplan2: 22 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Package MEC_011_Domain { Package MEC_011_Domain { import all from MEC_011_DATA; Domain { Domain { pics: pics: - PIC_MEC_PLAT // FUT is a MEC Platform // Any PICS in this list shall reference a PICS item in MEC 025 clause 7 - PIC_MEC_PLAT // FUT is a MEC Platform (MEC025, Table 7.4.2-1 item 1) - PIC_SERVICES // Implements services - PIC_SERVICES // Implements services - PIC_NOTIFICATIONS // Implements notifications - PIC_NOTIFICATIONS // Implements notifications ; ; entities: entities: - MEC_APP // MEC Application using the MEC Platform Application Enablement API - MEC_APP // MEC Application using the MEC Platform Application Enablement API - MEC_APP_Registrant - MEC_APP_Subscriber - IUT // MEC Platform - IUT // MEC Platform - TestSystem ; ; events: events: - services_running // services available in the IUT - services_running // services available in the IUT Loading @@ -24,4 +28,20 @@ Package MEC_011_Domain { ; ; } } Configuration { Interface Type myPort accepts string; Component Type MecAppComponent with gate p of type myPort; Component Type MecPlatformComponent with gate p of type myPort; Test Configuration myConfig containing Tester component MEC_App of type MecAppComponent SUT component MEC_Plat of type MecPlatformComponent connection between MEC_App.p and MEC_Plat.p ; } } } No newline at end of file Test Purposes/MEC011/mec-011.tplan2 +32 −12 Changes for Test Purposes/MEC011/mec-011.tplan2: 32 added lines, 12 removed lines. Original line number Original line Diff line number Diff line Loading @@ -66,14 +66,18 @@ Package MEC_011_mp1 { Test objective Test objective "Check that the IUT notifies the authorised relevant application instances "Check that the IUT notifies the authorised relevant application instances when a new service is registered or updated when they are subscribed" when a new service is registered when they are subscribed" Reference "ETSI GS MEC 011 V2.0.3, clause 7.4.3.4" Reference "ETSI GS MEC 011 V2.0.3, clause 7.4.3.4" Config Id myConfig PICS Selection PIC_MEC_PLAT PIC_SERVICES PIC_NOTIFICATIONS PICS Selection PIC_MEC_PLAT PIC_SERVICES PIC_NOTIFICATIONS Initial conditions with { Initial conditions with { the IUT entity being_in idle_state and the IUT entity being_in idle_state and the TestSystem entity subscribed_to the MP1_Notifications the MEC_APP_Registrant entity being_in idle_state and the MEC_APP_Subscriber entity subscribed_to the MP1_subscription_a } } Expected behaviour Expected behaviour Loading @@ -82,20 +86,36 @@ Package MEC_011_mp1 { the IUT entity receives a POST containing the IUT entity receives a POST containing Uri indicating value "/mp1/v1/services", Uri indicating value "/mp1/v1/services", Host indicating value IUT_HOSTNAME, Host indicating value IUT_HOSTNAME, Content_type indicating value "application/json;charset=utf-8" // Q: is the content type defined anywhere? Token indicating value VALID_TOKEN, // Q: how to ensure HTTPS, OAuth 2.0 with bearer tokens (clause 7.2) Content_type indicating value CONTENT_JSON body containing serviceInfo set to SERVICE_INFO_SAMPLE_1 ; ; ; //; } } then { then { the IUT entity sends a httpResponse containing // MEC 011 7.4.3.4 // Q: should the status code be in the MEC-025 tables? the IUT entity sends a httpResponse Status_Code indicating value "200 OK", containing version indicating value "1.0", // Q: do we only accept a specific version? Status_Code indicating value "201 CREATED", Content_type indicating value "application/json;charset=utf-8", Content_type indicating value CONTENT_JSON, Location indicating value LOCATION, body containing service indicating value SERVICE_INFO_SAMPLE_1 ; ; to the MEC_APP_Registrant entity and // MEC 011 6.4.2 the IUT entity sends a notification_message containing body containing body containing something indicating value lol notificationType set to "SerAvailabilityNotification", ;; services indicating value SERVICE_INFO_SAMPLE_1, _links containing subscription set to MP1_subscription_a; ; ; to the MEC_APP_Subscriber entity } } } } } } Loading Test Purposes/MEC011/~$c-011.tplan2.docx −162 B File deleted. View file Loading
Test Purposes/MEC011/mec-011-domain.tplan2 +22 −2 Changes for Test Purposes/MEC011/mec-011-domain.tplan2: 22 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Package MEC_011_Domain { Package MEC_011_Domain { import all from MEC_011_DATA; Domain { Domain { pics: pics: - PIC_MEC_PLAT // FUT is a MEC Platform // Any PICS in this list shall reference a PICS item in MEC 025 clause 7 - PIC_MEC_PLAT // FUT is a MEC Platform (MEC025, Table 7.4.2-1 item 1) - PIC_SERVICES // Implements services - PIC_SERVICES // Implements services - PIC_NOTIFICATIONS // Implements notifications - PIC_NOTIFICATIONS // Implements notifications ; ; entities: entities: - MEC_APP // MEC Application using the MEC Platform Application Enablement API - MEC_APP // MEC Application using the MEC Platform Application Enablement API - MEC_APP_Registrant - MEC_APP_Subscriber - IUT // MEC Platform - IUT // MEC Platform - TestSystem ; ; events: events: - services_running // services available in the IUT - services_running // services available in the IUT Loading @@ -24,4 +28,20 @@ Package MEC_011_Domain { ; ; } } Configuration { Interface Type myPort accepts string; Component Type MecAppComponent with gate p of type myPort; Component Type MecPlatformComponent with gate p of type myPort; Test Configuration myConfig containing Tester component MEC_App of type MecAppComponent SUT component MEC_Plat of type MecPlatformComponent connection between MEC_App.p and MEC_Plat.p ; } } } No newline at end of file
Test Purposes/MEC011/mec-011.tplan2 +32 −12 Changes for Test Purposes/MEC011/mec-011.tplan2: 32 added lines, 12 removed lines. Original line number Original line Diff line number Diff line Loading @@ -66,14 +66,18 @@ Package MEC_011_mp1 { Test objective Test objective "Check that the IUT notifies the authorised relevant application instances "Check that the IUT notifies the authorised relevant application instances when a new service is registered or updated when they are subscribed" when a new service is registered when they are subscribed" Reference "ETSI GS MEC 011 V2.0.3, clause 7.4.3.4" Reference "ETSI GS MEC 011 V2.0.3, clause 7.4.3.4" Config Id myConfig PICS Selection PIC_MEC_PLAT PIC_SERVICES PIC_NOTIFICATIONS PICS Selection PIC_MEC_PLAT PIC_SERVICES PIC_NOTIFICATIONS Initial conditions with { Initial conditions with { the IUT entity being_in idle_state and the IUT entity being_in idle_state and the TestSystem entity subscribed_to the MP1_Notifications the MEC_APP_Registrant entity being_in idle_state and the MEC_APP_Subscriber entity subscribed_to the MP1_subscription_a } } Expected behaviour Expected behaviour Loading @@ -82,20 +86,36 @@ Package MEC_011_mp1 { the IUT entity receives a POST containing the IUT entity receives a POST containing Uri indicating value "/mp1/v1/services", Uri indicating value "/mp1/v1/services", Host indicating value IUT_HOSTNAME, Host indicating value IUT_HOSTNAME, Content_type indicating value "application/json;charset=utf-8" // Q: is the content type defined anywhere? Token indicating value VALID_TOKEN, // Q: how to ensure HTTPS, OAuth 2.0 with bearer tokens (clause 7.2) Content_type indicating value CONTENT_JSON body containing serviceInfo set to SERVICE_INFO_SAMPLE_1 ; ; ; //; } } then { then { the IUT entity sends a httpResponse containing // MEC 011 7.4.3.4 // Q: should the status code be in the MEC-025 tables? the IUT entity sends a httpResponse Status_Code indicating value "200 OK", containing version indicating value "1.0", // Q: do we only accept a specific version? Status_Code indicating value "201 CREATED", Content_type indicating value "application/json;charset=utf-8", Content_type indicating value CONTENT_JSON, Location indicating value LOCATION, body containing service indicating value SERVICE_INFO_SAMPLE_1 ; ; to the MEC_APP_Registrant entity and // MEC 011 6.4.2 the IUT entity sends a notification_message containing body containing body containing something indicating value lol notificationType set to "SerAvailabilityNotification", ;; services indicating value SERVICE_INFO_SAMPLE_1, _links containing subscription set to MP1_subscription_a; ; ; to the MEC_APP_Subscriber entity } } } } } } Loading