From 01c22ffff51d391effc0969439813747783bfded Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 13 May 2024 09:23:18 +0200 Subject: [PATCH] Removed ZOINFOLOOK dir becausenot available in the MEC013 TPs dir list. --- .../SRV/ZOINFOLOOK/PlatZoneInfoLocation.robot | 63 ------------------- MEC013/SRV/ZOINFOLOOK/README.md | 0 .../SRV/ZOINFOLOOK/environment/variables.txt | 14 ----- .../ZOINFOLOOK/schemas/ZoneInfo.schema.json | 48 -------------- .../ZOINFOLOOK/schemas/ZoneList.schema.json | 48 -------------- 5 files changed, 173 deletions(-) delete mode 100644 MEC013/SRV/ZOINFOLOOK/PlatZoneInfoLocation.robot delete mode 100644 MEC013/SRV/ZOINFOLOOK/README.md delete mode 100644 MEC013/SRV/ZOINFOLOOK/environment/variables.txt delete mode 100644 MEC013/SRV/ZOINFOLOOK/schemas/ZoneInfo.schema.json delete mode 100644 MEC013/SRV/ZOINFOLOOK/schemas/ZoneList.schema.json diff --git a/MEC013/SRV/ZOINFOLOOK/PlatZoneInfoLocation.robot b/MEC013/SRV/ZOINFOLOOK/PlatZoneInfoLocation.robot deleted file mode 100644 index df20a25..0000000 --- a/MEC013/SRV/ZOINFOLOOK/PlatZoneInfoLocation.robot +++ /dev/null @@ -1,63 +0,0 @@ -*** Settings *** - -Documentation -... A test suite for validating Radio Node Location Lookup (RLOCLOOK) operations. - -Resource ../../../GenericKeywords.robot -Resource ../../../pics.txt -Resource environment/variables.txt -Library REST ${SCHEMA}://${HOST}:${PORT} ssl_verify=false -Library OperatingSystem - -Default Tags TC_MEC_SRV_RLOCLOOK - - -*** Test Cases *** - -TC_MEC_MEC013_SRV_ZOINFOLOOK_001_OK - [Documentation] - ... TO BE COMPLETED - - [Tags] PIC_MEC_PLAT PIC_SERVICES INCLUDE_UNDEFINED_SCHEMAS - Get the zones info location list - Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is ZoneList - - -TC_MEC_MEC013_SRV_ZOINFOLOOK_002_OK - [Documentation] - ... TO BE CMPLETED - - [Tags] PIC_MEC_PLAT PIC_SERVICES - Get the zone info location ${ZONE_ID} - Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is ZoneInfo - Should Be Equal As Strings ${response['body']['zoneInfo']['zoneId']} ${ZONE_ID} - -TC_MEC_MEC013_SRV_ZOINFOLOOK_002_NF - [Documentation] - ... TO BE CMPLETED - - [Tags] PIC_MEC_PLAT PIC_SERVICES - Get the zone info location ${NON_EXISTENT_ZONE_ID} - Check HTTP Response Status Code Is 404 - -*** Keywords *** -Get the zone info location - [Arguments] ${zoneId} - Set Headers {"Accept":"application/json"} - Set Headers {"Authorization":"${TOKEN}"} - Get ${apiRoot}/${apiName}/${apiVersion}/queries/zones/${zoneId} - ${output}= Output response - Set Suite Variable ${response} ${output} - - -Get the zones info location list - Set Headers {"Accept":"application/json"} - Set Headers {"Authorization":"${TOKEN}"} - Get ${apiRoot}/${apiName}/${apiVersion}/queries/zones - ${output}= Output response - Set Suite Variable ${response} ${output} - - - diff --git a/MEC013/SRV/ZOINFOLOOK/README.md b/MEC013/SRV/ZOINFOLOOK/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/MEC013/SRV/ZOINFOLOOK/environment/variables.txt b/MEC013/SRV/ZOINFOLOOK/environment/variables.txt deleted file mode 100644 index a9bf262..0000000 --- a/MEC013/SRV/ZOINFOLOOK/environment/variables.txt +++ /dev/null @@ -1,14 +0,0 @@ -*** Variables *** -# Generic variables -${SCHEMA} http -${HOST} 10.192.2.172 -${PORT} 8081 -${response} {} -${TOKEN} Basic YWxhZGRpbjpvcGVuc2VzYW1l -${apiRoot} -${apiName} location -${apiVersion} v2 - -# Specific variables -${ZONE_ID} 5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f -${NON_EXISTENT_ZONE_ID} NON_EXISTENT_ZONE_ID diff --git a/MEC013/SRV/ZOINFOLOOK/schemas/ZoneInfo.schema.json b/MEC013/SRV/ZOINFOLOOK/schemas/ZoneInfo.schema.json deleted file mode 100644 index b39dd2d..0000000 --- a/MEC013/SRV/ZOINFOLOOK/schemas/ZoneInfo.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "type": "object", - "properties": { - "zoneInfo": { - "description": "A type containing zone information.", - "properties": { - "numberOfAccessPoints": { - "description": "The number of access points within the zone", - "type": "integer", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "unsignedInt" - }, - "numberOfUnserviceableAccessPoints": { - "description": "Number of inoperable access points within the zone.", - "type": "integer", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "unsignedInt" - }, - "numberOfUsers": { - "description": "The number of users currently on the access point.", - "type": "integer", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "unsignedInt" - }, - "resourceURL": { - "description": "Self referring URL", - "type": "string", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "anyURI" - }, - "zoneId": { - "description": "Identifier of zone", - "type": "string", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "string" - } - }, - "required": [ - "zoneId", - "numberOfAccessPoints", - "numberOfUnserviceableAccessPoints", - "numberOfUsers", - "resourceURL" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/MEC013/SRV/ZOINFOLOOK/schemas/ZoneList.schema.json b/MEC013/SRV/ZOINFOLOOK/schemas/ZoneList.schema.json deleted file mode 100644 index b39dd2d..0000000 --- a/MEC013/SRV/ZOINFOLOOK/schemas/ZoneList.schema.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "type": "object", - "properties": { - "zoneInfo": { - "description": "A type containing zone information.", - "properties": { - "numberOfAccessPoints": { - "description": "The number of access points within the zone", - "type": "integer", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "unsignedInt" - }, - "numberOfUnserviceableAccessPoints": { - "description": "Number of inoperable access points within the zone.", - "type": "integer", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "unsignedInt" - }, - "numberOfUsers": { - "description": "The number of users currently on the access point.", - "type": "integer", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "unsignedInt" - }, - "resourceURL": { - "description": "Self referring URL", - "type": "string", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "anyURI" - }, - "zoneId": { - "description": "Identifier of zone", - "type": "string", - "x-etsi-mec-cardinality": 1, - "x-etsi-mec-origin-type": "string" - } - }, - "required": [ - "zoneId", - "numberOfAccessPoints", - "numberOfUnserviceableAccessPoints", - "numberOfUsers", - "resourceURL" - ], - "type": "object" - } - } -} \ No newline at end of file -- GitLab