[VFC]Remove ems driver health check
[testsuite.git] / robot / testsuites / health-check.robot
index daba7c1..d6402b0 100644 (file)
@@ -1,15 +1,15 @@
 *** Settings ***
-Documentation     Testing ecomp components are available via calls.
-...
-...               Testing ecomp components are available via calls.
-Test Timeout      10 second
+Documentation     Test that ONAP components are available via basic API calls
+Test Timeout      20 seconds
+
+Library           ONAPLibrary.SO    WITH NAME    SO
+
 Resource          ../resources/dcae_interface.robot
-Resource          ../resources/sdngc_interface.robot
+Resource          ../resources/sdnc_interface.robot
 Resource          ../resources/aai/aai_interface.robot
 Resource          ../resources/vid/vid_interface.robot
 Resource          ../resources/policy_interface.robot
-Resource          ../resources/so_interface.robot
-Resource          ../resources/asdc_interface.robot
+Resource          ../resources/sdc_interface.robot
 Resource          ../resources/appc_interface.robot
 Resource          ../resources/portal_interface.robot
 Resource          ../resources/mr_interface.robot
@@ -17,7 +17,6 @@ Resource          ../resources/bc_interface.robot
 Resource          ../resources/aaf_interface.robot
 Resource          ../resources/msb_interface.robot
 Resource          ../resources/clamp_interface.robot
-Resource          ../resources/music/music_interface.robot
 Resource          ../resources/test_templates/model_test_template.robot
 Resource          ../resources/nbi_interface.robot
 Resource          ../resources/cli_interface.robot
@@ -28,8 +27,8 @@ Resource          ../resources/sms_interface.robot
 Resource          ../resources/dr_interface.robot
 Resource          ../resources/pomba_interface.robot
 Resource          ../resources/holmes_interface.robot
-# Remove other references after a soak period
-#Resource          ../resources/vvp_interface.robot
+Resource          ../resources/cds_interface.robot
+
 
 *** Test Cases ***
 Basic A&AI Health Check
@@ -49,7 +48,7 @@ Basic APPC Health Check
     Run APPC Health Check
 
 Basic CLI Health Check
-    [Tags]    health    small  health-cli
+    [Tags]    health-cli    health
     Run CLI Health Check
 
 Basic CLAMP Health Check
@@ -57,7 +56,7 @@ Basic CLAMP Health Check
     Run CLAMP Health Check
 
 Basic DCAE Health Check
-    [Tags]    health    medium   health-dcae
+    [Tags]    health    medium   health-dcaegen2
     Run DCAE Health Check
 
 Basic DMAAP Data Router Health Check
@@ -69,7 +68,7 @@ Basic DMAAP Message Router Health Check
     Run MR Health Check
 
 Basic DMAAP Message Router PubSub Health Check
-    [Tags]    healthmr    health-dmaap
+    [Tags]    healthmr    core    health-dmaap
     [Timeout]   30
     Run MR PubSub Health Check
 
@@ -82,15 +81,15 @@ Basic External API NBI Health Check
     Run NBI Health Check
 
 Basic Log Elasticsearch Health Check
-    [Tags]    health    small    oom   health-log
+    [Tags]    oom   health-log
     Run Log Elasticsearch Health Check
 
 Basic Log Kibana Health Check
-    [Tags]    health    small    oom   health-log
+    [Tags]    oom   health-log
     Run Log Kibana Health Check
 
 Basic Log Logstash Health Check
-    [Tags]    health    small    oom   health-log
+    [Tags]    oom   health-log
     Run Log Logstash Health Check
 
 Basic Microservice Bus Health Check
@@ -101,10 +100,6 @@ Basic Multicloud API Health Check
     [Tags]    health    multicloud    small  health-multicloud
     Run MSB Get Request    /api/multicloud/v0/swagger.json
 
-Basic Multicloud-ocata API Health Check
-    [Tags]    health    multicloud    small   health-multicloud
-    Run MSB Get Request    /api/multicloud-ocata/v0/swagger.json
-
 Basic Multicloud-pike API Health Check
     [Tags]    health    multicloud    small   health-multicloud
     Run MSB Get Request    /api/multicloud-pike/v0/swagger.json
