Event rule config enhancement#159
Conversation
c40476a to
8e16e7e
Compare
1c9054f to
7ab548f
Compare
25b4a12 to
163112c
Compare
97018d5 to
4b1380c
Compare
nilmerg
left a comment
There was a problem hiding this comment.
next: controllers, fieldsets, css
nilmerg
left a comment
There was a problem hiding this comment.
Finito. For now.
I didn't look at CSS, will do this at the very end.
Since the controllers will receive a rather large rework, I didn't look that detailed over them as in the previous reviews. Will do this once they're adjusted.
|
Removing an escalation condition writes |
|
Should be done now. Did change nearly everything again, because the most of what was previously there was not usable and the plethora of other open pull requests referring to this one were either obsolete due to it anyway or now integrated here. Requires Icinga/ipl-html#151 @raviks789 Please have a look and test it. The tests |
sukhwinder33445
left a comment
There was a problem hiding this comment.
This is only a quick review. I will test the UI tomorrow.
Some new classes are missing PHPDoc and method return types.
|
It now requires Icinga/ipl-html#153 |
|
Class The class |
|
Fixed. Though, now the shown filter shows escaped chars again. I'm not sure whether it's necessary to avoid this here. The object filters will change anyway and when they do, I doubt that such a simple text input will remain. So let's keep that for now. |
Now the database entry has the operator as a suffix, is that OK? |
|
In case the daemon accepts it, sure :P |
|
@oxzi, that should be fine as discussed offline, right? |
Well, based on the architectural change described in the "Custom variable support in Notifications" document, the event rules will not be evaluated in the Icinga Notifications daemon anymore, but will be moved to the source. Implementation started in Icinga/icinga-notifications#324 and Icinga/icingadb#998. Thus, I am a bit puzzled how this PR works with the upcoming changes, especially the intermediate representation mentioned in the docs.
I was unable to review +2,762 −2,829 changes in 34 files, but at least having a suffix is something which works for us 🙃 |







Use a single form for event rule configuration.
Blocked by Icinga/icingaweb2#5190