From 04150e26a75daad80f28a7fb3109808c658c486d Mon Sep 17 00:00:00 2001
From: LiZi
Date: Mon, 26 Mar 2018 04:59:43 -0400
Subject: Fix the CSIT failure caused by the health check
Change-Id: I7eec10e5e66c8ca82ec7123e402bc94eb86ed23d
Issue-ID: MSB-186
Signed-off-by: LiZi
---
.../src/main/java/org/onap/msb/apiroute/api/Node.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
(limited to 'apiroute')
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 = "";
--
cgit 1.2.3-korg