diff --git a/src/main/java/neatlogic/module/cmdb/process/stephandler/CIEntitySyncProcessUtilHandler.java b/src/main/java/neatlogic/module/cmdb/process/stephandler/CIEntitySyncProcessUtilHandler.java index 6529645d979507de6fa6dd7a25117a64b00d05c7..805b8fc24d6a9ab7d7d29a74de379887b560773c 100644 --- a/src/main/java/neatlogic/module/cmdb/process/stephandler/CIEntitySyncProcessUtilHandler.java +++ b/src/main/java/neatlogic/module/cmdb/process/stephandler/CIEntitySyncProcessUtilHandler.java @@ -13,7 +13,7 @@ import neatlogic.framework.process.dto.processconfig.ActionConfigActionVo; import neatlogic.framework.process.dto.processconfig.ActionConfigVo; import neatlogic.framework.process.stephandler.core.ProcessStepInternalHandlerBase; import neatlogic.framework.process.util.ProcessConfigUtil; -import neatlogic.module.cmdb.process.notifyhandler.CiEntitySyncNotifyHandler; +import neatlogic.module.cmdb.process.notifyhandler.CmdbSyncNotifyHandler; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import org.apache.commons.lang3.StringUtils; @@ -178,7 +178,7 @@ public class CIEntitySyncProcessUtilHandler extends ProcessStepInternalHandlerBa /** 通知 **/ JSONObject notifyPolicyConfig = configObj.getJSONObject("notifyPolicyConfig"); INotifyServiceCrossoverService notifyServiceCrossoverService = CrossoverServiceFactory.getApi(INotifyServiceCrossoverService.class); - InvokeNotifyPolicyConfigVo invokeNotifyPolicyConfigVo = notifyServiceCrossoverService.regulateNotifyPolicyConfig(notifyPolicyConfig, CiEntitySyncNotifyHandler.class); + InvokeNotifyPolicyConfigVo invokeNotifyPolicyConfigVo = notifyServiceCrossoverService.regulateNotifyPolicyConfig(notifyPolicyConfig, CmdbSyncNotifyHandler.class); resultObj.put("notifyPolicyConfig", invokeNotifyPolicyConfigVo); /** 动作 **/ @@ -187,7 +187,7 @@ public class CIEntitySyncProcessUtilHandler extends ProcessStepInternalHandlerBa if (actionConfigVo == null) { actionConfigVo = new ActionConfigVo(); } - actionConfigVo.setHandler(CiEntitySyncNotifyHandler.class.getName()); + actionConfigVo.setHandler(CmdbSyncNotifyHandler.class.getName()); resultObj.put("actionConfig", actionConfigVo); JSONArray customButtonList = configObj.getJSONArray("customButtonList"); diff --git a/src/main/java/neatlogic/module/cmdb/process/stephandler/CmdbSyncProcessUtilHandler.java b/src/main/java/neatlogic/module/cmdb/process/stephandler/CmdbSyncProcessUtilHandler.java index 0e82aae73222fb831610b55f1b4678fb60030a89..3e0621c124c44a5c52df1cf6e683c3b968180a02 100644 --- a/src/main/java/neatlogic/module/cmdb/process/stephandler/CmdbSyncProcessUtilHandler.java +++ b/src/main/java/neatlogic/module/cmdb/process/stephandler/CmdbSyncProcessUtilHandler.java @@ -36,7 +36,7 @@ import neatlogic.framework.util.TableResultUtil; import neatlogic.module.cmdb.dao.mapper.transaction.TransactionMapper; import neatlogic.module.cmdb.process.dto.*; import neatlogic.module.cmdb.process.exception.CiEntityConfigIllegalException; -import neatlogic.module.cmdb.process.notifyhandler.CiEntitySyncNotifyHandler; +import neatlogic.module.cmdb.process.notifyhandler.CmdbSyncNotifyHandler; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.collections4.MapUtils; import org.apache.commons.lang3.StringUtils; @@ -248,7 +248,7 @@ public class CmdbSyncProcessUtilHandler extends ProcessStepInternalHandlerBase { /** 通知 **/ JSONObject notifyPolicyConfig = configObj.getJSONObject("notifyPolicyConfig"); INotifyServiceCrossoverService notifyServiceCrossoverService = CrossoverServiceFactory.getApi(INotifyServiceCrossoverService.class); - InvokeNotifyPolicyConfigVo invokeNotifyPolicyConfigVo = notifyServiceCrossoverService.regulateNotifyPolicyConfig(notifyPolicyConfig, CiEntitySyncNotifyHandler.class); + InvokeNotifyPolicyConfigVo invokeNotifyPolicyConfigVo = notifyServiceCrossoverService.regulateNotifyPolicyConfig(notifyPolicyConfig, CmdbSyncNotifyHandler.class); resultObj.put("notifyPolicyConfig", invokeNotifyPolicyConfigVo); /** 动作 **/ @@ -257,7 +257,7 @@ public class CmdbSyncProcessUtilHandler extends ProcessStepInternalHandlerBase { if (actionConfigVo == null) { actionConfigVo = new ActionConfigVo(); } - actionConfigVo.setHandler(CiEntitySyncNotifyHandler.class.getName()); + actionConfigVo.setHandler(CmdbSyncNotifyHandler.class.getName()); resultObj.put("actionConfig", actionConfigVo); JSONArray customButtonList = configObj.getJSONArray("customButtonList");