Commit e859d412 authored by YannGarcia's avatar YannGarcia
Browse files

Review typing for MEC 028

parent 667b2e1d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@ modules := ../LibCommon \
            ../LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI \
            ../LibMec/TrafficManagementAPI \
            ../LibMec/LocationAPI \
            ../LibMec/RnisAPI \
            ../LibMec/UEAppInterfaceAPI \
            ../LibMec/UEidentityAPI \
            ../LibMec/V2XInformationServiceAPI \
+1 −1
Original line number Diff line number Diff line
@@ -5,4 +5,4 @@ sources := \
    ttcn/ApplicationMobilityServiceAPI_Templates.ttcn \
    ttcn/ApplicationMobilityServiceAPI_Functions.ttcn \

modules := ../../RnisAPI
modules := ../RnisAPI
+16 −17
Original line number Diff line number Diff line
@@ -25,10 +25,10 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Table 7.2.2-1: Attributes of RegistrationInfo
   */
  type record RegistrationInfo {
    Json.String        appMobilityServiceId
    Json.String        appMobilityServiceId,
    ServiceConsumerId  serviceConsumerId,
    DeviceInformation  deviceInformation optional,
    UInt32             expiryTime optional
    Json.UInteger      expiryTime optional
  }
  type record of RegistrationInfo RegistrationInfos;

@@ -98,7 +98,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Table 7.3.2-1: Attributes of the MobilityProcedureSubscription
   */
  type record MobilityProcedureSubscription {
    SubscriptionType   subscriptionType,
    Json.String       subscriptionType,
    Json.AnyURI        callbackReference optional,
    Json.Bool          requestTestNotification optional,
    WebsockNotifConfig websockNotifConfig optional,
@@ -122,12 +122,11 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
  }
  /**
   * @desc List of filtering criteria for the subscription
   * @member appInstanceId Identifier of the application instance that registers to the Application Mobility Service
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Table 7.3.2-1: Attributes of the MobilityProcedureSubscription
   */
  type record FilterCriteria {
    Json.String        appInstanceId optional,
    AssociateIdList    associateId optional, 
    MobilityStatusType mobilityStatus	
    Json.String        appInstanceId optional
  }
  type record of FilterCriteria FilterCriterias;

@@ -143,7 +142,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Table 7.3.3-1: Attributes of the AdjacentAppInfoSubscription
   */
  type record AdjacentAppInfoSubscription {
    SubscriptionType       subscriptionType,
    Json.String            subscriptionType,
    Json.AnyURI            callbackReference optional,
    Json.Bool              requestTestNotification optional,
    WebsockNotifConfig     websockNotifConfig optional,
@@ -201,7 +200,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
  type record MobilityProcedureNotification {
    Json.String        notificationType,
    TimeStamp          timeStamp optional,
    AssociateId        associateId,
    AssociateId_       associateId,
    MobilityStatus     mobilityStatus,
    TargetAppInfo      targetAppInfo	optional,
    Links_Notification links
@@ -216,7 +215,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Table 7.4.2-1: Attributes of the MobilityProcedureNotification
   */
  type record TargetAppInfo {
    Json.String appInstanceId	String	1	.
    Json.String appInstanceId,
    CommunicationInterface commInterface optional
  }

@@ -312,7 +311,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
  /**
   * @desc This type represents the communication interface of an application instance
   * @member ipAddresses Entry point information of the service as one or more pairs of IP address and port
   * @see ETSI GS MEC 021 Clause 7.5.2	Type: CommunicationInterface
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Clause 7.5.2	Type: CommunicationInterface
   */
  type record CommunicationInterface {
    IpAddresses ipAddresses optional
@@ -322,7 +321,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @desc Entry point information of the service as one or more pairs of IP address and port
   * @member host Host portion of the address
   * @member port Port portion of the address
   * @see ETSI GS MEC 021 Clause 7.5.2	Type: CommunicationInterface
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Clause 7.5.2	Type: CommunicationInterface
   */
  type record IpAddress {
    Json.String   host,
@@ -336,7 +335,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @desc
   * @member seconds The seconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
   * @member nanoSeconds The nanoseconds part of the time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC
   * @see ETSI GS MEC 021 Clause 7.5.3	Type: TimeStamp
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Clause 7.5.3	Type: TimeStamp
   */
  type record TimeStamp {
    Seconds     seconds,
@@ -356,7 +355,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
  /**
   * @desc This type represents a type of link
   * @member href URI referring to a resource
   * @see ETSI GS MEC 021 Clause 7.5.4	Type: LinkType
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Clause 7.5.4	Type: LinkType
   */
  type record LinkType {
    Json.AnyURI href
@@ -366,9 +365,9 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @desc The type represents the parameters of MEC host information
   * @member hostName Human-readable name of MEC host
   * @member hostId Deployment-specific information to identify a MEC host
   * @see ETSI GS MEC 021 Table 7.5.5-1: Attributes of MECHostInformation
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Table 7.5.5-1: Attributes of MECHostInformation
   */
  type record IpAddress {
  type record MECHostInformation {
    Json.String   hostName optional,
    KeyValuePairs hostId
  }
@@ -377,7 +376,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
    * @desc This data type represents a list of key-value pairs
    * @member key_name
    * @member key_value
    * @see ETSI GS MEC 010-2 Clause 6.2.5.3	Type: KeyValuePairs
    * @see ETSI GS MEC 021 V3.1.1 (2023-10) Clause 6.2.5.3	Type: KeyValuePairs
    */
  type record KeyValuePairs {
    Json.String key_name,
@@ -388,7 +387,7 @@ module ApplicationMobilityServiceAPI_TypesAndValues {
   * @desc This type represents configuration for the delivery of subscription notifications over Websockets
   * @member websocketUri Set by location server to indicate to the service consumer the Websocket URI to be used for delivering notifications
   * @member requestWebsocketUri Set to true by the service consumer to indicate that Websocket delivery is requested
   * @see ETSI GS MEC 021 Clause 7.5.7	Type: WebsockNotifConfig
   * @see ETSI GS MEC 021 V3.1.1 (2023-10) Clause 7.5.7	Type: WebsockNotifConfig
   */
  type record WebsockNotifConfig {
    Json.AnyURI websocketUri optional,
+2 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ module EdgePlatformApplicationEnablementAPI_Templates {
                                                 in template (value) EndPointInfo_UriList p_uris
                                                 ) := {
    uris        := p_uris,
    fqdn        := omit,
    addresses   := omit,
    alternative := omit
  } // End of template m_end_point_uris
@@ -64,6 +65,7 @@ module EdgePlatformApplicationEnablementAPI_Templates {
                                                    template (present) EndPointInfo_UriList p_uris := ?
                                                    ) := {
    uris        := p_uris,
    fqdn        := *,
    addresses   := *,
    alternative := *
  } // End of template mw_end_point_uris
+2 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ module LocationAPI_Templates {
    resourceURL         := p_resource_url,
    timestamp_          := p_timestamp,
    locationInfo        := omit,
    civicInfo           := omit,
    contextLocationInfo := omit,
    ancillaryInfo       := omit
  } // End of template m_user_info
@@ -40,6 +41,7 @@ module LocationAPI_Templates {
    resourceURL         := p_resource_url,
    timestamp_          := p_timestamp,
    locationInfo        := *,
    civicInfo           := *,
    contextLocationInfo := *,
    ancillaryInfo       := *
  } // End of template mw_user_info
Loading