]> Kevux Git Server - fll/commit
Progress: controller program, restructure some of f*_execute functionality, and add...
authorKevin Day <thekevinday@gmail.com>
Thu, 31 Dec 2020 22:21:04 +0000 (16:21 -0600)
committerKevin Day <thekevinday@gmail.com>
Thu, 31 Dec 2020 22:21:04 +0000 (16:21 -0600)
commit263df4db1dff39dcb1c7bab9d4336799c345f859
tree8031e43c5f607274788315eb1e83178b8ada0e08
parent235d9a2dca8e34caf9268b8a210248b8d8a60570
Progress: controller program, restructure some of f*_execute functionality, and add or update documentation.

For the controller program:
- add "freeze", "thaw", "pause", and "resume".
- improve simulation to actually perform an execute, but with a stub execution (an empty bash script).
- print more information when performing the stubbed simulation.
- simulation should not stop on errors when simulating, there are a number of cases where stopping is still happening.
- add a microsleep during the stubbed execution to better simulate synchronous vs asynchronous behavior.
- The F_schedule is no longer being returned from the child process, do not treat it as a child exit state.
- add more documentation.
14 files changed:
level_0/f_execute/c/execute-common.h
level_1/fl_execute/c/execute-common.h
level_2/fll_execute/c/execute.h
level_3/controller/c/private-common.h
level_3/controller/c/private-controller.c
level_3/controller/c/private-rule.c
level_3/controller/c/private-rule.h
level_3/controller/data/settings/example/rules/command/multiple.rule
level_3/controller/data/settings/example/rules/script/php.rule
level_3/controller/data/settings/example/rules/script/succeed.rule
level_3/controller/documents/actions.txt [new file with mode: 0644]
level_3/controller/documents/rule.txt
level_3/controller/documents/simulate.txt [new file with mode: 0644]
level_3/controller/specifications/rule.txt