@@ -121,9 +116,9 @@ Basic Multicloud-vio API Health Check
     [Tags]    health    multicloud   health-multicloud
     Run MSB Get Request    /api/multicloud-vio/v0/swagger.json
 
-Basic Multicloud-thinkcloud API Health Check
+Basic Multicloud-k8s API Health Check
     [Tags]    health    multicloud   health-multicloud
-    Run MSB Get Request    /api/multicloud-thinkcloud/v0/swagger.json
+    Run MSB Get Request    /api/multicloud-k8s/v1/v1/healthcheck
 
 Basic OOF-Homing Health Check
     [Tags]    health    medium   health-oof
@@ -146,40 +141,44 @@ Basic Policy Health Check
     Run Policy XACML PDP Healthcheck
     Run Policy APEX PDP Healthcheck
 
+Basic Policy New Healthcheck
+    [Tags]    health    medium   health-policy
+    Run Policy New Healthcheck
+
 Basic Pomba AAI-context-builder Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Aai Context Builder Health Check
 
 Basic Pomba SDC-context-builder Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Sdc Context Builder Health Check
 
 Basic Pomba Network-discovery-context-builder Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Network Discovery Context Builder Health Check
 
 Basic Pomba Service-Decomposition Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Service Decomposition Health Check
 
 Basic Pomba Network-Discovery-MicroService Health Check
-    [Tags]    health    oom  health-pomba
+    [Tags]    oom  health-pomba
     Run Pomba Network Discovery MicroService Health Check
 
 Basic Pomba Pomba-Kibana Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Kibana Health Check
 
 Basic Pomba Elastic-Search Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Elastic Search Health Check
 
 Basic Pomba Sdnc-Context-Builder Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Sdnc Context Builder Health Check
 
 Basic Pomba Context-Aggregator Health Check
-    [Tags]    health    oom   health-pomba
+    [Tags]    oom   health-pomba
     Run Pomba Context Aggregator Health Check
 
 Basic Portal Health Check
@@ -188,31 +187,31 @@ Basic Portal Health Check
 
 Basic SDC Health Check
     [Tags]    health    core   health-sdc
-    Run ASDC Health Check
+    Run SDC Health Check
 
 Basic SDNC Health Check
     [Tags]    health    core   health-sdnc
-    Run SDNGC Health Check
+    Run SDNC Health Check
 
 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_SDCHAND_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/
 
-Basic VFC catalog API Health Check
-    [Tags]    health    api   health-vfc
-    Run MSB Get Request    /api/catalog/v1/swagger.json
-
-Basic VFC emsdriver API Health Check
-    [Tags]    health    3rdparty  health-vfc
-    Run MSB Get Request    /api/emsdriver/v1/swagger.json
-
 Basic VFC gvnfmdriver API Health Check
     [Tags]    health    3rdparty   health-vfc
-    Run MSB Get Request    /api/gvnfmdriver/v1/swagger.json
+    Run MSB Get Request    /api/gvnfmdriver/v1/health_check
 
 Basic VFC huaweivnfmdriver API Health Check
     [Tags]    health    3rdparty   health-vfc
@@ -232,7 +231,7 @@ Basic VFC nokiav2driver API Health Check
 
 Basic VFC nslcm API Health Check
     [Tags]    health    api   health-vfc
-    Run MSB Get Request    /api/nslcm/v1/swagger.json
+    Run MSB Get Request    /api/nslcm/v1/health_check
 
 Basic VFC resmgr API Health Check
     [Tags]    health    api  health-vfc
@@ -240,15 +239,15 @@ Basic VFC resmgr API Health Check
 
 Basic VFC vnflcm API Health Check
     [Tags]    health    api  health-vfc
-    Run MSB Get Request    /api/vnflcm/v1/swagger.json
+    Run MSB Get Request    /api/vnflcm/v1/health_check
 
 Basic VFC vnfmgr API Health Check
     [Tags]    health    api  health-vfc
-    Run MSB Get Request    /api/vnfmgr/v1/swagger.json
+    Run MSB Get Request    /api/vnfmgr/v1/health_check
 
 Basic VFC vnfres API Health Check
     [Tags]    health    api   health-vfc
