统一pom包版本

This commit is contained in:
zengqiao
2020-09-29 17:25:04 +08:00
parent 788468054a
commit 1a4ef3d9c1
21 changed files with 265 additions and 213 deletions

View File

@@ -24,12 +24,6 @@ public class ClusterDTO {
@ApiModelProperty(value="bootstrap地址")
private String bootstrapServers;
@ApiModelProperty(value="kafka版本")
private String kafkaVersion;
@ApiModelProperty(value="集群类型")
private Integer mode;
@ApiModelProperty(value="数据中心")
private String idc;
@@ -68,14 +62,6 @@ public class ClusterDTO {
this.bootstrapServers = bootstrapServers;
}
public String getKafkaVersion() {
return kafkaVersion;
}
public void setKafkaVersion(String kafkaVersion) {
this.kafkaVersion = kafkaVersion;
}
public String getIdc() {
return idc;
}
@@ -84,14 +70,6 @@ public class ClusterDTO {
this.idc = idc;
}
public Integer getMode() {
return mode;
}
public void setMode(Integer mode) {
this.mode = mode;
}
public String getSecurityProperties() {
return securityProperties;
}
@@ -107,9 +85,7 @@ public class ClusterDTO {
", clusterName='" + clusterName + '\'' +
", zookeeper='" + zookeeper + '\'' +
", bootstrapServers='" + bootstrapServers + '\'' +
", kafkaVersion='" + kafkaVersion + '\'' +
", idc='" + idc + '\'' +
", mode='" + mode + '\'' +
", securityProperties='" + securityProperties + '\'' +
'}';
}
@@ -118,7 +94,6 @@ public class ClusterDTO {
if (ValidateUtils.isNull(clusterName)
|| ValidateUtils.isNull(zookeeper)
|| ValidateUtils.isNull(idc)
|| ValidateUtils.isNull(mode)
|| ValidateUtils.isNull(bootstrapServers)
) {
return false;

View File

@@ -9,23 +9,19 @@ import java.util.Date;
public class ClusterDO implements Comparable<ClusterDO> {
private Long id;
private Integer status;
private Date gmtCreate;
private Date gmtModify;
private String clusterName;
private String zookeeper;
private String bootstrapServers;
private Integer mode;
private String securityProperties;
private String kafkaVersion;
private Integer status;
private Date gmtCreate;
private Date gmtModify;
public Long getId() {
return id;
@@ -83,14 +79,6 @@ public class ClusterDO implements Comparable<ClusterDO> {
this.bootstrapServers = bootstrapServers;
}
public Integer getMode() {
return mode;
}
public void setMode(Integer mode) {
this.mode = mode;
}
public String getSecurityProperties() {
return securityProperties;
}
@@ -99,27 +87,17 @@ public class ClusterDO implements Comparable<ClusterDO> {
this.securityProperties = securityProperties;
}
public String getKafkaVersion() {
return kafkaVersion;
}
public void setKafkaVersion(String kafkaVersion) {
this.kafkaVersion = kafkaVersion;
}
@Override
public String toString() {
return "ClusterDO{" +
"id=" + id +
", status=" + status +
", gmtCreate=" + gmtCreate +
", gmtModify=" + gmtModify +
", clusterName='" + clusterName + '\'' +
", zookeeper='" + zookeeper + '\'' +
", bootstrapServers='" + bootstrapServers + '\'' +
", mode=" + mode +
", securityProperties='" + securityProperties + '\'' +
", kafkaVersion='" + kafkaVersion + '\'' +
", status=" + status +
", gmtCreate=" + gmtCreate +
", gmtModify=" + gmtModify +
'}';
}