Commit 693406ec authored by Yann Garcia's avatar Yann Garcia
Browse files

Full review of MEO/PKGM; Remove file AppPkgMgt_BO-BI.tplan2

parent 7e44c22e
Loading
Loading
Loading
Loading
+10 −55
Original line number Diff line number Diff line
@@ -1017,7 +1017,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
      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"
          "Check that MEO fetches the application package content identified by appPkgId when requested"
      
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2"
@@ -1093,54 +1093,14 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
      }
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_PKGM_012_03_OK"
      
      Test objective 
          "Check that MEO fetches the on-boarded application package content identified by appDId when requested"
      
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.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/onboarded_app_packages/{ON_BOARDED_APPD_ID}/appPkgContent",
                  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_BR"
      
      Test objective 
         "Check that MEO service sends an error when it receives a 
          malformed request for creating a new subscription on AppPackages"
          malformed request"
      
      Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.3.3.1"
      Reference "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2"
                
      Config Id Config_MEC_2
      PICS Selection PIC_APP_PACKAGE_MANAGEMENT 
@@ -1152,14 +1112,9 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
      Expected behaviour
      ensure that {
         when {
            the IUT entity receives a POST containing 
               uri indicating value "/app_pkgm/v1/subscriptions",
               body containing
                  AppPkgSubscription containing
                     callbackUri set to URI,
                     subscriptionType set to "ON-BOARDING"  // Enum should be "ONBOARDING"
                  ;
               ;
            the IUT entity receives a vGET containing 
               uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content",
               accept set to "wrong_parameter"
            ;
            from the MEC_OSS entity
         }
@@ -1176,7 +1131,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
      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"
          "Check that MEO service sends an error when it receives a request refering a wrong appPkgId"
      
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2"
@@ -1213,7 +1168,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
      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"
          "Check that MEO service sends an error when it receives a request refering a wrong on-boarded appPkgId"
      
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.3.7.3.2"
@@ -1270,7 +1225,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
      ensure that {
          when {
              the IUT entity receives a vPUT containing 
                  uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/appd",
                  uri indicating value "/app_pkgm/v1/app_packages/{APP_PKG_ID}/package_content",
                  accept set to ACCEPTED_CONTENT_TYPE
              ;
              from the MEC_OSS entity
@@ -1309,7 +1264,7 @@ Package MEC_MEC010p2_MEO_PKGM_BV {
      ensure that {
          when {
              the IUT entity receives a vPUT containing 
                  uri indicating value "/app_pkgm/v1/app_packages/{APP_NON_EXISTANT_PKG_ID}/appd",
                  uri indicating value "/app_pkgm/v1/app_packages/{APP_NON_EXISTANT_PKG_ID}/package_content",
                  accept set to ACCEPTED_CONTENT_TYPE
              ;
              from the MEC_OSS entity