From 14a641989ffa66a88cee20db2064cfd2a291e13c Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 3 Jun 2024 16:56:42 +0200 Subject: [PATCH] Removed useless files. --- MEC014/SRV/UETAG/PlatUeIdentity.robot | 3 +- MEC014/SRV/UETAG/resources/LocationAPI.robot | 12 -------- .../SRV/UETAG/resources/UEidentityAPI.robot | 28 ------------------- 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 MEC014/SRV/UETAG/resources/LocationAPI.robot delete mode 100644 MEC014/SRV/UETAG/resources/UEidentityAPI.robot diff --git a/MEC014/SRV/UETAG/PlatUeIdentity.robot b/MEC014/SRV/UETAG/PlatUeIdentity.robot index 5a1de92..d7b7f0e 100644 --- a/MEC014/SRV/UETAG/PlatUeIdentity.robot +++ b/MEC014/SRV/UETAG/PlatUeIdentity.robot @@ -5,7 +5,6 @@ Resource environment/variables.txt Resource ../../../pics.txt Resource ../../../GenericKeywords.robot -Resource resources/UEidentityAPI.robot Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false @@ -97,7 +96,7 @@ TC_MEC_MEC014_SRV_UETAG_002_NF [Documentation] Register an UE Identity Tag using invalid state ... Check that the IUT responds with an error when an unauthorised request is sent by a MEC Application ... Reference ETSI GS MEC 014 3.1.1, clause 7.3.3.2 - [Setup] Delete APP Instance ${NON_EXISTENT_APP_INSTANCE_ID} + #[Setup] Delete APP Instance ${NON_EXISTENT_APP_INSTANCE_ID} Update an UE Identity Tag ${NON_EXISTENT_APP_INSTANCE_ID} IdentityTag Check HTTP Response Status Code Is 404 diff --git a/MEC014/SRV/UETAG/resources/LocationAPI.robot b/MEC014/SRV/UETAG/resources/LocationAPI.robot deleted file mode 100644 index 012566b..0000000 --- a/MEC014/SRV/UETAG/resources/LocationAPI.robot +++ /dev/null @@ -1,12 +0,0 @@ -*** Settings *** -Resource ../environment/variables.txt -Resource LocationAPI.robot -#Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false -Library JSONSchemaLibrary schemas/ - -*** Keywords *** -Check Location - [Arguments] ${value} - Log Check Location for userInfo element - Should be Equal ${response['body']['userInfo']['zoneId']} ${value} - Log Location OK diff --git a/MEC014/SRV/UETAG/resources/UEidentityAPI.robot b/MEC014/SRV/UETAG/resources/UEidentityAPI.robot deleted file mode 100644 index 1cb3e49..0000000 --- a/MEC014/SRV/UETAG/resources/UEidentityAPI.robot +++ /dev/null @@ -1,28 +0,0 @@ -*** Settings *** -Resource ../environment/variables.txt -Resource ../../../../pics.txt -Resource ../../../../GenericKeywords.robot -Library REST ${MEC-APP_SCHEMA}://${MEC-APP_HOST}:${MEC-APP_PORT} ssl_verify=false -Library JSONSchemaLibrary schemas/ - - -*** Keywords *** -Check User Identity Tag state - [Arguments] ${ue_identity_tag} ${state} - Should Be True ${PIC_MEC_PLAT} 1 - Should Be True ${PIC_SERVICES} 1 - Log Check ueIdentityTag state ${state} - Set Headers {"Accept":"application/json"} - Set Headers {"Content-Type":"application/json"} - Set Headers {"Authorization":"${TOKEN}"} - Set Headers {"Content-Length":"0"} - Get /exampleAPI/ui/v1/${APP_INSTANCE_ID}/ue_identity_tag_info?ueIdentityTag=${ue_identity_tag} - ${output}= Output response - Set Suite Variable ${response} ${output} - Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is ueIdentityTagInfo - #Log Check ueIdentityTagsList for ${UE_IDENTITY_TAG} element - ${result}= Should Be Present In Json List ${response['body']['ueIdentityTagInfo']['ueIdentityTags']} ueIdentityTag ${UE_IDENTITY_TAG} - #Log ${UE_IDENTITY_TAG} found with state ${result} - Should Be Equal ${result}[state] ${state} - [return] ${state} -- GitLab