Commit a6db919c authored by Giada Landi's avatar Giada Landi
Browse files

Update AppPkgMgt

parent e4f9c83a
Loading
Loading
Loading
Loading
+19 −22
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   //All APP packages

   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_001"
      TP Id "TP_MEC_MEO_PKGM_001_OK"
      
      Test objective 
         "Check that MEO creates a new App Package when requested"
@@ -54,7 +54,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "201 Created",
               body containing 
                  OnboardedAppPkgInfoList containing   //TODO Check if cardinality is 0..N or 1
                  OnboardedAppPkgInfoList containing
                     OnboardedAppPkgInfo containing
                        appPkgId set to any_value,
                        appDId set to any_value,
@@ -62,8 +62,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
                        appSoftwareVersion set to any_value,
                        appDVersion set to APP_PKG_VERSION, 
                        checksum set to CHECKSUM,
                        attribute softwareImagesList,
                        appPkgPath set to APP_PKG_PATH,
                        attribute softwareImages,
                        operationalState set to "ENABLED",
                        usageState set to "NOT_IN_USE",
                        attribute _links
@@ -76,7 +75,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_002a"
      TP Id "TP_MEC_MEO_PKGM_002_OK"
      
      Test objective 
         "Check that MEO returns the list of App Packages when requested"
@@ -112,8 +111,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
                        appSoftwareVersion set to any_value,
                        appDVersion set to any_value,
                        checksum set to any_value,
                        attribute softwareImagesList,
                        appPkgPath set to any_value,
                        attribute softwareImages,
                        operationalState set to any_value,
                        usageState set to any_value,
                        attribute _links
@@ -128,7 +126,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   //Individual APP packages
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_002b"
      TP Id "TP_MEC_MEO_PKGM_003_OK"
      
      Test objective 
         "Check that MEO returns the an App Package when requested"
@@ -163,8 +161,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
                        appSoftwareVersion set to any_value,
                        appDVersion set to any_value,
                        checksum set to any_value,
                        attribute softwareImagesList,
                        appPkgPath set to any_value,
                        attribute softwareImages,
                        operationalState set to any_value,
                        usageState set to any_value,
                        attribute _links
@@ -176,7 +173,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_003"
      TP Id "TP_MEC_MEO_PKGM_004_OK"
      
      Test objective 
         "Check that MEO deletes an App Package when requested"
@@ -208,10 +205,10 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
 
 //TODO FIX SPACES
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_004"
      TP Id "TP_MEC_MEO_PKGM_005_OK"
	      
	      Test objective 
	          "Check that MEO changes the status of an App Package from INITIAL_STATUS to OPERATION_VALUE when requested, with the following possible combinations:
	          "Check that MEO changes the status of an App Package from INITIAL_OP_STATE with an operation of type OPERATION_VALUE when requested, with the following possible combinations:
                  - ENABLED, DISABLE
                  - DISABLED, ENABLE
                  - DELETION_PENDING, ABORT
@@ -245,7 +242,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
	   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_005"
      TP Id "TP_MEC_MEO_PKGM_006_OK"
      
      Test objective 
         "Check that MEO returns the Application Descriptor contained on a on-boarded Application Package when requested"
@@ -264,7 +261,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
      Expected behaviour
      ensure that {
         when {
            the IUT entity receives a GET containing
            the IUT entity receives a vGET containing
               uri indicating value "/apmi/v1/app_packages/{ON_BOARDED_APP_PKG_ID}/appDId",
               accept set to ACCEPTED_CONTENT_TYPE
            ;
@@ -282,7 +279,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_001"
      TP Id "TP_MEC_MEO_PKGM_007_OK"
      
      Test objective 
         "Check that MEO service sends a Application Package Subscription when requested"
@@ -328,7 +325,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_002"
      TP Id "TP_MEC_MEO_PKGM_008_OK"
      
      Test objective 
         "Check that MEO service returns the list of Application Package Subscriptions when requested"
@@ -375,7 +372,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_004"
      TP Id "TP_MEC_MEO_PKGM_009_OK"
      
      Test objective 
         "Check that MEO service returns an Application Package Subscription when requested"
@@ -387,7 +384,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {

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

@@ -395,7 +392,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
      ensure that {
         when {
            the IUT entity receives a vGET containing 
               uri indicating value "/apmi/v1/subscriptions/{SUBCRIPTION_ID}"
               uri indicating value "/apmi/v1/subscriptions/{SUBSCRIPTION_ID}"
            ;
            from the MEC_OSS entity
         }
@@ -419,7 +416,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_SUB_003"
      TP Id "TP_MEC_MEO_PKGM_010_OK"
      
      Test objective 
         "Check that MEO service deletes an Application Package Subscription when requested"
@@ -453,7 +450,7 @@ Package MEC010_2_MEO_MM1_PKGM_BV {
   }
   
   Test Purpose {
      TP Id "TP_MEC_MEO_MM1_PKGM_NOTIF_01"
      TP Id "TP_MEC_MEO_PKGM_011_OK"
      
      Test objective 
         "Check that the MEO service sends a application package notification