Branch: refs/heads/2.1.0
Home: https://github.com/Checkmk/checkmk
Commit: 960d8e4b3a105b6fa8a6bb82101db6ab743657fa
https://github.com/Checkmk/checkmk/commit/960d8e4b3a105b6fa8a6bb82101db6ab7…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A .werks/15768
M checks/siemens_plc
M cmk/gui/plugins/wato/check_parameters/siemens_plc_duration.py
Log Message:
-----------
15768 siemens_plc_duration: Fix crash if duration is smaller than a second
Previously, siemens_plc_duration check would crash if duration was smaller
than a second with an error:
C+:
ValueError (invalid literal for int() with base 10: '0.05000000074505806')
C-:
Now, the check doesn't crash anymore and it's possible to input thresholds
smaller than a second in the "Siemens PLC Duration" monitoring rule.
SUP-14553
Change-Id: I203a589e718b1a0471f471843d85bb20b959902e
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 94e500e529c1be04d883e214635f35ac0d8318d9
https://github.com/Checkmk/checkmk/commit/94e500e529c1be04d883e214635f35ac0…
Author: Gav <gavin.mcguigan(a)tribe29.com>
Date: 2023-07-03 (Mon, 03 Jul 2023)
Changed paths:
A .werks/15683
M cmk/gui/fields/__init__.py
M cmk/gui/fields/custom_fields.py
A cmk/gui/plugins/openapi/endpoints/notification_rules/__init__.py
A cmk/gui/plugins/openapi/endpoints/notification_rules/common_schemas.py
A cmk/gui/plugins/openapi/endpoints/notification_rules/request_example.py
A cmk/gui/plugins/openapi/endpoints/notification_rules/request_schemas.py
A cmk/gui/plugins/openapi/endpoints/notification_rules/response_schemas.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
M cmk/gui/watolib/notifications.py
M cmk/utils/type_defs/__init__.py
M cmk/utils/type_defs/notification_plugin_api_types.py
A cmk/utils/type_defs/rest_api_types/notifications_rule_types.py
A cmk/utils/type_defs/rest_api_types/notifications_types.py
R cmk/utils/type_defs/rule_notification_api_types.py
M tests/testlib/rest_api_client.py
A tests/unit/cmk/gui/plugins/openapi/test_notification_rules.py
Log Message:
-----------
15683 notification_rules: implementation of rest-api endpoints
This werk introduces a new set of endpoints to the rest-api for the
configuration of notification rules.
Users can now via the rest-api do the following...
* Create a notification rule
* Update a notification rule
* Delete a notification rule
* Show a notification rule
* Show all notification rules
Change-Id: I748f84773197cec0ce011e7872d73fff09a46048