Commit 27469676 authored by Filipe Ferreira's avatar Filipe Ferreira
Browse files

MEC 011 v2.0.9 updates - work in progress.

parent da419f41
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with a list of active DNS rules
         when queried by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.12.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.12.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule"

      Config Id Config_MEC_1
@@ -74,7 +74,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with the information on a specific DNS rule
         when queried by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule"

      Config Id Config_MEC_1
@@ -123,7 +123,7 @@ Package plat_dns_rules {
         "Check that the IUT updates a specific DNS rule
         when commanded by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.2",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.2",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/DnsRule"

      Config Id Config_MEC_1
@@ -178,7 +178,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.1"

      Config Id Config_MEC_1

@@ -221,7 +221,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with an error when
         a request for an unknown URI is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.1"

      Config Id Config_MEC_1

@@ -264,7 +264,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with an error when
         a request with incorrect parameters is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.2"

      Config Id Config_MEC_1

@@ -313,7 +313,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.2"

      Config Id Config_MEC_1

@@ -361,7 +361,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with an error when
         a request for an unknown URI is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.2"

      Config Id Config_MEC_1

@@ -409,7 +409,7 @@ Package plat_dns_rules {
         "Check that the IUT responds with an error when
         a request sent by a MEC Application doesn't comply with a required condition"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.13.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.13.3.2"

      Config Id Config_MEC_1

+31 −31
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with a list of subscriptions for notifications
         on services availability when queried by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/Mp1SubscriptionLinkList"

      Config Id Config_MEC_1
@@ -47,7 +47,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions"
               ;
               from the MEC_APP entity
            }
@@ -72,7 +72,7 @@ Package plat_app_subscriptions {
         "Check that the IUT acknowledges the subscription by a MEC Application
         to notifications on service availability events"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.4",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.4",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription"

      Config Id Config_MEC_1
@@ -91,10 +91,10 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vPOST containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  body containing
                     SerAvailabilityNotificationSubscription containing
                        subscriptionType indicating value "SerAvailabilityNotificationSubscription",
                     AppTerminationNotificationSubscription containing
                        subscriptionType indicating value "AppTerminationNotificationSubscription",
                        callbackReference indicating value some_uri
                     ;
                  ;
@@ -107,8 +107,8 @@ Package plat_app_subscriptions {
                  status_code set to "201 Created",
                  Location set to LOCATION,
                  body containing
                     SerAvailabilityNotificationSubscription containing
                        subscriptionType set to "SerAvailabilityNotificationSubscription",
                     AppTerminationNotificationSubscription containing
                        subscriptionType set to "AppTerminationNotificationSubscription",
                        callbackReference set to some_uri
                     ;
                  ;
@@ -126,7 +126,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with the information on a specific subscription
         when queried by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription"

      Config Id Config_MEC_1
@@ -148,7 +148,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
               ;
               from the MEC_APP entity
            }
@@ -157,8 +157,8 @@ Package plat_app_subscriptions {
               the IUT entity sends a HTTP_RESPONSE containing
                  status_code set to "200 OK"
                  body containing
                     SerAvailabilityNotificationSubscription containing
                        subscriptionType set to "SerAvailabilityNotificationSubscription"
                     AppTerminationNotificationSubscription containing
                        subscriptionType set to "AppTerminationNotificationSubscription"
                     ;
                  ;
               ;
@@ -175,7 +175,7 @@ Package plat_app_subscriptions {
         "Check that the IUT acknowledges the unsubscribe from service availability event notifications
         when commanded by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.5"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.5"

      Config Id Config_MEC_1

@@ -196,7 +196,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
               ;
               from the MEC_APP entity
            }
@@ -218,7 +218,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.1"

      Config Id Config_MEC_1

@@ -236,7 +236,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a GET containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions"
               ;
               from the MEC_APP entity
            }
@@ -257,7 +257,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with an error when
         a request for an unknown URI is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.1"

      Config Id Config_MEC_1

@@ -275,7 +275,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions"
                  uri indicating value "mec_app_support/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions"
               ;
               from the MEC_APP entity
            }
@@ -297,7 +297,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with an error when
         a request with incorrect parameters is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.4"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.4"

      Config Id Config_MEC_1

@@ -315,9 +315,9 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vPOST containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  body containing
                     SerAvailabilityNotificationSubscription containing
                     AppTerminationNotificationSubscription containing
                        // Unknown value should trigger an error response.
                        subscriptionType indicating value INVALID_SUBSCRIPTION,
                        callbackReference indicating value some_uri
@@ -344,7 +344,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.6.3.4",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.6.3.4",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/SerAvailabilityNotificationSubscription"

      Config Id Config_MEC_1
@@ -363,7 +363,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a POST containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions"
                  body containing
                     subscriptionType indicating value "SerAvailabilityNotificationSubscription",
                     callbackReference indicating value some_uri
@@ -389,7 +389,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.1"

      Config Id Config_MEC_1

@@ -410,7 +410,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a GET containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
               ;
               from the MEC_APP entity
            }
