Commit 3d631483 authored by Yann Garcia's avatar Yann Garcia
Browse files

Merge branch 'TTF_T027' into 'master'

Updated references to MEC010p2 data model using the corresponding clause...

See merge request !24
parents 6132362d 10964395
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@ For more information on ETSI TDL and the TOP Open Source project visit https://t


## How to report bugs or requests
## How to report bugs or requests


Visit https://forge.etsi.org/bugzilla/describecomponents.cgi?product=MEC.
Visit https://forge.etsi.org/rep/mec/gs032p2-test-purposes/-/issues.


## Licensing information
## Licensing information


+1 −0
Original line number Original line Diff line number Diff line
/.metadata/
+1 −1
Original line number Original line Diff line number Diff line
/*
/*
Copyright (c) ETSI 2018-2021.
Copyright (c) ETSI 2018-2023.
Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters
Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters
*/
*/
Package MEC_MEC009_MEX_ANY_BI {
Package MEC_MEC009_MEX_ANY_BI {
+78 −58
Original line number Original line Diff line number Diff line
/*
/*
Copyright (c) ETSI 2018-2021.
Copyright (c) ETSI 2018-2023.
Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters
Released under BSD 3-clause license. For more information visit https://forge.etsi.org/legal-matters
*/
*/
Package MEC_MEC010p2_MEO_GRANT {
Package MEC_MEC010p2_MEO_GRANT {
@@ -13,10 +13,9 @@ Package MEC_MEC010p2_MEO_GRANT {
         "Check that MEO sends a synchronous grant response when a grant request is requested - INSTANTIATE"
         "Check that MEO sends a synchronous grant response when a grant request is requested - INSTANTIATE"
      
      
      Reference
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1",        //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2",        //GrantRequest
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2"         //Grant
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1"         //Grant
              
              
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      PICS Selection PIC_GRANTS_MANAGEMENT 
      PICS Selection PIC_GRANTS_MANAGEMENT 
@@ -40,7 +39,10 @@ Package MEC_MEC010p2_MEO_GRANT {
                     appDId set to any_value,
                     appDId set to any_value,
                     operation set to INSTANTIATE,
                     operation set to INSTANTIATE,
                     addResources set to INST_RESOURCES_LIST,
                     addResources set to INST_RESOURCES_LIST,
                     _links set to H_LINK
                     _links containing
                     	appLcmOpOcc set to APP_LCM_OP_OCC_LINK,
                     	appInstance set to APP_INSTANCE_LINK
                     ;
               ;;;
               ;;;
            from the MEPM entity
            from the MEPM entity
         }
         }
@@ -48,14 +50,17 @@ Package MEC_MEC010p2_MEO_GRANT {
            the IUT entity sends a HTTP_RESPONSE containing
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "201 Created",
               status set to "201 Created",
               headers containing
               headers containing
                   Location indicating value "{GRANTING_ID}"
                   Location set to "/granting/v1/grants/{GRANTING_ID}"
               body containing 
               body containing 
                  Grant containing
                  Grant containing
                     id set to any_value,
                     id set to any_value,
                     appInstanceId set to APP_INSTANCE_ID,
                     appInstanceId set to APP_INSTANCE_ID,
                     appLcmOpOccId set to any_value,
                     appLcmOpOccId set to any_value,
                     addResources set to INST_RESOURCES_LIST,
                     addResources set to INST_RESOURCES_LIST,
                     _links set to H_LINK
                     _links containing
                     	appLcmOpOcc set to APP_LCM_OP_OCC_LINK,
                     	appInstance set to APP_INSTANCE_LINK
                     ;
                  ;
                  ;
               ;
               ;
            ;;
            ;;
@@ -71,10 +76,9 @@ Package MEC_MEC010p2_MEO_GRANT {
         "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE"
         "Check that MEO responds with an error when it receives a malformed request when a new grant request is performed - INSTANTIATE"
      
      
      Reference
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1",        //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2",        //GrantRequest
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2"         //Grant
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1"         //Grant
          
          
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      
      
@@ -98,7 +102,10 @@ Package MEC_MEC010p2_MEO_GRANT {
                     appDId set to any_value,
                     appDId set to any_value,
                     operationERROR set to INSTANTIATE,
                     operationERROR set to INSTANTIATE,
                     not addResources,
                     not addResources,
                     _links set to H_LINK
                     _links containing
                     	appLcmOpOcc set to APP_LCM_OP_OCC_LINK,
                     	appInstance set to APP_INSTANCE_LINK
                     ;
                  ;
                  ;
               ;
               ;
            ; from the MEPM entity
            ; from the MEPM entity
@@ -119,9 +126,9 @@ Package MEC_MEC010p2_MEO_GRANT {
         "Check that MEO sends a synchronous grant response when a grant request is requested"
         "Check that MEO sends a synchronous grant response when a grant request is requested"
      
      
      Reference
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1",      //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2",        //GrantRequest
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1"       //Grant
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2"         //Grant
          
          
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      PICS Selection PIC_GRANTS_MANAGEMENT 
      PICS Selection PIC_GRANTS_MANAGEMENT 
@@ -144,7 +151,10 @@ Package MEC_MEC010p2_MEO_GRANT {
                     appLcmOpOccId set to any_value,
                     appLcmOpOccId set to any_value,
                     appDId set to any_value,
                     appDId set to any_value,
                     operation set to OPERATION_TYPE,   //Shall be one from - OPERATE - TERMINATE
                     operation set to OPERATION_TYPE,   //Shall be one from - OPERATE - TERMINATE
                     _links set to H_LINK
                     _links containing
                     	appLcmOpOcc set to APP_LCM_OP_OCC_LINK,
                     	appInstance set to APP_INSTANCE_LINK
                     ;
                     ;;;
                     ;;;
            from the MEPM entity
            from the MEPM entity
         }
         }
@@ -158,7 +168,10 @@ Package MEC_MEC010p2_MEO_GRANT {
                     id set to any_value,
                     id set to any_value,
                     appInstanceId set to APP_INSTANCE_ID,
                     appInstanceId set to APP_INSTANCE_ID,
                     appLcmOpOccId set to any_value,
                     appLcmOpOccId set to any_value,
                     _links set to H_LINK
                     _links containing
                     	appLcmOpOcc set to APP_LCM_OP_OCC_LINK,
                     	appInstance set to APP_INSTANCE_LINK
                     ;
                  ;
                  ;
               ;
               ;
            ;;
            ;;
@@ -175,10 +188,9 @@ Package MEC_MEC010p2_MEO_GRANT {
         "Check that MEO sends a asynchronous grant response when a grant request is requested - INSTANTIATE"
         "Check that MEO sends a asynchronous grant response when a grant request is requested - INSTANTIATE"
      
      
      Reference
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1",        //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2",        //GrantRequest
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1 Note 2", //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2"         //Grant
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1"         //Grant
          
          
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      PICS Selection PIC_GRANTS_MANAGEMENT 
      PICS Selection PIC_GRANTS_MANAGEMENT 
@@ -202,7 +214,10 @@ Package MEC_MEC010p2_MEO_GRANT {
                     appDId set to any_value,
                     appDId set to any_value,
                     operation set to INSTANTIATE,
                     operation set to INSTANTIATE,
                     addResources set to INST_RESOURCES_LIST,
                     addResources set to INST_RESOURCES_LIST,
                     _links set to H_LINK
                     _links containing
                     	appLcmOpOcc set to APP_LCM_OP_OCC_LINK,
                     	appInstance set to APP_INSTANCE_LINK
                     ;
                  ;
                  ;
               ;
               ;
            ;
            ;
@@ -226,9 +241,9 @@ Package MEC_MEC010p2_MEO_GRANT {
         "Check that MEO sends a asynchronous grant response when a grant request is requested"
         "Check that MEO sends a asynchronous grant response when a grant request is requested"
      
      
      Reference
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.1",
          "ETSI GS MEC 010-2 3.1.1, clause 7.5.1.3.1",
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.2.2-1",        //GrantRequest
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.2.2",        //GrantRequest
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1"         //Grant
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2"         //Grant
          
          
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      PICS Selection PIC_GRANTS_MANAGEMENT 
      PICS Selection PIC_GRANTS_MANAGEMENT 
@@ -251,7 +266,10 @@ Package MEC_MEC010p2_MEO_GRANT {
                     appLcmOpOccId set to any_value,
                     appLcmOpOccId set to any_value,
                     appDId set to any_value,
                     appDId set to any_value,
                     operation set to OPERATION_TYPE,   //Shall be one from - OPERATE - TERMINATE
                     operation set to OPERATION_TYPE,   //Shall be one from - OPERATE - TERMINATE
                     _links set to H_LINK
                     _links containing
                     	appLcmOpOcc set to APP_LCM_OP_OCC_LINK,
                     	appInstance set to APP_INSTANCE_LINK
                     ;
               ;
               ;
            ;
            ;
            ;
            ;
@@ -268,6 +286,7 @@ Package MEC_MEC010p2_MEO_GRANT {
      }
      }
   }
   }
   
   
   
      Test Purpose {
      Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_GRANT_005_OK"
      TP Id "TP_MEC_MEC010p2_MEO_GRANT_005_OK"
      
      
@@ -275,15 +294,16 @@ Package MEC_MEC010p2_MEO_GRANT {
         "Check that MEO sends the status of a grant request when a query on a granting ID is performed"
         "Check that MEO sends the status of a grant request when a query on a granting ID is performed"
      
      
      Reference
      Reference
          "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2",
          "ETSI GS MEC 010-2 3.1.1, clause 7.5.2.3.2",
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1"
          "ETSI GS MEC 010-2 3.1.1, clause 6.2.4.4.2"
          
          
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      PICS Selection PIC_GRANTS_MANAGEMENT 
      PICS Selection PIC_GRANTS_MANAGEMENT 


      Initial conditions  with {
      Initial conditions  with {
         the IUT entity having a grant containing
         the IUT entity having a grant containing
            id indicating value GRANTING_ID;
            id indicating value GRANTING_ID,
            link indicating value H_LINK;
      }
      }


      Expected behaviour
      Expected behaviour
@@ -296,16 +316,20 @@ Package MEC_MEC010p2_MEO_GRANT {
         }
         }
         then {
         then {
            the IUT entity sends a HTTP_RESPONSE containing
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "202 Accepted",
               status set to "200 OK",
               headers containing 
               body containing
                  Location set to "/granting/v1/grants/{GRANTING_ID}"
                  Grant containing
                     id set to GRANTING_ID,
                     appInstanceId set to any_value,
                     appLcmOpOccId set to any_value,
                     _links set to H_LINK
                  ;
               ;   
               ;   
            ; to the MEPM entity
            ; to the MEPM entity
         }
         }
      }
      }
   }
   }



   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_OK"
      TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_OK"
      
      
@@ -313,16 +337,14 @@ Package MEC_MEC010p2_MEO_GRANT {
          "Check that MEO sends the status of a grant request when a query on a granting ID is performed"
          "Check that MEO sends the status of a grant request when a query on a granting ID is performed"
      
      
      Reference 
      Reference 
          "ETSI GS MEC 010-2 2.2.1, clause 7.5.2.3.2",
          "ETSI GS MEC 010-2 3.1.1, clause 7.5.2.3.2"
          "ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1"
          
          
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      PICS Selection PIC_GRANTS_MANAGEMENT 
      PICS Selection PIC_GRANTS_MANAGEMENT 


      Initial conditions  with {
      Initial conditions  with {
         the IUT entity having a grant containing
         the IUT entity having a grant containing
            id indicating value GRANTING_ID,
            id indicating value GRANTING_ID;
            link indicating value H_LINK;
      }
      }


      Expected behaviour
      Expected behaviour
@@ -335,20 +357,18 @@ Package MEC_MEC010p2_MEO_GRANT {
         }
         }
         then {
         then {
            the IUT entity sends a HTTP_RESPONSE containing
            the IUT entity sends a HTTP_RESPONSE containing
               status set to "200 OK",
               status set to "202 Accepted",
               body containing
               headers containing 
                  Grant containing
                  Location set to "/granting/v1/grants/{GRANTING_ID}"
                     id set to GRANTING_ID,
                     appInstanceId set to any_value,
                     appLcmOpOccId set to any_value,
                     _links set to H_LINK
                  ;
               ;
               ;
            ; to the MEPM entity
            ; to the MEPM entity
         }
         }
      }
      }
   }   
   }   





   Test Purpose {
   Test Purpose {
      TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_NF"
      TP Id "TP_MEC_MEC010p2_MEO_GRANT_006_NF"
      
      
@@ -356,7 +376,7 @@ Package MEC_MEC010p2_MEO_GRANT {
         "Check that MEO responds with an error when it receives 
         "Check that MEO responds with an error when it receives 
         a request for returning a grant referred with a wrong ID"
         a request for returning a grant referred with a wrong ID"
      
      
      Reference "ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2"
      Reference   "ETSI GS MEC 010-2 3.1.1, clause 7.5.2.3.2"
              
              
      Config Id Config_MEC_3
      Config Id Config_MEC_3
      PICS Selection PIC_GRANTS_MANAGEMENT
      PICS Selection PIC_GRANTS_MANAGEMENT
+157 −105

File changed.

Preview size limit exceeded, changes collapsed.

Loading