1、网站HTTP配置新增、修改功能提交;2、样例配置审核修改文件URL
This commit is contained in:
@@ -12,13 +12,13 @@ public class AvFileSampleCfg extends BaseCfg<AvFileSampleCfg> {
|
||||
@SerializedName("srcFile")
|
||||
private String srcUrl;
|
||||
@Expose
|
||||
@SerializedName("sampleFile")
|
||||
@SerializedName("dstFile")
|
||||
private String sampleUrl;
|
||||
@Expose
|
||||
@SerializedName("srcFileMd5")
|
||||
private String srcMd5;
|
||||
@Expose
|
||||
@SerializedName("sampleFileMd5")
|
||||
@SerializedName("dstFileMd5")
|
||||
private String sampleMd5;
|
||||
@Expose
|
||||
private Integer level;
|
||||
|
||||
@@ -29,6 +29,18 @@ public class CfgIndexInfo extends BaseCfg<CfgIndexInfo> {
|
||||
private List<AvVoipIpCfg> voipIps; //Add表单使用
|
||||
private AvVoipAccountCfg voipAccount;//Search使用
|
||||
private AvVoipIpCfg voipIp;//Search使用
|
||||
private IpPortCfg ipPort;
|
||||
private HttpUrlCfg httpUrl;
|
||||
private HttpReqHeadCfg httpReqHdr;
|
||||
private HttpResHeadCfg httpResHdr;
|
||||
private HttpBodyCfg httpReqBody;
|
||||
private HttpBodyCfg httpResBody;
|
||||
private List<IpPortCfg> ipPortList;
|
||||
private List<HttpUrlCfg> httpUrlList;
|
||||
private List<HttpReqHeadCfg> httpReqHdrList;
|
||||
private List<HttpResHeadCfg> httpResHdrList;
|
||||
private List<HttpBodyCfg> httpReqBodyList;
|
||||
private List<HttpBodyCfg> httpResBodyList;
|
||||
|
||||
|
||||
public AvVoipAccountCfg getVoipAccount() {
|
||||
@@ -55,5 +67,77 @@ public class CfgIndexInfo extends BaseCfg<CfgIndexInfo> {
|
||||
public List<AvVoipIpCfg> getVoipIps() {
|
||||
return voipIps;
|
||||
}
|
||||
public IpPortCfg getIpPort() {
|
||||
return ipPort;
|
||||
}
|
||||
public void setIpPort(IpPortCfg ipPort) {
|
||||
this.ipPort = ipPort;
|
||||
}
|
||||
public HttpUrlCfg getHttpUrl() {
|
||||
return httpUrl;
|
||||
}
|
||||
public void setHttpUrl(HttpUrlCfg httpUrl) {
|
||||
this.httpUrl = httpUrl;
|
||||
}
|
||||
public HttpReqHeadCfg getHttpReqHdr() {
|
||||
return httpReqHdr;
|
||||
}
|
||||
public void setHttpReqHdr(HttpReqHeadCfg httpReqHdr) {
|
||||
this.httpReqHdr = httpReqHdr;
|
||||
}
|
||||
public HttpResHeadCfg getHttpResHdr() {
|
||||
return httpResHdr;
|
||||
}
|
||||
public void setHttpResHdr(HttpResHeadCfg httpResHdr) {
|
||||
this.httpResHdr = httpResHdr;
|
||||
}
|
||||
public HttpBodyCfg getHttpReqBody() {
|
||||
return httpReqBody;
|
||||
}
|
||||
public void setHttpReqBody(HttpBodyCfg httpReqBody) {
|
||||
this.httpReqBody = httpReqBody;
|
||||
}
|
||||
public HttpBodyCfg getHttpResBody() {
|
||||
return httpResBody;
|
||||
}
|
||||
public void setHttpResBody(HttpBodyCfg httpResBody) {
|
||||
this.httpResBody = httpResBody;
|
||||
}
|
||||
public List<IpPortCfg> getIpPortList() {
|
||||
return ipPortList;
|
||||
}
|
||||
public void setIpPortList(List<IpPortCfg> ipPortList) {
|
||||
this.ipPortList = ipPortList;
|
||||
}
|
||||
public List<HttpUrlCfg> getHttpUrlList() {
|
||||
return httpUrlList;
|
||||
}
|
||||
public void setHttpUrlList(List<HttpUrlCfg> httpUrlList) {
|
||||
this.httpUrlList = httpUrlList;
|
||||
}
|
||||
public List<HttpReqHeadCfg> getHttpReqHdrList() {
|
||||
return httpReqHdrList;
|
||||
}
|
||||
public void setHttpReqHdrList(List<HttpReqHeadCfg> httpReqHdrList) {
|
||||
this.httpReqHdrList = httpReqHdrList;
|
||||
}
|
||||
public List<HttpResHeadCfg> getHttpResHdrList() {
|
||||
return httpResHdrList;
|
||||
}
|
||||
public void setHttpResHdrList(List<HttpResHeadCfg> httpResHdrList) {
|
||||
this.httpResHdrList = httpResHdrList;
|
||||
}
|
||||
public List<HttpBodyCfg> getHttpReqBodyList() {
|
||||
return httpReqBodyList;
|
||||
}
|
||||
public void setHttpReqBodyList(List<HttpBodyCfg> httpReqBodyList) {
|
||||
this.httpReqBodyList = httpReqBodyList;
|
||||
}
|
||||
public List<HttpBodyCfg> getHttpResBodyList() {
|
||||
return httpResBodyList;
|
||||
}
|
||||
public void setHttpResBodyList(List<HttpBodyCfg> httpResBodyList) {
|
||||
this.httpResBodyList = httpResBodyList;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ public class IpPortCfg extends BaseIpCfg {
|
||||
public void initDefaultValue() {
|
||||
// TODO Auto-generated method stub
|
||||
super.initDefaultValue();
|
||||
this.protocolId = 0;
|
||||
// this.protocolId = 0;
|
||||
}
|
||||
public void initDefaultValueImpl(){
|
||||
initDefaultValue();
|
||||
@@ -40,12 +40,12 @@ public class IpPortCfg extends BaseIpCfg {
|
||||
/**
|
||||
* 此表固定写0
|
||||
*/
|
||||
@Override
|
||||
/*@Override
|
||||
public void setProtocolId(Integer protocolId) {
|
||||
// TODO Auto-generated method stub
|
||||
super.setProtocolId(0);
|
||||
}
|
||||
/**
|
||||
*//**
|
||||
* tablename
|
||||
* @return tablename
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user