From 5f5ddd68f4fd4f9b45e06200b7e55674998117b0 Mon Sep 17 00:00:00 2001
From: piscione <piscione@etsi.org>
Date: Thu, 1 Jun 2023 18:37:16 +0200
Subject: [PATCH] Updated CONFTASK TCs for MEC011 v3.2.1

---
 MEC011/SRV/CONFTASK/PlatConfirmation.robot    | 28 +++++++++----------
 MEC011/SRV/CONFTASK/environment/variables.txt | 24 ++--------------
 2 files changed, 16 insertions(+), 36 deletions(-)

diff --git a/MEC011/SRV/CONFTASK/PlatConfirmation.robot b/MEC011/SRV/CONFTASK/PlatConfirmation.robot
index f4edb9a..de6f139 100644
--- a/MEC011/SRV/CONFTASK/PlatConfirmation.robot
+++ b/MEC011/SRV/CONFTASK/PlatConfirmation.robot
@@ -21,9 +21,9 @@ TP_MEC_MEC011_SRV_CONFTASK_001_OK
     ...    Check that the IUT responds that it has completed 
     ...    the application level termination
     ...
-    ...    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
-
+    ...    Reference   "ETSI GS MEC 011 3.2.1, clause 5.2.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.1.4.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4"
     [Tags]    PIC_MEC_PLAT    PIC_SERVICES
     Request termination of MEC Application    ${APP_INSTANCE_ID}    AppTerminationConfirmation
     Check HTTP Response Status Code Is    204
@@ -34,11 +34,11 @@ TP_MEC_MEC011_SRV_CONFTASK_001_NF
     ...    Check that the IUT responds with an error
     ...    when requested graceful termination/stop of an unknown MEC Application instance
     ...
-    ...    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
-
+    ...    Reference   "ETSI GS MEC 011 3.2.1, clause 5.2.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.1.4.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4"
     [Tags]    PIC_MEC_PLAT    PIC_SERVICES
-    Request termination of MEC Application    ${NON_ESISTENT_APP_INSTANCE_ID}    AppTerminationConfirmation
+    Request termination of MEC Application    ${NON_EXISTING_APP_INSTANCE_ID}    AppTerminationConfirmation
     Check HTTP Response Status Code Is    404
     
 
@@ -49,9 +49,9 @@ TP_MEC_MEC011_SRV_CONFTASK_002_OK
     ...    Check that the IUT responds with an acknowledge
     ...    when requested readiness status for a MEC Application instance
     ...
-    ...    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
-
+    ...    Reference   "ETSI GS MEC 011 3.2.1, clause 5.2.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.1.4.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4"
     [Tags]    PIC_MEC_PLAT    PIC_SERVICES
     Request readiness status of MEC Application    ${APP_INSTANCE_ID}    AppReadyConfirmation
     Check HTTP Response Status Code Is    204
@@ -62,11 +62,11 @@ TP_MEC_MEC011_SRV_CONFTASK_002_NF
     ...    Check that the IUT responds with an error
     ...    when requested readiness status for an unknown MEC Application instance
     ...
-    ...    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
-
+    ...    Reference   "ETSI GS MEC 011 3.2.1, clause 5.2.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.1.4.3",
+    ...    "ETSI GS MEC 011 3.2.1, clause 7.2.11.3.4"
     [Tags]    PIC_MEC_PLAT    PIC_SERVICES
-    Request readiness status of MEC Application    ${NON_ESISTENT_APP_INSTANCE_ID}   AppReadyConfirmation
+    Request readiness status of MEC Application    ${NON_EXISTING_APP_INSTANCE_ID}   AppReadyConfirmation
     Check HTTP Response Status Code Is    404
 
 
diff --git a/MEC011/SRV/CONFTASK/environment/variables.txt b/MEC011/SRV/CONFTASK/environment/variables.txt
index 81a8328..cd46f8a 100644
--- a/MEC011/SRV/CONFTASK/environment/variables.txt
+++ b/MEC011/SRV/CONFTASK/environment/variables.txt
@@ -7,28 +7,8 @@ ${response}                         {}
 ${TOKEN}                            Basic YWxhZGRpbjpvcGVuc2VzYW1l
 ${apiRoot}        
 ${apiName}        mec_app_support
-${apiVersion}     v1
+${apiVersion}     v2
 
 # Specific variables
 ${APP_INSTANCE_ID}                       5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f
-${NON_ESISTENT_APP_INSTANCE_ID}            NON_ESISTENT_APP_INSTANCE_ID
-# ${DNS_RULE_ID}                           e0deee2b-6e50-4f33-ab09-8bf0585025d3
-# ${NON_ESISTENT_DNS_RULE_ID}              NON_ESISTENT_DNS_RULE_ID
-# ${INVALID_ETAG}                     INVALID_ETAG
-
-# ${SOME_IP_ADDRESS}                   146.241.7.3
-
-# ${SUBSCRIPTION_TYPE}                MobilityProcedureSubscription
-# ${SUBSCRIPTION_ID}                  e0deee2b-6e50-4f33-ab09-8bf0585025d3
-# ${NON_EXISTENT_SUBSCRIPTION_ID}     NON_EXISTENT_SUBSCRIPTION_ID
-# ${NON_EXISTENT_APP_MOBILITY_SERVICE_ID}     NON_EXISTENT_APP_MOBILITY_SERVICE_ID
-
-# # Notifications variables
-# ${MOCK_SERVER_JAR}    ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
-
-# ${callback_port}    9091
-# ${callback_uri}    http://172.22.1.7:${callback_port}
-# ${callback_endpoint}    /amsi/subscriptions
-# ${callback_endpoint_error}    /subs_404
-# ${total_polling_time}   2 min
-# ${polling_interval}     10 sec
\ No newline at end of file
+${NON_EXISTING_APP_INSTANCE_ID}            NON_EXISTING_APP_INSTANCE_ID
\ No newline at end of file
-- 
GitLab