Skip to content

Make sure workflow update occurs when opencast is reachable #1388

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ferishili
Copy link
Contributor

This PR fixes #1278 and contains the following changes:

  • Updated getTaggedWorkflowDefinitions to return false on connection errors.
  • Improved updateWorkflowsByConfigId to handle unresponsive Opencast instances and avoid further processing!

NOTE: the most rubost solution to avoid cronjob executions is introduced in bb9a171 included in PR #1387

- Updated getTaggedWorkflowDefinitions to return false on connection errors.
- Improved updateWorkflowsByConfigId to handle unresponsive Opencast instances.
@ferishili ferishili requested review from tgloeggl and dennis531 June 11, 2025 12:29
@ferishili ferishili self-assigned this Jun 11, 2025
@ferishili ferishili added type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x labels Jun 11, 2025
Copy link
Collaborator

@dennis531 dennis531 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good and it works! I hope the problem in #1278 is solved as it is impossible to test every edge case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug v:3 Everything related to the Stud.IP Opencast Plugin Version 3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflows-Configs will be discarded when the plugin is deactivated or OC is unavailable
2 participants