-
Notifications
You must be signed in to change notification settings - Fork 23
Mark videos unavailable in discovery instead of removing + Opencast API connectivity check in cronjobs #1387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- introducing cronjob utils: oc conecttion trait with OCConfig::checkOpencastAPIConnectivity. - all cronjobs now have a connection checker before processing. - video is marked unavailable when they are no longer found in OC.
- add a global functional config to toggle the listing of unavailable videos
@tgloeggl |
Of course not! It has to terminate the process! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this fix!
The new configuration for hiding unavailable videos is working great!
Regarding the server availability check, I am wondering whether this check is sufficient for an OC cluster. For example, the admin node could be available, but not the worker nodes or the presentation node. I am assuming that your implementiation is only checking the admin node.
True, multi-node opencast was not covered, and should be considered of course! |
Thanks @dennis531, |
This PR fixes #1374,
Main changes in this PR are:
OCConfig::checkOpencastAPIConnectivity
NOTE: It would be very helpful to test all cronjobs and verify that everything works as expected!