-    Run MSB Get Request    /api/vnfres/v1/swagger.json
+    Run MSB Get Request    /api/vnfres/v1/health_check
 
 Basic VFC workflow API Health Check
     [Tags]    health    api   health-vfc
@@ -260,10 +259,12 @@ Basic VFC ztesdncdriver API Health Check
 
 Basic VFC ztevnfmdriver API Health Check
     [Tags]    health    3rdparty   health-vfc
-    Run MSB Get Request    /api/ztevnfmdriver/v1/swagger.json
+    Run MSB Get Request    /api/ztevnfmdriver/v1/health_check
 
 Basic VID Health Check
     [Tags]    health    small  health-vid
+    [Timeout]    120
+    Setup Browser
     Run VID Health Check
 
 Basic VNFSDK Health Check
@@ -273,24 +274,68 @@ Basic VNFSDK Health Check
 Health Distribution Test
     [Tags]    healthdist
     [Timeout]    1200
-    Model Distribution For Directory    vFW
+    Model Distribution For Directory With Teardown   vFW
 
 Portal Login Tests
     [Tags]    healthlogin
+    [Timeout]   120
     Run Portal Login Tests
 
 Portal Application Access Tests
     [Tags]    healthportalapp
-    [Timeout]    180
+    [Timeout]    900
     Run Portal Application Access Tests
 
+Portal SDC Application Access Test
+    [Tags]    healthportalapp2
+    [Timeout]    180
+    Run Portal Application Login Test   cs0008   demo123456!   gridster-SDC-icon-link   tabframe-SDC    Welcome to SDC
+    Close All Browsers
+
+Portal VID Application Access Test
+    [Tags]    healthportalapp2
+    [Timeout]    180
+    Run Portal Application Login Test   demo    demo123456!  gridster-Virtual-Infrastructure-Deployment-icon-link   tabframe-Virtual-Infrastructure-Deployment    Welcome to VID
+    Close All Browsers
+
+Portal A&AI UI Application Access Test
+    [Tags]    healthportalapp2
+    [Timeout]    180
+    Run Portal Application Login Test   demo    demo123456!  gridster-A&AI-UI-icon-link   tabframe-A&AI-UI    A&AI
+    Close All Browsers
+
+Portal Policy Editor Application Access Test
+    [Tags]    healthportalapp2
+    [Timeout]    180
+    Run Portal Application Login Test   demo    demo123456!  gridster-Policy-icon-link   tabframe-Policy    Policy Editor
+    Close All Browsers
+
+Portal SO Monitoring Application Access Test
+    [Tags]    healthportalapp2
+    [Timeout]    180
+    Run Portal Application Login Test   demo    demo123456!  gridster-SO-Monitoring-icon-link   tabframe-SO-Monitoring   SO
+    Close All Browsers
+
+Portal xDemo APP Application Access Test
+    [Tags]    healthportalapp2
+    [Timeout]    180
+    Run Portal Application Login Test   demo    demo123456!  gridster-xDemo-App-icon-link   tabframe-xDemo-App   xDemo
+    Close All Browsers
+
+Portal CLI Application Access Test
+    [Tags]    healthportalapp2
+    [Timeout]    180
+    Run Portal Application Login Test   demo    demo123456!  gridster-CLI-icon-link   tabframe-CLI   CLI
+    Close All Browsers
+
+
 Basic Holmes Rule Management API Health Check
-    [Tags]    health    medium   health-dcae
-    Run Holmes Rule Mgmt Health Check
+    [Tags]    health-dcaegen2
+    Run Holmes Rule Mgmt Healthcheck
 
 Basic Holmes Engine Management API Health Check
-    [Tags]    health    medium   health-dcae
-    Run Holmes Engine Mgmt Health Check
+    [Tags]    health-dcaegen2
+    Run Holmes Engine Mgmt Healthcheck
 
 Basic Multicloud-fcaps API Health Check
     [Tags]    health    multicloud   health-multicloud
@@ -299,3 +344,7 @@ Basic Multicloud-fcaps API Health Check
 Basic Modeling genericparser API Health Check
     [Tags]    health    api   health-modeling
     Run MSB Get Request    /api/parser/v1/health_check
+
+Basic CDS Health Check
+    [Tags]    health    medium   health-cds
+    Run CDS Health Check