Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
0fb5ac93
Commit
0fb5ac93
authored
Feb 07, 2022
by
YannGarcia
Browse files
Continue implementing MEC-10-2 V2.2.1 with MEX-LCM
parent
266814b4
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
ttcn/AtsMec/AtsMec_ApplicationPackageLifecycleAndOperationGrantingAPI_TestCases.ttcn
View file @
0fb5ac93
This diff is collapsed.
Click to expand it.
ttcn/LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI/ttcn/ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits.ttcn
View file @
0fb5ac93
...
...
@@ -8,7 +8,9 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits {
modulepar
JSON
.
String
PX_APP_INSTANCE_ID
:=
"5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1a"
;
modulepar
JSON
.
String
PX_APP_ID
:=
"5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1b"
;
modulepar
JSON
.
String
PX_NON_EXISTING_APP_INSTANCE_ID
:=
"5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1b"
;
modulepar
JSON
.
String
PX_APP_ID
:=
"5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1c"
;
modulepar
OperationType
PX_APP_OPERATION
:=
INSTANTIATE
;
...
...
@@ -40,6 +42,8 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits {
modulepar
JSON
.
String
PX_NON_EXISTENT_APP_PKG_ID
:=
"NON_EXISTENT_APP_PKG_ID"
modulepar
JSON
.
String
PX_NON_EXISTENT_ON_BOARDED_APP_PKG_ID
:=
"NON_ON_BOARDED_EXISTENT_APP_PKG_ID"
modulepar
JSON
.
AnyURI
PX_CALLBACK_URI
:=
"http://127.0.0.1/callback"
modulepar
JSON
.
String
PX_SUBSCRIPTION_ID
:=
"e0deee2b-6e50-4f33-ab09-8bf0585025d3"
...
...
ttcn/LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI/ttcn/ApplicationPackageLifecycleAndOperationGrantingAPI_Templates.ttcn
View file @
0fb5ac93
This diff is collapsed.
Click to expand it.
ttcn/LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI/ttcn/ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.ttcn
View file @
0fb5ac93
...
...
@@ -505,6 +505,7 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues {
}
with
{
variant
(
links
)
"name as '_links'"
;
}
type
record
of
AppInstanceInfo
AppInstanceInfoList
;
type
record
Link
{
LinkType
self_
,
...
...
ttcn/LibMec/ttcn/LibMec_Pics.ttcn
View file @
0fb5ac93
...
...
@@ -18,10 +18,6 @@ module LibMec_Pics {
modulepar
boolean
PICS_APP_PACKAGE
:=
true
;
modulepar
boolean
PICS_APP_PACKAGE_MANAGEMENT
:=
true
;
modulepar
boolean
PICS_APP_PACKAGE_NOTIFICATIONS
:=
true
;
modulepar
boolean
PICS_RNIS_QUERY
:=
true
;
modulepar
boolean
PICS_RNIS_ALL_SUBSCRIPTIONS
:=
true
;
...
...
@@ -34,16 +30,14 @@ module LibMec_Pics {
modulepar
boolean
PICS_AMS_NOTIFICATIONS
:=
true
;
modulepar
boolean
PIC_GRANTS_MANAGEMENT
:=
true
;
modulepar
boolean
PIC
S
_GRANTS_MANAGEMENT
:=
true
;
modulepar
boolean
PIC_APP_PACKAGE_MANAGEMENT
:=
true
;
modulepar
boolean
PIC
S
_APP_PACKAGE_MANAGEMENT
:=
true
;
modulepar
boolean
PIC_APP_PACKAGE_NOTIFICATIONS
:=
true
;
modulepar
boolean
PIC
S
_APP_PACKAGE_NOTIFICATIONS
:=
true
;
modulepar
charstring
PICS_ROOT_API
:=
"exampleAPI"
;
modulepar
boolean
PIC_APP_LCM_MANAGEMENT
:=
true
;
modulepar
boolean
PIC_APP_LCM_NOTIFICATIONS
:=
true
;
}
// End of module LibMec_Pics
ttcn/LibMec/ttcn/LibMec_Pixits.ttcn
View file @
0fb5ac93
...
...
@@ -56,7 +56,7 @@ module LibMec_Pixits {
modulepar
charstring
PX_MEPM_PKGM_SUBS
:=
"/app_pkgm/v1/subscriptions"
modulepar
charstring
PX_
MEX
_LCM_URI
:=
"/alcm
i
/v1/app_instances"
modulepar
charstring
PX_
APP
_LCM_URI
:=
"/a
pp_
lcm/v1/app_instances"
modulepar
charstring
PX_MEX_LCM_SUBS
:=
"/alcmi/v1/subscriptions"
...
...
ttcn/patch_lib_http/LibItsHttp_JsonMessageBodyTypes.ttcn
View file @
0fb5ac93
...
...
@@ -81,6 +81,7 @@ module LibItsHttp_JsonMessageBodyTypes {
AppPkgSubscriptionInfo
appPkgSubscriptionInfo
,
AppPkgSubscriptionLinkList
appPkgSubscriptionLinkList
,
AppPkgNotification
appPkgNotification
,
ConfigPlatformForAppRequest
configPlatformForAppRequest
,
/* MepmPkgm_TypesAndValues.AppPkg appMepmPackageManagement, */
/* MepmPkgm_TypesAndValues.OnboardedAppPkgInfo onboardedMepmAppPkgInfo, */
/* MepmPkgm_TypesAndValues.OnboardedAppPkgInfoList appOnboardMepmPackageInfoList, */
...
...
@@ -91,10 +92,10 @@ module LibItsHttp_JsonMessageBodyTypes {
/* MepmPkgm_TypesAndValues.AppPkgSubscriptionWithError appMepmPkgSubscriptionWithError, */
/* MepmPkgm_TypesAndValues.AppPkgNotification appMepmPkgNotification, */
/* MepmPkgm_TypesAndValues.OnboardedAppPkgInfo appOnboardMepmPackageInfo, */
/* AppLCM_TypesAndValues.CreateAppInstanceRequest createAppInstanceRequest, */
/* AppLCM_TypesAndValues.AppInstanceInfo appInstanceInfo, */
CreateAppInstanceRequest
createAppInstanceRequest
,
AppInstanceInfo
appInstanceInfo
,
AppInstanceInfoList
appInstanceInfoList
,
/* AppLCM_TypesAndValues.CreateAppInstanceRequestWithError createAppInstanceRequestWithError, */
/* AppLCM_TypesAndValues.AppInstanceInfoList appInstanceInfoList, */
/* AppLCM_TypesAndValues.InstantiateAppRequest appInstanceInstantiate, */
/* AppLCM_TypesAndValues.InstantiateAppRequestWithError appInstanceInstantiateWithError, */
/* AppLCM_TypesAndValues.TerminateAppRequest terminateType, */
...
...
ttcn/patch_lib_http/LibItsHttp_JsonTemplates.ttcn
View file @
0fb5ac93
...
...
@@ -155,87 +155,49 @@ module LibItsHttp_JsonTemplates {
}
// End of group meo_pkg_mgmt_api
group
mepm_pkg_mgmt_api
{
/*template (value) JsonBody m_body_json_mepm_package_management(
in template (value) MepmPkgm_TypesAndValues.AppPkg p_app_package_management
) := {
appMepmPackageManagement := p_app_package_management
}
template (value) JsonBody m_body_json_mepm_package_management_with_error(
in template (value) MepmPkgm_TypesAndValues.AppPkgWithError p_app_mepm_package_management_with_error
) := {
appMepmPackageManagementWithError := p_app_mepm_package_management_with_error
}
template (present) JsonBody mw_body_json_mepm_pkg_mgmt_response_list(
in template (present) MepmPkgm_TypesAndValues.OnboardedAppPkgInfoList p_onboarded_app_mepm_pkg_mgmt_list
) := {
appOnboardMepmPackageInfoList := p_onboarded_app_mepm_pkg_mgmt_list
}
template (present) JsonBody mw_body_json_mepm_pkg_mgmt_response(
in template (present) MepmPkgm_TypesAndValues.OnboardedAppPkgInfo p_onboarded_app_mepm_pkg_mgmt
) := {
appOnboardMepmPackageInfo := p_onboarded_app_mepm_pkg_mgmt
}
template (value) JsonBody m_body_json_mepm_pkgm_subscription(
in template (value) MepmPkgm_TypesAndValues.AppPkgSubscription p_app_mepm_pkg_subscription
) := {
appMepmPkgSubscription := p_app_mepm_pkg_subscription
}
template (present) JsonBody mw_body_json_mepm_pkgm_subscription_info (
in template (present) MepmPkgm_TypesAndValues.AppPkgSubscriptionInfo p_app_mepm_pkg_subscription_info
) := {
appMepmPkgSubscriptionInfo := p_app_mepm_pkg_subscription_info
}
template (value) JsonBody m_body_json_mepm_pkgm_subscription_with_error(
in template (value) MepmPkgm_TypesAndValues.AppPkgSubscriptionWithError p_app_mepm_pkg_subscription_with_error
) := {
appMepmPkgSubscriptionWithError := p_app_mepm_pkg_subscription_with_error
}
template (present) JsonBody mw_body_json_mepm_pkgm_subscription_info_list (
in template (present) MepmPkgm_TypesAndValues.AppPkgSubscriptionInfoList p_app_mepm_pkg_subscription_info_list
) := {
appMepmPkgSubscriptionInfoList := p_app_mepm_pkg_subscription_info_list
}
group
mepm_lifcyclemgt
{
template
(
value
)
JsonBody
m_body_json_config_platform_for_app_request
(
in
template
(
value
)
ConfigPlatformForAppRequest
p_config_platform_for_app_request
)
:=
{
configPlatformForAppRequest
:=
p_config_platform_for_app_request
}
// End of template m_body_json_config_platform_for_app_request
template (present) JsonBody mw_body_json_mepm_app_package_notification (
in template (present) MepmPkgm_TypesAndValues.AppPkgNotification p_app_mepm_pkg_notification
) := {
appMepmPkgNotification := p_app_mepm_pkg_notification
}
*/
}
template
(
present
)
JsonBody
mw_body_json_config_platform_for_app_request
(
template
(
present
)
ConfigPlatformForAppRequest
p_config_platform_for_app_request
:=
?
)
:=
{
configPlatformForAppRequest
:=
p_config_platform_for_app_request
}
// End of template mw_body_json_config_platform_for_app_request
group
lcm_api
{
/*
template (present) JsonBody m_body_json_lifecycle_management (
in template (present) CreateAppInstanceRequest p_create_app_instance_request
) := {
createAppInstanceRequest := p_create_app_instance_request
}
template (present) JsonBody m_body_json_lifecycle_management_with_error (
in template (present) CreateAppInstanceRequestWithError p_create_app_instance_request_with_error
) := {
createAppInstanceRequestWithError := p_create_app_instance_request_with_error
}
}
// End of mepm_lifcyclemgt
template (present) JsonBody mw_body_json_mex_lcm_instance_info (
in template (present) AppInstanceInfo p_app_instance_info
) := {
appInstanceInfo := p_app_instance_info
}
template (present) JsonBody mw_body_json_mex_lcm_instance_info_list (
group
mex_lifcyclemgt
{
template
(
value
)
JsonBody
m_body_json_create_app_instance_request
(
in
template
(
value
)
CreateAppInstanceRequest
p_create_app_instance_request
)
:=
{
createAppInstanceRequest
:=
p_create_app_instance_request
}
// End of template m_body_json_create_app_instance_request
template
(
value
)
JsonBody
m_body_json_app_instance_info
(
in
template
(
value
)
AppInstanceInfo
p_app_instance_info
)
:=
{
appInstanceInfo
:=
p_app_instance_info
}
// End of template m_body_json_app_instance_info
template
(
present
)
JsonBody
mw_body_json_app_instance_info
(
template
(
present
)
AppInstanceInfo
p_app_instance_info
:=
?
)
:=
{
appInstanceInfo
:=
p_app_instance_info
}
// End of template mw_body_json_app_instance_info
template
(
present
)
JsonBody
mw_body_json_app_instance_info_list
(
template
(
present
)
AppInstanceInfoList
p_app_instance_info_list
:=
?
)
:=
{
appInstanceInfoList
:=
p_app_instance_info_list
}
// End of template mw_body_json_app_instance_info_list
/*template (present) JsonBody mw_body_json_mex_lcm_instance_info_list (
in template (present) AppInstanceInfoList p_app_instance_info_list
) := {
appInstanceInfoList := p_app_instance_info_list
...
...
@@ -327,7 +289,7 @@ group lcm_api {
lcmNotification := p_lcm_notification
}
*/
}
}
// End of group mex_lifcyclemgt
group
ams_api
{
/*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment