1、拆分公共日志字段:subscribe_id :s_ subscribe_id、d_ subscribe_id;
2、NTC_HTTP_LOG增req_hdr_key、req_body_key、res_hdr_key、res_body_key; 3、日志公共字段增加scene_file
This commit is contained in:
@@ -82,8 +82,12 @@ public abstract class LogEntity<T> implements Serializable {
|
||||
protected String sAsn;
|
||||
@ApiModelProperty(value = "服务端ASN", required = true)
|
||||
protected String dAsn;
|
||||
@ApiModelProperty(value = "用户名", required = true)
|
||||
protected String subscribeId;
|
||||
@ApiModelProperty(value = "客户端用户名", required = true)
|
||||
protected String sSubscribeId;
|
||||
@ApiModelProperty(value = "服务器用户名", required = true)
|
||||
protected String dSubscribeId;
|
||||
@ApiModelProperty(value = "现场日志文件地址", required = true)
|
||||
protected String sceneFile;
|
||||
|
||||
protected String searchCfgId;//配置id
|
||||
protected String searchTransProto;//协议类型
|
||||
@@ -482,15 +486,40 @@ public abstract class LogEntity<T> implements Serializable {
|
||||
return dAsn;
|
||||
}
|
||||
/**
|
||||
* @param subscribeId the subscribeId to set
|
||||
* @param sSubscribeId the sSubscribeId to set
|
||||
*/
|
||||
public void setSubscribeId(String subscribeId) {
|
||||
this.subscribeId = subscribeId;
|
||||
public void setsSubscribeId(String sSubscribeId) {
|
||||
this.sSubscribeId = sSubscribeId;
|
||||
}
|
||||
/**
|
||||
* @return the subscribeId
|
||||
* @return the sSubscribeId
|
||||
*/
|
||||
public String getSubscribeId() {
|
||||
return subscribeId;
|
||||
public String getsSubscribeId() {
|
||||
return sSubscribeId;
|
||||
}
|
||||
/**
|
||||
* @param dSubscribeId the dSubscribeId to set
|
||||
*/
|
||||
public void setdSubscribeId(String dSubscribeId) {
|
||||
this.dSubscribeId = dSubscribeId;
|
||||
}
|
||||
/**
|
||||
* @return the dSubscribeId
|
||||
*/
|
||||
public String getdSubscribeId() {
|
||||
return dSubscribeId;
|
||||
}
|
||||
/**
|
||||
* @param sceneFile the sceneFile to set
|
||||
*/
|
||||
public void setSceneFile(String sceneFile) {
|
||||
this.sceneFile = sceneFile;
|
||||
}
|
||||
/**
|
||||
* @return the sceneFile
|
||||
*/
|
||||
public String getSceneFile() {
|
||||
return sceneFile;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -27,7 +27,19 @@ public class NtcHttpLog extends LogEntity {
|
||||
|
||||
@ApiModelProperty(value="网站域名", required=true)
|
||||
protected String website;
|
||||
|
||||
@ApiModelProperty(value="请求头转储文件KEY", required=true)
|
||||
protected String reqHdrKey;
|
||||
|
||||
@ApiModelProperty(value="请求体转储文件KEY", required=true)
|
||||
protected String reqBodyKey;
|
||||
|
||||
@ApiModelProperty(value="应答头转储文件KEY", required=true)
|
||||
protected String resHdrKey;
|
||||
|
||||
@ApiModelProperty(value="应答体转储文件KEY", required=true)
|
||||
protected String resBodyKey;
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
@@ -80,5 +92,37 @@ public class NtcHttpLog extends LogEntity {
|
||||
*/
|
||||
public String getWebsite() {
|
||||
return website;
|
||||
}
|
||||
}
|
||||
|
||||
public String getReqHdrKey() {
|
||||
return reqHdrKey;
|
||||
}
|
||||
|
||||
public void setReqHdrKey(String reqHdrKey) {
|
||||
this.reqHdrKey = reqHdrKey;
|
||||
}
|
||||
|
||||
public String getReqBodyKey() {
|
||||
return reqBodyKey;
|
||||
}
|
||||
|
||||
public void setReqBodyKey(String reqBodyKey) {
|
||||
this.reqBodyKey = reqBodyKey;
|
||||
}
|
||||
|
||||
public String getResHdrKey() {
|
||||
return resHdrKey;
|
||||
}
|
||||
|
||||
public void setResHdrKey(String resHdrKey) {
|
||||
this.resHdrKey = resHdrKey;
|
||||
}
|
||||
|
||||
public String getResBodyKey() {
|
||||
return resBodyKey;
|
||||
}
|
||||
|
||||
public void setResBodyKey(String resBodyKey) {
|
||||
this.resBodyKey = resBodyKey;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user