* feat: add automation support for SLA * feat: add sla action in automtion UI * chore: revert frontend changes * chore: refactor to ee namespace * chore: refactor automation rule to ee namespace * feat: create applied_sla table entry * chore: add applied_sla spec * chore: rubocop fixes --------- Co-authored-by: Sojan <sojan@pepalo.com>
10 lines
158 B
Ruby
10 lines
158 B
Ruby
module Enterprise::AutomationRule
|
|
def conditions_attributes
|
|
super + %w[sla_policy_id]
|
|
end
|
|
|
|
def actions_attributes
|
|
super + %w[add_sla]
|
|
end
|
|
end
|