Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 1c1b97f24b8a01c26a8d8b04976c74abfb8268e1
https://github.com/Checkmk/checkmk/commit/1c1b97f24b8a01c26a8d8b04976c74abf…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2024-02-23 (Fri, 23 Feb 2024)
Changed paths:
A .werks/16521.md
M cmk/bi/search.py
M tests/unit/cmk/bi/test_bi_search.py
M tests/unit/cmk/gui/openapi/test_openapi_bi.py
Log Message:
-----------
16521 FIX bi_rule: schema update to match the api docs
The Open API schema previously did not reflect the response or the request
schema format that was required to create or show bi_rules. This werk
addresses this issue.
Previously, when creating or getting a bi-rule, via the REST-API, the
schema for host_label_groups or service_label_groups looked something
like this
```
"host_label_groups": [
[
"and",
[
["and", "mystery/switch:yes"],
["or", "mystery/switch:no"],
],
],
]
```
This did not match the schema documented in the Open API docs.
To fix this, we have now changed the format to the following
```
"host_label_groups": [
{
"operator": "and",
"label_group": [
{"operator": "and", "label":
"mystery/switch:yes"},
{"operator": "or", "label":
"mystery/switch:no"},
],
},
]
```
This also aligns with other endpoints that use our new
host_label_groups or service_label_groups, for example the
rules endpoints.
As this is a breaking change, user scripts should be adjusted
accordingly.
Change-Id: I14657ad8bf37e71c69210b9d7e4f2dfaa2f4d94d
Commit: 3483b5765446a6cd727078384eb8be6a4454627e
https://github.com/Checkmk/checkmk/commit/3483b5765446a6cd727078384eb8be6a4…
Author: Ronny Bruska <ronny.bruska(a)checkmk.com>
Date: 2024-02-23 (Fri, 23 Feb 2024)
Changed paths:
M cmk/post_rename_site/plugins/actions/warn_changed_ports.py
Log Message:
-----------
Fix typo
CMK-16180
Change-Id: Ifd37f4101ab1e538a602a55cfea9ebc8a5f66121
Compare:
https://github.com/Checkmk/checkmk/compare/0537445f5be5...3483b5765446
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications