Branch: refs/heads/1.6.0
Home:
https://github.com/tribe29/checkmk
Commit: 5d6879292db22aa7ddd547d63cb4baccdd0101b9
https://github.com/tribe29/checkmk/commit/5d6879292db22aa7ddd547d63cb4baccd…
Author: Sergey Kipnis <sergey.kipnis(a)tribe29.com>
Date: 2019-07-23 (Tue, 23 Jul 2019)
Changed paths:
M agents/wnx/prepare_to_tests.cmd
M agents/wnx/src/engine/cfg.cpp
M agents/wnx/src/engine/cfg.h
M agents/wnx/src/engine/upgrade.cpp
M agents/wnx/src/engine/upgrade.h
M agents/wnx/src/engine/windows_service_api.cpp
A agents/wnx/test_files/unit_test/checkmk.defa.hash.dat
A agents/wnx/test_files/unit_test/cmk-update-agent.state
M agents/wnx/watest/test-upgrade.cpp
M agents/wnx/watest/watest.vcxproj
M agents/wnx/watest/watest.vcxproj.filters
Log Message:
-----------
[CMK-2409] - state file and ini file will be patched with new hash from checkmk.dat
- upgrade.protocol is relocated to config folder with backward compatibility
- state/cmk-agent-update.state file will be recovered if missing(to fix beta03 error)
- extended patch_hash command to support both state and in files
- extensive unit testing including integration
Change-Id: I9442571bc30a4e1c618285f2011fae8bc3a98b4f