]> Kevux Git Server - fll/commit
Progress: Redesign enty/exit rule handling, now requiring Action instead of "rule".
authorKevin Day <thekevinday@gmail.com>
Wed, 21 Apr 2021 22:12:00 +0000 (17:12 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 21 Apr 2021 22:12:00 +0000 (17:12 -0500)
commit1c3f44f123802ab9f8e462f7a86c95f230d53d63
tree29c4b25767f168bc9de3ebe544c899d59071b918
parent4c56593f06200607d52ef183517a764277306c5b
Progress: Redesign enty/exit rule handling, now requiring Action instead of "rule".

The Entry and Exit files are using "rule" to designate a Rule to operate.
This is designed on the assumption that an Entry always runs a "start" and Exit always runs a "stop".

This behavior is changed such that "rule" is no longer specified and one of the 9 supported Actions may be used.
Such as "start" or "stop", for example.

There is still more work to do as this change doesn't fix the Exit in terms of dependency handling.
Currently, the process structure does not distinguish the Rule action, such as "start" or "stop".
Additional changes to the process structure are needed.
26 files changed:
level_3/controller/c/private-common.h
level_3/controller/c/private-controller.c
level_3/controller/c/private-controller.h
level_3/controller/c/private-entry.c
level_3/controller/c/private-entry.h
level_3/controller/c/private-rule.c
level_3/controller/c/private-rule.h
level_3/controller/c/private-thread.c
level_3/controller/data/settings/entries/default.entry
level_3/controller/data/settings/example/entries/asynchronous-serial.entry
level_3/controller/data/settings/example/entries/asynchronous.entry
level_3/controller/data/settings/example/entries/serial-alternate.entry
level_3/controller/data/settings/example/entries/serial.entry
level_3/controller/data/settings/example/entries/sshd.entry
level_3/controller/data/settings/example/entries/test.entry
level_3/controller/data/settings/example/entries/utility.entry
level_3/controller/data/settings/example/exits/serial.exit
level_3/controller/data/settings/example/exits/sshd.exit
level_3/controller/data/settings/example/rules/maintenance/boom.rule [moved from level_3/controller/data/settings/example/rules/maintenance/explode.rule with 100% similarity]
level_3/controller/data/settings/example/rules/service/sshd.rule
level_3/controller/documents/entry.txt
level_3/controller/documents/exit.txt
level_3/controller/documents/rule.txt
level_3/controller/specifications/entry.txt
level_3/controller/specifications/exit.txt
level_3/controller/specifications/rule.txt