From: LiZi
Date: Mon, 26 Mar 2018 08:59:43 +0000 (-0400)
Subject: Fix the CSIT failure caused by the health check
X-Git-Tag: v1.1.0~6
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F38461%2F2;p=msb%2Fapigateway.git
Fix the CSIT failure caused by the health check
Change-Id: I7eec10e5e66c8ca82ec7123e402bc94eb86ed23d
Issue-ID: MSB-186
Signed-off-by: LiZi
---
diff --git a/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/api/Node.java b/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/api/Node.java
index 4c1e553..eab8418 100644
--- a/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/api/Node.java
+++ b/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/api/Node.java
@@ -27,13 +27,12 @@ public class Node implements Serializable {
@ApiModelProperty(required = true)
private String port;
- private String status = "passing"; // å®ä¾å¥åº·æ£æ¥ç¶æ
+ private String status = "passing";
private int ttl = -1;
- // å¥åº·æ£æ¥åæ°
// health check type, allowableValues = "HTTP,TCP", example = "HTTP")
- private String checkType = "HTTP";
+ private String checkType = "";
// health check url, example for http "http://192.168.0.2:80/heallth", example for tcp
// "192.168.1.100:80"
private String checkUrl = "";