Werk #15879: host_config: introduction of background job for host_rename endpoint

Component REST API
Title host_config: introduction of background job for host_rename endpoint
Date Jun 2, 2023
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Prior to this werk, the host_rename endpoint occasionally ran into a timeout if the renaming process took too long. This werk introduces a background job to resolve this issue. The endpoint now returns a redirect response instead of the host details. An associating wait-for-completion endpoint is also introduced to accompany the rename endpoint. Scripts should be adjusted accordingly.

Prior to this werk, the rename process was initiated by calling the endpoint: /objects/host_config/host_id/actions/rename/invoke

This endpoint remains the same but the werk introduces the additional endpoint to wait for the process' completion: /domain-types/host_config/actions/actions/wait-for-completion/invoke

To the list of all Werks