Commit 30d3f8ad authored by Elian Kraja's avatar Elian Kraja

Initial commit on MEC021

parent 2cade7b1
This diff is collapsed.
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
module Ams_Pics {
/**
* @desc Does the IUT support LocationAPI?
*/
modulepar boolean PICS_AMS_API_SUPPORTED := true;
} // End of module LocationAPI_Pics
module Ams_Pixits {
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// LibMec/LocationAPI
import from Ams_TypesAndValues all;
modulepar charstring PX_APP_MOBILITY_SERVICE_ID := "KtRGymNQ84dG3mQfRepa"
modulepar charstring PX_APP_INS_ID := "5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f"
modulepar charstring PX_SUBSCRIPTION_TYPE := "MobilityProcedureSubscription"
modulepar charstring PX_SUBSCRIPTION_ID := "e0deee2b-6e50-4f33-ab09-8bf0585025d3"
modulepar charstring PX_NON_EXISTENT_SUBSCRIPTION_ID := "NON_EXISTENT_SUBSCRIPTION_ID"
modulepar charstring PX_CALLBACK_REFERENCE := "http://127.0.0.1/callback"
} // End of module LocationAPI_Pixits
This diff is collapsed.
This diff is collapsed.
......@@ -30,6 +30,8 @@ module LibMec_Pics {
modulepar boolean PICS_RNIS_NOTIFICATIONS := false;
modulepar boolean PICS_AMS := true;
modulepar charstring PICS_ROOT_API := "exampleAPI";
} // End of module LibMec_Pics
......@@ -18,4 +18,9 @@ module LibMec_Pixits {
modulepar charstring PX_ME_BWM_URI := "/bwm/v2/bw_allocations";
modulepar charstring PX_ME_APP_AMS_URI := "/amsi/v1/appMobilityServices"
modulepar charstring PX_ME_APP_AMS_SUBS := "/amsi/v1/subscriptions"
} // End of module LibMec_Pixits
......@@ -8,6 +8,8 @@ module LibItsHttp_JsonMessageBodyTypes {
import from RnisAPI_TypesAndValues all;
// LibMec/BwManagementApi
import from BwManagementAPI_TypesAndValues all;
// LibMec/Ams
import from Ams_TypesAndValues all;
/**
* This file volontary contains a trivial declaration of the type JsonBody.
......@@ -30,6 +32,10 @@ module LibItsHttp_JsonMessageBodyTypes {
RnisAPI_TypesAndValues.ProblemDetails problemDetails_rnis,
BwInfo bwInfo,
BwManagementAPI_TypesAndValues.ProblemDetails problemDetails_bw_management,
AppMobilityServiceInfo appMobilityServiceInfo,
Ams_TypesAndValues.ProblemDetails problemDetails_ams,
Ams_TypesAndValues.RegistrationRequest registrationRequest_ams,
Ams_TypesAndValues.AmsSubscriptionLinkLists subscriptionLinkList_ams,
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