Commit 60bd0216 authored by YannGarcia's avatar YannGarcia
Browse files

Review typing for MEC 030

parent 525ec9b8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -14,7 +14,6 @@ modules := ../LibCommon \
            ../LibMec/EdgePlatformApplicationEnablementAPI \
            ../LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI \
            ../LibMec/TrafficManagementAPI \
            ../LibMec/RnisAPI \
            ../LibMec/UEAppInterfaceAPI \
            ../LibMec/UEidentityAPI \
            ../LibMec/V2XInformationServiceAPI \
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ module RnisAPI_Pixits {

  modulepar Json.String PX_UNKNOWN_SUBSCRIPTION_ID := "0666";

  modulepar Link PX_LINKS_SELF := { self_ := { href := "http://example.com/exampleAPI/rni/v2/subscriptions" } };
  modulepar Links PX_LINKS_SELF := { self_ := { href := "http://example.com/exampleAPI/rni/v2/subscriptions" } };
  
  modulepar charstring PX_CALLBACK_URI := "/";
  
+13 −13
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ module RnisAPI_Templates {
                                                                      in template (value) FilterCriteriaAssocHo p_filterCriteriaAssocHo,
                                                                      in template (omit) Json.Bool p_requestTestNotification := omit,
                                                                      in template (omit) WebsockNotifConfig p_websockNotifConfig := omit,
                                                                      in template (omit) Link p_links := omit,
                                                                      in template (omit) Links p_links := omit,
                                                                      in template (omit) TimeStamp p_expiryDeadline := omit
                                                                      ) := {
      subscriptionType        := "CellChangeSubscription",
@@ -78,7 +78,7 @@ module RnisAPI_Templates {
                                                                                              in template (value) FilterCriteriaAssocHo p_filterCriteriaAssocHo,
                                                                                              in template (omit) Json.Bool p_requestTestNotification := omit,
                                                                                              in template (omit) WebsockNotifConfig p_websockNotifConfig := omit,
                                                                                              in template (omit) Link p_links := omit,
                                                                                              in template (omit) Links p_links := omit,
                                                                                              in template (omit) TimeStamp p_expiryDeadline := omit
                                                                                              ) modifies m_cell_change_subscription := {
      subscriptionType  := "CellChangeSubscription_invalid"
@@ -86,7 +86,7 @@ module RnisAPI_Templates {
    
    template CellChangeSubscription mw_cell_change_subscription(
                                                                template (present) CallbackReference p_callbackReference := ?,
                                                                template (present) Link p_links := ?,
                                                                template (present) Links p_links := ?,
                                                                template (present) FilterCriteriaAssocHo p_filterCriteriaAssocHo := ?,
                                                                template Json.Bool p_requestTestNotification := *,
                                                                template WebsockNotifConfig p_websockNotifConfig := *,
@@ -110,7 +110,7 @@ module RnisAPI_Templates {
                                                              in template (value) RabEstSubscription_FilterCriteriaQci p_filterCriteriaQci,
                                                              in template (omit) Json.Bool p_requestTestNotification := omit,
                                                              in template (omit) WebsockNotifConfig p_websockNotifConfig := omit,
                                                              in template (omit) Link p_links := omit,
                                                              in template (omit) Links p_links := omit,
                                                              in template (omit) TimeStamp p_expiryDeadline := omit
    ) := {
      subscriptionType        := "RabEstSubscription",
@@ -124,7 +124,7 @@ module RnisAPI_Templates {
    
    template (present) RabEstSubscription mw_rab_est_subscription(
                                                                  template (present) CallbackReference p_callbackReference := ?,
                                                                  template (present) Link p_links := ?,
                                                                  template (present) Links p_links := ?,
                                                                  template (present) RabEstSubscription_FilterCriteriaQci p_filterCriteriaQci := ?,
                                                                  template Json.Bool p_requestTestNotification := *,
                                                                  template WebsockNotifConfig p_websockNotifConfig := *,
@@ -144,7 +144,7 @@ module RnisAPI_Templates {
                                                              in template (value) RabModSubscription_FilterCriteriaQci p_filterCriteriaQci,
                                                              in template (omit) Json.Bool p_requestTestNotification := omit,
                                                              in template (omit) WebsockNotifConfig p_websockNotifConfig := omit,
                                                              in template (omit) Link p_links := omit,
                                                              in template (omit) Links p_links := omit,
                                                              in template (omit) TimeStamp p_expiryDeadline := omit
    ) := {
      subscriptionType        := "RabModSubscription",
@@ -158,7 +158,7 @@ module RnisAPI_Templates {
    
    template (present) RabModSubscription mw_rab_mod_subscription(
                                                                  template (present) CallbackReference p_callbackReference := ?,
                                                                  template (present) Link p_links := ?,
                                                                  template (present) Links p_links := ?,
                                                                  template (present) RabModSubscription_FilterCriteriaQci p_filterCriteriaQci := ?,
                                                                  template Json.Bool p_requestTestNotification := *,
                                                                  template WebsockNotifConfig p_websockNotifConfig := *,
@@ -178,7 +178,7 @@ module RnisAPI_Templates {
                                                              in template (value) RabModSubscription_FilterCriteriaQci p_filterCriteriaQci,
                                                              in template (omit) Json.Bool p_requestTestNotification := omit,
                                                              in template (omit) WebsockNotifConfig p_websockNotifConfig := omit,
                                                              in template (omit) Link p_links := omit,
                                                              in template (omit) Links p_links := omit,
                                                              in template (omit) TimeStamp p_expiryDeadline := omit
    ) := {
      subscriptionType        := "RabRelSubscription",
@@ -192,7 +192,7 @@ module RnisAPI_Templates {
    
    template (present) RabRelSubscription mw_rab_rel_subscription(
                                                                  template (present) CallbackReference p_callbackReference := ?,
                                                                  template (present) Link p_links := ?,
                                                                  template (present) Links p_links := ?,
                                                                  template (present) RabModSubscription_FilterCriteriaQci p_filterCriteriaQci := ?,
                                                                  template Json.Bool p_requestTestNotification := *,
                                                                  template WebsockNotifConfig p_websockNotifConfig := *,
@@ -209,7 +209,7 @@ module RnisAPI_Templates {
    
    template (present) MeasRepUeSubscription mw_meas_rep_ue_subscription(
                                                                         template (present) CallbackReference p_callbackReference := ?,
                                                                         template (present) Link p_links := ?,
                                                                         template (present) Links p_links := ?,
                                                                         template (present) FilterCriteriaAssocTri p_filterCriteriaAssocTri := ?,
                                                                         template Json.Bool p_requestTestNotification := *,
                                                                         template WebsockNotifConfig p_websockNotifConfig := *,
@@ -226,7 +226,7 @@ module RnisAPI_Templates {
    
    template (present) MeasTaSubscription mw_meas_ta_subscription(
                                                                  template (present) CallbackReference p_callbackReference := ?,
                                                                  template (present) Link p_links := ?,
                                                                  template (present) Links p_links := ?,
                                                                  template (present) FilterCriteriaAssoc p_filterCriteriaAssoc := ?,
                                                                  template Json.Bool p_requestTestNotification := *,
                                                                  template WebsockNotifConfig p_websockNotifConfig := *,
@@ -243,7 +243,7 @@ module RnisAPI_Templates {
    
    template (present) CaReConfSubscription mw_ca_reconfig_subscription(
                                                                       template (present) CallbackReference p_callbackReference := ?,
                                                                       template (present) Link p_links := ?,
                                                                       template (present) Links p_links := ?,
                                                                       template (present) FilterCriteriaAssoc p_filterCriteriaAssoc := ?,
                                                                       template Json.Bool p_requestTestNotification := *,
                                                                       template WebsockNotifConfig p_websockNotifConfig := *,
@@ -260,7 +260,7 @@ module RnisAPI_Templates {
    
    template (present) S1BearerSubscription mw_s1_bearer_subscription(
                                                                       template (present) CallbackReference p_callbackReference := ?,
                                                                       template (present) Link p_links := ?,
                                                                       template (present) Links p_links := ?,
                                                                       template (present) EventType p_eventType := ?,
                                                                       template (present) S1BearerSubscriptionCriteria p_s1BearerSubscriptionCriteria := ?,
                                                                       template Json.Bool p_requestTestNotification := *,
+21 −21
Original line number Diff line number Diff line
@@ -310,7 +310,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference     callbackReference,
    Json.Bool             requestTestNotification optional,
    WebsockNotifConfig    websockNotifConfig optional,
    Link                  links optional,
    Links                 links optional,
    FilterCriteriaAssocHo filterCriteriaAssocHo,
    TimeStamp             expiryDeadline optional
  } with {
@@ -322,7 +322,7 @@ module RnisAPI_TypesAndValues {
   * @member self_ URI referring to a resource
   * @see ETSI GS MEC 012 V2.2.1 (2022-02) Table 6.3.2-1: Attributes of the CellChangeSubscription
   */
  type record Link {
  type record Links {
    LinkType self_
  } with {
    variant (self_) "name as 'self'";
@@ -374,7 +374,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference                    callbackReference,
    Json.Bool                            requestTestNotification optional,
    WebsockNotifConfig                   websockNotifConfig optional,
    Link                                 links optional,
    Links                                links optional,
    RabEstSubscription_FilterCriteriaQci filterCriteriaQci,
    TimeStamp                            expiryDeadline optional
  } with {
@@ -410,7 +410,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference                    callbackReference,
    Json.Bool                            requestTestNotification optional,
    WebsockNotifConfig                   websockNotifConfig optional,
    Link                                 links optional,
    Links                                links optional,
    RabModSubscription_FilterCriteriaQci filterCriteriaQci,
    TimeStamp                            expiryDeadline optional
  } with {
@@ -433,7 +433,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference                    callbackReference,
    Json.Bool                            requestTestNotification optional,
    WebsockNotifConfig                   websockNotifConfig optional,
    Link                                 links optional,
    Links                                links optional,
    RabModSubscription_FilterCriteriaQci filterCriteriaQci,
    TimeStamp                            expiryDeadline optional
  } with {
@@ -471,7 +471,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference      callbackReference,
    Json.Bool              requestTestNotification optional,
    WebsockNotifConfig     websockNotifConfig optional,
    Link                   links optional,
    Links                  links optional,
    FilterCriteriaAssocTri filterCriteriaAssocTri,
    TimeStamp              expiryDeadline optional
  } with {
@@ -511,7 +511,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference     callbackReference,
    Json.Bool             requestTestNotification optional,
    WebsockNotifConfig    websockNotifConfig optional,
    Link                  links,
    Links                 links,
    FilterCriteriaAssoc   filterCriteriaAssoc,
    TimeStamp             expiryDeadline optional
  } with {
@@ -547,7 +547,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference   callbackReference,
    Json.Bool           requestTestNotification optional,
    WebsockNotifConfig  websockNotifConfig optional,
    Link                links optional,
    Links               links optional,
    FilterCriteriaAssoc filterCriteriaAssoc,
    TimeStamp           expiryDeadline optional
  } with {
@@ -571,7 +571,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference            callbackReference,
    Json.Bool                    requestTestNotification optional,
    WebsockNotifConfig           websockNotifConfig optional,
    Link                         links optional,
    Links                        links optional,
    EventType                    eventType,
    S1BearerSubscriptionCriteria s1BearerSubscriptionCriteria,
    TimeStamp                    expiryDeadline optional
@@ -658,7 +658,7 @@ module RnisAPI_TypesAndValues {
    CallbackReference   callbackReference,
    Json.Bool           requestTestNotification optional,
    WebsockNotifConfig  websockNotifConfig optional,
    Link                links optional,
    Links               links optional,
    FilterCriteriaNrMrs filterCriteriaNrMrs,
    TimeStamp           expiryDeadline optional
  } with {
@@ -721,7 +721,7 @@ module RnisAPI_TypesAndValues {
    Ecgi_list   trgEcgi,
    HoStatus    hoStatus,
    TempUeId_   tempUeId,
    Link        links optional
    Links       links optional
  } with {
    variant (links) "name as '_links'";
  }
@@ -746,7 +746,7 @@ module RnisAPI_TypesAndValues {
    ErabId            erabId,
    ErabQosParameters erabQosParameters,
    TempUeId_         tempUeId,
    Link              links optional
    Links             links optional
  } with {
    variant (links) "name as '_links'";
  }
@@ -769,7 +769,7 @@ module RnisAPI_TypesAndValues {
    AssociateId       associateId,
    ErabId            erabId,
    ErabQosParameters erabQosParameters,
    Link              links optional
    Links             links optional
  } with {
    variant (links) "name as '_links'";
  }
@@ -790,7 +790,7 @@ module RnisAPI_TypesAndValues {
    Ecgi            ecgi,
    AssociateId     associateId,
    ErabReleaseInfo erabReleaseInfo,
    Link            links optional
    Links           links optional
  } with {
    variant (links) "name as '_links'";
  }
@@ -840,7 +840,7 @@ module RnisAPI_TypesAndValues {
    Json.Integer               heightUe optional,
    NewRadioMeasInfo            newRadioMeasInfo optional,
    NewRadioMeasNeiInfo         newRadioMeasNeiInfo optional,
    Link                        links optional
    Links                       links optional
  } with {
    variant (trigger_) "name as 'trigger'";
    variant (links) "name as '_links'";
@@ -1015,7 +1015,7 @@ module RnisAPI_TypesAndValues {
    Ecgi          ecgi,
    AssociateId   associateId,
    Json.Integer timingAdvance optional,
    Link          links optional
    Links         links optional
  } with {
    variant (links) "name as '_links'";    
  }
@@ -1041,7 +1041,7 @@ module RnisAPI_TypesAndValues {
    SecondaryCellRemove        secondaryCellRemove optional,
    CarrierAggregationMeasInfo_CaReconfNotification
                               carrierAggregationMeasInfo optional,
    Link                       links optional
    Links                      links optional
  } with {
    variant (links) "name as '_links'";    
  }
@@ -1096,7 +1096,7 @@ module RnisAPI_TypesAndValues {
  type record ExpiryNotification {
    Json.String notificationType,
    TimeStamp   timeStamp optional,
    Link        links optional
    Links       links optional
  } with {
    variant (links) "name as '_links'";    
  }
@@ -1115,7 +1115,7 @@ module RnisAPI_TypesAndValues {
    TimeStamp   timeStamp optional,
    EventType   s1Event,
    S1UeInfo_   s1UeInfo,
    Link        links optional
    Links       links optional
  } with {
    variant (links) "name as '_links'";    
  }
@@ -1141,7 +1141,7 @@ module RnisAPI_TypesAndValues {
    NrNeighCellMeasInfo    nrNeighCellMeasInfo optional,
    EutraNeighbourCellMeasInfo_NrMeasRepUeNotification_ 
                           eutraNeighCellMeasInfo optional,
    Link                   links optional
    Links                  links optional
  } with {
    variant (links) "name as '_links'";    
  }
@@ -1217,7 +1217,7 @@ module RnisAPI_TypesAndValues {
   */
  type record TestNotification {
    Json.String notificationType,
    Link        links optional
    Links       links optional
  } with {
    variant (links) "name as '_links'";    
  }
+186 −156

File changed.

Preview size limit exceeded, changes collapsed.

Loading