parent
73ff082065
commit
2b8984725c
|
@ -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<IpAddrType, String> 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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue