Loading ttcn/AtsMec/AtsMec_AppLCM_TestCases.ttcn +1622 File added.Preview size limit exceeded, changes collapsed. Show changes ttcn/LibMec/AppLCM/ttcn/AppLCM_Pics.ttcn +8 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_Pics.ttcn: 8 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_Pics { /** * @desc Does the IUT support LocationAPI? */ modulepar boolean PICS_LCM_API_SUPPORTED := true; } // End of module LocationAPI_Pics ttcn/LibMec/AppLCM/ttcn/AppLCM_Pixits.ttcn +42 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_Pixits.ttcn: 42 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_Pixits { // JSON import from JSON all; import from AppLCM_TypesAndValues all; modulepar JSON.String PX_APP_D_ID := "5lkj4782-2c70-4e47-9a4e-0ee3a1a0fd1f" modulepar InstantiationState PX_INSTANTIATION_STATE := NOT_INSTANTIATED 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 TerminationType PX_APP_TERMINATION_TYPE := GRACEFUL modulepar TerminationTypeWithError PX_APP_TERMINATION_TYPE_WITH_ERROR := GRACE modulepar OperationType PX_CHANGE_STATE_TO := STARTED 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_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 SubscriptionType PX_SUBSCRIPTION_TYPE := AppInstanceStateChangeSubscription 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_NOTIFICATION_ID := "208c95ec-121f-4bc2-b896-be3fe000d3ea" modulepar NotificationType PX_NOTIFICATION_TYPE := AppInstNotification } // End of module No newline at end of file ttcn/LibMec/AppLCM/ttcn/AppLCM_Templates.ttcn +114 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_Templates.ttcn: 114 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_Templates { // JSON import from JSON all; // LibCommon import from LibCommon_BasicTypesAndValues all; import from AppLCM_TypesAndValues all; import from AppLCM_Pixits all; template (present) CreateAppInstanceRequest m_lifecycle_management_create ( in template (present) String p_appDId := ? ) := { appDId := p_appDId } template (present) CreateAppInstanceRequestWithError m_lifecycle_management_create_with_error ( in template (present) String p_appDIdWithError := ? ) := { appDIdWithError := p_appDIdWithError } template (present) AppInstanceInfo mw_lcm_instance_info ( in template (present) String p_app_instance_id := ?, in template (present) String p_app_d_id := ?, in template (present) InstantiationState p_instantiation_state := ? ) := { appInstanceId := p_app_instance_id, appDId := p_app_d_id, instantiationState := p_instantiation_state } template (present) InstantiateAppRequest m_lifecycle_management_instantiate ( in template (present) String p_app_instance_id ) := { appInstanceId := p_app_instance_id } template (present) InstantiateAppRequestWithError m_lifecycle_management_instantiate_with_error ( in template (present) String p_app_instance_id ) := { appId := p_app_instance_id } template (present) TerminateAppRequest m_lifecycle_management_terminate ( in template (present) TerminationType p_termination_type ) := { terminationType := p_termination_type } template (present) TerminateAppRequestWithError m_lifecycle_management_terminate_with_error ( in template (present) TerminationTypeWithError p_termination_type_with_error ) := { terminationTypeWithError := p_termination_type_with_error } template (present) OperateAppRequest m_lifecycle_management_operate ( in template (present) OperationType p_change_state_to_type ) := { changeStateTo := p_change_state_to_type } template (present) OperateAppRequestWithError m_lifecycle_management_operate_with_error ( in template (present) OperationTypeWithError p_change_state_to_type_with_error ) := { changeStateToWithError := p_change_state_to_type_with_error } template (present) AppInstanceLcmOpOcc mw_lifecycle_management_op_occ ( in template (present) JSON.String p_app_lcm_op_occ_id := ? ) := { appLcmOpOccId := p_app_lcm_op_occ_id } template (present) SubscriptionRequest m_app_lcm_subscribe_request ( in template (present) SubscriptionType p_subscription_type, in template (present) AnyURI p_callback_uri ) := { subscriptionType := p_subscription_type, callbackUri := p_callback_uri } template (present) SubscriptionRequestWithError m_app_lcm_subscribe_request_with_error ( in template (present) SubscriptionType p_subscription_type, in template (present) AnyURI p_callback_uri_with_error ) := { subscriptionType := p_subscription_type, callbackUriWithError := p_callback_uri_with_error } template (present) SubscriptionInfo mw_app_lcm_subscription_info ( in template (present) String p_subscription_id := ?, in template (present) SubscriptionType p_subscription_type := ?, in template (present) AnyURI p_callback_uri := ? ) := { subscriptionId := p_subscription_id, subscriptionType := p_subscription_type, callbackUri := p_callback_uri } template (present) Notification mw_app_lcm_notification ( in template (present) String p_notification_id := ?, in template (present) NotificationType p_notification_type := ?, in template (present) String p_subscription_id := ? ) := { notificationId := p_notification_id, notificationType := p_notification_type } } No newline at end of file ttcn/LibMec/AppLCM/ttcn/AppLCM_TypesAndValues.ttcn +148 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_TypesAndValues.ttcn: 148 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_TypesAndValues { // JSON import from JSON all; // LibCommon import from LibCommon_BasicTypesAndValues all; type enumerated InstantiationState { NOT_INSTANTIATED, INSTANTIATED } type enumerated TerminationType { FORCEFUL, GRACEFUL } type enumerated TerminationTypeWithError { FORCE, GRACE } type enumerated OperationType { STARTED, STOPPED } type enumerated OperationTypeWithError { START, STOP } type enumerated SubscriptionType { AppInstanceStateChangeSubscription, AppLcmOpOccStateChangeSubscription } type enumerated NotificationType { AppInstNotification, AppLcmOpOccNotification } type record CreateAppInstanceRequest { String appDId } type record CreateAppInstanceRequestWithError { String appDIdWithError } type record of AppInstanceInfo AppInstanceInfoList; type record AppInstanceInfo { String appInstanceId, String appDId, InstantiationState instantiationState } type record of SelectedMECHostInfo SelectedMECHostInfoList type record SelectedMECHostInfo { } type record InstantiateAppRequest { String appInstanceId, SelectedMECHostInfoList selectedMECHostInfo } type record InstantiateAppRequestWithError { String appId, SelectedMECHostInfoList selectedMECHostInfo } type record TerminateAppRequest { TerminationType terminationType } type record TerminateAppRequestWithError { TerminationTypeWithError terminationTypeWithError } type record OperateAppRequest { OperationType changeStateTo } type record OperateAppRequestWithError { OperationTypeWithError changeStateToWithError } type record of AppInstanceLcmOpOcc AppInstanceLcmOpOccList; type record AppInstanceLcmOpOcc { String appLcmOpOccId } type record SubscriptionRequest { AnyURI callbackUri, SubscriptionType subscriptionType } type record SubscriptionRequestWithError { AnyURI callbackUriWithError, SubscriptionType subscriptionType } type record of SubscriptionInfo SubscriptionInfoList; type record SubscriptionInfo { String subscriptionId, SubscriptionType subscriptionType, AnyURI callbackUri } type record Notification { String notificationId, NotificationType notificationType, String subscriptionId } /** * @desc Problem Details for HTTP APIs * @member type_ A URI reference according to IETF RFC 3986 that identifies the problem type * @member title A short, human-readable summary of the problem type * @member status The HTTP status code for this occurrence of the problem * @member detail A human-readable explanation specific to this occurrence of the problem * @member instance A URI reference that identifies the specific occurrence of the problem * @see IETF RFC 7807 Clause 3. The Problem Details JSON Object */ type record ProblemDetails { JSON.String type_, JSON.String title, UInt32 status, JSON.String detail, JSON.String instance } with { variant (type_) "name as 'type'"; } } with { encode "JSON" } Loading
ttcn/AtsMec/AtsMec_AppLCM_TestCases.ttcn +1622 File added.Preview size limit exceeded, changes collapsed. Show changes
ttcn/LibMec/AppLCM/ttcn/AppLCM_Pics.ttcn +8 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_Pics.ttcn: 8 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_Pics { /** * @desc Does the IUT support LocationAPI? */ modulepar boolean PICS_LCM_API_SUPPORTED := true; } // End of module LocationAPI_Pics
ttcn/LibMec/AppLCM/ttcn/AppLCM_Pixits.ttcn +42 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_Pixits.ttcn: 42 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_Pixits { // JSON import from JSON all; import from AppLCM_TypesAndValues all; modulepar JSON.String PX_APP_D_ID := "5lkj4782-2c70-4e47-9a4e-0ee3a1a0fd1f" modulepar InstantiationState PX_INSTANTIATION_STATE := NOT_INSTANTIATED 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 TerminationType PX_APP_TERMINATION_TYPE := GRACEFUL modulepar TerminationTypeWithError PX_APP_TERMINATION_TYPE_WITH_ERROR := GRACE modulepar OperationType PX_CHANGE_STATE_TO := STARTED 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_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 SubscriptionType PX_SUBSCRIPTION_TYPE := AppInstanceStateChangeSubscription 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_NOTIFICATION_ID := "208c95ec-121f-4bc2-b896-be3fe000d3ea" modulepar NotificationType PX_NOTIFICATION_TYPE := AppInstNotification } // End of module No newline at end of file
ttcn/LibMec/AppLCM/ttcn/AppLCM_Templates.ttcn +114 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_Templates.ttcn: 114 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_Templates { // JSON import from JSON all; // LibCommon import from LibCommon_BasicTypesAndValues all; import from AppLCM_TypesAndValues all; import from AppLCM_Pixits all; template (present) CreateAppInstanceRequest m_lifecycle_management_create ( in template (present) String p_appDId := ? ) := { appDId := p_appDId } template (present) CreateAppInstanceRequestWithError m_lifecycle_management_create_with_error ( in template (present) String p_appDIdWithError := ? ) := { appDIdWithError := p_appDIdWithError } template (present) AppInstanceInfo mw_lcm_instance_info ( in template (present) String p_app_instance_id := ?, in template (present) String p_app_d_id := ?, in template (present) InstantiationState p_instantiation_state := ? ) := { appInstanceId := p_app_instance_id, appDId := p_app_d_id, instantiationState := p_instantiation_state } template (present) InstantiateAppRequest m_lifecycle_management_instantiate ( in template (present) String p_app_instance_id ) := { appInstanceId := p_app_instance_id } template (present) InstantiateAppRequestWithError m_lifecycle_management_instantiate_with_error ( in template (present) String p_app_instance_id ) := { appId := p_app_instance_id } template (present) TerminateAppRequest m_lifecycle_management_terminate ( in template (present) TerminationType p_termination_type ) := { terminationType := p_termination_type } template (present) TerminateAppRequestWithError m_lifecycle_management_terminate_with_error ( in template (present) TerminationTypeWithError p_termination_type_with_error ) := { terminationTypeWithError := p_termination_type_with_error } template (present) OperateAppRequest m_lifecycle_management_operate ( in template (present) OperationType p_change_state_to_type ) := { changeStateTo := p_change_state_to_type } template (present) OperateAppRequestWithError m_lifecycle_management_operate_with_error ( in template (present) OperationTypeWithError p_change_state_to_type_with_error ) := { changeStateToWithError := p_change_state_to_type_with_error } template (present) AppInstanceLcmOpOcc mw_lifecycle_management_op_occ ( in template (present) JSON.String p_app_lcm_op_occ_id := ? ) := { appLcmOpOccId := p_app_lcm_op_occ_id } template (present) SubscriptionRequest m_app_lcm_subscribe_request ( in template (present) SubscriptionType p_subscription_type, in template (present) AnyURI p_callback_uri ) := { subscriptionType := p_subscription_type, callbackUri := p_callback_uri } template (present) SubscriptionRequestWithError m_app_lcm_subscribe_request_with_error ( in template (present) SubscriptionType p_subscription_type, in template (present) AnyURI p_callback_uri_with_error ) := { subscriptionType := p_subscription_type, callbackUriWithError := p_callback_uri_with_error } template (present) SubscriptionInfo mw_app_lcm_subscription_info ( in template (present) String p_subscription_id := ?, in template (present) SubscriptionType p_subscription_type := ?, in template (present) AnyURI p_callback_uri := ? ) := { subscriptionId := p_subscription_id, subscriptionType := p_subscription_type, callbackUri := p_callback_uri } template (present) Notification mw_app_lcm_notification ( in template (present) String p_notification_id := ?, in template (present) NotificationType p_notification_type := ?, in template (present) String p_subscription_id := ? ) := { notificationId := p_notification_id, notificationType := p_notification_type } } No newline at end of file
ttcn/LibMec/AppLCM/ttcn/AppLCM_TypesAndValues.ttcn +148 Changes for ttcn/LibMec/AppLCM/ttcn/AppLCM_TypesAndValues.ttcn: 148 added lines, 0 removed lines. Original line number Diff line number Diff line module AppLCM_TypesAndValues { // JSON import from JSON all; // LibCommon import from LibCommon_BasicTypesAndValues all; type enumerated InstantiationState { NOT_INSTANTIATED, INSTANTIATED } type enumerated TerminationType { FORCEFUL, GRACEFUL } type enumerated TerminationTypeWithError { FORCE, GRACE } type enumerated OperationType { STARTED, STOPPED } type enumerated OperationTypeWithError { START, STOP } type enumerated SubscriptionType { AppInstanceStateChangeSubscription, AppLcmOpOccStateChangeSubscription } type enumerated NotificationType { AppInstNotification, AppLcmOpOccNotification } type record CreateAppInstanceRequest { String appDId } type record CreateAppInstanceRequestWithError { String appDIdWithError } type record of AppInstanceInfo AppInstanceInfoList; type record AppInstanceInfo { String appInstanceId, String appDId, InstantiationState instantiationState } type record of SelectedMECHostInfo SelectedMECHostInfoList type record SelectedMECHostInfo { } type record InstantiateAppRequest { String appInstanceId, SelectedMECHostInfoList selectedMECHostInfo } type record InstantiateAppRequestWithError { String appId, SelectedMECHostInfoList selectedMECHostInfo } type record TerminateAppRequest { TerminationType terminationType } type record TerminateAppRequestWithError { TerminationTypeWithError terminationTypeWithError } type record OperateAppRequest { OperationType changeStateTo } type record OperateAppRequestWithError { OperationTypeWithError changeStateToWithError } type record of AppInstanceLcmOpOcc AppInstanceLcmOpOccList; type record AppInstanceLcmOpOcc { String appLcmOpOccId } type record SubscriptionRequest { AnyURI callbackUri, SubscriptionType subscriptionType } type record SubscriptionRequestWithError { AnyURI callbackUriWithError, SubscriptionType subscriptionType } type record of SubscriptionInfo SubscriptionInfoList; type record SubscriptionInfo { String subscriptionId, SubscriptionType subscriptionType, AnyURI callbackUri } type record Notification { String notificationId, NotificationType notificationType, String subscriptionId } /** * @desc Problem Details for HTTP APIs * @member type_ A URI reference according to IETF RFC 3986 that identifies the problem type * @member title A short, human-readable summary of the problem type * @member status The HTTP status code for this occurrence of the problem * @member detail A human-readable explanation specific to this occurrence of the problem * @member instance A URI reference that identifies the specific occurrence of the problem * @see IETF RFC 7807 Clause 3. The Problem Details JSON Object */ type record ProblemDetails { JSON.String type_, JSON.String title, UInt32 status, JSON.String detail, JSON.String instance } with { variant (type_) "name as 'type'"; } } with { encode "JSON" }