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
266814b4
Commit
266814b4
authored
Jan 31, 2022
by
YannGarcia
Browse files
Start implementing MEC-10-2 V2.2.1
parent
c0df3347
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
ttcn/AtsMec/AtsMec_ApplicationPackageLifecycleAndOperationGrantingAPI_TestCases.ttcn
View file @
266814b4
This diff is collapsed.
Click to expand it.
ttcn/LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI/ttcn/ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits.ttcn
View file @
266814b4
...
...
@@ -46,4 +46,6 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits {
modulepar
JSON
.
String
PX_NON_EXISTENT_SUBSCRIPTION_ID
:=
"NON_EXISTENT_SUBSCRIPTION_ID"
modulepar
JSON
.
AnyURI
PX_APP_PKG_HREF
:=
""
;
}
// End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Pixits
ttcn/LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI/ttcn/ApplicationPackageLifecycleAndOperationGrantingAPI_Templates.ttcn
View file @
266814b4
...
...
@@ -176,6 +176,84 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates {
hash
:=
p_hash
}
// End of template mw_checksum
template
(
value
)
AppPkgInfoModifications
m_app_pkg_info_modification
(
in
AppPkgInfo_OperationalState
p_operationalState
)
:=
{
operationalState
:=
p_operationalState
}
// End of template m_app_pkg_info_modification
template
(
present
)
AppPkgInfoModifications
mw_app_pkg_info_modification
(
template
(
present
)
AppPkgInfo_OperationalState
p_operationalState
:=
?
)
:=
{
operationalState
:=
p_operationalState
}
// End of template mw_app_pkg_info_modification
template
(
omit
)
AppPkgSubscription
m_app_pkg_info_subscription
(
in
template
(
value
)
JSON
.
AnyURI
p_callbackUri
,
in
template
(
value
)
AppPkgSubscriptionType
p_subscriptionType
:=
"AppPackageOnBoardingSubscription"
,
in
template
(
omit
)
AppPkgFilter
p_appPkgFilter
:=
omit
)
:=
{
callbackUri
:=
p_callbackUri
,
subscriptionType
:=
p_subscriptionType
,
appPkgFilter
:=
p_appPkgFilter
}
// End of template m_app_pkg_info_subscription
template
(
value
)
AppPkgSubscriptionInfo
m_app_pkg_subscription_info
(
in
template
(
value
)
JSON
.
String
p_id
,
in
template
(
value
)
AppPkgSubscriptionType
p_subscriptionType
:=
"AppPackageOnBoardingSubscription"
,
in
template
(
value
)
JSON
.
AnyURI
p_callbackUri
,
in
template
(
value
)
AppPkgSubscriptionInfo_Link
p_links
)
:=
{
id
:=
p_id
,
subscriptionType
:=
p_subscriptionType
,
callbackUri
:=
p_callbackUri
,
links
:=
p_links
}
// End of template m_app_pkg_subscription_info
template
(
present
)
AppPkgSubscriptionInfo
mw_app_pkg_subscription_info
(
template
(
present
)
JSON
.
String
p_id
:=
?
,
template
(
present
)
AppPkgSubscriptionType
p_subscriptionType
:=
"AppPackageOnBoardingSubscription"
,
template
(
present
)
JSON
.
AnyURI
p_callbackUri
:=
?
,
template
(
present
)
AppPkgSubscriptionInfo_Link
p_links
:=
?
)
:=
{
id
:=
p_id
,
subscriptionType
:=
p_subscriptionType
,
callbackUri
:=
p_callbackUri
,
links
:=
p_links
}
// End of template mw_app_pkg_subscription_info
template
(
present
)
AppPkgNotification
mw_app_pkg_notification
(
template
(
present
)
JSON
.
String
p_id
:=
?
,
template
(
present
)
JSON
.
String
p_notificationType
:=
?
,
template
(
present
)
JSON
.
String
p_subscriptionId
:=
?
,
template
(
present
)
TimeStamp
p_timeStamp
:=
?
,
template
(
present
)
JSON
.
String
p_appPkgId
:=
?
,
template
(
present
)
JSON
.
String
p_appDId
:=
?
,
template
(
present
)
AppPkgInfo_OperationalState
p_operationalState
:=
?
,
template
(
present
)
AppPkgNotification_Link
p_links
:=
?
)
:=
{
id
:=
p_id
,
notificationType
:=
p_notificationType
,
subscriptionId
:=
p_subscriptionId
,
timeStamp
:=
p_timeStamp
,
appPkgId
:=
p_appPkgId
,
appDId
:=
p_appDId
,
operationalState
:=
p_operationalState
,
links
:=
p_links
}
// End of template mw_app_pkg_notification
template
(
value
)
AppPkgSubscriptionInfo_Link
m_app_pkg_link
(
in
JSON
.
AnyURI
p_href
)
:=
{
self_
:=
{
href
:=
p_href
}
}
// End of template m_app_pkg_link
template
(
present
)
AppPkgSubscriptionInfo_Link
mw_app_pkg_link
(
template
(
present
)
JSON
.
AnyURI
p_href
:=
?
)
:=
{
self_
:=
{
href
:=
p_href
}
}
// End of template mw_app_pkg_link
}
// End of group pkgmgt
}
// End of module ApplicationPackageLifecycleAndOperationGrantingAPI_Templates
ttcn/LibMec/ApplicationPackageLifecycleAndOperationGrantingAPI/ttcn/ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.ttcn
View file @
266814b4
...
...
@@ -1208,7 +1208,8 @@ module ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues {
type
enumerated
AppPkgInfo_OperationalState
{
ENABLED
,
DISABLED
DISABLED
,
UNKNOWN
// Used for BI purpose only
}
type
enumerated
UsageState
{
...
...
ttcn/patch_lib_http/LibItsHttp_JsonMessageBodyTypes.ttcn
View file @
266814b4
...
...
@@ -76,11 +76,11 @@ module LibItsHttp_JsonMessageBodyTypes {
CreateAppPkg
createAppPkg
,
AppPkgInfo
appPkgInfo
,
AppPkgInfoList
appPkgInfoList
,
/* MeoPkgm_TypesAndValues.AppPkgSubscription
appPkg
Subscription, */
/* MeoPkgm_TypesAndValues.AppPkgSubscriptionInfo
appPkgSubscription
Info, */
/* MeoPkgm_TypesAndValues.AppPkgSubscriptionInfoList
appPkgSubscriptionInfo
List, */
/* MeoPkgm_TypesAndValues.AppPkgSubscriptionWithError
appPkgSubscription
WithError, */
/* MeoPkgm_TypesAndValues.AppPkgNotification
appPkgNotification,
*/
AppPkgInfoModifications
appPkg
InfoModifications
,
AppPkgSubscription
appPkgSubscription
,
AppPkgSubscriptionInfo
appPkgSubscriptionInfo
,
AppPkgSubscriptionLinkList
appPkgSubscription
LinkList
,
AppPkgNotification
appPkgNotification
,
/* MepmPkgm_TypesAndValues.AppPkg appMepmPackageManagement, */
/* MepmPkgm_TypesAndValues.OnboardedAppPkgInfo onboardedMepmAppPkgInfo, */
/* MepmPkgm_TypesAndValues.OnboardedAppPkgInfoList appOnboardMepmPackageInfoList, */
...
...
ttcn/patch_lib_http/LibItsHttp_JsonTemplates.ttcn
View file @
266814b4
...
...
@@ -117,37 +117,42 @@ module LibItsHttp_JsonTemplates {
appPkgInfoList
:=
p_app_pkg_info_list
}
// End of template mw_body_json_app_pkg_info_list
/* template (value) JsonBody m_body_json_pkgm_subscription(
in template (value) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgSubscription p_app_pkg_subscription
) := {
appPkgSubscription := p_app_pkg_subscription
}
template
(
value
)
JsonBody
m_body_json_app_pkg_info_modification
(
in
template
(
value
)
AppPkgInfoModifications
p_app_pkg_info_modification
)
:=
{
appPkgInfoModifications
:=
p_app_pkg_info_modification
}
// End of template m_body_json_app_pkg_info_modification
template
(
present
)
JsonBody
mw_body_json_app_pkg_info_modification
(
template
(
present
)
AppPkgInfoModifications
p_app_pkg_info_modification
:=
?
)
:=
{
appPkgInfoModifications
:=
p_app_pkg_info_modification
}
// End of template mw_body_json_app_pkg_info_modification
template
(
value
)
JsonBody
m_body_json_pkgm_subscription
(
in
template
(
value
)
AppPkgSubscription
p_app_pkg_subscription
)
:=
{
appPkgSubscription
:=
p_app_pkg_subscription
}
// End of template m_body_json_pkgm_subscription
template (present) JsonBody mw_body_json_pkgm_subscription_info
(
in template (present) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.
AppPkgSubscriptionInfo p_app_pkg_subscription_info
) := {
appPkgSubscriptionInfo := p_app_pkg_subscription_info
}
template
(
present
)
JsonBody
mw_body_json_pkgm_subscription_info
(
template
(
present
)
AppPkgSubscriptionInfo
p_app_pkg_subscription_info
:=
?
)
:=
{
appPkgSubscriptionInfo
:=
p_app_pkg_subscription_info
}
// End of template mw_body_json_pkgm_subscription_info
template (value) JsonBody m_body_json_pkgm_subscription_with_error(
in template (value) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgSubscriptionWithError p_app_pkg_subscription_with_error
) := {
appPkgSubscriptionWithError := p_app_pkg_subscription_with_error
}
template (present) JsonBody mw_body_json_pkgm_subscription_info_list (
in template (present) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.AppPkgSubscriptionInfoList p_app_pkg_subscription_info_list
) := {
appPkgSubscriptionInfoList := p_app_pkg_subscription_info_list
}
template
(
present
)
JsonBody
mw_body_json_pkgm_subscription_link_list
(
template
(
present
)
AppPkgSubscriptionLinkList
p_app_pkg_subscription_link_list
:=
?
)
:=
{
appPkgSubscriptionLinkList
:=
p_app_pkg_subscription_link_list
}
// End of template mw_body_json_pkgm_subscription_link_list
template (present) JsonBody mw_body_json_app_package_notification (
in template (present) ApplicationPackageLifecycleAndOperationGrantingAPI_TypesAndValues.
AppPkgNotification p_app_pkg_notification
) := {
appPkgNotification := p_app_pkg_notification
}
*/
template
(
present
)
JsonBody
mw_body_json_app_package_notification
(
template
(
present
)
AppPkgNotification
p_app_pkg_notification
:=
?
)
:=
{
appPkgNotification
:=
p_app_pkg_notification
}
// End of template mw_body_json_app_package_notification
}
// End of group meo_pkg_mgmt_api
group
mepm_pkg_mgmt_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