From 2b8984725c86519899b820c023da317a958f82e0 Mon Sep 17 00:00:00 2001 From: chenlinghy Date: Thu, 22 Apr 2021 15:39:57 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=20=E4=BF=AE=E6=94=B9=E9=98=B2?= =?UTF-8?q?=E6=8A=A4=E5=AF=B9=E8=B1=A1=E5=92=8C=E6=97=81=E8=B7=AF=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E7=89=B5=E5=BC=95=E7=AD=96=E7=95=A5=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E7=9A=84=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dispose/ability/impl/DpTechBypassAbilityImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java index b22c1ab3..43c16095 100644 --- a/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java +++ b/src/main/java/com/dispose/ability/impl/DpTechBypassAbilityImpl.java @@ -61,7 +61,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { /** * The Object prefix. */ - private final String objectPrefix = "H"; + private final String objectPrefix = "C"; /** * The Dp bypass manager. */ @@ -524,7 +524,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { for (Map.Entry entry : ipSegment.entrySet()) { String protectName = getProtectObjectName(v.getServiceId(), entry.getKey()); - //只处理CMHY前缀的防护对象 + //只处理C前缀的防护对象 if (protectName.startsWith(objectPrefix)) { // 防护对象存在 if (dpBypassManager.getProtectObject().containsKey(protectName)) { @@ -736,7 +736,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { if (ret != null && ret.getBypassManualTractionStrategyForService().size() > 0) { ret.getBypassManualTractionStrategyForService().forEach(k -> { String policyName = k.getPolicyName().getValue(); - // 非法名称的旁路牵引策略-因UMC平台共享,不能删除第三方的方璐手动牵引策略 + // 只处理C旁路手动牵引策略,不可删除第三方添加的旁路手动牵引策略 if (policyName.startsWith(objectPrefix)) { DpTractionStrategy obj; @@ -787,7 +787,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { ret.getProtectionTargetWithStrategyForService().forEach(k -> { String objName = k.getProtectionTargetName().getValue(); - // 只处理CMHI相关对象和模板 + // 只处理C相关对象和模板 if (objName.startsWith(objectPrefix)) { DpProtectionStrategyInfo obj; @@ -856,7 +856,7 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl { ret.getProtectionObjectDataForService().forEach(k -> { String objName = k.getProtectionName().getValue(); - // 只处理CMHY相关对象,不可对UMC上的非杭研防护对象进行删除 + // 只处理C相关对象,不可对UMC上的非杭研防护对象进行删除 if (objName.startsWith(objectPrefix)) { DpProtectObject obj;