Commit b85387ab authored by Yann Garcia's avatar Yann Garcia
Browse files

Add missing TPs for clause 7.3.6.3.2

parent d64c4cf1
Loading
Loading
Loading
Loading
+6 −41
Original line number Diff line number Diff line
@@ -264,7 +264,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_006_NF"
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_NF"
      
      Test objective 
         "Check that MEO service sends an error when it receives a query for a subscription on AppPackages 
@@ -303,7 +303,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI {
   }  
   
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_007_NF"
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_NF"
      
      Test objective 
         "Check that MEO service sends an error when it receives a deletion request for a subscription on AppPackages 
@@ -342,7 +342,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_008_NF"         //Negative case 404 Not found
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_NF"         //Negative case 404 Not found
      
      Test objective 
         "Check that MEO responds with an error when it receives 
@@ -375,7 +375,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI {
   }
 
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_BR"
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_BR"
      
      Test objective 
         "Check that MEO service sends an error when it receives a 
@@ -414,42 +414,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI {
   }

   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_009_NF"
      
      Test objective 
         "Check that MEO service sends an error when it receives a deletion request for a subscription on AppPackages 
          with a wrong identifier"
      
      Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.4.3.4"
                
      Config Id Config_MEC_2
      PICS Selection PIC_APP_PACKAGE_MANAGEMENT 

      Initial conditions  with {
         the IUT entity not having a Subscription containing
            subscriptionId indicating value NON_EXISTENT_SUBSCRIPTION_ID
         ;
      }

      Expected behaviour
      ensure that {
         when {
            the IUT entity receives a vDELETE containing 
               uri indicating value "/app_pkgm/v1/subscriptions/{NON_EXISTENT_SUBSCRIPTION_ID}"
            ;
            from the MEC_OSS entity
         }
         then {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "404 Not Found"
            ;         
            to the MEC_OSS entity
         }
      }
   }  

   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_01_NF"
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_NF"
      
      Test objective 
          "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested"
@@ -486,7 +451,7 @@ Package MEC_MEC010p2_MEO_PKGM_BO_BI {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_010_02_NF"
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_NF"
      
      Test objective 
          "Check that MEO fetches the on-boarded application package content identified by appDId when requested"
+45 −3
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
       
       Test objective 
           "Check that the MEO service sends a application package notification 
            if the MEPM service has an associated subscription and the event is generated"
            if the MEO service has an associated subscription and the event is generated"
      
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.3.5.3.1",
@@ -588,6 +588,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
              the IUT entity sends a vPOST containing
                  uri indicating value CALLBACK_URI,
                  body containing
                    AppPkgNotification containing
                      notificationId set to NOTIFICATION_ID,
                      notificationType indicating value any_value,
                      subscriptionId set to SUBSCRIPTION_ID,
@@ -599,13 +600,54 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
                      ;
                    ;
                  ;
              ;
              to the MEC_OSS entity
         }
      }
   }

   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_01_OK"
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_OK"
      
      Test objective 
          "Check that MEO reads the content of the AppD of on-boarded individual application package resources when requested"
      
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2"
          
      Config Id Config_MEC_2
      PICS Selection PIC_APP_PACKAGE_MANAGEMENT 

      Initial conditions  with {
          the IUT entity having a App_Package containing
              appPkgId indicating value APP_PKG_ID,
              appDId indicating value ON_BOARDED_APPD_ID
          ;
      }

      Expected behaviour
      ensure that {
          when {
              the IUT entity receives a vGET containing 
                  uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content",
                  accept set to "application/zip"
              ;
              from the MEC_OSS entity
          }
          then {
              the IUT entity sends a HTTP_RESPONSE containing
                  status set to "200 OK",
                  body containing
                      payload set to ZIP_FILE 
                  ;
               ;
               to the MEC_OSS entity
         }
      }
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_01_OK"
      
      Test objective 
          "Check that MEO fetches the on-boarded application package content identified by appPkgId when requested"
@@ -645,7 +687,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_011_02_OK"
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_02_OK"
      
      Test objective 
          "Check that MEO fetches the on-boarded application package content identified by appDId when requested"