Merge remote-tracking branch 'origin/v2.0.5_dev' into v2.0.5_dev
This commit is contained in:
commit
f3f9ea13ca
|
@ -128,9 +128,11 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
ret = getCleanTypePort().delBypassManualTractionStrategyForUMC(v.getPolicyName());
|
ret = getCleanTypePort().delBypassManualTractionStrategyForUMC(v.getPolicyName());
|
||||||
|
|
||||||
if (ret.getResultRetVal() == 0) {
|
if (ret.getResultRetVal() == 0) {
|
||||||
log.debug("Remove Traction Strategy {} Succeed", v.getPolicyName());
|
log.info("Remove Traction Strategy {} Succeed", v.getPolicyName());
|
||||||
|
//清楚缓存信息
|
||||||
|
dpBypassManager.getTractionStrategyName().remove(v.getPolicyName());
|
||||||
} else {
|
} else {
|
||||||
log.error("!!!!Remove Traction Strategy {} Error: {}", v.getPolicyName(),
|
log.info("!!!!Remove Traction Strategy {} Error: {}", v.getPolicyName(),
|
||||||
ret.getResultInfo().getValue());
|
ret.getResultInfo().getValue());
|
||||||
return ErrorCode.ERR_CALLDEVICE;
|
return ErrorCode.ERR_CALLDEVICE;
|
||||||
}
|
}
|
||||||
|
@ -151,6 +153,8 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
|
|
||||||
if (ret.getResultRetVal() == 0) {
|
if (ret.getResultRetVal() == 0) {
|
||||||
log.debug("Disable Protection Strategy Template {} Succeed", objName);
|
log.debug("Disable Protection Strategy Template {} Succeed", objName);
|
||||||
|
//清楚缓存信息
|
||||||
|
dpBypassManager.getProtectStrategy().remove(objName);
|
||||||
} else {
|
} else {
|
||||||
log.error("!!!!Disable Protection Strategy Template {} Error: {}", objName,
|
log.error("!!!!Disable Protection Strategy Template {} Error: {}", objName,
|
||||||
ret.getResultInfo().getValue());
|
ret.getResultInfo().getValue());
|
||||||
|
@ -165,6 +169,8 @@ public class DpTechBypassAbilityImpl extends DpTechAbilityImpl {
|
||||||
|
|
||||||
if (ret.getResultRetVal() == 0) {
|
if (ret.getResultRetVal() == 0) {
|
||||||
log.debug("Delete Protection Object {} Succeed", objName);
|
log.debug("Delete Protection Object {} Succeed", objName);
|
||||||
|
//清楚缓存信息
|
||||||
|
dpBypassManager.getProtectObject().remove(objName);
|
||||||
} else {
|
} else {
|
||||||
log.error("!!!!Delete Protection Object {} Error: {}", objName,
|
log.error("!!!!Delete Protection Object {} Error: {}", objName,
|
||||||
ret.getResultInfo().getValue());
|
ret.getResultInfo().getValue());
|
||||||
|
|
Loading…
Reference in New Issue