@@ -433,7 +433,7 @@ Package plat_app_subscriptions {
         a request for an URI that cannot be mapped to a valid resource URI
         is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.1"

      Config Id Config_MEC_1

@@ -454,7 +454,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"
               ;
               from the MEC_APP entity
            }
@@ -476,7 +476,7 @@ Package plat_app_subscriptions {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.5"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.5"

      Config Id Config_MEC_1

@@ -497,7 +497,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a DELETE containing
                  uri indicating value "mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
                  uri indicating value "mec_app_support/v1/applications/{APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
               ;
               from the MEC_APP entity
            }
@@ -520,7 +520,7 @@ Package plat_app_subscriptions {
         a request for an URI that cannot be mapped to a valid resource URI
         is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.5.3.5"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.5.3.5"

      Config Id Config_MEC_1

@@ -541,7 +541,7 @@ Package plat_app_subscriptions {
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
                  uri indicating value "mec_app_support/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/subscriptions/{SUBSCRIPTION_ID}"
               ;
               from the MEC_APP entity
            }
+557 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Package plat_timing {
         "Check that the IUT responds with timing capabilities 
         when queried by a MEC Application"
      
      Reference "ETSI GS MEC 011 V2.0.4, clause 7.7.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.7.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TimingCaps"
      
      Config Id Config_MEC_1
@@ -69,7 +69,7 @@ Package plat_timing {
         "Check that the IUT responds with current time
         when queried by a MEC Application"
      
      Reference "ETSI GS MEC 011 V2.0.4, clause 7.8.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.8.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/CurrentTime"

      Config Id Config_MEC_1
@@ -110,7 +110,7 @@ Package plat_timing {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"
      
      Reference "ETSI GS MEC 011 V2.0.4, clause 7.7.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.7.3.1"
      
      Config Id Config_MEC_1
      
@@ -147,7 +147,7 @@ Package plat_timing {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"
      
      Reference "ETSI GS MEC 011 V2.0.4, clause 7.8.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.8.3.1"

      Config Id Config_MEC_1
      
+9 −9
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with a list of available traffic rules
         when queried by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.10.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.10.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule"

      Config Id Config_MEC_1
@@ -74,7 +74,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with the information on a specific traffic rule
         when queried by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.11.3.1",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.1",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule"

      Config Id Config_MEC_1
@@ -123,7 +123,7 @@ Package plat_traffic_rules {
         "Check that the IUT updates a specific traffic rule
         when commanded by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.11.3.2",
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.2",
         "https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml#/definitions/TrafficRule"

      Config Id Config_MEC_1
@@ -179,7 +179,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.10.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.10.3.1"

      Config Id Config_MEC_1

@@ -219,7 +219,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with an error when
         a request for an unknown URI is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.10.3.1"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.10.3.1"

      Config Id Config_MEC_1

@@ -259,7 +259,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with an error when
         a request with incorrect parameters is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.11.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.2"

      Config Id Config_MEC_1

@@ -309,7 +309,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with an error when
         an unauthorised request is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.11.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.2"

      Config Id Config_MEC_1

@@ -356,7 +356,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with an error when
         a request for an unknown URI is sent by a MEC Application"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.11.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.2"

      Config Id Config_MEC_1

@@ -405,7 +405,7 @@ Package plat_traffic_rules {
         "Check that the IUT responds with an error when
         a request sent by a MEC Application doesn't comply with a required condition"

      Reference "ETSI GS MEC 011 V2.0.4, clause 7.11.3.2"
      Reference "ETSI GS MEC 011 V2.0.9, clause 7.11.3.2"

      Config Id Config_MEC_1

Loading