From e546f7efd8cc3ad48a6a118293ea153391223fa8 Mon Sep 17 00:00:00 2001 From: Brian Freeman Date: Thu, 19 Apr 2018 12:17:56 -0500 Subject: Fix SDC HealthCheck Issue-ID: TEST-88 Change-Id: Ic207c943054ea67f3582e4b018bdb286f6b1a7f1 Signed-off-by: Brian Freeman --- robot/resources/asdc_interface.robot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/robot/resources/asdc_interface.robot b/robot/resources/asdc_interface.robot index 92a41c91..f41f13e4 100644 --- a/robot/resources/asdc_interface.robot +++ b/robot/resources/asdc_interface.robot @@ -417,10 +417,12 @@ Run ASDC Health Check ${headers}= Create Dictionary Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} ${resp}= Get Request asdc ${ASDC_HEALTH_CHECK_PATH} headers=${headers} Should Be Equal As Strings ${resp.status_code} 200 + ${SDC_DE_HEALTH}= Catenate UP @{ITEMS}= Copy List ${resp.json()['componentsInfo']} :FOR ${ELEMENT} IN @{ITEMS} \ Log ${ELEMENT['healthCheckStatus']} - \ Should Be Equal As Strings ${ELEMENT['healthCheckStatus']} UP + \ ${SDC_DE_HEALTH} Set Variable If (('DE' in '${ELEMENT['healthCheckComponent']}') and ('${ELEMENT['healthCheckStatus']}' == 'UP')) or ('${SDC_DE_HEALTH}'=='UP') UP + Should Be Equal As Strings ${SDC_DE_HEALTH} UP Run ASDC Get Request [Documentation] Runs an ASDC get request [Arguments] ${data_path} ${user}=${ASDC_DESIGNER_USER_ID} -- cgit 1.2.3-korg