[FEATURE] Cron: Use "Component" mechanisms to gather and register jobs#11392
Open
mjansenDatabay wants to merge 1 commit intoILIAS-eLearning:trunkfrom
Open
[FEATURE] Cron: Use "Component" mechanisms to gather and register jobs#11392mjansenDatabay wants to merge 1 commit intoILIAS-eLearning:trunkfrom
mjansenDatabay wants to merge 1 commit intoILIAS-eLearning:trunkfrom
Conversation
260b8ce to
3301862
Compare
3301862 to
2279cef
Compare
Co-authored-by: Nils Haagen <nhaagen@concepts-and-training.de>
2279cef to
0d8bf94
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request continues the initiative started by @nhaagen in pull request #8731 to gather and register cron jobs based on the mechanisms of the "Component Revision".
With this PR, cron job implementations will (there are exceptions) no longer have a
__construct. Dependencies are initialized in aninitmethod, where class members can be populated by pulling services from the$DIC. This will be necessary as long as our code base is not fully migrated to the "Component" mechanisms.What this PR also does / Breaking Changes:
\ILIAS\Cron\Job\JobProviderpublic interface, which helped ILIAS plugins (of any kind) to contribute cron jobs.\ILIAS\Cron\CronHookPluginplugin slot