1、ddos配置添加user_region字段;新增voip和流媒体业务;
2、ddos日志查询接口添加isBlock查询条件; 3、新增NTC VoIP、流媒体、文件摘要原始日志查询接口; 4、NTC BGP日志添加type、asNumber、route三个字段;
This commit is contained in:
71
src/main/java/com/nis/domain/restful/MmFileDigestLog.java
Normal file
71
src/main/java/com/nis/domain/restful/MmFileDigestLog.java
Normal file
@@ -0,0 +1,71 @@
|
||||
package com.nis.domain.restful;
|
||||
|
||||
import com.nis.domain.LogEntity;
|
||||
import com.wordnik.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @ClassName:MmFileDigestLog
|
||||
* @Description:TODO(这里用一句话描述这个类的作用)
|
||||
* @author zdx
|
||||
* @date 2018年10月9日 下午6:55:48
|
||||
* @version V1.0
|
||||
*/
|
||||
public class MmFileDigestLog extends LogEntity<MmFileDigestLog> {
|
||||
private static final long serialVersionUID = -6491462762322051638L;
|
||||
@ApiModelProperty(value="节目ID", required=true)
|
||||
protected String pid;
|
||||
@ApiModelProperty(value="节目访问地址", required=true)
|
||||
protected String url;
|
||||
@ApiModelProperty(value="封堵现场片段路径", required=true)
|
||||
protected String logUri;
|
||||
@ApiModelProperty(value="入口页面", required=true)
|
||||
protected String referer;
|
||||
@ApiModelProperty(value="有害级别", required=true)
|
||||
protected Integer level;
|
||||
@ApiModelProperty(value="封堵类型", required=true)
|
||||
protected Integer fdType;
|
||||
@ApiModelProperty(value="协议", required=true)
|
||||
protected String protocol;
|
||||
public String getPid() {
|
||||
return pid;
|
||||
}
|
||||
public void setPid(String pid) {
|
||||
this.pid = pid;
|
||||
}
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
public String getLogUri() {
|
||||
return logUri;
|
||||
}
|
||||
public void setLogUri(String logUri) {
|
||||
this.logUri = logUri;
|
||||
}
|
||||
public String getReferer() {
|
||||
return referer;
|
||||
}
|
||||
public void setReferer(String referer) {
|
||||
this.referer = referer;
|
||||
}
|
||||
public Integer getLevel() {
|
||||
return level;
|
||||
}
|
||||
public void setLevel(Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
public Integer getFdType() {
|
||||
return fdType;
|
||||
}
|
||||
public void setFdType(Integer fdType) {
|
||||
this.fdType = fdType;
|
||||
}
|
||||
public String getProtocol() {
|
||||
return protocol;
|
||||
}
|
||||
public void setProtocol(String protocol) {
|
||||
this.protocol = protocol;
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.nis.domain.restful;
|
||||
|
||||
import com.nis.domain.LogEntity;
|
||||
import com.wordnik.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -13,6 +14,30 @@ import com.nis.domain.LogEntity;
|
||||
public class NtcBgpLog extends LogEntity<NtcBgpLog> {
|
||||
|
||||
private static final long serialVersionUID = -990806269407561021L;
|
||||
|
||||
|
||||
@ApiModelProperty(value="BGP消息类型", required=true)
|
||||
protected Integer type;
|
||||
@ApiModelProperty(value="自治系统号", required=true)
|
||||
protected String asNumber;
|
||||
@ApiModelProperty(value="路由信息", required=true)
|
||||
protected String route;
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
public void setAsNumber(String asNumber) {
|
||||
this.asNumber = asNumber;
|
||||
}
|
||||
public String getAsNumber() {
|
||||
return asNumber;
|
||||
}
|
||||
public void setRoute(String route) {
|
||||
this.route = route;
|
||||
}
|
||||
public String getRoute() {
|
||||
return route;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -31,6 +31,8 @@ public class NtcDdosLog extends LogEntity<NtcDdosLog> {
|
||||
protected String attackTotalByte;
|
||||
@ApiModelProperty(value = "攻击流量是否被丢弃", required = true)
|
||||
protected Integer isBlcok;
|
||||
|
||||
protected String searchIsBlcok; //攻击流量是否被丢弃
|
||||
public Integer getAttackType() {
|
||||
return attackType;
|
||||
}
|
||||
@@ -80,4 +82,11 @@ public class NtcDdosLog extends LogEntity<NtcDdosLog> {
|
||||
this.isBlcok = isBlcok;
|
||||
}
|
||||
|
||||
public String getSearchIsBlcok() {
|
||||
return searchIsBlcok;
|
||||
}
|
||||
|
||||
public void setSearchIsBlcok(String searchIsBlcok) {
|
||||
this.searchIsBlcok = searchIsBlcok;
|
||||
}
|
||||
}
|
||||
|
||||
31
src/main/java/com/nis/domain/restful/NtcStreamMediaLog.java
Normal file
31
src/main/java/com/nis/domain/restful/NtcStreamMediaLog.java
Normal file
@@ -0,0 +1,31 @@
|
||||
package com.nis.domain.restful;
|
||||
|
||||
import com.nis.domain.LogEntity;
|
||||
import com.wordnik.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* @ClassName:NtcStreamMediaLog
|
||||
* @Description:TODO(这里用一句话描述这个类的作用)
|
||||
* @author zdx
|
||||
* @date 2018年10月9日 下午6:33:11
|
||||
* @version V1.0
|
||||
*/
|
||||
public class NtcStreamMediaLog extends LogEntity<NtcStreamMediaLog> {
|
||||
private static final long serialVersionUID = 8993339583170276251L;
|
||||
@ApiModelProperty(value="节目访问地址", required=true)
|
||||
protected String url;
|
||||
@ApiModelProperty(value="传输协议", required=true)
|
||||
protected String protocol;
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
public String getProtocol() {
|
||||
return protocol;
|
||||
}
|
||||
public void setProtocol(String protocol) {
|
||||
this.protocol = protocol;
|
||||
}
|
||||
}
|
||||
70
src/main/java/com/nis/domain/restful/NtcVoipLog.java
Normal file
70
src/main/java/com/nis/domain/restful/NtcVoipLog.java
Normal file
@@ -0,0 +1,70 @@
|
||||
package com.nis.domain.restful;
|
||||
|
||||
import com.nis.domain.LogEntity;
|
||||
import com.wordnik.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
*
|
||||
* @ClassName:NtcVoipLog
|
||||
* @Description:TODO(这里用一句话描述这个类的作用)
|
||||
* @author zdx
|
||||
* @date 2018年10月9日 下午6:30:10
|
||||
* @version V1.0
|
||||
*/
|
||||
public class NtcVoipLog extends LogEntity<NtcVoipLog> {
|
||||
private static final long serialVersionUID = -1868408809534973479L;
|
||||
@ApiModelProperty(value="VOIP通话时长(秒)", required=true)
|
||||
protected String duation;
|
||||
@ApiModelProperty(value="VOIP协议", required=true)
|
||||
protected String voipProtocol;
|
||||
@ApiModelProperty(value="主叫VOIP账号", required=true)
|
||||
protected String callingAccount;
|
||||
@ApiModelProperty(value="被叫VOIP账号", required=true)
|
||||
protected String calledAccount;
|
||||
@ApiModelProperty(value="VOIP主叫电信号码", required=true)
|
||||
protected String callingNumber;
|
||||
@ApiModelProperty(value="VOIP被叫电信号码", required=true)
|
||||
protected String calledNumber;
|
||||
/**
|
||||
* @return the voipProtocol
|
||||
*/
|
||||
public String getVoipProtocol() {
|
||||
return voipProtocol;
|
||||
}
|
||||
/**
|
||||
* @param voipProtocol the voipProtocol to set
|
||||
*/
|
||||
public void setVoipProtocol(String voipProtocol) {
|
||||
this.voipProtocol = voipProtocol;
|
||||
}
|
||||
public String getDuation() {
|
||||
return duation;
|
||||
}
|
||||
public void setDuation(String duation) {
|
||||
this.duation = duation;
|
||||
}
|
||||
public String getCallingAccount() {
|
||||
return callingAccount;
|
||||
}
|
||||
public void setCallingAccount(String callingAccount) {
|
||||
this.callingAccount = callingAccount;
|
||||
}
|
||||
public String getCalledAccount() {
|
||||
return calledAccount;
|
||||
}
|
||||
public void setCalledAccount(String calledAccount) {
|
||||
this.calledAccount = calledAccount;
|
||||
}
|
||||
public String getCallingNumber() {
|
||||
return callingNumber;
|
||||
}
|
||||
public void setCallingNumber(String callingNumber) {
|
||||
this.callingNumber = callingNumber;
|
||||
}
|
||||
public String getCalledNumber() {
|
||||
return calledNumber;
|
||||
}
|
||||
public void setCalledNumber(String calledNumber) {
|
||||
this.calledNumber = calledNumber;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user