From 1d256c261569b38e8b0829b74d7fd539a7e76b8e Mon Sep 17 00:00:00 2001 From: piscione Date: Mon, 27 May 2024 15:45:45 +0200 Subject: [PATCH] Minor fixes on some missing env variable missing. --- MEC011/SRV/MLS/environment/variables.txt | 2 ++ MEC011/SRV/TRAF/environment/variables.txt | 1 + MEC011/SRV/TRAF/jsons/TrafficRuleUpdate.json | 2 +- MEC012/SRV/RNIS/resources/RadioNetworkInformationAPI.robot | 4 ++-- MEC014/SRV/UETAG/environment/variables.txt | 2 +- MEC015/SRV/MTS/environment/variables.txt | 5 +++-- MEC015/SRV/TM/environment/variables.txt | 2 +- 7 files changed, 11 insertions(+), 7 deletions(-) diff --git a/MEC011/SRV/MLS/environment/variables.txt b/MEC011/SRV/MLS/environment/variables.txt index 53aa16a..be8a168 100644 --- a/MEC011/SRV/MLS/environment/variables.txt +++ b/MEC011/SRV/MLS/environment/variables.txt @@ -10,6 +10,8 @@ ${apiRoot} # Specific variables ${URL_SERVICE_MEC_LIVENESS} /link/to/individual/mecServiceLiveness ${NOT_EXISTING_URL_SERVICE_MEC_LIVENESS} /not_existing_link/to/individual/mecServiceLiveness +${URL_SERVICE_MEC_LIVENESS} link/to/individual/mecServiceLiveness +${LIVENESS_URI} link/to/individual/mecServiceLiveness #Variables for test setups and teardowns diff --git a/MEC011/SRV/TRAF/environment/variables.txt b/MEC011/SRV/TRAF/environment/variables.txt index 4519014..b9bf9ee 100644 --- a/MEC011/SRV/TRAF/environment/variables.txt +++ b/MEC011/SRV/TRAF/environment/variables.txt @@ -17,6 +17,7 @@ ${NON_EXISTENT_TRAFFIC_RULE_ID} NON_EXISTENT_TRAFFIC_RULE_ID ${INVALID_ETAG} INVALID_ETAG ##Registration App variables +${SCHEMA_REGAPP} http ${HOST_REGAPP} 127.0.0.1 ${PORT_REGAPP} 8082 ${apiRoot_REGAPP} diff --git a/MEC011/SRV/TRAF/jsons/TrafficRuleUpdate.json b/MEC011/SRV/TRAF/jsons/TrafficRuleUpdate.json index 1068a47..c7fd6b1 100644 --- a/MEC011/SRV/TRAF/jsons/TrafficRuleUpdate.json +++ b/MEC011/SRV/TRAF/jsons/TrafficRuleUpdate.json @@ -1,5 +1,5 @@ { - "trafficRuleId": "traffic_rule_01", + "trafficRuleId": "e0deee2b-6e50-4f33-ab09-8bf0585025d3", "filterType": "FLOW", "priority": 1, "trafficFilter": [ diff --git a/MEC012/SRV/RNIS/resources/RadioNetworkInformationAPI.robot b/MEC012/SRV/RNIS/resources/RadioNetworkInformationAPI.robot index 47a3eb3..fe7edad 100644 --- a/MEC012/SRV/RNIS/resources/RadioNetworkInformationAPI.robot +++ b/MEC012/SRV/RNIS/resources/RadioNetworkInformationAPI.robot @@ -44,5 +44,5 @@ Check S1BearerInfo Check L2MeasInfo [Arguments] ${received_value} log ${received_value} - #Should Be Equal As Strings ${received_value['cellInfo'][0]['ecgi'][0]['cellId']} ${CELL_ID} - Should Be Equal As Strings ${received_value['cellInfo'][0]['ecgi']['cellId']} ${CELL_ID} + Should Be Equal As Strings ${received_value['cellInfo'][0]['ecgi'][0]['cellId']} ${CELL_ID} + #Should Be Equal As Strings ${received_value['cellInfo'][0]['ecgi']['cellId']} ${CELL_ID} diff --git a/MEC014/SRV/UETAG/environment/variables.txt b/MEC014/SRV/UETAG/environment/variables.txt index 8230688..0d7dbf7 100644 --- a/MEC014/SRV/UETAG/environment/variables.txt +++ b/MEC014/SRV/UETAG/environment/variables.txt @@ -9,7 +9,7 @@ ${apiName} ui ${apiVersion} v1 ${ZONE_ID} zone01 -${APP_INSTANCE_ID} +${APP_INSTANCE_ID} app-inst-id ${NON_EXISTENT_APP_INSTANCE_ID} NON_EXISTENT_APP_INSTANCE_ID ${UE_IDENTITY_TAG} UeIdentityTag ${UE_IDENTITY_TAG_INVALID_STATE} UeTagC diff --git a/MEC015/SRV/MTS/environment/variables.txt b/MEC015/SRV/MTS/environment/variables.txt index b585dd8..7dd119b 100644 --- a/MEC015/SRV/MTS/environment/variables.txt +++ b/MEC015/SRV/MTS/environment/variables.txt @@ -10,12 +10,13 @@ ${apiName} mts ${apiVersion} v1 # Specific variables -${APP_INSTANCE_ID} appInstId01 +${APP_NAME} app_name +${APP_INSTANCE_ID} 5abe4782-2c70-4e47-9a4e-0ee3a1a0fd1f ${NOT_EXISTING_APP_INSTANCE_ID} NOT_EXISTING_APP_INS_ID ${CORRECT_FILTER} app_instance_id ${APP_NAME_FILTER} APP_NAME ${BAD_FILTER} appInsId - +${SESSION_ID_FILTER} session_id ${SESSION_ID} 1 ${WRONG_SESSION_ID} WRONG_SESSION_ID ${NOT_EXISTING_SESSION_ID} NOT_EXISTING_SESSION_ID diff --git a/MEC015/SRV/TM/environment/variables.txt b/MEC015/SRV/TM/environment/variables.txt index fd3aab1..8807f2c 100644 --- a/MEC015/SRV/TM/environment/variables.txt +++ b/MEC015/SRV/TM/environment/variables.txt @@ -25,7 +25,7 @@ ${NON_EXISTENT_APP_NAME} NON_EXISTENT_APP_NAME ${SESSION_ID_FILTER} session_id ${NON_EXISTENT_SESSION_ID} NON_EXISTENT_SESSION_ID - +${SESSION_ID} 5 ${FIXED_ALLOCATION} 32 ${ALLOCATION_DIRECTION} 00 -- GitLab