aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiZi <li.zi30@zte.com.cn>2018-03-26 04:59:43 -0400
committerLiZi <li.zi30@zte.com.cn>2018-03-26 05:10:29 -0400
commit04150e26a75daad80f28a7fb3109808c658c486d (patch)
treebbd52ddfe3ca8d72bbd1e3b2287eaa8fa19c8624
parent13822c15abfb02396bb203b00ea841cf6d5548cd (diff)
Fix the CSIT failure caused by the health check
Change-Id: I7eec10e5e66c8ca82ec7123e402bc94eb86ed23d Issue-ID: MSB-186 Signed-off-by: LiZi <li.zi30@zte.com.cn>
-rw-r--r--apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/api/Node.java5
1 files changed, 2 insertions, 3 deletions
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 = "";