*** Variables *** *** Variables ***
# Generic variables # Generic variables
${SCHEMA} http ${SCHEMA} http
${HOST} 10.192.2.172 ${HOST} 127.0.0.1
${PORT} 8081 ${PORT} 8081
${response} {} ${response} {}
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l ${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
......
This diff is collapsed.
*** Variables *** *** Variables ***
# Generic variables # Generic variables
${SCHEMA} http ${SCHEMA} http
${HOST} 10.192.2.172 ${HOST} 127.0.0.1
${PORT} 8081 ${PORT} 8081
${response} {} ${response} {}
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l ${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Documentation Documentation
... A test suite for validating DNS rules (DNS) operations. ... A test suite for validating DNS rules (DNS) operations.
Resource ../../GenericKeywords.robot Resource ../../../GenericKeywords.robot
Resource environment/variables.txt Resource environment/variables.txt
Library REST ${SCHEMA}://${HOST}:${PORT} ssl_verify=false Library REST ${SCHEMA}://${HOST}:${PORT} ssl_verify=false
Library OperatingSystem Library OperatingSystem
...@@ -16,12 +16,12 @@ Default Tags TC_MEC_SRV_CONF ...@@ -16,12 +16,12 @@ Default Tags TC_MEC_SRV_CONF
*** Test Cases *** *** Test Cases ***
TC_MEC_SRV_CONF_001_OK TP_MEC_MEC011_SRV_CONFTASK_001_OK
[Documentation] [Documentation]
... Check that the IUT responds with an acknowledge ... Check that the IUT responds that it has completed
... when requested graceful termination/stop of a MEC Application instance ... the application level termination
... ...
... Reference ETSI GS MEC 011 V2.1.1, clause 7.2.11.3.4 ... Reference ETSI GS MEC 011 V2.2.1, clause 7.2.11.3.4
... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppTerminationConfirmation ... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppTerminationConfirmation
[Tags] PIC_MEC_PLAT PIC_SERVICES [Tags] PIC_MEC_PLAT PIC_SERVICES
...@@ -29,12 +29,12 @@ TC_MEC_SRV_CONF_001_OK ...@@ -29,12 +29,12 @@ TC_MEC_SRV_CONF_001_OK
Check HTTP Response Status Code Is 204 Check HTTP Response Status Code Is 204
TC_MEC_SRV_CONF_001_NF TP_MEC_MEC011_SRV_CONFTASK_001_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error ... Check that the IUT responds with an error
... when requested graceful termination/stop of an unknown MEC Application instance ... when requested graceful termination/stop of an unknown MEC Application instance
... ...
... Reference ETSI GS MEC 011 V2.1.1, clause 7.2.11.3.4 ... Reference ETSI GS MEC 011 V2.2.1, clause 7.2.11.3.4
... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppTerminationConfirmation ... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppTerminationConfirmation
[Tags] PIC_MEC_PLAT PIC_SERVICES [Tags] PIC_MEC_PLAT PIC_SERVICES
...@@ -44,12 +44,12 @@ TC_MEC_SRV_CONF_001_NF ...@@ -44,12 +44,12 @@ TC_MEC_SRV_CONF_001_NF
TC_MEC_SRV_CONF_002_OK TP_MEC_MEC011_SRV_CONFTASK_002_OK
[Documentation] [Documentation]
... Check that the IUT responds with an acknowledge ... Check that the IUT responds with an acknowledge
... when requested readiness status for a MEC Application instance ... when requested readiness status for a MEC Application instance
... ...
... Reference ETSI GS MEC 011 V2.1.1, clause 7.2.12.3.4 ... Reference ETSI GS MEC 011 V2.2.1, clause 7.2.12.3.4
... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppReadyConfirmation ... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppReadyConfirmation
[Tags] PIC_MEC_PLAT PIC_SERVICES [Tags] PIC_MEC_PLAT PIC_SERVICES
...@@ -57,12 +57,12 @@ TC_MEC_SRV_CONF_002_OK ...@@ -57,12 +57,12 @@ TC_MEC_SRV_CONF_002_OK
Check HTTP Response Status Code Is 204 Check HTTP Response Status Code Is 204
TC_MEC_SRV_CONF_002_NF TP_MEC_MEC011_SRV_CONFTASK_002_NF
[Documentation] [Documentation]
... Check that the IUT responds with an error ... Check that the IUT responds with an error
... when requested readiness status for an unknown MEC Application instance ... when requested readiness status for an unknown MEC Application instance
... ...
... Reference ETSI GS MEC 011 V2.1.1, clause 7.2.12.3.4 ... Reference ETSI GS MEC 011 V2.2.1, clause 7.2.12.3.4
... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppReadyConfirmation ... OpenAPI https://forge.etsi.org/rep/mec/gs011-app-enablement-api/blob/master/MecAppSupportApi.yaml#/definitions/AppReadyConfirmation
[Tags] PIC_MEC_PLAT PIC_SERVICES [Tags] PIC_MEC_PLAT PIC_SERVICES
...@@ -78,7 +78,7 @@ Request termination of MEC Application ...@@ -78,7 +78,7 @@ Request termination of MEC Application
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
${file}= Catenate SEPARATOR= jsons/ ${content} .json ${file}= Catenate SEPARATOR= jsons/ ${content} .json
${body}= Get File ${file} ${body}= Get File ${file}
PUT ${apiRoot}/${apiName}/${apiVersion}/applications/${appInstanceId}/confirm_termination ${body} POST ${apiRoot}/${apiName}/${apiVersion}/applications/${appInstanceId}/confirm_termination ${body}
${output}= Output response ${output}= Output response
Set Suite Variable ${response} ${output} Set Suite Variable ${response} ${output}
...@@ -90,6 +90,6 @@ Request readiness status of MEC Application ...@@ -90,6 +90,6 @@ Request readiness status of MEC Application
Set Headers {"Authorization":"${TOKEN}"} Set Headers {"Authorization":"${TOKEN}"}
${file}= Catenate SEPARATOR= jsons/ ${content} .json ${file}= Catenate SEPARATOR= jsons/ ${content} .json
${body}= Get File ${file} ${body}= Get File ${file}
PUT ${apiRoot}/${apiName}/${apiVersion}/applications/${appInstanceId}/confirm_ready ${body} POST ${apiRoot}/${apiName}/${apiVersion}/applications/${appInstanceId}/confirm_ready ${body}
${output}= Output response ${output}= Output response
Set Suite Variable ${response} ${output} Set Suite Variable ${response} ${output}
*** Variables *** *** Variables ***
# Generic variables # Generic variables
${SCHEMA} http ${SCHEMA} http
${HOST} 10.192.2.172 ${HOST} 127.0.0.1
${PORT} 8081 ${PORT} 8081
${response} {} ${response} {}
${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l ${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l
......