Skip to content

Handle rule filter serialization#469

Open
BastianLedererIcinga wants to merge 4 commits intomainfrom
rule-filter-handling
Open

Handle rule filter serialization#469
BastianLedererIcinga wants to merge 4 commits intomainfrom
rule-filter-handling

Conversation

@BastianLedererIcinga
Copy link
Copy Markdown
Contributor

@BastianLedererIcinga BastianLedererIcinga commented Apr 28, 2026

resolve #466

Introduce RuleSerializer to create Json from a configured filter.

Introduce Icinga\Module\Notifications\Hook\V2 which no longer requires serializeRuleFilter() and getRuleFilterTargets() as they are now obsolete.

Adjust EventRuleController to skip target selection use the new RuleSerializer.

require Icinga/ipl-web#376

@cla-bot cla-bot Bot added the cla/signed CLA is signed by all contributors of a PR label Apr 28, 2026
@BastianLedererIcinga BastianLedererIcinga force-pushed the rule-filter-handling branch 2 times, most recently from e3da66a to b8a38fc Compare April 28, 2026 08:02
@BastianLedererIcinga BastianLedererIcinga force-pushed the rule-filter-handling branch 7 times, most recently from 222ee6b to d5fe2f5 Compare May 6, 2026 09:29
`RuleSerializer` serializes rules as json
`RuleParser` can read them and create an ipl `Filter\Ŗule` from it
Introduce a new version of the `SourceHook` interface for v 1.0
Use the functions of the new `SourceHook` interface,
the `RuleParser` and `RuleSerializer` to set up the filter editor
of an event rule-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Handle rule filter rendering and serialization on our own again

1 participant