Commit a75abed6 authored by YannGarcia's avatar YannGarcia
Browse files

Add FixedAccessInformationService test cases

parent d1556ffa
......@@ -1576,7 +1576,7 @@ group app_lcm__notification {
[] httpPort_notif.receive(
mw_http_request(
mw_http_request_post(
unichar2char(PX_CALLBACK_URI),
oct2char(unichar2oct(PX_CALLBACK_URI)),
-,
mw_http_message_body_json(
mw_body_json_lcm_notification(
......
......@@ -1213,7 +1213,7 @@ group pkg_management_notification {
[] httpPort_notif.receive(
mw_http_request(
mw_http_request_post(
unichar2char(PX_CALLBACK_URI),
oct2char(unichar2oct(PX_CALLBACK_URI)),
-,
mw_http_message_body_json(
mw_body_json_app_package_notification(
......
......@@ -73,18 +73,18 @@ module AtsMec_PkgMgmt_mm3_TestCases {
mw_http_response_ok(
mw_http_message_body_json(
mw_body_json_mepm_pkg_mgmt_response_list(
{
*,
mw_package_management(
PX_ON_BOARDED_APP_PKG_ID,
PX_APP_D_ID,
-,
-,
-,
-
),
*
}
{
*,
mw_package_management(
PX_ON_BOARDED_APP_PKG_ID,
PX_APP_D_ID,
-,
-,
-,
-
),
*
}
))))) -> value v_response {
tc_ac.stop;
log("*** " & testcasename() & ": PASS: IUT successfully responds with a Onboarded App Package list***");
......@@ -153,7 +153,7 @@ module AtsMec_PkgMgmt_mm3_TestCases {
/**
* @desc: Check that MEPM returns the an App Package when requested
* ETSI GS MEC 010-2 2.0.10, clause 7.4.2.3.2
* ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1 //OnboardedAppPkgInfo
* ETSI GS MEC 010-2 2.0.10, Table 6.2.3.3.2-1 //OnboardedAppPkgInfo
*/
testcase TP_MEC_MEPM_PKGM_002_OK() runs on HttpComponent system HttpTestAdapter {
// Local variables
......@@ -185,16 +185,16 @@ module AtsMec_PkgMgmt_mm3_TestCases {
alt {
[] httpPort.receive(
mw_http_response(
mw_http_response_ok(
mw_http_message_body_json(
mw_http_response_ok(
mw_http_message_body_json(
mw_body_json_mepm_pkg_mgmt_response(
mw_package_management(
PX_ON_BOARDED_APP_PKG_ID,
-, -, -, -, -, -
)
)
)
)
mw_package_management(
PX_ON_BOARDED_APP_PKG_ID,
-, -, -, -, -, -
)
)
)
)
)) -> value v_response {
tc_ac.stop;
log("*** " & testcasename() & ": PASS: IUT successfully responds with an Onboarded App Package info and 200 status code ***");
......@@ -210,7 +210,7 @@ module AtsMec_PkgMgmt_mm3_TestCases {
/**
* @desc: Check that MEPM responds with an error when it receives
* a request for returning a App Package referred with a wrong ID
* a request for returning a App Package referred with a wrong ID
* @see: ETSI GS MEC 010-2 2.0.10, clause 7.4.2.3.2
*/
testcase TP_MEC_MEPM_PKGM_002_NF() runs on HttpComponent system HttpTestAdapter {
......@@ -295,7 +295,7 @@ module AtsMec_PkgMgmt_mm3_TestCases {
mw_http_response(
mw_http_response_ok(
//@TODO: How to check if a file is present in the body?
))) -> value v_response {
))) -> value v_response {
tc_ac.stop;
log("*** " & testcasename() & ": PASS: IUT successfully responds with the app descriptor contained in the app pkg ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
......@@ -308,9 +308,9 @@ module AtsMec_PkgMgmt_mm3_TestCases {
} // End of testcase TP_MEC_MEPM_PKGM_003_OK
/**
/**
* @desc: Check that MEPM responds with an error when it receives
* a request for returning a App Descriptor referred with a wrong App Package ID
* a request for returning a App Descriptor referred with a wrong App Package ID
* @see: ETSI GS MEC 010-2 2.0.10, clause 7.4.4.3.2
*/
testcase TP_MEC_MEPM_PKGM_003_NF() runs on HttpComponent system HttpTestAdapter {
......@@ -394,7 +394,7 @@ module AtsMec_PkgMgmt_mm3_TestCases {
mw_http_response(
mw_http_response_ok(
//@TODO: How to check if a file is present in the body?
))) -> value v_response {
))) -> value v_response {
tc_ac.stop;
log("*** " & testcasename() & ": PASS: IUT successfully responds with and APP Descriptor and a 200 ok status code ***");
f_selfOrClientSyncAndVerdict(c_tbDone, e_success);
......@@ -406,9 +406,9 @@ module AtsMec_PkgMgmt_mm3_TestCases {
} // End of 'alt' statement
} // End of testcase TP_MEC_MEPM_PKGM_004_OK
/**
/**
* @desc: Check that MEPM responds with an error when it receives
* a request for returning a App Descriptor referred with a wrong App Package ID
* a request for returning a App Descriptor referred with a wrong App Package ID
* @see: ETSI GS MEC 010-2 2.0.10, clause 7.4.4.3.2
*/
testcase TP_MEC_MEPM_PKGM_004_NF() runs on HttpComponent system HttpTestAdapter {
......@@ -459,7 +459,7 @@ module AtsMec_PkgMgmt_mm3_TestCases {
group pkg_mgmt_subscriptions {
/**
/**
* @desc: Check that MEPM service returns an application package subscription when requested
* ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.1
*/
......@@ -486,12 +486,12 @@ group pkg_mgmt_subscriptions {
"/" & PICS_ROOT_API & PX_MEPM_PKGM_SUBS,
v_headers,
m_http_message_body_json(
m_body_json_mepm_pkgm_subscription(
m_app_package_subscription(
PX_CALLBACK_URI,
PX_SUBSCRIPTION_TYPE
)
)
m_body_json_mepm_pkgm_subscription(
m_app_package_subscription(
PX_CALLBACK_URI,
PX_SUBSCRIPTION_TYPE
)
)
)
)
));
......@@ -506,11 +506,11 @@ group pkg_mgmt_subscriptions {
mw_http_response_ok(
mw_http_message_body_json(
mw_body_json_mepm_pkgm_subscription_info(
mw_app_package_subscription_info(
-,
PX_SUBSCRIPTION_TYPE,
PX_CALLBACK_URI
)
mw_app_package_subscription_info(
-,
PX_SUBSCRIPTION_TYPE,
PX_CALLBACK_URI
)
))))) -> value v_response {
tc_ac.stop;
......@@ -524,9 +524,9 @@ group pkg_mgmt_subscriptions {
} // End of 'alt' statement
} // End of testcase TP_MEC_MEPM_PKGM_005_OK
/**
/**
* @desc: Check that MEPM service sends an error when it receives a
* malformed request for creating a new subscription on AppPackages
* malformed request for creating a new subscription on AppPackages
* ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.1
*/
testcase TP_MEC_MEPM_PKGM_005_BR() runs on HttpComponent system HttpTestAdapter {
......@@ -552,12 +552,12 @@ group pkg_mgmt_subscriptions {
"/" & PICS_ROOT_API & PX_MEPM_PKGM_SUBS,
v_headers,
m_http_message_body_json(
m_body_json_mepm_pkgm_subscription_with_error(
m_app_package_subscription_with_error(
PX_CALLBACK_URI,
PX_SUBSCRIPTION_TYPE_WITH_ERROR
)
)
m_body_json_mepm_pkgm_subscription_with_error(
m_app_package_subscription_with_error(
PX_CALLBACK_URI,
PX_SUBSCRIPTION_TYPE_WITH_ERROR
)
)
)
)));
......@@ -581,7 +581,7 @@ group pkg_mgmt_subscriptions {
} // End of 'alt' statement
} // End of testcase TP_MEC_MEPM_PKGM_005_BR
/**
/**
* @desc: Check that MEPM service returns the list of Application Package Subscriptions when requested
* ETSI GS MEC 010-2 2.0.10, clause 7.4.5.3.2
*/
......@@ -620,15 +620,15 @@ group pkg_mgmt_subscriptions {
mw_http_response_ok(
mw_http_message_body_json(
mw_body_json_mepm_pkgm_subscription_info_list(
{
*,
mw_app_package_subscription_info(
-,
PX_SUBSCRIPTION_TYPE,
PX_CALLBACK_URI
),
*
}
{
*,
mw_app_package_subscription_info(
-,
PX_SUBSCRIPTION_TYPE,
PX_CALLBACK_URI
),
*
}
))))) -> value v_response {
tc_ac.stop;
......@@ -643,7 +643,7 @@ group pkg_mgmt_subscriptions {
} // End of testcase TP_MEC_MEPM_PKGM_006_OK
/**
/**
* @desc: Check that MEPM service returns an Application Package Subscription when requested
* ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.2
*/
......@@ -682,11 +682,11 @@ group pkg_mgmt_subscriptions {
mw_http_response_ok(
mw_http_message_body_json(
mw_body_json_mepm_pkgm_subscription_info(
mw_app_package_subscription_info(
PX_SUBSCRIPTION_ID,
PX_SUBSCRIPTION_TYPE,
PX_CALLBACK_URI
)
mw_app_package_subscription_info(
PX_SUBSCRIPTION_ID,
PX_SUBSCRIPTION_TYPE,
PX_CALLBACK_URI
)
))))) -> value v_response {
tc_ac.stop;
......@@ -701,9 +701,9 @@ group pkg_mgmt_subscriptions {
} // End of testcase TP_MEC_MEPM_PKGM_007_OK
/**
/**
* @desc: Check that MEPM service sends an error when it receives a query
* for a subscription on AppPackages with a wrong identifier
* for a subscription on AppPackages with a wrong identifier
* ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.2
*/
testcase TP_MEC_MEPM_PKGM_007_NF() runs on HttpComponent system HttpTestAdapter {
......@@ -739,7 +739,7 @@ group pkg_mgmt_subscriptions {
[] httpPort.receive(
mw_http_response(
mw_http_response_404_not_found(
))) -> value v_response {
))) -> value v_response {
tc_ac.stop;
log("*** " & testcasename() & ": PASS: IUT successfully responds with 404 not found ***");
......@@ -752,7 +752,7 @@ group pkg_mgmt_subscriptions {
} // End of 'alt' statement
} // End of testcase TP_MEC_MEPM_PKGM_007_NF
/**
/**
* @desc: Check that MEPM service deletes an Application Package Subscription when requested
* ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.4
*/
......@@ -803,9 +803,9 @@ group pkg_mgmt_subscriptions {
} // End of testcase TP_MEC_MEPM_PKGM_008_OK
/**
/**
* @desc: Check that MEPM service sends an error when it receives a deletion request
* for a subscription on AppPackages with a wrong identifier
* for a subscription on AppPackages with a wrong identifier
* ETSI GS MEC 010-2 2.0.10, clause 7.4.6.3.4
*/
testcase TP_MEC_MEPM_PKGM_008_NF() runs on HttpComponent system HttpTestAdapter {
......@@ -841,7 +841,7 @@ group pkg_mgmt_subscriptions {
[] httpPort.receive(
mw_http_response(
mw_http_response_404_not_found(
))) -> value v_response {
))) -> value v_response {
tc_ac.stop;
log("*** " & testcasename() & ": PASS: IUT successfully responds with 404 not found ***");
......@@ -860,7 +860,7 @@ group mepm_pkg_management_notification {
/**
* @desc Check that the MEPM service sends a application package notification if
* the MEPM service has an associated subscription and the event is generated
* the MEPM service has an associated subscription and the event is generated
* @see ETSI GS MEC 010-2 2.0.10, clause 7.4.7.3.1
*/
testcase TP_MEC_MEPM_PKGM_009_OK() runs on HttpComponent system HttpTestAdapter {
......@@ -888,17 +888,17 @@ group mepm_pkg_management_notification {
tc_wait.start;
alt {
[] httpPort_notif.receive(
mw_http_request(
mw_http_request_post(
unichar2char(PX_CALLBACK_URI),
mw_http_request(
mw_http_request_post(
oct2char(unichar2oct(PX_CALLBACK_URI)),
-,
mw_http_message_body_json(
mw_body_json_mepm_app_package_notification(
mw_app_package_notification(
-,
PX_NOTIFICATION_TYPE,
PX_SUBSCRIPTION_ID,
PX_CALLBACK_URI)
mw_http_message_body_json(
mw_body_json_mepm_app_package_notification(
mw_app_package_notification(
-,
PX_NOTIFICATION_TYPE,
PX_SUBSCRIPTION_ID,
PX_CALLBACK_URI)
)
)
)
......
......@@ -446,7 +446,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_QRY_URI, "UTF-8")) & "?address=" & oct2char(unichar2oct(PX_IP_ADDRESS, "UTF-8")) & "&latitude=" & float2str(PX_UE_COORD_LAT) & "&longitude=" & float2str(PX_UE_COORD_LONG),
"/" & PICS_ROOT_API & PX_UE_LOC_QRY_URI & "?address=" & oct2char(unichar2oct(PX_IP_ADDRESS, "UTF-8")) & "&latitude=" & float2str(PX_UE_COORD_LAT) & "&longitude=" & float2str(PX_UE_COORD_LONG),
v_headers
)
)
......@@ -503,7 +503,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_QRY_URI, "UTF-8")) & "?address=" & oct2char(unichar2oct(PX_IP_ADDRESS, "UTF-8")) & "&lat=" & float2str(PX_UE_COORD_LAT) & "&longitude=" & float2str(PX_UE_COORD_LONG),
"/" & PICS_ROOT_API & PX_UE_LOC_QRY_URI & "?address=" & oct2char(unichar2oct(PX_IP_ADDRESS, "UTF-8")) & "&lat=" & float2str(PX_UE_COORD_LAT) & "&longitude=" & float2str(PX_UE_COORD_LONG),
v_headers
)
)
......@@ -565,7 +565,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_post(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_DIST_SUB_URI, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_DIST_SUB_URI,
v_headers,
m_http_message_body_json(
m_body_json_distance_notification_subscription(
......@@ -649,7 +649,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_post(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_DIST_SUB_URI, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_DIST_SUB_URI,
v_headers,
m_http_message_body_json(
m_body_json_distance_notification_subscription(
......@@ -715,7 +715,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_delete(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_DIST_SUB_URI, "UTF-8")) & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_DIST_SUB_URI & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
v_headers
)
)
......@@ -769,7 +769,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_delete(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_DIST_SUB_URI, "UTF-8")) & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_DIST_SUB_URI & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")),
v_headers
)
)
......@@ -830,7 +830,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERS_URI)) & "?address=" & oct2char(unichar2oct(PX_ACR_SOME_IP, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERS_URI & "?address=" & oct2char(unichar2oct(PX_ACR_SOME_IP, "UTF-8")),
v_headers
)
)
......@@ -887,7 +887,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERS_URI, "UTF-8")) & "?addr=" & oct2char(unichar2oct(PX_ACR_SOME_IP, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERS_URI & "?addr=" & oct2char(unichar2oct(PX_ACR_SOME_IP, "UTF-8")),
v_headers
)
)
......@@ -941,7 +941,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERS_URI, "UTF-8")) & "?address=" & oct2char(unichar2oct(PX_ACR_UNKNOWN_IP, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERS_URI & "?address=" & oct2char(unichar2oct(PX_ACR_UNKNOWN_IP, "UTF-8")),
v_headers
)
)
......@@ -1264,7 +1264,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERS_URI, "UTF-8")) & "?zoneId=" & oct2char(unichar2oct(PX_ZONE_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERS_URI & "?zoneId=" & oct2char(unichar2oct(PX_ZONE_ID, "UTF-8")),
v_headers
)
)
......@@ -1322,7 +1322,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERS_URI, "UTF-8")) & "?zone=" & oct2char(unichar2oct(PX_ZONE_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERS_URI & "?zone=" & oct2char(unichar2oct(PX_ZONE_ID, "UTF-8")),
v_headers
)
)
......@@ -1376,7 +1376,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_get(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERS_URI, "UTF-8")) & "?zoneId=" & oct2char(unichar2oct(PX_NON_EXISTENT_ZONE_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERS_URI & "?zoneId=" & oct2char(unichar2oct(PX_NON_EXISTENT_ZONE_ID, "UTF-8")),
v_headers
)
)
......@@ -1438,7 +1438,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_post(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERTRACK_SUB_URI, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERTRACK_SUB_URI,
v_headers,
m_http_message_body_json(
m_body_json_user_tracking_subscription(
......@@ -1519,7 +1519,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_post(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERTRACK_SUB_URI, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERTRACK_SUB_URI,
v_headers,
m_http_message_body_json(
m_body_json_user_tracking_subscription(
......@@ -1584,7 +1584,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_delete(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERTRACK_SUB_URI, "UTF-8")) & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERTRACK_SUB_URI & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
v_headers
)
)
......@@ -1638,7 +1638,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_delete(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERTRACK_SUB_URI, "UTF-8")) & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERTRACK_SUB_URI & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")),
v_headers
)
)
......@@ -1700,7 +1700,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_post(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_PERIODIC_SUB_URI, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_PERIODIC_SUB_URI,
v_headers,
m_http_message_body_json(
m_body_json_periodic_notification_subscription(
......@@ -1781,7 +1781,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_post(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_PERIODIC_SUB_URI, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_PERIODIC_SUB_URI,
v_headers,
m_http_message_body_json(
m_body_json_user_tracking_subscription(
......@@ -1845,7 +1845,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_delete(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_PERIODIC_SUB_URI, "UTF-8")) & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_PERIODIC_SUB_URI & oct2char(unichar2oct(PX_SUBSCRIPTION_ID, "UTF-8")),
v_headers
)
)
......@@ -1898,7 +1898,7 @@ module AtsMec_RadioNodeLocationAPI_TestCases {
httpPort.send(
m_http_request(
m_http_request_delete(
"/" & PICS_ROOT_API & oct2char(unichar2oct(PX_UE_LOC_USERTRACK_SUB_URI, "UTF-8")) & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")),
"/" & PICS_ROOT_API & PX_UE_LOC_USERTRACK_SUB_URI & oct2char(unichar2oct(PX_NON_EXISTENT_SUBSCRIPTION_ID, "UTF-8")),
v_headers
)
)
......
......@@ -6,21 +6,21 @@ module Ams_Pixits {
// LibMec/LocationAPI
import from Ams_TypesAndValues all;
modulepar JSON.String PX_APP_MOBILITY_SERVICE_ID := "KtRGymNQ84dG3mQfRepa"
modulepar JSON.String PX_APP_MOBILITY_SERVICE_ID := "KtRGymNQ84dG3mQfRepa";
modulepar JSON.String PX_APP_INS_ID := "5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f"
modulepar JSON.String PX_APP_INS_ID := "5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f";
modulepar SubscriptionType PX_SUBSCRIPTION_TYPE := MobilityProcedureSubscription
modulepar SubscriptionType PX_SUBSCRIPTION_TYPE := MobilityProcedureSubscription;
modulepar JSON.String PX_SUBSCRIPTION_ID := "e0deee2b-6e50-4f33-ab09-8bf0585025d3"
modulepar JSON.String PX_SUBSCRIPTION_ID := "e0deee2b-6e50-4f33-ab09-8bf0585025d3";
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.String PX_NON_EXISTENT_APP_MOBILITY_SERVICE_ID := "PX_NON_EXISTENT_APP_MOBILITY_SERVICE_ID"
modulepar JSON.String PX_NON_EXISTENT_APP_MOBILITY_SERVICE_ID := "PX_NON_EXISTENT_APP_MOBILITY_SERVICE_ID";
modulepar JSON.String PX_CALLBACK_REFERENCE := "http://127.0.0.1/callback"
modulepar JSON.String PX_CALLBACK_REFERENCE := "http://127.0.0.1/callback";
modulepar charstring PX_CALLBACK_URI := "http://127.0.0.1/callback"
modulepar charstring PX_CALLBACK_URI := "http://127.0.0.1/callback";
modulepar JSON.String PX_MEP_ID := "";
......
......@@ -174,7 +174,7 @@ module Ams_Templates {
Subscription subscription
}
template (value) AdjacentAppInfoSubscription mw_adjacent_application_info_notification (
template (value) AdjacentAppInfoSubscription_ mw_adjacent_application_info_notification (
in template (omit) SubscriptionType p_subscriptionType := omit,
in JSON.AnyURI p_callbackReference,
in template (omit) JSON.AnyURI p_links := omit,
......@@ -190,7 +190,7 @@ module Ams_Templates {
}
template (value) MobilityProcedureSubscription m_ams_subscription (
template (value) MobilityProcedureSubscription_ m_ams_subscription (
in SubscriptionType p_subscriptionType := PX_SUBSCRIPTION_TYPE,
in JSON.AnyURI p_callbackReference,
in template (omit) JSON.AnyURI p_links := omit,
......@@ -207,7 +207,7 @@ module Ams_Templates {
template (value) MobilityProcedureSubscription mw_mobility_procedure_notification (
template (value) MobilityProcedureSubscription_ mw_mobility_procedure_notification (
in template (omit) SubscriptionType p_subscriptionType := omit,
in JSON.AnyURI p_callbackReference,
in template (omit) JSON.AnyURI p_links := omit,
......@@ -237,7 +237,7 @@ module Ams_Templates {
expiryDeadline := p_expiryDeadline
}
template (present) MobilityProcedureSubscription mw_ams_subscription (
template (present) MobilityProcedureSubscription_ mw_ams_subscription (
in SubscriptionType p_subscriptionType,
in template (omit) JSON.AnyURI p_callbackReference := omit,
in template (omit) JSON.AnyURI p_links := omit,
......
......@@ -90,8 +90,8 @@ type record MobilityProcedureSubscriptionError {
type record of MobilityProcedureSubscription MobilityProcedureSubscriptions;
type record MobilityProcedureSubscription {
type record of MobilityProcedureSubscription_ MobilityProcedureSubscriptions;
type