parent
8c58949e5a
commit
673a4f5604
|
@ -22,6 +22,18 @@ public enum DisposeCapacityType implements BaseEnum {
|
|||
* The Detective.
|
||||
*/
|
||||
DETECTIVE(3, "检测能力"),
|
||||
/**
|
||||
* The WAF_BLOCK.
|
||||
*/
|
||||
WAF_BLOCK(4, "WAF封堵"),
|
||||
/**
|
||||
* DNS_REFRESH.
|
||||
*/
|
||||
DNS_REFRESH(5, "域名刷新服务器"),
|
||||
/**
|
||||
* MANUAL_HANDLING.
|
||||
*/
|
||||
MANUAL_HANDLING(6, "人工处理"),
|
||||
;
|
||||
|
||||
/**
|
||||
|
|
|
@ -33,9 +33,9 @@ public class DeviceManagerTask {
|
|||
public void updateDeviceLinkStatusTask() {
|
||||
disposeAbilityRouterService.getAllAbilityDevices().forEach(v -> {
|
||||
v.setLinkStatus(v.getDb().getDeviceLinkStatus());
|
||||
log.debug("{}{} get link status {}", v.getDev().getIpAddr(),
|
||||
log.debug("{}{} {} get link status {}", v.getDev().getIpAddr(),
|
||||
((v.getDev().getIpPort() == null || v.getDev().getIpPort().length() == 0) ? "" :
|
||||
":" + v.getDev().getIpPort()),
|
||||
":" + v.getDev().getIpPort()), v.getDev().getDeviceType(),
|
||||
v.getLinkStatus());
|
||||
});
|
||||
}
|
||||
|
@ -53,9 +53,9 @@ public class DeviceManagerTask {
|
|||
v.setFirewareInfo(ret.getSecondParam());
|
||||
}
|
||||
|
||||
log.debug("{}{} get fireware status {}", v.getDev().getIpAddr(),
|
||||
log.debug("{}{} {} get fireware status {}", v.getDev().getIpAddr(),
|
||||
((v.getDev().getIpPort() == null || v.getDev().getIpPort().length() == 0) ? "" :
|
||||
":" + v.getDev().getIpPort()),
|
||||
":" + v.getDev().getIpPort()), v.getDev().getDeviceType(),
|
||||
ret.getFirstParam());
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue