aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/sdc_interface.robot
diff options
context:
space:
mode:
authordeswali07 <biswajit.deswali@amdocs.com>2020-09-30 14:31:33 +0530
committerdeswali07 <biswajit.deswali@amdocs.com>2020-09-30 14:32:10 +0530
commitec04dbe1831451759b1ce95db6936aa51b50e869 (patch)
tree44b611e9cb7e41227176a153ecd6a4396cfd90d7 /robot/resources/sdc_interface.robot
parentd2b9a73ef26668d6e16f8eb5bcfd1f875cba31a7 (diff)
Enhanced SDC Healthcheck
Issue-ID: SDC-3287 Change-Id: Ia12013fd56fdb3f4e4612e44add6deb8acaf027f Signed-off-by: deswali07 <biswajit.deswali@amdocs.com>
Diffstat (limited to 'robot/resources/sdc_interface.robot')
-rw-r--r--robot/resources/sdc_interface.robot12
1 files changed, 12 insertions, 0 deletions
diff --git a/robot/resources/sdc_interface.robot b/robot/resources/sdc_interface.robot
index c124be1f..b680faa5 100644
--- a/robot/resources/sdc_interface.robot
+++ b/robot/resources/sdc_interface.robot
@@ -19,6 +19,8 @@ Resource browser_setup.robot
*** Variables ***
${SDC_DESIGNER_USER_ID} cs0008
${SDC_HEALTH_CHECK_PATH} /sdc1/rest/healthCheck
+${SDC_HEALTH_CHECK_PATH_ONBOARD} /onboarding-api/v1.0/healthcheck
+${SDC_HEALTH_CHECK_PATH_BE} /sdc2/rest/healthCheck
${SDC_VENDOR_LICENSE_MODEL_PATH} /onboarding-api/v1.0/vendor-license-models
${SDC_VENDOR_SOFTWARE_PRODUCT_PATH} /onboarding-api/v1.0/vendor-software-products
${SDC_VENDOR_KEY_GROUP_PATH} /license-key-groups
@@ -913,6 +915,16 @@ Run SDC Health Check
\ ${SDC_DE_HEALTH} Set Variable If (('DE' in '${ELEMENT['healthCheckComponent']}') and ('${ELEMENT['healthCheckStatus']}' == 'UP')) or ('${SDC_DE_HEALTH}'=='UP') UP
Log (DMaaP:${SDC_DE_HEALTH}) console=True
+Run SDC BE ONBOARD Healthcheck
+ [Documentation] Runs a SDC BE ONBOARD health check
+ ${resp}= SDC.Run Get Request ${SDC_BE_ONBOARD_ENDPOINT} ${SDC_HEALTH_CHECK_PATH_ONBOARD} user=${None}
+ Should Be Equal As Strings ${resp.status_code} 200
+
+Run SDC BE Healthcheck
+ [Documentation] Runs a SDC BE health check
+ ${resp}= SDC.Run Get Request ${SDC_BE_ENDPOINT} ${SDC_HEALTH_CHECK_PATH_BE} user=${None} auth=${GLOBAL_SDC_AUTHENTICATION}
+ Should Be Equal As Strings ${resp.status_code} 200
+
Open SDC GUI
[Documentation] Logs in to SDC GUI
[Arguments] ${PATH}