Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a7c18fbbf6c4c6a9b3dc6272b091c45f9fcd2d45
https://github.com/tribe29/checkmk/commit/a7c18fbbf6c4c6a9b3dc6272b091c45f9…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/gui_background_job.py
M cmk/gui/plugins/wato/background_job.py
M cmk/gui/wato/pages/bulk_discovery.py
M cmk/gui/wato/pages/diagnostics.py
M cmk/gui/wato/pages/fetch_agent_output.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/wato/pages/users.py
M cmk/gui/watolib/automations.py
M tests/unit/cmk/gui/test_background_job.py
Log Message:
-----------
Finally separate up job snapshot from BackgroundJob class hierarchy
The snapshot feature has been extracted from the background job class
hierarchy and is now a simple dataclass that holds all the necessary
attributes during a UI HTTP request.
This is one major simplification of the class hierarchy. Next we can
flatten the (GUI)BackgroundJob and (GUI)BackgroundProcess classes.
Change-Id: Ib2c3aad6c04df8376c7b751497e6d445e1d46862
Commit: bcfb7a645797484b7b4c9364a1d1ce16075c7bae
https://github.com/tribe29/checkmk/commit/bcfb7a645797484b7b4c9364a1d1ce160…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
M cmk/gui/gui_background_job.py
M cmk/gui/watolib/wato_background_job.py
Log Message:
-----------
Join BackgroundProcess class hierarchy
The abstractions were not needed, so we can just work with a single
class.
Change-Id: I84461feb1844902f2c8d4d6b95c54b8bc8c7bd88
Commit: 126747d6054e0d3f6ea4a364acc278c37be6a380
https://github.com/tribe29/checkmk/commit/126747d6054e0d3f6ea4a364acc278c37…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
M cmk/gui/gui_background_job.py
M cmk/gui/plugins/cron/gui_background_job.py
M cmk/gui/plugins/wato/background_job.py
M cmk/gui/plugins/wato/remote_audit_logs.py
M cmk/gui/userdb/__init__.py
M cmk/gui/wato/pages/diagnostics.py
M cmk/gui/wato/pages/fetch_agent_output.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/watolib/__init__.py
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/automations.py
M cmk/gui/watolib/bulk_discovery.py
M cmk/gui/watolib/config_domains.py
M cmk/gui/watolib/host_label_sync.py
M cmk/gui/watolib/search.py
M cmk/gui/watolib/services.py
R cmk/gui/watolib/wato_background_job.py
M tests/unit/cmk/gui/test_background_job.py
Log Message:
-----------
Join BackgroundJob class hierarchy
The abstractions were not needed, so we can just work with a single
class.
GUIBackgroundJob and WatoBackgroundJob are now combined in
BackgroundJob.
Change-Id: I2853f75d79f6a97ed21c41716d619fd757fad972
Commit: cff1fc8b858144da2c9f5c8e3fdcdcf618f3220b
https://github.com/tribe29/checkmk/commit/cff1fc8b858144da2c9f5c8e3fdcdcf61…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/plugins/wato/background_job.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/watolib/search.py
M cmk/gui/watolib/services.py
Log Message:
-----------
Minor simplifications and cleanups
Change-Id: Iac23ad3c4e39b630c5e1f74d6e1578852940c1fd
Commit: 4def9b706c7233e9085bedb5e258763a0c66ac62
https://github.com/tribe29/checkmk/commit/4def9b706c7233e9085bedb5e258763a0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/automations.py
M cmk/gui/watolib/services.py
M tests/unit/cmk/gui/watolib/test_services.py
Log Message:
-----------
Make JobStatusSpec a typed dict
Mypy is happy, but the object loaded from store is not typed correctly
yet. Let's see what we can do about this next.
Change-Id: I1935391d4a43e2f7245c994e430e65bb67f00d3e
Commit: 0dc31174c6361d86877e0168642379c76db16847
https://github.com/tribe29/checkmk/commit/0dc31174c6361d86877e0168642379c76…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
Log Message:
-----------
Rework job status spec IO
* Add type hints to the data received from store.load_object_from_file.
* Changed error handling to raise an exception in case we get an empty
result from disk or the default value. This should never happen.
* Use save_object_to_file, the counterpart of load_object_from_file
Change-Id: I93c7917e4e344b8e2d049d3c57f9b0ac5732115c
Commit: ba1876dde9748acac74a8c2d86f9bfeb001bd80b
https://github.com/tribe29/checkmk/commit/ba1876dde9748acac74a8c2d86f9bfeb0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
A cmk/update_config/plugins/actions/background_jobs.py
A tests/unit/cmk/update_config/plugins/actions/test_background_jobs.py
Log Message:
-----------
Add update config action to streamline stored job states
Basically moving the existing conversion logic out of the
application code.
Change-Id: I0bec2bdc2e702df0d4a09ddf1845ada2f253de41
Commit: fb6ef14706f261aeefbe9c8ceefede86ed0bb1dc
https://github.com/tribe29/checkmk/commit/fb6ef14706f261aeefbe9c8ceefede86e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
M cmk/gui/gui_background_job.py
M cmk/gui/wato/pages/fetch_agent_output.py
Log Message:
-----------
Do not try to get may_stop/may_delete from JobStatusSpec
This field does not exist in that data structure. Hand over the properties
explicitly now.
Change-Id: Icc31dbf0e9f57329dc341009721a1716e3d26dbb
Commit: e9936b2df1dae0ce23880eb260b2a0f796d0e685
https://github.com/tribe29/checkmk/commit/e9936b2df1dae0ce23880eb260b2a0f79…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
M cmk/gui/gui_background_job.py
M cmk/gui/plugins/openapi/endpoints/service_discovery.py
M cmk/gui/wato/pages/fetch_agent_output.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/users.py
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/automations.py
M cmk/gui/watolib/bulk_discovery.py
M cmk/gui/watolib/search.py
M cmk/gui/watolib/services.py
M cmk/update_config/plugins/actions/background_jobs.py
M tests/unit/cmk/gui/test_background_job.py
M tests/unit/cmk/update_config/plugins/actions/test_background_jobs.py
Log Message:
-----------
Refactor JobStatusSpec to pydantic model
Change-Id: If645bdf58885a6bd877479b4a73eb3fac46e8f1b
Commit: 46b556ab2d38d5979cf6e1eeca2170098e0693c7
https://github.com/tribe29/checkmk/commit/46b556ab2d38d5979cf6e1eeca2170098…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-10-14 (Fri, 14 Oct 2022)
Changed paths:
M cmk/gui/background_job.py
M cmk/gui/gui_background_job.py
M cmk/gui/plugins/wato/background_job.py
Log Message:
-----------
Rename BackgroundStatusSnapshot
Change-Id: I2d4ac2824ec287d18af5741691ba12071b36d190
Compare:
https://github.com/tribe29/checkmk/compare/8455ec65fe92...46b556ab2d38