Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: c636f749d4c5cb3f19c6269c0cc7f4d43ef96610
https://github.com/tribe29/checkmk/commit/c636f749d4c5cb3f19c6269c0cc7f4d43…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/config_sync.py
Log Message:
-----------
Updated notes
Change-Id: If712cc8f48dc3cb8fae2ae2b48b4f8ba8e0230bc
Commit: 47c010321952ec84a522a4734691b421c4fd6d6c
https://github.com/tribe29/checkmk/commit/47c010321952ec84a522a4734691b421c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
More aligning of CRE and CME
Generalized _create_site_sync_snapshot. In the next step we can
consolidate the SnapshotManager classes to a single one.
Change-Id: I1c3be61cad36e34e21ee8e883095b28acfba94ac
Commit: a05c4289330bb58d1915dcc90fbfb0209a1d0de6
https://github.com/tribe29/checkmk/commit/a05c4289330bb58d1915dcc90fbfb0209…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Next aligning of CRE and CME
With the previous refactorings the different SnapshotManager
implementations can now consolidated be to a single implementation
which is instanciated per edition using SnapshotManager.factory().
The static method SnapshotManagerFactory.factory has also been moved to
SnapshotManager.factory to have everything in a single place.
Change-Id: I7659e23da2d58e70c265e6b48c278645f7995b9f
Commit: 3a50ec86f29b8173f896b3bec4dbcc72194cdf0e
https://github.com/tribe29/checkmk/commit/3a50ec86f29b8173f896b3bec4dbcc721…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/config_sync.py
M cmk/utils/paths.py
M tests/testlib/__init__.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
M tests/unit/cmk/utils/test_paths.py
Log Message:
-----------
CRE snapshot is now created in two steps
The first steps moves all needed files to a site_config directory. This
step is mandatory for the site synchronization. This now done in the var
hierarchy. The site_config directories will be updated incrementally in
the future to optimize the synchronization.
The second step now packs the synchronization snapshot tar archive.
This step will be optional and version dependent in the future. Only
synchronizations to old remote sites (which are not aware of the new
synchronization API) will use this second step.
Change-Id: I8f6bf747b0c36dd5a3b3ba9734cf35b560ca8ac2
Commit: f981de1014aafa70ce1e5f5a46bce653640a7104
https://github.com/tribe29/checkmk/commit/f981de1014aafa70ce1e5f5a46bce6536…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M tests-py3/unit/cmk/base/test_core_config.py
M tests-py3/unit/cmk/base/test_core_nagios.py
M tests-py3/unit/cmk/base/test_unit_automations.py
M tests/testlib/__init__.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/plugins/sidebar/test_snapins.py
M tests/unit/cmk/gui/plugins/wato/utils/test_main_menu.py
M tests/unit/cmk/gui/test_gui_config.py
M tests/unit/cmk/gui/test_views.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
M tests/unit/cmk/gui/watolib/test_watolib.py
Log Message:
-----------
Improve CME plugin testing
Previous to this commit the CME related plugins were not loaded and CME
related unit tests were not cleanly possible. Once the managed hierarchy
is available in the source code the CME plugins are now loaded by the
load_plugins fixture.
All plugin tests have been updated to deal with these changes.
Change-Id: I191cf5674fc1c3b8d8c32f6c3247c7ebc6e0ac4a
Commit: 3e4b8f9099d0d451ef6de5a3fd42b4c60f60a1ae
https://github.com/tribe29/checkmk/commit/3e4b8f9099d0d451ef6de5a3fd42b4c60…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Create snapshot archive only for old sites
* Really apply the old remote site handling
* Add tests for creating and applying old snapshots
* Next: Establish the new synchronization mechanism
Change-Id: I7f6b4d0198a972f2645cdf8cef06517af08594c3
Commit: 93615b3d3ad4825bc1e94b8d25034b30ad7a1a8b
https://github.com/tribe29/checkmk/commit/93615b3d3ad4825bc1e94b8d25034b30a…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/config_sync.py
Log Message:
-----------
Cleanup old tuple handling: We have a named tuple now
Change-Id: I3508fdb6903dd4df555c419122f1d21589c559d2
Commit: ba0bb9faf60a3bef987a08ca5d3e360782270b9e
https://github.com/tribe29/checkmk/commit/ba0bb9faf60a3bef987a08ca5d3e36078…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/sites.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Clarify naming of pre 1.7 snapshot apply code
Change-Id: I2f01e80bdf8bd8d25706ae5d0bcd11ad49a10856
Commit: feacdd9e1214359643cce365165d2f586497f4f0
https://github.com/tribe29/checkmk/commit/feacdd9e1214359643cce365165d2f586…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/config_sync.py
Log Message:
-----------
Start cleaning up old snapshot component parsing
Since we have a better data structure, a named tuple, for the
snapshot components (aka replication paths), the snapshot component
parsing is not needed anymore. The following commits will clean that
up.
Start moving some specific logic to the specific call sites to reduce
the features of the snapshot parser. This makes it easier to clean it
up in a following step.
Change-Id: Ib418d60303fdf9215a2e83b39727b2c51519d197
Commit: 2966863de23a16d702ccfa75cd3e293097ab652f
https://github.com/tribe29/checkmk/commit/2966863de23a16d702ccfa75cd3e29309…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/config_sync.py
Log Message:
-----------
Replace get_component_names
Change-Id: I5a392845716fa0fb4e4009c36a7c658dae12d836
Commit: bfc7ff9ea23b2838fcff317814fff995c1f73b24
https://github.com/tribe29/checkmk/commit/bfc7ff9ea23b2838fcff317814fff995c…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/config_sync.py
Log Message:
-----------
Move replication path argument cleanups to ReplicationPath
Change-Id: Ibba85d30567e16941e89a31ca53f92d236fc0bc2
Commit: 802e652450069ea32e987b568f8953cf31857e8b
https://github.com/tribe29/checkmk/commit/802e652450069ea32e987b568f8953cf3…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/config_sync.py
Log Message:
-----------
Finally remove snapshot component parsing
Change-Id: I868d3d78cc4fb883ba63859e934eb0e9d79993ca
Commit: eba437a0f87e5f12eedfd7959c33091cfeb804c5
https://github.com/tribe29/checkmk/commit/eba437a0f87e5f12eedfd7959c33091cf…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Always create pre 1.7 snapshots for now
Change-Id: I56a7fdf3eb2e1178cf4eaac72807b0ba3c9bb5a2
Commit: c374cb42ca4d43eddcfa80534e0fdb93009e1da8
https://github.com/tribe29/checkmk/commit/c374cb42ca4d43eddcfa80534e0fdb930…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Cleanup unused attribute
Change-Id: Ia2fbe86be35da6972bf732047b57f601e4952f0e
Commit: 400cda62bc4b010444c55d5b51e39cbbed4a01ad
https://github.com/tribe29/checkmk/commit/400cda62bc4b010444c55d5b51e39cbbe…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/plugins/watolib/utils.py
M cmk/gui/type_defs.py
M cmk/gui/watolib/activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Various cleanups
* Spread type hints
* Make snapshots_settings available in ActivateChangesSite
* Remove unused ActivateChangesSite._warnings attribute
Change-Id: I1309c94358dd01aa68568ccc4b8a62eb85116c24
Commit: 18ad3ebe93e999b03456da9b2a756d93f2d451d8
https://github.com/tribe29/checkmk/commit/18ad3ebe93e999b03456da9b2a756d93f…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Extend config sync tests
* Simplified tests a bit
- We now have a user create + login + logout fixture
- Config sync tests now use the register_builtin_html fixture for
initializing the GUI application
* Add new test for verifying the pre 1.7 snapshot push-snapshot call from central site
Change-Id: I6c2708e78c0c4ef9f72811ec96761d83ebd79409
Commit: 99848d37a87a2219099e7b70d7dea4a93146a562
https://github.com/tribe29/checkmk/commit/99848d37a87a2219099e7b70d7dea4a93…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Prepare for 1.7 specific synchronization logic
Change-Id: I46734c3756e4e50aee498bf0ffb8d349d027d89f
Commit: da7051e16cdbc9d0131a1c58eb9ca42f42a08f16
https://github.com/tribe29/checkmk/commit/da7051e16cdbc9d0131a1c58eb9ca42f4…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/sites.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
Log Message:
-----------
distributed_wato.mk is now created by the central site
To make the incremental configuration creation possible we need to
centralize the whole configuration file creation. The
distributed_wato.mk was created on the remote sites after applying the
configuration snapshot.
From now on this file is created by the central site
and will be
replicated to the remote site like the other config files.
Change-Id: I70db78789b042ad9fe69bc187f5710d470b0739d
Commit: 1f41805dc6710e8a38131620ef8b5c4b171b77e8
https://github.com/tribe29/checkmk/commit/1f41805dc6710e8a38131620ef8b5c4b1…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Extract site global settings computations
Change-Id: I6d51dd39037a6ee29652b34adfa18f8d84e01e8b
Commit: ba0c10eab2a578c5aefc2dd18aa13c972119c031
https://github.com/tribe29/checkmk/commit/ba0c10eab2a578c5aefc2dd18aa13c972…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
Small fix
Change-Id: Ic512d414aacf7df480aa318e06ce3b8ce8cdbb31
Commit: d3d5b2f1ffda2eeb266cddf63856ce4d5e8bf7f5
https://github.com/tribe29/checkmk/commit/d3d5b2f1ffda2eeb266cddf63856ce4d5…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/plugins/wato/omd_configuration.py
M cmk/gui/plugins/watolib/utils.py
M cmk/gui/watolib/activate_changes.py
M cmk/gui/watolib/config_domains.py
M cmk/gui/watolib/global_settings.py
M tests/unit/cmk/gui/watolib/test_activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
sitespecific.mk files are now created by the central site
To make the incremental configuration creation possible we need to
centralize the whole configuration file creation. The sitespefic.mk
files that hold the site specific global settings of the various config
domains was created on the remote sites after applying the configuration
snapshot.
From now on these files are created by the central site
and will be
replicated to the remote site like the other config files. The old
behaviour is kept for compatibility with pre 1.7 remote sites.
Change-Id: I1c1aa626655eb15606948bf36acb54aa09e0f11c
Commit: 6b452555b9d00e0bc88c8fc0e2429f0673db7fad
https://github.com/tribe29/checkmk/commit/6b452555b9d00e0bc88c8fc0e2429f067…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-05-04 (Mon, 04 May 2020)
Changed paths:
M cmk/gui/watolib/activate_changes.py
M tests/unit/cmk/gui/watolib/test_config_sync.py
Log Message:
-----------
Enable snapshot creation test for new snapshot format
Change-Id: Ia8a0796a2a1d088fd90d4ee97e83950a2efb8aa5
Compare:
https://github.com/tribe29/checkmk/compare/9cf8a1f9bb92...6b452555b9d0