Commit 266814b4 authored by YannGarcia's avatar YannGarcia
Browse files

Start implementing MEC-10-2 V2.2.1

parent c0df3347
Loading
Loading
Loading
Loading
+635 −18

File changed.

Preview size limit exceeded, changes collapsed.

+2 −0
Original line number Original line Diff line number Diff line
@@ -46,4 +46,6 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits {


  modulepar JSON.String PX_NON_EXISTENT_SUBSCRIPTION_ID := "NON_EXISTENT_SUBSCRIPTION_ID"
  modulepar JSON.String PX_NON_EXISTENT_SUBSCRIPTION_ID := "NON_EXISTENT_SUBSCRIPTION_ID"
  
  
  modulepar JSON.AnyURI PX_APP_PKG_HREF := "";
  
} // End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits
} // End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits
+78 −0
Original line number Original line Diff line number Diff line
@@ -176,6 +176,84 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates {
      hash      := p_hash
      hash      := p_hash
    } // End of template mw_checksum
    } // End of template mw_checksum
    
    
    template (value) AppPkgInfoModifications m_app_pkg_info_modification(
                                                                         in AppPkgInfo_OperationalState p_operationalState
                                                                         ) := {
      operationalState := p_operationalState
    } // End of template m_app_pkg_info_modification
    
    template (present) AppPkgInfoModifications mw_app_pkg_info_modification(
                                                                            template (present) AppPkgInfo_OperationalState p_operationalState := ?
                                                                            ) := {
      operationalState := p_operationalState
    } // End of template mw_app_pkg_info_modification
    
    template (omit) AppPkgSubscription m_app_pkg_info_subscription(
                                                                   in template (value) JSON.AnyURI p_callbackUri,
                                                                   in template (value) AppPkgSubscriptionType p_subscriptionType := "AppPackageOnBoardingSubscription",
                                                                   in template (omit) AppPkgFilter p_appPkgFilter := omit
                                                                   ) := {
      callbackUri      := p_callbackUri,
      subscriptionType := p_subscriptionType,
      appPkgFilter     := p_appPkgFilter
    } // End of template m_app_pkg_info_subscription
    
    template (value) AppPkgSubscriptionInfo m_app_pkg_subscription_info(
                                                                        in template (value) JSON.String p_id,
                                                                        in template (value) AppPkgSubscriptionType p_subscriptionType := "AppPackageOnBoardingSubscription",
                                                                        in template (value) JSON.AnyURI p_callbackUri,
                                                                        in template (value) AppPkgSubscriptionInfo_Link p_links
    ):= {
      id               := p_id,
      subscriptionType := p_subscriptionType,
      callbackUri      := p_callbackUri,
      links            := p_links
    } // End of template m_app_pkg_subscription_info
    
    template (present) AppPkgSubscriptionInfo mw_app_pkg_subscription_info(
                                                                           template (present) JSON.String p_id := ?,
                                                                           template (present) AppPkgSubscriptionType p_subscriptionType := "AppPackageOnBoardingSubscription",
                                                                           template (present) JSON.AnyURI p_callbackUri := ?,
                                                                           template (present) AppPkgSubscriptionInfo_Link p_links := ?
    ):= {
      id               := p_id,
      subscriptionType := p_subscriptionType,
      callbackUri      := p_callbackUri,
      links            := p_links
    } // End of template mw_app_pkg_subscription_info
    
    template (present) AppPkgNotification mw_app_pkg_notification(
                                                                  template (present) JSON.String p_id := ?,
                                                                  template (present) JSON.String p_notificationType := ?,
                                                                  template (present) JSON.String p_subscriptionId := ?,
                                                                  template (present) TimeStamp p_timeStamp := ?,
                                                                  template (present) JSON.String p_appPkgId := ?,
                                                                  template (present) JSON.String p_appDId := ?,
                                                                  template (present) AppPkgInfo_OperationalState p_operationalState := ?,
                                                                  template (present) AppPkgNotification_Link p_links := ?
                                                                  ) := {
      id               := p_id,
      notificationType := p_notificationType,
      subscriptionId   := p_subscriptionId,
      timeStamp        := p_timeStamp,
      appPkgId         := p_appPkgId,
      appDId           := p_appDId,
      operationalState := p_operationalState,
      links            := p_links
    } // End of template mw_app_pkg_notification
    
    template (value) AppPkgSubscriptionInfo_Link m_app_pkg_link(
                                                                in JSON.AnyURI p_href
                                                                ) := {
      self_ := { href := p_href }
    } // End of template m_app_pkg_link
    
    template (present) AppPkgSubscriptionInfo_Link mw_app_pkg_link(
                                                                   template (present) JSON.AnyURI p_href := ?
                                                                   ) := {
      self_ := { href := p_href }
    } // End of template mw_app_pkg_link
    
  } // End of group pkgmgt
  } // End of group pkgmgt
  
  
} // End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates
} // End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates
+2 −1
Original line number Original line Diff line number Diff line
@@ -1208,7 +1208,8 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues {


    type enumerated AppPkgInfo_OperationalState {
    type enumerated AppPkgInfo_OperationalState {
      ENABLED,
      ENABLED,
      DISABLED
      DISABLED,
      UNKNOWN // Used for BI purpose only
    }
    }


    type enumerated UsageState {
    type enumerated UsageState {
+5 −5
Original line number Original line Diff line number Diff line
@@ -76,11 +76,11 @@ module LibItsHttp_JsonMessageBodyTypes {
    CreateAppPkg                                              createAppPkg,
    CreateAppPkg                                              createAppPkg,
    AppPkgInfo                                                appPkgInfo,
    AppPkgInfo                                                appPkgInfo,
    AppPkgInfoList                                            appPkgInfoList,
    AppPkgInfoList                                            appPkgInfoList,
    /* MeoPkgm_TypesAndValues.AppPkgSubscription              appPkgSubscription, */
    AppPkgInfoModifications                                   appPkgInfoModifications,
    /* MeoPkgm_TypesAndValues.AppPkgSubscriptionInfo          appPkgSubscriptionInfo, */
    AppPkgSubscription                                        appPkgSubscription,
    /* MeoPkgm_TypesAndValues.AppPkgSubscriptionInfoList      appPkgSubscriptionInfoList, */
    AppPkgSubscriptionInfo                                    appPkgSubscriptionInfo,
    /* MeoPkgm_TypesAndValues.AppPkgSubscriptionWithError     appPkgSubscriptionWithError, */
    AppPkgSubscriptionLinkList                                appPkgSubscriptionLinkList,
    /* MeoPkgm_TypesAndValues.AppPkgNotification              appPkgNotification, */
    AppPkgNotification                                        appPkgNotification,
    /* MepmPkgm_TypesAndValues.AppPkg                         appMepmPackageManagement, */
    /* MepmPkgm_TypesAndValues.AppPkg                         appMepmPackageManagement, */
    /* MepmPkgm_TypesAndValues.OnboardedAppPkgInfo            onboardedMepmAppPkgInfo, */
    /* MepmPkgm_TypesAndValues.OnboardedAppPkgInfo            onboardedMepmAppPkgInfo, */
    /* MepmPkgm_TypesAndValues.OnboardedAppPkgInfoList        appOnboardMepmPackageInfoList, */
    /* MepmPkgm_TypesAndValues.OnboardedAppPkgInfoList        appOnboardMepmPackageInfoList, */
Loading