Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: c06258395d6ea1d0dfaa6d89082a922441d45b60
https://github.com/Checkmk/checkmk/commit/c06258395d6ea1d0dfaa6d89082a92244…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/restful_objects/constructors.py
Log Message:
-----------
REST-API: loosen typing for etag functions
This allows using TypedDicts, since the argument isn't modified.
Change-Id: I4322c1abe059fa76af6624c9199117754d1b2425
JIRA-Ref: CMK-18835
Commit: 0af05a9bec0636765f2d9a193b9ce48d5e5a582d
https://github.com/Checkmk/checkmk/commit/0af05a9bec0636765f2d9a193b9ce48d5…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M tests/unit/cmk/gui/openapi/test_openapi_group_config.py
Log Message:
-----------
REST-API: refactor group client fixtures
Change-Id: Id4d3cadcb15179347a5ee48255384eb77ba41900
JIRA-Ref: CMK-18835
Commit: daa87a974d1f0d202d0a772645846640cfd16d94
https://github.com/Checkmk/checkmk/commit/daa87a974d1f0d202d0a772645846640c…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/restful_objects/constructors.py
M cmk/gui/openapi/restful_objects/type_defs.py
M tests/unit/cmk/gui/openapi/test_openapi_group_config.py
Log Message:
-----------
REST-API: exclude empty extensions from response
Change-Id: I43364780085a6f19f756326513db1d369349ffee
JIRA-Ref: CMK-18835
Commit: 6ec1bf4e4408ac3d3e866a233b09c18bf68006f2
https://github.com/Checkmk/checkmk/commit/6ec1bf4e4408ac3d3e866a233b09c18bf…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/common_fields.py
M cmk/gui/openapi/endpoints/contact_group_config/__init__.py
M cmk/gui/openapi/endpoints/host_group_config/__init__.py
M cmk/gui/openapi/endpoints/service_group_config/__init__.py
M cmk/gui/openapi/endpoints/utils.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_group_config.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list contact/host/service groups
Change-Id: Ieabba78f7b0a0b2fa0fbb0093aa177bec49b40fb
JIRA-Ref: CMK-18835
Commit: 32b6dc77434afd24ff6ab0b2b54f2bd1f11a2b41
https://github.com/Checkmk/checkmk/commit/32b6dc77434afd24ff6ab0b2b54f2bd1f…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/aux_tags/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_auxtags.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list aux tags
Change-Id: I25b056933314bb0518960435a3b52ef7e5bf32fa
JIRA-Ref: CMK-18835
Commit: bebbd92a1e02db112ca26c58389b589e3ef026e6
https://github.com/Checkmk/checkmk/commit/bebbd92a1e02db112ca26c58389b589e3…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/folder_config/__init__.py
M cmk/gui/openapi/endpoints/host_config/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_folder_config.py
Log Message:
-----------
REST-API: add effective_attributes, include_links and include_extensions to list hosts
in folder
Change-Id: I6444a2ba8928c4cc6d2d9e713beb6d663ff94e8d
JIRA-Ref: CMK-18835
Commit: 7681766f47069baf4284bbb16e2612fafb72ce88
https://github.com/Checkmk/checkmk/commit/7681766f47069baf4284bbb16e2612faf…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/folder_config/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_folder_config.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list folders
Change-Id: Ic65f2b5148ccf6f8cc726b9442756f5de3bcbad4
JIRA-Ref: CMK-18835
Commit: 5f6ad3e19a701d6ba28b18a5b028eb982bb93fd8
https://github.com/Checkmk/checkmk/commit/5f6ad3e19a701d6ba28b18a5b028eb982…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/host_config/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_host_config.py
Log Message:
-----------
REST-API: add include_extensions to list host configs
Change-Id: Ia1e0552e0aaccfbe1149ae184fb18fe2a5af1b76
JIRA-Ref: CMK-18835
Commit: ee0f10f3b590aa8fb8a3f693e60d3b4980b409c1
https://github.com/Checkmk/checkmk/commit/ee0f10f3b590aa8fb8a3f693e60d3b498…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/host_tag_group/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_host_tag_group.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list host tag groups
Change-Id: If6e00af67a5f0f04966a8865dbd8d7b968e4dc53
JIRA-Ref: CMK-18835
Commit: 9d5e9051095aa9409d4fd6fc31197a5f989043cc
https://github.com/Checkmk/checkmk/commit/9d5e9051095aa9409d4fd6fc31197a5f9…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/notification_rules/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_notification_rules.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list notification rules
Change-Id: I7ab512d35c5441d45e92ec8a26e226ad323bc1bc
JIRA-Ref: CMK-18835
Commit: 2866c5b00b1faade9a4a05539412b53ca32b8c9a
https://github.com/Checkmk/checkmk/commit/2866c5b00b1faade9a4a05539412b53ca…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/password/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_password.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list passwords
Change-Id: Id306261d149117cf8ed889ae8e869eca16c0bd0a
JIRA-Ref: CMK-18835
Commit: 2ccb8807da2234d0afa97c48bf79d2367ac24e31
https://github.com/Checkmk/checkmk/commit/2ccb8807da2234d0afa97c48bf79d2367…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/rule/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_rules.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list rules
Change-Id: I7b20c4401fb41e1429ceff4ee45c9fe5d7ec8d78
JIRA-Ref: CMK-18835
Commit: 60d7af9525d030e1511cf22c146f3d93fe3ba8bb
https://github.com/Checkmk/checkmk/commit/60d7af9525d030e1511cf22c146f3d93f…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/ruleset/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_rules.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list rulesets
Change-Id: I4388b30b12f34ab27a7eac93015e8314cf5c1283
JIRA-Ref: CMK-18835
Commit: 0911a7e9df5bd4ef9a254e88c879407d7807f2b4
https://github.com/Checkmk/checkmk/commit/0911a7e9df5bd4ef9a254e88c879407d7…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/site_management/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_site_management.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list sites
Change-Id: I476cde144e70b7ee94799aa5de5925cd21bbcf8e
JIRA-Ref: CMK-18835
Commit: 48b2afc77523d4d32824b1a5e108f0a07ba232b8
https://github.com/Checkmk/checkmk/commit/48b2afc77523d4d32824b1a5e108f0a07…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/time_periods/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_time_period.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list time periods
Change-Id: I739427ad5189ba72a6792ff6a43aa2a61b9391f6
JIRA-Ref: CMK-18835
Commit: 05628cf532e3fe771f2d78510a95e9a5dfa28c02
https://github.com/Checkmk/checkmk/commit/05628cf532e3fe771f2d78510a95e9a5d…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/user_config/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_user.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list users
Change-Id: I2102be6c5b8b9b1e538eabb6890f0c6bcc06ca7e
JIRA-Ref: CMK-18835
Commit: e3f260ff2f500e913904314790f6b0f700c7597a
https://github.com/Checkmk/checkmk/commit/e3f260ff2f500e913904314790f6b0f70…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/user_role/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_userroles.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list user roles
Change-Id: Idf3217754dee494dfa32a6fd202c2842df099f7c
JIRA-Ref: CMK-18835
Commit: a6ef57163993c58c7be73227e2ad5caaca2f4950
https://github.com/Checkmk/checkmk/commit/a6ef57163993c58c7be73227e2ad5caac…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/ldap_connection/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_ldap_connection.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list ldap connections
Change-Id: I820e1e7445e1b1cb187a3fef93ac6cc6387076f7
JIRA-Ref: CMK-18835
Commit: f014be070425984b4425882f6064e09446226d74
https://github.com/Checkmk/checkmk/commit/f014be070425984b4425882f6064e0944…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M tests/testlib/rest_api_client.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list saml connections
Change-Id: Ib450317582378912c64ec73c1d8f3c453fb586cf
JIRA-Ref: CMK-18835
Commit: 6835103bb299a83b2c9d5fbc324b38efb5b727e9
https://github.com/Checkmk/checkmk/commit/6835103bb299a83b2c9d5fbc324b38efb…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/host/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_host.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list hosts
Change-Id: I0ce58a9c05c68f9fd881daf2fa70b142653e816b
JIRA-Ref: CMK-18835
Commit: 312cef7a7b5b2adeb4a1cb2aab556001a9e5ceca
https://github.com/Checkmk/checkmk/commit/312cef7a7b5b2adeb4a1cb2aab556001a…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/service/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_service.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list (host) services
Change-Id: I2c031e45bf4620c1b711f30d74c84f025f4d631f
JIRA-Ref: CMK-18835
Commit: ca40c640f70a9031dc8fcf892606cfb5079bb34d
https://github.com/Checkmk/checkmk/commit/ca40c640f70a9031dc8fcf892606cfb50…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/comment/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_service_and_host_comments.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list comments
Change-Id: I67ca58bb1bc505b86a89a38c5bca4299477e3867
JIRA-Ref: CMK-18835
Commit: f1efd78e27740cbe26c324d90b05a6f77dbd6a3f
https://github.com/Checkmk/checkmk/commit/f1efd78e27740cbe26c324d90b05a6f77…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/downtime/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_downtime.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list downtimes
Change-Id: I5c0cf32a0abecb2d4cc7badde18e331a56f2c75b
JIRA-Ref: CMK-18835
Commit: 0b14d02203221405adabe7cb0708f9e75b99566b
https://github.com/Checkmk/checkmk/commit/0b14d02203221405adabe7cb0708f9e75…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M tests/testlib/rest_api_client.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list agents
Change-Id: Icfd12c9c7dd03c4a6c91b3307d0f249193923136
JIRA-Ref: CMK-18835
Commit: e1bdb9bf97d5d60128dae0d9241a65e3d6895504
https://github.com/Checkmk/checkmk/commit/e1bdb9bf97d5d60128dae0d9241a65e3d…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/mkeventd/_openapi/__init__.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_event_console.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list ec events
Change-Id: I27fe7dbedd7850cd81183fd0fe6956bdc252c07d
JIRA-Ref: CMK-18835
Commit: a002d5f570555394b225e33c1e86e0305da642b6
https://github.com/Checkmk/checkmk/commit/a002d5f570555394b225e33c1e86e0305…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
M cmk/gui/openapi/endpoints/activate_changes/__init__.py
M tests/testlib/rest_api_client.py
Log Message:
-----------
REST-API: add include_links and include_extensions to list running activate changes
Change-Id: Ic43eb12e0d84300e06bf9f3a695a9c5fd3ed0587
JIRA-Ref: CMK-18835
Commit: a53b97c32fb5eaa9f2ddcc1f4ce90a34b0f46907
https://github.com/Checkmk/checkmk/commit/a53b97c32fb5eaa9f2ddcc1f4ce90a34b…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
A .werks/17266.md
M cmk/gui/openapi/endpoints/common_fields.py
M tests/composition/test_automatic_host_removal.py
M tests/testlib/openapi_session.py
M tests/unit/cmk/gui/openapi/test_event_console.py
M tests/unit/cmk/gui/openapi/test_ldap_connection.py
M tests/unit/cmk/gui/openapi/test_notification_rules.py
M tests/unit/cmk/gui/openapi/test_openapi_auxtags.py
M tests/unit/cmk/gui/openapi/test_openapi_downtime.py
M tests/unit/cmk/gui/openapi/test_openapi_folder_config.py
M tests/unit/cmk/gui/openapi/test_openapi_group_config.py
M tests/unit/cmk/gui/openapi/test_openapi_host.py
M tests/unit/cmk/gui/openapi/test_openapi_host_config.py
M tests/unit/cmk/gui/openapi/test_openapi_host_tag_group.py
M tests/unit/cmk/gui/openapi/test_openapi_password.py
M tests/unit/cmk/gui/openapi/test_openapi_rules.py
M tests/unit/cmk/gui/openapi/test_openapi_service.py
M tests/unit/cmk/gui/openapi/test_openapi_time_period.py
M tests/unit/cmk/gui/openapi/test_openapi_user.py
M tests/unit/cmk/gui/openapi/test_openapi_userroles.py
M tests/unit/cmk/gui/openapi/test_service_and_host_comments.py
M tests/unit/cmk/gui/openapi/test_site_management.py
Log Message:
-----------
17266 FIX REST-API: Include links for get hosts by default
[Werk #16756](https://werks.checkmk.com/16756) introduced the `include_links`
flag to the `Show all hosts` endpoint
(`GET .../domain-types/host_config/collections/all`). The flag was disabled
by default.
This werk changes the default to enabled again. As this comes with a
performance impact, it is recommended to disable it explicitly, if links are not
needed.
Change-Id: I912380fd452877b29cc1f9ff0ff1c05b4da291e8
JIRA-Ref: CMK-18835
Commit: 446eb7c4d616d227e2b2c876d8e586fd7dce0b0c
https://github.com/Checkmk/checkmk/commit/446eb7c4d616d227e2b2c876d8e586fd7…
Author: Christopher Krause <christopher.krause(a)checkmk.com>
Date: 2024-09-04 (Wed, 04 Sep 2024)
Changed paths:
A .werks/17267.md
Log Message:
-----------
17267 REST-API: Introduce include_links and include_extensions to list endpoints
This Werk introduces two flags to most list endpoints.
The first flag `include_links` was already present for list host configs. It
controls whether the links of the individual values should be included.
This flag is enabled by default.
The second flag `include_extensions` toggles the inclusion of the extensions,
which contain most of the attributes. This flag is also enabled by default.
Both of these flags give users options to improve performance and reduce
response sizes.
Change-Id: Ia7f7b6798aba7020dbbbe0e49f0b48e127527d5a
JIRA-Ref: CMK-18835
Compare:
https://github.com/Checkmk/checkmk/compare/8b93e8a0fbfc...446eb7c4d616
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications