From 00ffdd863c0daa250b09784cf719fd97da6efdbf Mon Sep 17 00:00:00 2001 From: duandongmei Date: Sun, 5 May 2019 11:02:11 +0800 Subject: 恢复之前的定时任务配置取消不走综合服务的问题; 去掉英文国际化的合并记录 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Conflicts: src/main/resources/messages/message_en.properties --- .../nis/web/service/configuration/HttpRedirectCfgService.java | 2 +- .../nis/web/service/configuration/InterceptCfgService.java | 4 ++-- .../java/com/nis/web/service/configuration/IpCfgService.java | 2 +- src/main/resources/messages/message_en.properties | 11 ++++++++++- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/nis/web/service/configuration/HttpRedirectCfgService.java b/src/main/java/com/nis/web/service/configuration/HttpRedirectCfgService.java index b3a28f18f..50bda8346 100644 --- a/src/main/java/com/nis/web/service/configuration/HttpRedirectCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/HttpRedirectCfgService.java @@ -554,7 +554,7 @@ public class HttpRedirectCfgService extends CrudService logger.error("欺骗IP池配置配置下发失败",e); throw e; } - }else if(entity.getIsAudit()==3 && entity.getIsValid() == 1) { + }else if(entity.getIsAudit()==3) { PxyObjSpoofingIpPool cfg = new PxyObjSpoofingIpPool(); cfg.setIsValid(0); cfg.setCompileId(pool.getCompileId()); @@ -592,7 +592,7 @@ public class InterceptCfgService extends CrudService ToMaatResult result = ConfigServiceUtil.postMaatCfg(json); logger.info("intercept IP/DNS 配置下发响应信息:"+result.getMsg()); - }else if(isAudit==3 && entity.getIsValid() == 1) { + }else if(isAudit==3) { maatCfg.setCompileId(entity.getCompileId()); maatCfg.setServiceId(entity.getServiceId()); maatCfg.setIsValid(0);//无效 diff --git a/src/main/java/com/nis/web/service/configuration/IpCfgService.java b/src/main/java/com/nis/web/service/configuration/IpCfgService.java index cf1d09e46..85f5effa3 100644 --- a/src/main/java/com/nis/web/service/configuration/IpCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/IpCfgService.java @@ -734,7 +734,7 @@ public class IpCfgService extends CrudService { throw new RuntimeException( ":" + props.getProperty("unknown_cfg_type")); } - } else if (isAudit == 3 && entity.getIsValid() == 1) { + } else if (isAudit == 3) { if (maatType == Constants.CALLBACK_TYPE) { List ipList = new ArrayList<>(); for (IpPortCfg cfg : entity.getIpPortList()) { diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 77a82bcc6..b870c2e4f 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1515,6 +1515,15 @@ src_ip_pattern=Client IP Pattern dest_ip_pattern=Server IP Pattern src_port_pattern=Client Port Pattern dest_port_pattern=Server Port Pattern +url_group_configuration=URL Group Configuration +dns_keyword_group_configuration=DNS Keyword Group Configuration +app_ip_correlation=APP IP Correlation +ip_group=IP Group +common_ip_config=Common IP Config +common_group=Common Group +dns_keyword_group_manage=DNS Keyword Group Manage +old_asn_group_manage=ASN Group +url_group_manage=URL Group Manage range_cross=Found intersections between Server IP address and Client IP address app_ip_correlation=APP IP Correlation -public_private_file_error=Public-private key mismatch \ No newline at end of file +public_private_file_error=Public-private key mismatch -- cgit v1.2.3