parent
325caf2f9e
commit
79f7e28825
|
@ -1,6 +1,5 @@
|
|||
package com.dispose.ability.impl;
|
||||
|
||||
import com.cmhi.dispose.common.CmhiDisposeAbilityRsp;
|
||||
import com.cmhi.dispose.common.CmhiDisposeLoginRsp;
|
||||
import com.cmhi.dispose.common.CmhiDisposeStartTaskItem;
|
||||
import com.cmhi.dispose.common.CmhiDisposeStartTaskRsp;
|
||||
|
@ -13,15 +12,11 @@ import com.dispose.common.DisposeCapacityType;
|
|||
import com.dispose.common.DisposeConfigValue;
|
||||
import com.dispose.common.DisposeObjectType;
|
||||
import com.dispose.common.ErrorCode;
|
||||
import com.dispose.common.Helper;
|
||||
import com.dispose.common.IpAddrType;
|
||||
import com.dispose.common.NetflowDirection;
|
||||
import com.dispose.pojo.dto.protocol.base.ProtocolRespDTO;
|
||||
import com.dispose.pojo.entity.ServiceInfo;
|
||||
import com.dispose.pojo.po.MulReturnType;
|
||||
import com.dispose.pojo.vo.DeviceFirewareInfo;
|
||||
import inet.ipaddr.IPAddress;
|
||||
import inet.ipaddr.IPAddressString;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -29,7 +24,6 @@ import lombok.extern.slf4j.Slf4j;
|
|||
import javax.annotation.Nullable;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
|
@ -39,14 +33,14 @@ import java.util.List;
|
|||
*/
|
||||
@Slf4j
|
||||
public class CmhiAbilityImpl implements DisposeAbility {
|
||||
/**
|
||||
* The Protect ip v 4.
|
||||
/*
|
||||
The Protect ip v 4.
|
||||
*/
|
||||
private final List<String> protectIpV4 = new ArrayList<>();
|
||||
/**
|
||||
* The Protect ip v 6.
|
||||
//private final List<String> protectIpV4 = new ArrayList<>();
|
||||
/*
|
||||
The Protect ip v 6.
|
||||
*/
|
||||
private final List<String> protectIpV6 = new ArrayList<>();
|
||||
//private final List<String> protectIpV6 = new ArrayList<>();
|
||||
/**
|
||||
* The Restful interface.
|
||||
*/
|
||||
|
@ -491,7 +485,7 @@ public class CmhiAbilityImpl implements DisposeAbility {
|
|||
if (err != ErrorCode.ERR_OK) {
|
||||
log.error("----Error PengXin start clean {} server return {}", taskId, err.getMsg());
|
||||
return new MulReturnType<>(err, -1L);
|
||||
}
|
||||
}
|
||||
|
||||
if (rspInfo.getMsgContent().getItems().size() == 0) {
|
||||
return new MulReturnType<>(ErrorCode.ERR_NOSUCHTASK, -1L);
|
||||
|
|
Loading…
Reference in New Issue