/**
- * Copyright 2016-2017 ZTE, Inc. and others.
+ * Copyright 2016-2018 ZTE, Inc. and others.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
@JsonProperty("Timeout")
private String timeout;
+ @JsonProperty("tls_skip_verify")
+ private Boolean tlsSkipVerify=true;
private String status = "passing";
this.status = status;
}
+ public Boolean getTlsSkipVerify() {
+ return tlsSkipVerify;
+ }
+
+ public void setTlsSkipVerify(Boolean tlsSkipVerify) {
+ this.tlsSkipVerify = tlsSkipVerify;
+ }
+
}
this.checkTimeOut = checkTimeOut;
}
+ public Boolean getTls_skip_verify() {
+ return tls_skip_verify;
+ }
+
+ public void setTls_skip_verify(Boolean tls_skip_verify) {
+ this.tls_skip_verify = tls_skip_verify;
+ }
+
}
check.setInterval(node.getCheckInterval());
check.setHttp(node.getCheckUrl());
check.setTimeout(node.getCheckTimeOut());
-
+ check.setTlsSkipVerify(node.getTls_skip_verify());
checkMap.put("http", node.getCheckUrl());
checkMap.put("interval", node.getCheckInterval());
checkMap.put("timeout", node.getCheckTimeOut());