1、修复查询task下的指令不查询IS_VALID和IS_JUDHED字段的bug
This commit is contained in:
@@ -51,15 +51,15 @@ public class LoginService {
|
|||||||
String accessToken = "";
|
String accessToken = "";
|
||||||
// 获取 ACCESS_TOKEN
|
// 获取 ACCESS_TOKEN
|
||||||
ObjectMapper objectMapper = new ObjectMapper();
|
ObjectMapper objectMapper = new ObjectMapper();
|
||||||
|
// OkHttpClient client = new OkHttpClient();
|
||||||
|
|
||||||
|
//不做证书验证的OkHttpClient
|
||||||
OkHttpClient client = new OkHttpClient.Builder()
|
OkHttpClient client = new OkHttpClient.Builder()
|
||||||
.sslSocketFactory(OkHttpUtil.getIgnoreInitedSslContext().getSocketFactory(),OkHttpUtil.IGNORE_SSL_TRUST_MANAGER_X509)
|
.sslSocketFactory(OkHttpUtil.getIgnoreInitedSslContext().getSocketFactory(),OkHttpUtil.IGNORE_SSL_TRUST_MANAGER_X509)
|
||||||
.hostnameVerifier(OkHttpUtil.getIgnoreSslHostnameVerifier())
|
.hostnameVerifier(OkHttpUtil.getIgnoreSslHostnameVerifier())
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Request request = new Request.Builder()
|
Request request = new Request.Builder()
|
||||||
// .url("https://passport.zx.com:10217/passport/accessToken?grant_type=client_credentials")
|
|
||||||
.url("https://114.243.134.122:10217/passport/accessToken?grant_type=client_credentials")
|
.url("https://114.243.134.122:10217/passport/accessToken?grant_type=client_credentials")
|
||||||
// .url("https://passport.iam.pub/passport/accessToken?grant_type=client_credentials")
|
// .url("https://passport.iam.pub/passport/accessToken?grant_type=client_credentials")
|
||||||
.header("Authorization", "Basic TlNBRERAWlguT1JHOk14a1hHZ1ltOUNROUE3TCRSOCNLRW02R1pSeEhwd1c2")
|
.header("Authorization", "Basic TlNBRERAWlguT1JHOk14a1hHZ1ltOUNROUE3TCRSOCNLRW02R1pSeEhwd1c2")
|
||||||
|
|||||||
@@ -57,6 +57,8 @@
|
|||||||
<result column="SUCCESS_TIMES" property="commandSuccessTimes"/>
|
<result column="SUCCESS_TIMES" property="commandSuccessTimes"/>
|
||||||
<result column="FIRST_SEND_TIME" property="earliestSendTime"/>
|
<result column="FIRST_SEND_TIME" property="earliestSendTime"/>
|
||||||
<result column="LAST_SEND_TIME" property="latestSendTime"/>
|
<result column="LAST_SEND_TIME" property="latestSendTime"/>
|
||||||
|
<result column="IS_VALID" property="isValid"/>
|
||||||
|
<result column="IS_JUDGED" property="isJudged"/>
|
||||||
|
|
||||||
<association property="fiveTupleWithMask">
|
<association property="fiveTupleWithMask">
|
||||||
<result column="SRC_IP" property="sourceIP"/>
|
<result column="SRC_IP" property="sourceIP"/>
|
||||||
@@ -74,6 +76,8 @@
|
|||||||
SUCCESS_TIMES,
|
SUCCESS_TIMES,
|
||||||
FIRST_SEND_TIME,
|
FIRST_SEND_TIME,
|
||||||
LASt_SEND_TIME,
|
LASt_SEND_TIME,
|
||||||
|
IS_VALID,
|
||||||
|
IS_JUDGED,
|
||||||
SRC_IP,
|
SRC_IP,
|
||||||
SRC_PORT,
|
SRC_PORT,
|
||||||
DST_IP,
|
DST_IP,
|
||||||
@@ -91,6 +95,8 @@
|
|||||||
SUCCESS_TIMES,
|
SUCCESS_TIMES,
|
||||||
FIRST_SEND_TIME,
|
FIRST_SEND_TIME,
|
||||||
LASt_SEND_TIME,
|
LASt_SEND_TIME,
|
||||||
|
IS_VALID,
|
||||||
|
IS_JUDGED,
|
||||||
SRC_IP,
|
SRC_IP,
|
||||||
SRC_PORT,
|
SRC_PORT,
|
||||||
DST_IP,
|
DST_IP,
|
||||||
|
|||||||
Reference in New Issue
Block a user