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(
......
......@@ -890,7 +890,7 @@ group mepm_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_mepm_app_package_notification(
......
......@@ -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 record MobilityProcedureSubscription_ {
SubscriptionType subscriptionType,
JSON.AnyURI callbackReference,
JSON.AnyURI links optional,
......@@ -132,8 +132,8 @@ type record ExpiryNotification {
TimeStamp expiryDeadline
}
type record of AdjacentAppInfoSubscription AdjacentAppInfoSubscriptions;
type record AdjacentAppInfoSubscription {
type record of AdjacentAppInfoSubscription_ AdjacentAppInfoSubscriptions;
type record AdjacentAppInfoSubscription_ {
SubscriptionType subscriptionType,
JSON.AnyURI callbackReference,
JSON.AnyURI links optional,
......
......@@ -200,7 +200,7 @@ module AppEnablementAPI_Templates {
state := p_state
} // End of template mw_dns_rule
template (omit) SerAvailabilityNotificationSubscription m_srv_avail_notif_subscription(
template (omit) SerAvailabilityNotificationSubscription_ m_srv_avail_notif_subscription(
in template (value) SerAvailabilityNotificationSubscription_CallbackReference p_callbackReference,
in template (omit) Self p_links := omit,
in template (omit) ServiceInfo p_filteringCriteria := omit
......@@ -211,7 +211,7 @@ module AppEnablementAPI_Templates {
filteringCriteria := p_filteringCriteria
} // End of template m_srv_avail_notif_subscription
template (omit) SerAvailabilityNotificationSubscription m_srv_avail_notif_subscription_invalid(
template (omit) SerAvailabilityNotificationSubscription_ m_srv_avail_notif_subscription_invalid(
in template (value) SerAvailabilityNotificationSubscription_CallbackReference p_callbackReference,
in template (omit) Self p_links := omit,
in template (omit) ServiceInfo p_filteringCriteria := omit
......@@ -219,7 +219,7 @@ module AppEnablementAPI_Templates {
subscriptionType := "InvalidSerAvailabilityNotificationSubscription"
} // End of template m_srv_avail_notif_subscription_invalid
template SerAvailabilityNotificationSubscription mw_srv_avail_notif_subscription(
template SerAvailabilityNotificationSubscription_ mw_srv_avail_notif_subscription(
template (present) SerAvailabilityNotificationSubscription_CallbackReference p_callbackReference := ?,
template Self p_links := *,
template ServiceInfo p_filteringCriteria := *
......
......@@ -272,7 +272,7 @@ module AppEnablementAPI_TypesAndValues {
/**
* @desc The values are as defined in the \"subscriptionType\" attribute for each different Mp1 event subscription data type.
*/
type enumerated Rel {
type enumerated Rel_ { // TODO To be renamed into SubscriptionType
AppTerminationNotificationSubscription,
SerAvailabilityNotificationSubscription
}
......@@ -282,7 +282,7 @@ module AppEnablementAPI_TypesAndValues {
*/
type record Mp1SubscriptionLinkList_Subscription {
Href href,
Rel rel
Rel_ rel
}
type record length(0..infinity) of Mp1SubscriptionLinkList_Subscription Mp1SubscriptionLinkList_SubscriptionList;
......@@ -390,7 +390,7 @@ module AppEnablementAPI_TypesAndValues {
/**
* @desc This type represents a subscription to the notifications from the mobile edge platform regarding the availability of a mobile edge service or a list of mobile edge services.
*/
type record SerAvailabilityNotificationSubscription {
type record SerAvailabilityNotificationSubscription_ {
SerAvailabilityNotificationSubscription_SubscriptionType subscriptionType,
SerAvailabilityNotificationSubscription_CallbackReference callbackReference,
Self links optional,
......@@ -708,7 +708,7 @@ module AppEnablementAPI_TypesAndValues {
} with {
variant (action_) "name as 'action'";
}
type record of TrafficRule TrafficRuleList
type record of TrafficRule TrafficRuleList;
/**
* @desc Human-readable description of this transport.
......
......@@ -3,40 +3,39 @@ module AppLCM_Pixits {
// JSON
import from JSON all;
// LibMec/AppLCM
import from AppLCM_TypesAndValues all;
modulepar JSON.String PX_APP_D_ID := "5lkj4782-2c70-4e47-9a4e-0ee3a1a0fd1f";
modulepar JSON.String PX_APP_D_ID := "5lkj4782-2c70-4e47-9a4e-0ee3a1a0fd1f"
modulepar InstantiationState PX_INSTANTIATION_STATE := NOT_INSTANTIATED
modulepar InstantiationState PX_INSTANTIATION_STATE := NOT_INSTANTIATED;
modulepar JSON.String PX_APP_INSTANCE_ID := "5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f"
modulepar JSON.String PX_APP_INSTANCE_ID := "5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f";
modulepar JSON.String PX_NON_EXISTENT_APP_INSTANCE_ID := "PX_NON_EXISTENT_APP_INSTANCE_ID"
modulepar JSON.String PX_NON_EXISTENT_APP_INSTANCE_ID := "PX_NON_EXISTENT_APP_INSTANCE_ID";
modulepar TerminationType PX_APP_TERMINATION_TYPE := GRACEFUL
modulepar TerminationType PX_APP_TERMINATION_TYPE := GRACEFUL;
modulepar TerminationTypeWithError PX_APP_TERMINATION_TYPE_WITH_ERROR := GRACE
modulepar TerminationTypeWithError PX_APP_TERMINATION_TYPE_WITH_ERROR := GRACE;
modulepar OperationType PX_CHANGE_STATE_TO := STARTED
modulepar OperationType PX_CHANGE_STATE_TO := STARTED;
modulepar OperationTypeWithError PX_CHANGE_STATE_TO_WITH_ERROR := START
modulepar OperationTypeWithError PX_CHANGE_STATE_TO_WITH_ERROR := START;
modulepar JSON.String PX_APP_LCM_OP_OCC_ID := "5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f"
modulepar JSON.String PX_APP_LCM_OP_OCC_ID := "5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f";
modulepar JSON.String PX_NON_EXISTENT_APP_LCM_OP_OCC_ID := "PX_NON_EXISTENT_APP_LCM_OP_OCC_ID"
modulepar JSON.String PX_NON_EXISTENT_APP_LCM_OP_OCC_ID := "PX_NON_EXISTENT_APP_LCM_OP_OCC_ID";
modulepar JSON.AnyURI PX_CALLBACK_URI := "http://127.0.0.1/callback"
modulepar JSON.AnyURI PX_CALLBACK_URI := "http://127.0.0.1/callback";
modulepar SubscriptionType PX_SUBSCRIPTION_TYPE := AppInstanceStateChangeSubscription
modulepar SubscriptionType PX_SUBSCRIPTION_TYPE := AppInstanceStateChangeSubscription;
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_ESISTENT_SUBSCRIPTION_ID := "PX_NON_ESISTENT_SUBSCRIPTION_ID"
modulepar JSON.String PX_NON_ESISTENT_SUBSCRIPTION_ID := "PX_NON_ESISTENT_SUBSCRIPTION_ID";
modulepar JSON.String PX_NOTIFICATION_ID := "208c95ec-121f-4bc2-b896-be3fe000d3ea"
modulepar JSON.String PX_NOTIFICATION_ID := "208c95ec-121f-4bc2-b896-be3fe000d3ea";
modulepar NotificationType PX_NOTIFICATION_TYPE := AppInstNotification
modulepar NotificationType PX_NOTIFICATION_TYPE := AppInstNotification;
} // End of module
\ No newline at end of file
......@@ -62,7 +62,7 @@ type record AppInstanceInfo {
InstantiationState instantiationState
}
type record of SelectedMECHostInfo SelectedMECHostInfoList
type record of SelectedMECHostInfo SelectedMECHostInfoList;
type record SelectedMECHostInfo {
}
......
module FixedAccessInformationServiceAPI_Pics {
modulepar boolean PICS_FAI_API_SUPPORTED := true;
} // End of module FixedAccessInformationServiceAPI_Pics
module FixedAccessInformationServiceAPI_Pixits {
// JSON
import from JSON all;
// LibMec_FixedAccessInformationServiceAPI
import from FixedAccessInformationServiceAPI_TypesAndValues all;
modulepar GatewayId PX_FAI_GW_ID := { "" };
modulepar GatewayId PX_NON_EXISTING_FAI_GW_ID := { "" };
modulepar CmdId PX_FAI_CM_ID := "";
modulepar CmdId PX_NON_EXISTING_FAI_CM_ID := "";
modulepar OnuId PX_FAI_ONU_ID := "";
modulepar OnuId PX_NON_EXISTING_FAI_ONU_ID := "";
modulepar JSON.String PX_FAI_SUB_ID := "";
modulepar JSON.String PX_NON_EXISTING_FAI_SUB_ID := "";
modulepar JSON.AnyURI PX_ONU_ALARM_SUB_CALLBACK_URI := "";
modulepar JSON.String PX_SUBSCRIPTION_ID := "";
modulepar JSON.String PX_NON_EXISTENT_SUBSCRIPTION_ID := "";
} // End of module FixedAccessInformationServiceAPI_Pixits
module FixedAccessInformationServiceAPI_Templates {
// JSON
import from JSON all;
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// LibMec_FixedAccessInformationServiceAPI
import from FixedAccessInformationServiceAPI_TypesAndValues all;
import from FixedAccessInformationServiceAPI_Pixits all;
template (omit) FaInfo m_fa_info(
in template (value) CpInfo p_customerPremisesInfo,
in template (omit) TimeStamp p_timeStamp := omit,
in template (omit) ConnectivityInfo p_connectivityInfo := omit
) := {
timeStamp := p_timeStamp,
customerPremisesInfo := p_customerPremisesInfo,
connectivityInfo := p_connectivityInfo
} // End of template m_fa_info
template FaInfo mw_fa_info(
template (present) CpInfo p_customerPremisesInfo := ?,
template TimeStamp p_timeStamp := *,
template ConnectivityInfo p_connectivityInfo := *
) := {
timeStamp := p_timeStamp,
customerPremisesInfo := p_customerPremisesInfo,
connectivityInfo := p_connectivityInfo
} // End of template mw_fa_info
template (omit) DeviceInfo m_device_info(
in template (value) GatewayId p_gwId,
in template (value) DeviceStatus p_deviceStatus,
in template (value) JSON.Number p_upTime,
in template (value) JSON.Number p_iPConnectionUpTime,
in template (value) JSON.Number p_totalBytesSent,
in template (value) JSON.Number p_totalBytesReceived,
in template (value) JSON.Number p_totalPacketsSent,
in template (value) JSON.Number p_totalPacketsReceived,
in template (omit) TimeStamp p_timeStamp := omit,
in template (omit) DeviceId p_deviceId := omit,
in template (omit) IPPingDiagnostics p_iPPingDiagnostics := omit,
in template (omit) TraceRouteDiagnostics p_traceRouteDiagnostics := omit,
in template (omit) DownloadDiagnostics p_downloadDiagnostics := omit,
in template (omit) UploadDiagnostics p_uploadDiagnostics := omit
) := {
timeStamp := p_timeStamp,
gwId := p_gwId,
deviceId := p_deviceId,
deviceStatus := p_deviceStatus,
upTime := p_upTime,
iPConnectionUpTime := p_iPConnectionUpTime,
totalBytesSent := p_totalBytesSent,
totalBytesReceived := p_totalBytesReceived,
totalPacketsSent := p_totalPacketsSent,
totalPacketsReceived := p_totalPacketsReceived,
iPPingDiagnostics := p_iPPingDiagnostics,
traceRouteDiagnostics := p_traceRouteDiagnostics,
downloadDiagnostics := p_downloadDiagnostics,
uploadDiagnostics := p_uploadDiagnostics
} // End of template m_device_info
template DeviceInfo mw_device_info(
template (present) GatewayId p_gwId := ?,
template (present) DeviceStatus p_deviceStatus := ?,
template (present) JSON.Number p_upTime := ?,
template (present) JSON.Number p_iPConnectionUpTime := ?,
template (present) JSON.Number p_totalBytesSent := ?,
template (present) JSON.Number p_totalBytesReceived := ?,
template (present) JSON.Number p_totalPacketsSent := ?,
template (present) JSON.Number p_totalPacketsReceived := ?,
template TimeStamp p_timeStamp := *,
template DeviceId p_deviceId := *,
template IPPingDiagnostics p_iPPingDiagnostics := *,
template TraceRouteDiagnostics p_traceRouteDiagnostics := *,
template DownloadDiagnostics p_downloadDiagnostics := *,
template UploadDiagnostics p_uploadDiagnostics := *
) := {
timeStamp := p_timeStamp,
gwId := p_gwId,
deviceId := p_deviceId,
deviceStatus := p_deviceStatus,
upTime := p_upTime,
iPConnectionUpTime := p_iPConnectionUpTime,
totalBytesSent := p_totalBytesSent,
totalBytesReceived := p_totalBytesReceived,
totalPacketsSent := p_totalPacketsSent,
totalPacketsReceived := p_totalPacketsReceived,
iPPingDiagnostics := p_iPPingDiagnostics,
traceRouteDiagnostics := p_traceRouteDiagnostics,
downloadDiagnostics := p_downloadDiagnostics,
uploadDiagnostics := p_uploadDiagnostics
} // End of template mw_device_info
template (omit) CableLineInfo m_cable_line_info(
in template (value) CpInfo p_customerPremisesInfo,
in template (value) CmdInfo p_cmdInfo,
in template (omit) TimeStamp p_timeStamp := omit
) := {
timeStamp := p_timeStamp,
customerPremisesInfo := p_customerPremisesInfo,
cmdInfo := p_cmdInfo
} // End of template m_cable_line_info
template CableLineInfo mw_cable_line_info(
template (present) CpInfo p_customerPremisesInfo := ?,
template (present) CmdInfo p_cmdInfo := ?,
template TimeStamp p_timeStamp := *
) := {