|
|
@ -205,7 +205,7 @@ public class DefaultNotificationSettingsService implements NotificationSettingsS |
|
|
NotificationTemplate ruleEngineComponentLifecycleFailureNotificationTemplate = createTemplate(tenantId, "Rule chain/node lifecycle failure notification", NotificationType.RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT, |
|
|
NotificationTemplate ruleEngineComponentLifecycleFailureNotificationTemplate = createTemplate(tenantId, "Rule chain/node lifecycle failure notification", NotificationType.RULE_ENGINE_COMPONENT_LIFECYCLE_EVENT, |
|
|
"${componentType} '${componentName}' failed to ${action}", |
|
|
"${componentType} '${componentName}' failed to ${action}", |
|
|
"Rule chain '${ruleChainName}' - ${action} failure:<br/>${error}", |
|
|
"Rule chain '${ruleChainName}' - ${action} failure:<br/>${error}", |
|
|
"warning", "Go to Rule chain", "/features/ruleChains/${ruleChainId}"); |
|
|
"warning", "Go to Rule chain", "/ruleChains/${ruleChainId}"); |
|
|
RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig ruleEngineComponentLifecycleEventRuleTriggerConfig = new RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig(); |
|
|
RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig ruleEngineComponentLifecycleEventRuleTriggerConfig = new RuleEngineComponentLifecycleEventNotificationRuleTriggerConfig(); |
|
|
ruleEngineComponentLifecycleEventRuleTriggerConfig.setRuleChains(null); |
|
|
ruleEngineComponentLifecycleEventRuleTriggerConfig.setRuleChains(null); |
|
|
ruleEngineComponentLifecycleEventRuleTriggerConfig.setRuleChainEvents(Set.of(ComponentLifecycleEvent.STARTED, ComponentLifecycleEvent.UPDATED, ComponentLifecycleEvent.STOPPED)); |
|
|
ruleEngineComponentLifecycleEventRuleTriggerConfig.setRuleChainEvents(Set.of(ComponentLifecycleEvent.STARTED, ComponentLifecycleEvent.UPDATED, ComponentLifecycleEvent.STOPPED)); |
|
|
|