Introduce watchdog into ProcessGroupManager [3/N]: Move ownership to ProcessGroupManager - #355
Conversation
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
c2daf96 to
d7352ab
Compare
|
The created documentation from the pull request is available at: docu-html |
|
I think score/launch_manager/src/daemon/src/watchdog/IDeviceConfigFactory.hpp can now be moved to details folder, as the public interface does not require this anymore. |
|
If I see it correctly, I think score/launch_manager/src/daemon/src/alive_monitor/details/factory/MachineConfigFactory.cpp and score/launch_manager/src/daemon/src/alive_monitor/details/factory/MachineConfigFactory_new.cpp can be removed / trimmed down as the watchdog is no longer loaded from config there. I think the only value still required is the periodicity in which supervisions are evaluated. |
Though this could also be done in a separate PR if you like to keep the changes here limited. |
Done. I removed the loading of watchdog settings from MachineConfigFactory.hpp/cpp and remove entirely the MachineConfigFactory_new.cpp |
* Narrow visibility scope of bazel targets * Improve documentation
9e1677a to
598293f
Compare
755e6a7
#330
This is part 3 of a number of PRs, to move the watchdog ownership to
ProcessGroupManager. Now that we have prepared the watchdog sources in previous PRs, we are now doing the actual owner change here.I have performed the following steps:
createWatchdog()factory.PhmDaemon.process_group_manager.cppNote that unit tests are to follow in a separate PR.