Commit de1a8d74 authored by YannGarcia's avatar YannGarcia
Browse files

TTF T024: Add Registration Application TPs

parent 451e1071
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services"
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services"
               ;
               from the MEC_APP entity
            }
@@ -80,7 +80,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services"
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services"
                  query_parameters containing
                     // Wrong parameter name should trigger an error response.
                     instance_id indicating value any_value
@@ -127,7 +127,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vPOST containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services",
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services",
                  body containing
                     ServiceInfo containing
                        serName indicating value SERVICE_NAME
@@ -194,7 +194,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vPOST containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services",
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services",
                  body containing
                     ServiceInfo containing
                        // Wrong parameter name should trigger an error response.
@@ -242,7 +242,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vPOST containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{NON_EXISTENT_APP_INSTANCE_ID}/services",
                  uri indicating value "/mec_service_mgmt/v2/applications/{NON_EXISTENT_APP_INSTANCE_ID}/services",
                  body containing
                     ServiceInfo containing
                        serName indicating value SERVICE_NAME
@@ -291,7 +291,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}"
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}"
               ;
               from the MEC_APP entity
            }
@@ -339,7 +339,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}"
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}"
               ;
               from the MEC_APP entity
            }
@@ -384,7 +384,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vPUT containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}",
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}",
                  body containing
                     ServiceInfo containing
                        version indicating value NEW_VERSION
@@ -437,7 +437,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vPUT containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}",
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}",
                  body containing
                     ServiceInfo containing
                        // Wrong parameter name should trigger an error response.
@@ -486,7 +486,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vPUT containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}",
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}",
                  body containing
                     ServiceInfo containing
                        version indicating value NEW_VERSION
@@ -534,7 +534,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vPUT containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}",
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}",
                  if_match indicating value INVALID_ETAG,
                  body containing
                     ServiceInfo containing
@@ -581,7 +581,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}"
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{SERVICE_ID}"
               ;
               from the MEC_APP entity
            }
@@ -620,7 +620,7 @@ Package MEC_MEC011_SRV_APPSAQ {
         ensure that {
            when {
               the IUT entity receives a vDELETE containing
                  uri indicating value "/mec_service_mgmt/v1/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}"
                  uri indicating value "/mec_service_mgmt/v2/applications/{APP_INSTANCE_ID}/services/{NON_EXISTENT_SERVICE_ID}"
               ;
               from the MEC_APP entity
            }
+705 −0

File added.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ Package MEC_MEC011_SRV_SAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value"/mec_service_mgmt/v1/services"
                  uri indicating value"/mec_service_mgmt/v2/services"
               ;
               from the MEC_APP entity
            }
@@ -74,7 +74,7 @@ Package MEC_MEC011_SRV_SAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value"/mec_service_mgmt/v1/services"
                  uri indicating value"/mec_service_mgmt/v2/services"
                  query_parameters containing
                     // Wrong parameter name should trigger an error response.
                     instance_id indicating value any_value 
@@ -119,7 +119,7 @@ Package MEC_MEC011_SRV_SAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value"/mec_service_mgmt/v1/services/{SERVICE_ID}"
                  uri indicating value"/mec_service_mgmt/v2/services/{SERVICE_ID}"
               ;
               from the MEC_APP entity
            }
@@ -169,7 +169,7 @@ Package MEC_MEC011_SRV_SAQ {
         ensure that {
            when {
               the IUT entity receives a vGET containing
                  uri indicating value"/mec_service_mgmt/v1/services/{NON_EXISTENT_SERVICE_ID}"
                  uri indicating value"/mec_service_mgmt/v2/services/{NON_EXISTENT_SERVICE_ID}"
               ;
               from the MEC_APP entity
            }
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@ Package MEC_Common {
        pics:
           // Some PICS in this list are referenced to 
           // PICS item in MEC 032 part 1, Clause A.4

            - PIC_MEC_PLAT
            - PIC_MEC_SYSTEM
            - PIC_SERVICES