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

Start implementing MEC-10-2 V2.2.1

parent c0df3347
......@@ -46,4 +46,6 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits {
modulepar JSON.String PX_NON_EXISTENT_SUBSCRIPTION_ID := "NON_EXISTENT_SUBSCRIPTION_ID"
modulepar JSON.AnyURI PX_APP_PKG_HREF := "";
} // End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits
......@@ -176,6 +176,84 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates {
hash := p_hash
} // 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 module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates
......@@ -1208,7 +1208,8 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues {
type enumerated AppPkgInfo_OperationalState {
ENABLED,
DISABLED
DISABLED,
UNKNOWN // Used for BI purpose only
}
type enumerated UsageState {
......
......@@ -76,11 +76,11 @@ module LibItsHttp_JsonMessageBodyTypes {
CreateAppPkg createAppPkg,
AppPkgInfo appPkgInfo,
AppPkgInfoList appPkgInfoList,
/* MeoPkgm_TypesAndValues.AppPkgSubscription appPkgSubscription, */
/* MeoPkgm_TypesAndValues.AppPkgSubscriptionInfo appPkgSubscriptionInfo, */
/* MeoPkgm_TypesAndValues.AppPkgSubscriptionInfoList appPkgSubscriptionInfoList, */
/* MeoPkgm_TypesAndValues.AppPkgSubscriptionWithError appPkgSubscriptionWithError, */
/* MeoPkgm_TypesAndValues.AppPkgNotification appPkgNotification, */
AppPkgInfoModifications appPkgInfoModifications,
AppPkgSubscription appPkgSubscription,
AppPkgSubscriptionInfo appPkgSubscriptionInfo,
AppPkgSubscriptionLinkList appPkgSubscriptionLinkList,
AppPkgNotification appPkgNotification,
/* MepmPkgm_TypesAndValues.AppPkg appMepmPackageManagement, */
/* MepmPkgm_TypesAndValues.OnboardedAppPkgInfo onboardedMepmAppPkgInfo, */
/* MepmPkgm_TypesAndValues.OnboardedAppPkgInfoList appOnboardMepmPackageInfoList, */
......
......@@ -117,37 +117,42 @@ module LibItsHttp_JsonTemplates {
appPkgInfoList := p_app_pkg_info_list
} // End of template mw_body_json_app_pkg_info_list
/* template (value) JsonBody m_body_json_pkgm_subscription(
in template (value) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgSubscription p_app_pkg_subscription
) := {
appPkgSubscription := p_app_pkg_subscription
}
template (value) JsonBody m_body_json_app_pkg_info_modification(
in template (value) AppPkgInfoModifications p_app_pkg_info_modification
) := {
appPkgInfoModifications := p_app_pkg_info_modification
} // End of template m_body_json_app_pkg_info_modification
template (present) JsonBody mw_body_json_app_pkg_info_modification(
template (present) AppPkgInfoModifications p_app_pkg_info_modification := ?
) := {
appPkgInfoModifications := p_app_pkg_info_modification
} // End of template mw_body_json_app_pkg_info_modification
template (value) JsonBody m_body_json_pkgm_subscription(
in template (value) AppPkgSubscription p_app_pkg_subscription
) := {
appPkgSubscription := p_app_pkg_subscription
} // End of template m_body_json_pkgm_subscription
template (present) JsonBody mw_body_json_pkgm_subscription_info (
in template (present) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgSubscriptionInfo p_app_pkg_subscription_info
) := {
appPkgSubscriptionInfo := p_app_pkg_subscription_info
}
template (present) JsonBody mw_body_json_pkgm_subscription_info(
template (present) AppPkgSubscriptionInfo p_app_pkg_subscription_info := ?
) := {
appPkgSubscriptionInfo := p_app_pkg_subscription_info
} // End of template mw_body_json_pkgm_subscription_info
template (value) JsonBody m_body_json_pkgm_subscription_with_error(
in template (value) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgSubscriptionWithError p_app_pkg_subscription_with_error
) := {
appPkgSubscriptionWithError := p_app_pkg_subscription_with_error
}
template (present) JsonBody mw_body_json_pkgm_subscription_info_list (
in template (present) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgSubscriptionInfoList p_app_pkg_subscription_info_list
) := {
appPkgSubscriptionInfoList := p_app_pkg_subscription_info_list
}
template (present) JsonBody mw_body_json_pkgm_subscription_link_list(
template (present) AppPkgSubscriptionLinkList p_app_pkg_subscription_link_list := ?
) := {
appPkgSubscriptionLinkList := p_app_pkg_subscription_link_list
} // End of template mw_body_json_pkgm_subscription_link_list
template (present) JsonBody mw_body_json_app_package_notification (
in template (present) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgNotification p_app_pkg_notification
) := {
appPkgNotification := p_app_pkg_notification
}
*/
template (present) JsonBody mw_body_json_app_package_notification (
template (present) AppPkgNotification p_app_pkg_notification := ?
) := {
appPkgNotification := p_app_pkg_notification
} // End of template mw_body_json_app_package_notification
} // End of group meo_pkg_mgmt_api
group mepm_pkg_mgmt_api {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment