Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: 567e9901dfcd194430dd84552104140dcb8dd94a
https://github.com/Checkmk/checkmk/commit/567e9901dfcd194430dd84552104140dc…
Author: Wontek Hong <wontek.hong(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16501.md
M bin/.f12
A bin/cmk-trigger-api-spec-job
M omd/packages/apache-omd/skel/etc/init.d/apache
M tests/testlib/pylint_checker_cmk_module_layers.py
Log Message:
-----------
16501 omd: trigger openapi-spec generation job during start, restart & reload
Werk 15724 introduces a mechanism for regenerating the API specification,
which, in certain instances, is executed as a background job due to the
potential time required for completion. This update modifies the omd start,
restart, and reload commands to initiate this specific background job upon
execution. Users should be aware that triggering the job does not result
in immediate availability of the updated documentation; there may be a
delay before the documentation is updated. This saves the user from having
to trigger and wait for the specification regeneration manually in case
relevant changes have been made outside the user interface and the apache
process needs to be restarted.
Based on werk 15724 the specification is now updated in these situations:
* post-create hook: Create the initial spec after a site has been created
* post rename action: Update the spec after a site has been copied, restored or renamed
* update-config action: Update the spec after the site has been updated
* omd apache: Update the spec when the apache process is started, restarted or reloaded
Change-Id: I769d927192e1ec03fd2f433839caf7eca7c733bb
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications