move SO code to python for easier reuse
Issue-ID: TEST-179
Change-Id: I23db38db7810fc298df66dbde023a6ec559d46e8
Signed-off-by: DR695H <dr695h@att.com>
diff --git a/robot/testsuites/health-check.robot b/robot/testsuites/health-check.robot
index b7c1735..2202d30 100644
--- a/robot/testsuites/health-check.robot
+++ b/robot/testsuites/health-check.robot
@@ -8,7 +8,7 @@
Resource ../resources/aai/aai_interface.robot
Resource ../resources/vid/vid_interface.robot
Resource ../resources/policy_interface.robot
-Resource ../resources/so_interface.robot
+Library ONAPLibrary.SO WITH NAME SO
Resource ../resources/asdc_interface.robot
Resource ../resources/appc_interface.robot
Resource ../resources/portal_interface.robot
@@ -198,8 +198,15 @@
Basic SO Health Check
[Tags] health core health-so
- Run SO Global Health Check
-
+ SO.Run Get Request ${GLOBAL_SO_APIHAND_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_ASDCHAND_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_BPMN_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_CATDB_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_OPENSTACK_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_REQDB_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_SDNC_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_VFC_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
+ SO.Run Get Request ${GLOBAL_SO_VNFM_ENDPOINT} ${GLOBAL_SO_HEALTH_CHECK_PATH}
Basic UseCaseUI API Health Check
[Tags] health api medium health-uui
Run MSB Get Request /iui/usecaseui/