Commit e2a121d9 authored by Elian Kraja's avatar Elian Kraja

Moving specific definitions to patch part for Http

parent 1579baf8
module Ams_EncdecDeclarations {
import from Ams_TypesAndValues all;
external function enc_AppMobilityServiceInfo(in AppMobilityServiceInfo p_app_mobility_service_info) return octetstring
with { extension "prototype (convert) encode(JSON)"; extension "printing(pretty)" };
external function dec_AppMobilityServiceInfo(in octetstring p_pdu) return AppMobilityServiceInfo
with { extension "prototype (convert) decode(JSON)" };
external function enc_RegistrationRequest(in RegistrationRequest p_registration_request) return octetstring
with { extension "prototype (convert) encode(JSON)"; extension "printing(pretty)" };
external function dec_RegistrationRequest(in octetstring p_pdu) return RegistrationRequest
with { extension "prototype (convert) decode(JSON)" };
external function enc_RegistrationInfo(in RegistrationInfo p_registration_info) return octetstring
with { extension "prototype (convert) encode(JSON)"; extension "printing(pretty)" };
external function dec_Registrationinfo(in octetstring p_pdu) return RegistrationInfo
with { extension "prototype (convert) decode(JSON)" };
external function enc_SubscriptionLink(in SubscriptionLink p_subscription_link) return octetstring
with { extension "prototype (convert) encode(JSON)"; extension "printing(pretty)" };
external function dec_SubscriptionLinks(in octetstring p_pdu) return SubscriptionLinks
with { extension "prototype (convert) decode(JSON)" };
external function enc_NotificationSubscription(in NotificationSubscription p_notification_subscription) return octetstring
with { extension "prototype (convert) encode(JSON)"; extension "printing(pretty)" };
external function dec_NotificationSubscription(in octetstring p_pdu) return NotificationSubscription
with { extension "prototype (convert) decode(JSON)" };
} // End of module LocationAPI_EncdecDeclarations
......@@ -42,4 +42,6 @@ module LibMec_Pics {
modulepar charstring PICS_ROOT_API := "exampleAPI";
modulepar boolean PIC_APP_LCM_MANAGEMENT := true;
} // End of module LibMec_Pics
......@@ -37,5 +37,9 @@ module LibMec_Pixits {
modulepar charstring PX_MEPM_PKGM_URI := "/apmi/v1/app_packages"
modulepar charstring PX_MEPM_PKGM_SUBS := "/apmi/v1/subscriptions"
modulepar charstring PX_MEX_LCM_URI := "/alcmi/v1/app_instances"
modulepar charstring PX_MEX_LCM_SUBS := "/alcmi/v1/subscriptions"
} // End of module LibMec_Pixits
......@@ -12,6 +12,14 @@ module LibItsHttp_JsonMessageBodyTypes {
import from Ams_TypesAndValues all;
// LibMec/AppEnablementAPI
import from AppEnablementAPI_TypesAndValues all;
import from Grant_TypesAndValues all;
import from MeoPkgm_TypesAndValues all;
import from MepmPkgm_TypesAndValues all;
import from AppLCM_TypesAndValues all;
/**
* This file volontary contains a trivial declaration of the type JsonBody.
......@@ -52,7 +60,36 @@ module LibItsHttp_JsonMessageBodyTypes {
AppMobilityServiceInfo appMobilityServiceInfo,
Ams_TypesAndValues.ProblemDetails problemDetails_ams,
Ams_TypesAndValues.RegistrationRequest registrationRequest_ams,
Ams_TypesAndValues.AmsSubscriptionLinkLists subscriptionLinkList_ams,
Ams_TypesAndValues.MobilityProcedureSubscription subscriptionLinkList_ams,
Ams_TypesAndValues.AdjacentAppInfoSubscription adjacentAppInfoSubscription_ams,
Ams_TypesAndValues.ExpiryNotification expireNotification_ams,
Grant_TypesAndValues.GrantRequest grantRequest,
Grant_TypesAndValues.Grant grantResponse,
Grant_TypesAndValues.GrantRequestWithError grantRequestWithError,
MeoPkgm_TypesAndValues.AppPkg appPackageManagement,
MeoPkgm_TypesAndValues.OnboardedAppPkgInfo onboardedAppPkgInfo,
MeoPkgm_TypesAndValues.OnboardedAppPkgInfoList appOnboardPackageInfoList,
MeoPkgm_TypesAndValues.AppPkgWithError appPackageManagementWithError,
MeoPkgm_TypesAndValues.AppPkgSubscription appPkgSubscription,
MeoPkgm_TypesAndValues.AppPkgSubscriptionInfo appPkgSubscriptionInfo,
MeoPkgm_TypesAndValues.AppPkgSubscriptionInfoList appPkgSubscriptionInfoList,
MeoPkgm_TypesAndValues.AppPkgSubscriptionWithError appPkgSubscriptionWithError,
MeoPkgm_TypesAndValues.AppPkgNotification appPkgNotification,
MepmPkgm_TypesAndValues.AppPkg appMepmPackageManagement,
MepmPkgm_TypesAndValues.OnboardedAppPkgInfo onboardedMepmAppPkgInfo,
MepmPkgm_TypesAndValues.OnboardedAppPkgInfoList appOnboardMepmPackageInfoList,
MepmPkgm_TypesAndValues.AppPkgWithError appMepmPackageManagementWithError,
MepmPkgm_TypesAndValues.AppPkgSubscription appMepmPkgSubscription,
MepmPkgm_TypesAndValues.AppPkgSubscriptionInfo appMepmPkgSubscriptionInfo,
MepmPkgm_TypesAndValues.AppPkgSubscriptionInfoList appMepmPkgSubscriptionInfoList,
MepmPkgm_TypesAndValues.AppPkgSubscriptionWithError appMepmPkgSubscriptionWithError,
MepmPkgm_TypesAndValues.AppPkgNotification appMepmPkgNotification,
MepmPkgm_TypesAndValues.OnboardedAppPkgInfo appOnboardMepmPackageInfo,
AppLCM_TypesAndValues.CreateAppInstanceRequest createAppInstanceRequest,
AppLCM_TypesAndValues.AppInstanceInfo appInstanceInfo,
AppLCM_TypesAndValues.CreateAppInstanceRequestWithError createAppInstanceRequestWithError,
AppLCM_TypesAndValues.AppInstanceInfoList appInstanceInfoList,
AppLCM_TypesAndValues.InstantiateAppRequest appInstanceInstantiate,
universal charstring raw
} with {
variant ""
......
Markdown is supported
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