Add API health checks via MSB 87/19587/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 18 Oct 2017 19:30:02 +0000 (12:30 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 18 Oct 2017 19:30:02 +0000 (12:30 -0700)
Change-Id: I4c88e88c616c4fede33f491044ef203bfee06636
Issue-ID: INT-282
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
robot/resources/msb_interface.robot
robot/testsuites/health-check.robot

index f6e4981..53b67da 100644 (file)
@@ -20,5 +20,6 @@ Run MSB Get Request
      [Arguments]    ${data_path}
      ${session}=    Create Session     msb     ${MSB_ENDPOINT}
      ${resp}=  Get Request     msb     ${data_path}
+     Should Be Equal As Integers       ${resp.status_code}     200
      Log    Received response from MSB ${resp.text}
      [Return]    ${resp}
index f11d50e..f6eb60e 100644 (file)
@@ -60,3 +60,51 @@ Basic VID Health Check
 Basic Microservice Bus Health Check
     [Tags]    health
     Run MSB Health Check
+
+catalog API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/catalog/v1/swagger.json
+
+gvnfmdriver API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/gvnfmdriver/v1/swagger.json
+
+multicloud API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/multicloud/v0/swagger.json
+
+multicloud-ocata API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/multicloud-ocata/v0/swagger.json
+
+multicloud-titanium_cloud API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/multicloud-titanium_cloud/v0/swagger.json
+
+multicloud-vio API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/multicloud-vio/v0/swagger.json
+
+nslcm API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/nslcm/v1/swagger.json
+
+vnflcm API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/vnflcm/v1/swagger.json
+
+vnfmgr API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/vnfmgr/v1/swagger.json
+
+vnfres API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/vnfres/v1/swagger.json
+
+ztesdncdriver API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/ztesdncdriver/v1/swagger.json
+
+ztevmanagerdriver API Health Check
+     [Tags]    health
+     Run MSB Get Request  /api/ztevmanagerdriver/v1/swagger.json