Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 7d805f5f9cb504de0519901cadd846755dd14f1e
https://github.com/Checkmk/checkmk/commit/7d805f5f9cb504de0519901cadd846755…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M cmk/utils/log_to_history.py
M cmk/utils/notification_result.py
Log Message:
-----------
Get rid of statename dependency for mapping notification states
It's mostly coincidental that the state number is the same as the
service state number. So it's actually misleading to use the statename
helper for this purpose. It was now replaced with a local helper which
makes it clearer what the intention is.
Change-Id: If18b5c998a9e9f11ed6f367b13fe9af4f3eb8865
Commit: 56fdc29618c2ebbbe256eaa5ad17a9c482270cd6
https://github.com/Checkmk/checkmk/commit/56fdc29618c2ebbbe256eaa5ad17a9c48…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M cmk/base/events.py
M cmk/base/notify.py
M cmk/gui/watolib/check_mk_automations.py
M cmk/utils/notify_types.py
M tests/unit/cmk/base/test_events.py
M tests/unit/cmk/base/test_notify.py
Log Message:
-----------
Clean up EventContext and EnrichedEventContext re-export
Change-Id: Ia2371d4a19859bf59104fad6515284b9f8fe84e0
Commit: bdc15908c85cbac88628e1590876bdbc16899388
https://github.com/Checkmk/checkmk/commit/bdc15908c85cbac88628e1590876bdbc1…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M cmk/base/events.py
M cmk/base/notify.py
M cmk/ec/actions.py
M cmk/utils/event_context.py
Log Message:
-----------
Make cmk.utils.event_context independent
We are about to move several event processing related modules to a
dedicated package. As last preparational step, we need to get rid of the
cmk.utils.hostaddress.HostName dependency.
The idea of this change, which will get relevant for other packages as
well, is:
1. The package defines its own type for HostName.
2. At the boundaries of the package we need to convert between the
package's HostName type and the other host name types (like
cmk.utils.hostaddress.HostName).
In the package specific type, we assume that the value was already
parsed, so we can simply use a NewType.
Change-Id: I1efaa94fbc0201f07a2f6ea0131cbe6172fa9570
Commit: 12bd146dc2746d0ba2405cdcf04fc4154f0ed88b
https://github.com/Checkmk/checkmk/commit/12bd146dc2746d0ba2405cdcf04fc4154…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-09-05 (Thu, 05 Sep 2024)
Changed paths:
M cmk/base/notify.py
A cmk/events/__init__.py
A cmk/events/notification_result.py
M cmk/utils/log_to_history.py
R cmk/utils/notification_result.py
M cmk/utils/notification_spool_file.py
M cmk/utils/notify_types.py
M pyproject.toml
M tests/pylint/checker_cmk_module_layers.py
M tests/unit/cmk/utils/test_log_to_history.py
Log Message:
-----------
Introduce cmk.events package
This will be the new home for all notifcation and alert handling related
Python code (except the notification and alerting plugins).
This and the following changes will consolidate all the code there and
in the following step this package will be moved to the `packages/`
hierarchy.
Change-Id: Ia9cca193736b8d9aaeb59462a5573c07e5667ffd
Compare:
https://github.com/Checkmk/checkmk/compare/533eee110d6d...12bd146dc274
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications