Commit 288e7be8 authored by Filipe Ferreira's avatar Filipe Ferreira
Browse files

- Include JSON data types in the references in the tests

- Replace HTTP status codes with literals
- Folder structure follows the TSS
- Message body details relevant fields
parent 3500681e
Loading
Loading
Loading
Loading
+0 −41
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2018.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/
Package MEC_011_DATA {
   
   Data { /* To be modified */
      type STRING;
      type JSON;
      type string with s of type STRING;
      
      JSON valid_serviceInfo_list; // As specified in MEC 011, clause 6.2.2
      JSON valid_serviceInfo; // As specified in MEC 011, clause 6.2.2
      
      JSON valid_Mp1SubscriptionLinkList; // As specified in MEC 011, clause 6.3.4
      
      JSON valid_SerAvailabilityNotificationSubscription; // As specified in MEC 011, clause 6.4.2
   
      JSON valid_TimingCaps; // As specified in MEC 011, clause 6.2.6

      JSON valid_CurrentTime; // As specified in MEC 011, clause 6.2.7

      JSON valid_TransportInfo_list; // As specified in MEC 011, clause 6.2.3

      JSON valid_TrafficRule_list; // As specified in MEC 011, clause 6.2.4
      JSON valid_TrafficRule; // As specified in MEC 011, clause 6.2.4

      JSON valid_DnsRule_list; // As specified in MEC 011, clause 6.2.5
      JSON valid_DnsRule; // As specified in MEC 011, clause 6.2.5
   }
}
 No newline at end of file
+0 −46
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2018.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/
Package MEC_011_Domain {
   
   import all from MEC_011_DATA;
   
   Domain {
      pics:
      // Any PICS in this list shall reference a PICS item in MEC 025 clause 7
      - PIC_MEC_PLAT // FUT is a MEC Platform (MEC025, Table 7.4.2-1 item 1)
      - PIC_SERVICES // Implements services
      - PIC_NOTIFICATIONS // Implements notifications
      ;
      entities:
      - MEC_APP   // MEC Application using the MEC Platform Application Enablement API
      - MEC_APP_Registrant
      - MEC_APP_Subscriber
      - IUT    // MEC Platform
      ;
      events:
      - services_running      // services available in the IUT
      - started               // MEC_APP up and running
      - authorised            // MEC_APP authenticated and authorised to use services
      - consume_services      // MEC_APP can use services
      - receives              // IUT receives an HTTP request
      - sends                 // IUT sends an HTTP response
      - being_in
      - having
      - idle_state // Idle state: The MEC platform has services running and MEC Application is authorized to consume services
      - subscribed_to
      ;
   }
   
}
 No newline at end of file
+0 −32
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2018.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/

Package MEC_013_DATA {

   Data { /* To be modified */
   type STRING;
   type JSON;

      JSON valid_userInfo_list; // As specified in MEC 013, clause 6.2.1

      JSON valid_AccessPointList; // As specified in MEC 013, clause 6.2.1

      JSON valid_distanceNotificationSubscription; // As specified in MEC 013, clause 6.3.2

      JSON valid_circleNotificationSubscription; // As specified in MEC 013, clause 6.3.2


   }
}
+0 −45
Original line number Diff line number Diff line
/*
Copyright (c) ETSI 2018.

This software is subject to copyrights owned by ETSI. Non-exclusive permission
is hereby granted, free of charge, to copy, reproduce and amend this file
under the following conditions: It is provided "as is", without warranty of any
kind, expressed or implied.

ETSI shall never be liable for any claim, damages, or other liability arising
from its use or inability of use.This permission does not apply to any documentation
associated with this file for which ETSI keeps all rights reserved. The present
copyright notice shall be included in all copies of whole or part of this
file and shall not imply any sub-license right.
*/

Package MEC_013_Domain {

   import all from MEC_013_DATA;

   Domain {
   pics:
   // Any PICS in this list shall reference a PICS item in MEC 025 clause 7
   - PIC_MEC_PLAT // FUT is a MEC Platform (MEC025, Table 7.8.2-1)
   - PIC_SERVICES // Implements services
   - PIC_NOTIFICATIONS // Implements notifications
   ;
   entities:
   - MEC_APP_Registrant
   - MEC_APP_Subscriber
   ;
   events:
   - services_running      // services available in the IUT
   - started               // MEC_APP up and running
   - authorised            // MEC_APP authenticated and authorised to use services
   - consume_services      // MEC_APP can use services
   - receives              // IUT receives an HTTP request
   - sends                 // IUT sends an HTTP response
   - being_in
   - having
   - idle_state // Idle state: The MEC platform has services running and MEC Application is authorized to consume services
   - subscribed_to
   ;
   }

}
+0 −11
Original line number Diff line number Diff line
Package MEC_014_DATA {

   Data { /* To be modified */
   type STRING;
   type JSON;

      JSON valid_UeIdentityTagInfo; // As specified in MEC 014, clause 6.2.2


   }
}
Loading