...@@ -9,7 +9,7 @@ Library OperatingSystem ...@@ -9,7 +9,7 @@ Library OperatingSystem
*** Test Cases *** *** Test Cases ***
TP_MEC_MEC010p2_MEO_GRANT_001_OK TC_MEC_MEC010p2_MEO_GRANT_001_OK
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_001_OK [Documentation] TP_MEC_MEC010p2_MEO_GRANT_001_OK
... Check that MEO sends a synchronous grant response when a grant request is requested ... Check that MEO sends a synchronous grant response when a grant request is requested
... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1
...@@ -22,7 +22,7 @@ TP_MEC_MEC010p2_MEO_GRANT_001_OK ...@@ -22,7 +22,7 @@ TP_MEC_MEC010p2_MEO_GRANT_001_OK
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
Check HTTP Response Body Json Schema Is Grant Check HTTP Response Body Json Schema Is Grant
TP_MEC_MEC010p2_MEO_GRANT_001_BR TC_MEC_MEC010p2_MEO_GRANT_001_BR
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_001_BR [Documentation] TP_MEC_MEC010p2_MEO_GRANT_001_BR
... Check that MEO responds with an error when it receives a malformed request when a new grant request is performed ... Check that MEO responds with an error when it receives a malformed request when a new grant request is performed
... ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.2
...@@ -31,7 +31,7 @@ TP_MEC_MEC010p2_MEO_GRANT_001_BR ...@@ -31,7 +31,7 @@ TP_MEC_MEC010p2_MEO_GRANT_001_BR
Create a GRANT request grantBadRequest Create a GRANT request grantBadRequest
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TP_MEC_MEC010p2_MEO_GRANT_002_OK TC_MEC_MEC010p2_MEO_GRANT_002_OK
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_002_OK [Documentation] TP_MEC_MEC010p2_MEO_GRANT_002_OK
... Check that MEO sends a synchronous grant response when a grant request is requested ... Check that MEO sends a synchronous grant response when a grant request is requested
... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1
...@@ -40,22 +40,12 @@ TP_MEC_MEC010p2_MEO_GRANT_002_OK ...@@ -40,22 +40,12 @@ TP_MEC_MEC010p2_MEO_GRANT_002_OK
[Tags] PIC_GRANTS_MANAGEMENT INCLUDE_UNDEFINED_SCHEMAS [Tags] PIC_GRANTS_MANAGEMENT INCLUDE_UNDEFINED_SCHEMAS
Create a GRANT request grantRequest2 Create a GRANT request grantRequest2
Check HTTP Response Status Code Is 201 Check HTTP Response Status Code Is 201
Check HTTP Response Header Contains Location
Check HTTP Response Body Json Schema Is Grant Check HTTP Response Body Json Schema Is Grant
#TP_MEC_MEC010p2_MEO_GRANT_002_BR TODO clarify TPs before implementing this TC_MEC_MEC010p2_MEO_GRANT_003_OK
# [Documentation] TP_MEC_MEC010p2_MEO_GRANT_002_BR
# ... Check that MEO responds with an error when it receives a malformed request when a new grant request is performed
# ... ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.2
# ... ETSI GS MEC 010-2 2.2.1, Table 6.2.4.4.2-1 (Grant)
# [Tags] PIC_GRANTS_MANAGEMENT INCLUDE_UNDEFINED_SCHEMAS
# Create a GRANT request grantBadRequest2
# Check HTTP Response Status Code Is 400
TP_MEC_MEC010p2_MEO_GRANT_003_OK
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_003_OK [Documentation] TP_MEC_MEC010p2_MEO_GRANT_003_OK
... Check that MEO sends an asynchronous grant response when a grant request is requested ... Check that MEO sends an asynchronous grant response when a grant request is requested
... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1
...@@ -67,17 +57,9 @@ TP_MEC_MEC010p2_MEO_GRANT_003_OK ...@@ -67,17 +57,9 @@ TP_MEC_MEC010p2_MEO_GRANT_003_OK
Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
##TODO Fix numbering against success case
TP_MEC_MEC010p2_MEO_GRANT_003_NF
[Documentation] TP_MEC_MEO_GRANT_003_NF
... Check that MEO responds with an error when it receives a request for returning a grant referred with a wrong ID
... ETSI GS MEC 010-2 2.2.1, clause 7.6.1.3.2
[Tags] PIC_GRANTS_MANAGEMENT INCLUDE_UNDEFINED_SCHEMAS
Get an individual grant ${NOT_EXISTING_GRANT_ID}
Check HTTP Response Status Code Is 404
TP_MEC_MEC010p2_MEO_GRANT_004_OK
TC_MEC_MEC010p2_MEO_GRANT_004_OK
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_004_OK [Documentation] TP_MEC_MEC010p2_MEO_GRANT_004_OK
... Check that MEO sends an asynchronous grant response when a grant request is requested ... Check that MEO sends an asynchronous grant response when a grant request is requested
... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.5.1.3.1
...@@ -89,7 +71,7 @@ TP_MEC_MEC010p2_MEO_GRANT_004_OK ...@@ -89,7 +71,7 @@ TP_MEC_MEC010p2_MEO_GRANT_004_OK
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
TP_MEC_MEC010p2_MEO_GRANT_005_OK TC_MEC_MEC010p2_MEO_GRANT_005_OK
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_005_OK [Documentation] TP_MEC_MEC010p2_MEO_GRANT_005_OK
... Check that MEO sends the status of a grant request when a query on a granting ID is performed. ... Check that MEO sends the status of a grant request when a query on a granting ID is performed.
... The process of creating the grant is ongoing, no grant is available yet ... The process of creating the grant is ongoing, no grant is available yet
...@@ -100,7 +82,7 @@ TP_MEC_MEC010p2_MEO_GRANT_005_OK ...@@ -100,7 +82,7 @@ TP_MEC_MEC010p2_MEO_GRANT_005_OK
Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
TP_MEC_MEC010p2_MEO_GRANT_006_OK TC_MEC_MEC010p2_MEO_GRANT_006_OK
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_006_OK [Documentation] TP_MEC_MEC010p2_MEO_GRANT_006_OK
... Check that MEO sends the status of a grant request when a query on a granting ID is performed. ... Check that MEO sends the status of a grant request when a query on a granting ID is performed.
... The process of creating the grant is ongoing, no grant is available yet ... The process of creating the grant is ongoing, no grant is available yet
...@@ -112,6 +94,14 @@ TP_MEC_MEC010p2_MEO_GRANT_006_OK ...@@ -112,6 +94,14 @@ TP_MEC_MEC010p2_MEO_GRANT_006_OK
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
Check HTTP Response Body Json Schema Is Grant Check HTTP Response Body Json Schema Is Grant
TC_MEC_MEC010p2_MEO_GRANT_006_NF
[Documentation] TP_MEC_MEC010p2_MEO_GRANT_006_NF
... Check that MEO responds with an error when it receives
... a request for returning a grant referred with a wrong ID
... ETSI GS MEC 010-2 2.1.1, clause 7.5.2.3.2
[Tags] PIC_GRANTS_MANAGEMENT INCLUDE_UNDEFINED_SCHEMAS
Get an individual grant ${NOT_EXISTING_GRANT_ID}
Check HTTP Response Status Code Is 404
......
...@@ -265,7 +265,7 @@ TC_MEC_MEC010p2_MEO_PKGM_011_NF ...@@ -265,7 +265,7 @@ TC_MEC_MEC010p2_MEO_PKGM_011_NF
... ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2", ... ETSI GS MEC 010-2 2.2.1, clause 7.3.6.3.2",
... ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1 ... ETSI GS MEC 010-2 2.2.1, Table 6.2.3.3.2-1
[Tags] PIC_APP_PACKAGE_MANAGEMENT INCLUDE_UNDEFINED_SCHEMAS [Tags] PIC_APP_PACKAGE_MANAGEMENT INCLUDE_UNDEFINED_SCHEMAS
Get an AppD from App Package identified by ${NON_EXISTENT_APP_PKG_ID} Get an AppD from App Package identified by ${NON_EXISTING_APPD_ID}
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
......
...@@ -24,6 +24,7 @@ ${APPD_ID} e0deee2b-6e50-4f33-ab09-8bf0585025d3 ...@@ -24,6 +24,7 @@ ${APPD_ID} e0deee2b-6e50-4f33-ab09-8bf0585025d3
${MALFORMED_FILTER_NAME} operationalStatus ${MALFORMED_FILTER_NAME} operationalStatus
${FILTER_VALUE} NOT_IN_USE ${FILTER_VALUE} NOT_IN_USE
${NON_EXISTENT_APP_PKG_ID} NON_EXISTENT_APP_PKG_ID ${NON_EXISTENT_APP_PKG_ID} NON_EXISTENT_APP_PKG_ID
${NON_EXISTING_APPD_ID} NON_EXISTENT_APPD_ID
${OPERATION_VALUE} DISABLE ${OPERATION_VALUE} DISABLE
${WRONG_OPERATION_VALUE} DISABL ${WRONG_OPERATION_VALUE} DISABL
......
...@@ -10,7 +10,7 @@ Library OperatingSystem ...@@ -10,7 +10,7 @@ Library OperatingSystem
*** Test Cases *** *** Test Cases ***
TP_MEC_MEC010p2_MEPM_LCM_001_OK TC_MEC_MEC010p2_MEPM_LCM_001_OK
[Documentation] TP_MEC_MEC010p2_MEPM_LCM_001_OK [Documentation] TP_MEC_MEC010p2_MEPM_LCM_001_OK
... Check that MEC API provider has created the configuration information in AppD to the MEPM-V ... Check that MEC API provider has created the configuration information in AppD to the MEPM-V
... ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1
...@@ -21,7 +21,7 @@ TP_MEC_MEC010p2_MEPM_LCM_001_OK ...@@ -21,7 +21,7 @@ TP_MEC_MEC010p2_MEPM_LCM_001_OK
Check Response Header contains Location Check Response Header contains Location
TP_MEC_MEC010p2_MEPM_LCM_001_BR TC_MEC_MEC010p2_MEPM_LCM_001_BR
[Documentation] TP_MEC_MEC010p2_MEPM_LCM_001_BR [Documentation] TP_MEC_MEC010p2_MEPM_LCM_001_BR
... Check that MEC API provider sends an error when it receives a malformed request for the configuration information in AppD to the MEPM-V ... Check that MEC API provider sends an error when it receives a malformed request for the configuration information in AppD to the MEPM-V
... ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.7.6.3.1
...@@ -32,7 +32,7 @@ TP_MEC_MEC010p2_MEPM_LCM_001_BR ...@@ -32,7 +32,7 @@ TP_MEC_MEC010p2_MEPM_LCM_001_BR
TP_MEC_MEC010p2_MEPM_LCM_001_NF TC_MEC_MEC010p2_MEPM_LCM_001_NF
[Documentation] TP_MEC_MEC010p2_MEPM_LCM_001_BR [Documentation] TP_MEC_MEC010p2_MEPM_LCM_001_BR
... "Check that MEC API provider sends an error when it receives a request ... "Check that MEC API provider sends an error when it receives a request
... for the configuration information in AppD to the MEPM-V with not valid app instance ID ... for the configuration information in AppD to the MEPM-V with not valid app instance ID
......
...@@ -12,12 +12,12 @@ ${ACCEPTED_CONTENT_TYPE} text/plain ...@@ -12,12 +12,12 @@ ${ACCEPTED_CONTENT_TYPE} text/plain
# Specific variables # Specific variables
${APP_PKG_ID} appPkgId ${APP_PKG_ID} 5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f
${APP_INSTANCE_ID} 5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f ${APP_INSTANCE_ID} 5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f
${APPD_ID} appdId ${APPD_ID} appdId
${NOT_EXISTING_APP_INSTANCE_ID} NOT_EXISTING_APP_INSTANCE_ID ${NOT_EXISTING_APP_INSTANCE_ID} NOT_EXISTING_APP_INSTANCE_ID
${CALLBACK_URI} http://some.url/somepath ${CALLBACK_URI} http://some.url/somepath
${SUBSCRIPTION_ID} 1234782-2c70-4e47-9a4e-0ee3a1a0fabcd ${SUBSCRIPTION_ID} e0deee2b-6e50-4f33-ab09-8bf0585025d3
${MALFORMED_FILTER_NAME} operationalStatus ${MALFORMED_FILTER_NAME} operationalStatus
${FILTER_VALUE} ENABLED ${FILTER_VALUE} ENABLED
${NON_EXISTENT_APP_PKG_ID} NON_EXISTENT_APP_PKG_ID ${NON_EXISTENT_APP_PKG_ID} NON_EXISTENT_APP_PKG_ID
......
...@@ -10,7 +10,7 @@ Library OperatingSystem ...@@ -10,7 +10,7 @@ Library OperatingSystem
*** Test Cases *** *** Test Cases ***
TP_MEC_MEC010p2_MEX_LCM_001_OK TC_MEC_MEC010p2_MEX_LCM_001_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_001_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_001_OK
... Check that MEC API provider creates a new App Package when requested ... Check that MEC API provider creates a new App Package when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.1
...@@ -24,7 +24,7 @@ TP_MEC_MEC010p2_MEX_LCM_001_OK ...@@ -24,7 +24,7 @@ TP_MEC_MEC010p2_MEX_LCM_001_OK
Should Be Equal As Strings ${response['body']['instantiationState']} NOT_INSTANTIATED Should Be Equal As Strings ${response['body']['instantiationState']} NOT_INSTANTIATED
TP_MEC_MEC010p2_MEX_LCM_001_BR TC_MEC_MEC010p2_MEX_LCM_001_BR
[Documentation] TP_MEC_MEC010p2_MEX_LCM_001_BR [Documentation] TP_MEC_MEC010p2_MEX_LCM_001_BR
... Check that MEC API provider sends an error when it receives a malformed request for the creation of a new App Instance ... Check that MEC API provider sends an error when it receives a malformed request for the creation of a new App Instance
... ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.1
...@@ -36,7 +36,7 @@ TP_MEC_MEC010p2_MEX_LCM_001_BR ...@@ -36,7 +36,7 @@ TP_MEC_MEC010p2_MEX_LCM_001_BR
TP_MEC_MEC010p2_MEX_LCM_002_OK TC_MEC_MEC010p2_MEX_LCM_002_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_002_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_002_OK
... Check that MEC API provider retrieves the list of App instances when requested ... Check that MEC API provider retrieves the list of App instances when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.1.3.2
...@@ -54,7 +54,7 @@ TP_MEC_MEC010p2_MEX_LCM_002_OK ...@@ -54,7 +54,7 @@ TP_MEC_MEC010p2_MEX_LCM_002_OK
TP_MEC_MEC010p2_MEX_LCM_003_OK TC_MEC_MEC010p2_MEX_LCM_003_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_003_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_003_OK
... Check that MEC API provider retrieves an App Package when requested ... Check that MEC API provider retrieves an App Package when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.2
...@@ -66,21 +66,21 @@ TP_MEC_MEC010p2_MEX_LCM_003_OK ...@@ -66,21 +66,21 @@ TP_MEC_MEC010p2_MEX_LCM_003_OK
Should Be Equal As Strings ${response['body']['id']} ${APP_INSTANCE_ID} Should Be Equal As Strings ${response['body']['id']} ${APP_INSTANCE_ID}
TP_MEC_MEC010p2_MEX_LCM_003_NF TC_MEC_MEC010p2_MEX_LCM_003_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_003_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_003_NF
... Check that MEC API provider fails on deletion of an App Instance when requested using wrong appInstanceId ... Check that MEC API provider fails on deletion of an App Instance when requested using wrong appInstanceId
... ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1 #AppInstanceInfo ... ETSI GS MEC 010-2 2.2.1, Table 6.2.2.4.2-1 #AppInstanceInfo
GET APP Instance ${NOT_EXISTING_APP_INSTANCE_ID} GET APP Instance ${NOT_EXISTING_APP_INSTANCE_ID}
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TP_MEC_MEC010p2_MEX_LCM_004_OK TC_MEC_MEC010p2_MEX_LCM_004_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_003_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_003_OK
... Check that MEC API provider service deletes an App Instance when requested ... Check that MEC API provider service deletes an App Instance when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.4 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.4
Delete APP Instance ${APP_INSTANCE_ID} Delete APP Instance ${APP_INSTANCE_ID}
Check HTTP Response Status Code Is 204 Check HTTP Response Status Code Is 204
TP_MEC_MEC010p2_MEX_LCM_004_NF TC_MEC_MEC010p2_MEX_LCM_004_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_004_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_004_NF
... Check that MEC API provider fails on deletion of an App Instance when requested using wrong appInstanceId ... Check that MEC API provider fails on deletion of an App Instance when requested using wrong appInstanceId
... ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.4 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.2.3.4
...@@ -88,9 +88,7 @@ TP_MEC_MEC010p2_MEX_LCM_004_NF ...@@ -88,9 +88,7 @@ TP_MEC_MEC010p2_MEX_LCM_004_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TC_MEC_MEC010p2_MEX_LCM_005_OK
TP_MEC_MEC010p2_MEX_LCM_005_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_005_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_005_OK
... Check that MEC API provider service instantiates an App Instance when requested ... Check that MEC API provider service instantiates an App Instance when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1
...@@ -99,7 +97,7 @@ TP_MEC_MEC010p2_MEX_LCM_005_OK ...@@ -99,7 +97,7 @@ TP_MEC_MEC010p2_MEX_LCM_005_OK
Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
TP_MEC_MEC010p2_MEX_LCM_005_BR TC_MEC_MEC010p2_MEX_LCM_005_BR
[Documentation] TP_MEC_MEC010p2_MEX_LCM_005_BR [Documentation] TP_MEC_MEC010p2_MEX_LCM_005_BR
... Check that MEC API provider service fails to instantiate an App Instance when it receives a malformed request ... Check that MEC API provider service fails to instantiate an App Instance when it receives a malformed request
... ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1
...@@ -109,7 +107,7 @@ TP_MEC_MEC010p2_MEX_LCM_005_BR ...@@ -109,7 +107,7 @@ TP_MEC_MEC010p2_MEX_LCM_005_BR
TP_MEC_MEC010p2_MEX_LCM_005_NF TC_MEC_MEC010p2_MEX_LCM_005_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_005_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_005_NF
... Check that MEC API provider service fails to instantiate an App Instance when it receives a request related to a not existing App Instance ... Check that MEC API provider service fails to instantiate an App Instance when it receives a request related to a not existing App Instance
... ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.6.3.1
...@@ -119,7 +117,7 @@ TP_MEC_MEC010p2_MEX_LCM_005_NF ...@@ -119,7 +117,7 @@ TP_MEC_MEC010p2_MEX_LCM_005_NF
TP_MEC_MEC010p2_MEX_LCM_006_OK TC_MEC_MEC010p2_MEX_LCM_006_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_006_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_006_OK
... Check that MEC API provider service terminates an App Instance when requested ... Check that MEC API provider service terminates an App Instance when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1
...@@ -128,7 +126,7 @@ TP_MEC_MEC010p2_MEX_LCM_006_OK ...@@ -128,7 +126,7 @@ TP_MEC_MEC010p2_MEX_LCM_006_OK
Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
TP_MEC_MEC010p2_MEX_LCM_006_BR TC_MEC_MEC010p2_MEX_LCM_006_BR
[Documentation] TP_MEC_MEC010p2_MEX_LCM_006_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_006_OK
... Check that MEC API provider service fails to terminate an App Instance when it receives a malformed request ... Check that MEC API provider service fails to terminate an App Instance when it receives a malformed request
... ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1
...@@ -137,7 +135,7 @@ TP_MEC_MEC010p2_MEX_LCM_006_BR ...@@ -137,7 +135,7 @@ TP_MEC_MEC010p2_MEX_LCM_006_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TP_MEC_MEC010p2_MEX_LCM_006_NF TC_MEC_MEC010p2_MEX_LCM_006_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_006_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_006_NF
... Check that MEC API provider service fails to terminate an App Instance when it receives a request related to a not existing App Instance ... Check that MEC API provider service fails to terminate an App Instance when it receives a request related to a not existing App Instance
... ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.7.3.1
...@@ -146,7 +144,7 @@ TP_MEC_MEC010p2_MEX_LCM_006_NF ...@@ -146,7 +144,7 @@ TP_MEC_MEC010p2_MEX_LCM_006_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TP_MEC_MEC010p2_MEX_LCM_007_OK TPC_MEC_MEC010p2_MEX_LCM_007_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_007_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_007_OK
... Check that MEC API provider service changes the status of an App Instance from its INITIAL_STATE to a given FINAL_STATE, when requested. ... Check that MEC API provider service changes the status of an App Instance from its INITIAL_STATE to a given FINAL_STATE, when requested.
... The following combinations INITIAL_STATE - FINAL_STATE are supported: ... The following combinations INITIAL_STATE - FINAL_STATE are supported:
...@@ -159,7 +157,7 @@ TP_MEC_MEC010p2_MEX_LCM_007_OK ...@@ -159,7 +157,7 @@ TP_MEC_MEC010p2_MEX_LCM_007_OK
Check HTTP Response Header Contains Location Check HTTP Response Header Contains Location
TP_MEC_MEC010p2_MEX_LCM_007_BR TC_MEC_MEC010p2_MEX_LCM_007_BR
[Documentation] TP_MEC_MEC010p2_MEX_LCM_007_BR [Documentation] TP_MEC_MEC010p2_MEX_LCM_007_BR
... Check that MEC API provider service fails to operate on an App Instance when it receives a malformed request ... Check that MEC API provider service fails to operate on an App Instance when it receives a malformed request
... ETSI GS MEC 010-2 2.2.1, clause 7.4.8.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.8.3.1
...@@ -167,7 +165,7 @@ TP_MEC_MEC010p2_MEX_LCM_007_BR ...@@ -167,7 +165,7 @@ TP_MEC_MEC010p2_MEX_LCM_007_BR
Operate App Request ${APP_INSTANCE_ID} OperateAppRequestBadRequest Operate App Request ${APP_INSTANCE_ID} OperateAppRequestBadRequest
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TP_MEC_MEC010p2_MEX_LCM_007_NF TC_MEC_MEC010p2_MEX_LCM_007_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_007_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_007_NF
... Check that MEC API provider service fails to change the status of an App Instance when it receives a request related to a not existing App Instance ... Check that MEC API provider service fails to change the status of an App Instance when it receives a request related to a not existing App Instance
... ETSI GS MEC 010-2 2.2.1, clause 7.4.8.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.8.3.1
...@@ -177,7 +175,7 @@ TP_MEC_MEC010p2_MEX_LCM_007_NF ...@@ -177,7 +175,7 @@ TP_MEC_MEC010p2_MEX_LCM_007_NF
TP_MEC_MEC010p2_MEX_LCM_008_OK TC_MEC_MEC010p2_MEX_LCM_008_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_008_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_008_OK
... Check that MEC API provider service retrieves info about LCM Operation Occurrence on App Instances when requested ... Check that MEC API provider service retrieves info about LCM Operation Occurrence on App Instances when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.9.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.9.3.2
...@@ -196,7 +194,7 @@ TP_MEC_MEC010p2_MEX_LCM_008_OK ...@@ -196,7 +194,7 @@ TP_MEC_MEC010p2_MEX_LCM_008_OK
TP_MEC_MEC010p2_MEX_LCM_009_OK TC_MEC_MEC010p2_MEX_LCM_009_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_009_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_009_OK
... Check that MEC API provider service retrieves info about LCM Operation Occurrence on an App Instance when requested ... Check that MEC API provider service retrieves info about LCM Operation Occurrence on an App Instance when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.10.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.10.3.2
...@@ -207,7 +205,7 @@ TP_MEC_MEC010p2_MEX_LCM_009_OK ...@@ -207,7 +205,7 @@ TP_MEC_MEC010p2_MEX_LCM_009_OK
Should Be Equal As Strings ${response}[body][id] ${APP_LCM_OP_OCC_ID} Should Be Equal As Strings ${response}[body][id] ${APP_LCM_OP_OCC_ID}
TP_MEC_MEC010p2_MEX_LCM_009_NF TC_MEC_MEC010p2_MEX_LCM_009_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_009_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_009_NF
... Check that MEC API provider service sends an error when it receives a query for a not existing LCM Operation Occurence ... Check that MEC API provider service sends an error when it receives a query for a not existing LCM Operation Occurence
... ETSI GS MEC 010-2 2.2.1, clause 7.4.10.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.10.3.2
...@@ -218,7 +216,7 @@ TP_MEC_MEC010p2_MEX_LCM_009_NF ...@@ -218,7 +216,7 @@ TP_MEC_MEC010p2_MEX_LCM_009_NF
TP_MEC_MEC010p2_MEX_LCM_010_OK TC_MEC_MEC010p2_MEX_LCM_010_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_010_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_010_OK
... Check that MEC API provider service creates a LCM Subscription when requested, where the subscription request can ... Check that MEC API provider service creates a LCM Subscription when requested, where the subscription request can
... have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription ... have SUBSCRIPTION_TYPE AppInstanceStateChangeSubscription or AppLcmOpOccStateChangeSubscription
...@@ -241,7 +239,7 @@ TP_MEC_MEC010p2_MEX_LCM_010_OK ...@@ -241,7 +239,7 @@ TP_MEC_MEC010p2_MEX_LCM_010_OK
TP_MEC_MEC010p2_MEX_LCM_010_BR TC_MEC_MEC010p2_MEX_LCM_010_BR
[Documentation] TP_MEC_MEC010p2_MEX_LCM_010_BR [Documentation] TP_MEC_MEC010p2_MEX_LCM_010_BR
... Check that MEC API provider service sends an error when it receives a malformed request to create a LCM Subscription ... Check that MEC API provider service sends an error when it receives a malformed request to create a LCM Subscription
... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1, ... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.1,
...@@ -258,7 +256,7 @@ TP_MEC_MEC010p2_MEX_LCM_010_BR ...@@ -258,7 +256,7 @@ TP_MEC_MEC010p2_MEX_LCM_010_BR
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TP_MEC_MEC010p2_MEX_LCM_011_OK TC_MEC_MEC010p2_MEX_LCM_011_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_011_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_011_OK
... Check that MEC API provider service sends the list of LCM Subscriptions when requested ... Check that MEC API provider service sends the list of LCM Subscriptions when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.2, ... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.2,
...@@ -273,14 +271,9 @@ TP_MEC_MEC010p2_MEX_LCM_011_OK ...@@ -273,14 +271,9 @@ TP_MEC_MEC010p2_MEX_LCM_011_OK
Send a request for retrieving all subscriptions Send a request for retrieving all subscriptions
Check HTTP Response Status Code Is 200 Check HTTP Response Status Code Is 200
##In the MEC010p2 v2.1.1 Specification, the response data model is SubscriptionLinkList. Validate Json AppInstanceSubscriptionLinkList.schema.json ${response}[body]
##In the MEC010p2 v2.2.1 Specification, the response data model is AppInstanceSubscriptionLinkList.
##These data models differ only for the subscriptionType attribute.
##Since the OAS v2.2.1 is not available yet, the response data model is not checked yet.
#Validate Json AppInstanceSubscriptionLinkList.schema.json ${response}[body]
TP_MEC_MEC010p2_MEX_LCM_012_OK TC_MEC_MEC010p2_MEX_LCM_012_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_012_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_012_OK
... Check that MEC API provider service sends the information about an existing LCM subscription when requested ... Check that MEC API provider service sends the information about an existing LCM subscription when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.2
...@@ -294,7 +287,7 @@ TP_MEC_MEC010p2_MEX_LCM_012_OK ...@@ -294,7 +287,7 @@ TP_MEC_MEC010p2_MEX_LCM_012_OK
Should Be Equal As Strings ${response['body']['id']} ${SUBSCRIPTION_ID} Should Be Equal As Strings ${response['body']['id']} ${SUBSCRIPTION_ID}
TP_MEC_MEC010p2_MEX_LCM_012_NF TC_MEC_MEC010p2_MEX_LCM_012_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_012_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_012_NF
... Check that MEC API provider service sends an error when it receives a query for a not existing LCM Subscription ... Check that MEC API provider service sends an error when it receives a query for a not existing LCM Subscription
... ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.2 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.4.3.2
...@@ -307,14 +300,15 @@ TP_MEC_MEC010p2_MEX_LCM_012_NF ...@@ -307,14 +300,15 @@ TP_MEC_MEC010p2_MEX_LCM_012_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TP_MEC_MEC010p2_MEX_LCM_013_OK TC_MEC_MEC010p2_MEX_LCM_013_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_013_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_013_OK
... Check that MEC API provider service delete an existing LCM Subscription when requested ... Check that MEC API provider service delete an existing LCM Subscription when requested
... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.4 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.4
Send a request for deleting a subscription ${SUBSCRIPTION_ID} Send a request for deleting a subscription ${SUBSCRIPTION_ID}
Check HTTP Response Status Code Is 204 Check HTTP Response Status Code Is 204
TP_MEC_MEC010p2_MEX_LCM_013_NF
TC_MEC_MEC010p2_MEX_LCM_013_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_013_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_013_NF
... Check that MEC API provider service sends an error when it receives a deletion request for a not existing LCM Subscription ... Check that MEC API provider service sends an error when it receives a deletion request for a not existing LCM Subscription
... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.4 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.3.3.4
...@@ -322,7 +316,7 @@ TP_MEC_MEC010p2_MEX_LCM_013_NF ...@@ -322,7 +316,7 @@ TP_MEC_MEC010p2_MEX_LCM_013_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TP_MEC_MEC010p2_MEX_LCM_014_OK TC_MEC_MEC010p2_MEX_LCM_014_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_014_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_014_OK
... Check that MEC API provider service cancels an on going LCM Operation ... Check that MEC API provider service cancels an on going LCM Operation
... ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", ... ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1",
...@@ -331,7 +325,7 @@ TP_MEC_MEC010p2_MEX_LCM_014_OK ...@@ -331,7 +325,7 @@ TP_MEC_MEC010p2_MEX_LCM_014_OK
Check HTTP Response Status Code Is 202 Check HTTP Response Status Code Is 202
TP_MEC_MEC010p2_MEX_LCM_014_BR TC_MEC_MEC010p2_MEX_LCM_014_BR
[Documentation] TP_MEC_MEC010p2_MEX_LCM_014_BR [Documentation] TP_MEC_MEC010p2_MEX_LCM_014_BR
... Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a malformed request ... Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a malformed request
... ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", ... ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1",
...@@ -339,7 +333,7 @@ TP_MEC_MEC010p2_MEX_LCM_014_BR ...@@ -339,7 +333,7 @@ TP_MEC_MEC010p2_MEX_LCM_014_BR
Cancel on going LCM Operation ${APP_LCM_OP_OCC_ID} CancelModeBadRequest Cancel on going LCM Operation ${APP_LCM_OP_OCC_ID} CancelModeBadRequest
Check HTTP Response Status Code Is 400 Check HTTP Response Status Code Is 400
TP_MEC_MEC010p2_MEX_LCM_014_NF TC_MEC_MEC010p2_MEX_LCM_014_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_014_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_014_NF
... Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a request related to a not existing application LCM Operation ... Check that MEC API provider service fails to cancel an on going LCM Operation when it receives a request related to a not existing application LCM Operation
... ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1", ... ETSI GS MEC 010-2 2.2.1, clause 7.4.11.3.1",
...@@ -349,7 +343,7 @@ TP_MEC_MEC010p2_MEX_LCM_014_NF ...@@ -349,7 +343,7 @@ TP_MEC_MEC010p2_MEX_LCM_014_NF
TP_MEC_MEC010p2_MEX_LCM_015_OK TC_MEC_MEC010p2_MEX_LCM_015_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_015_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_015_OK
... Check that MEC API provider service makes failed an on going LCM Operation ... Check that MEC API provider service makes failed an on going LCM Operation
... ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1
...@@ -358,7 +352,7 @@ TP_MEC_MEC010p2_MEX_LCM_015_OK ...@@ -358,7 +352,7 @@ TP_MEC_MEC010p2_MEX_LCM_015_OK
Check HTTP Response Body Json Schema Is AppLcmOpOcc Check HTTP Response Body Json Schema Is AppLcmOpOcc
TP_MEC_MEC010p2_MEX_LCM_015_NF TC_MEC_MEC010p2_MEX_LCM_015_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_015_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_015_NF
... Check that MEC API provider service makes failed an on going LCM Operation ... Check that MEC API provider service makes failed an on going LCM Operation
... ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.12.3.1
...@@ -366,7 +360,7 @@ TP_MEC_MEC010p2_MEX_LCM_015_NF ...@@ -366,7 +360,7 @@ TP_MEC_MEC010p2_MEX_LCM_015_NF
Check HTTP Response Status Code Is 404 Check HTTP Response Status Code Is 404
TP_MEC_MEC010p2_MEX_LCM_016_OK TC_MEC_MEC010p2_MEX_LCM_016_OK
[Documentation] TP_MEC_MEC010p2_MEX_LCM_016_OK [Documentation] TP_MEC_MEC010p2_MEX_LCM_016_OK
... Check that MEC API provider service retries an on going LCM Operation ... Check that MEC API provider service retries an on going LCM Operation
... ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1
...@@ -374,7 +368,7 @@ TP_MEC_MEC010p2_MEX_LCM_016_OK ...@@ -374,7 +368,7 @@ TP_MEC_MEC010p2_MEX_LCM_016_OK
Check HTTP Response Status Code Is 200 Check HTTP Response Status Code Is 200
TP_MEC_MEC010p2_MEX_LCM_016_NF TC_MEC_MEC010p2_MEX_LCM_016_NF
[Documentation] TP_MEC_MEC010p2_MEX_LCM_016_NF [Documentation] TP_MEC_MEC010p2_MEX_LCM_016_NF
... Check that MEC API provider service fails to retry an LCM Operation when it receives a request related to a not existing application LCM Operation ... Check that MEC API provider service fails to retry an LCM Operation when it receives a request related to a not existing application LCM Operation
... ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1 ... ETSI GS MEC 010-2 2.2.1, clause 7.4.13.3.1
......
{
"description": "'The data type represents a subscription link list of notification on application package management'",
"type": "object",
"required": [
"_links"
],
"properties": {
"_links": {
"description": "Links to resources related to this resource.",
"type": "object",
"required": [
"self"
],
"properties": {
"self": {
"properties": {
"href": {
"description": "URI referring to a resource",
"format": "uri",
"type": "string",
"x-etsi-mec-cardinality": "1",
"x-etsi-mec-origin-type": "URI"
}
},
"required": [
"href"
],
"type": "object",
"x-etsi-ref": "6.5.2"
},
"subscriptions": {
"type": "array",
"items": {
"description": "'The data type represents the input parameters of \"subscription operation\" to notification of application package management for the onboarding, or operational state change of application package.'",
"type": "object",
"required": [
"href",
"subsctiptionType"
],
"properties": {
"href": {
"description": "The URI referring to the subscription.",
"type": "string",
"format": "uri"
},
"subsctiptionType": {
"description": "'Subscribed notification type'",
"type": "string",
"enum": [
"AppPackageOnBoardingSubscription",
"AppPacakgeOperationChangeSubscription",
"AppPackageDeletionSubscription"
]
}
}
}
}
}
}
}
}
\ No newline at end of file