-
Notifications
You must be signed in to change notification settings - Fork 124
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
Allow CreateDerivativesJob to receive either an AF object or a Valkyrie resource #4191
Comments
May be blocked by #4060. |
related work: #5540 |
I don't think we need to update the existing job, since currently valkyrie derivatives creation is triggered directly in the valkyrie ingest job. However, there is a discrepancy between the way derivatives and characterization are triggered that I wonder if we should align. #5321 adds characterization via an That was later moved to an extracted class in #5628. Note that the PR description references derivative creation, as though there's an implementation intention. Then derivatives generation was added for valkyrie, by enqueuing a job from the ingest job, in #5540. Was there an intention during the work on #5628 that was not fulfilled in #5540? Should the derivatives job be kicked off by a published event rather than enqueued directly? If so, there may be something to do here around negotiating which derivatives job to invoke. |
some discussion occurred in Slack https://samvera.slack.com/archives/CDRHAMUTV/p1692716666450449.
i agree with this, and think it's safe to close this |
Created #6162 and closing this. |
Allow CreateDerivativesJob to receive either an ActiveFedora object or a Valkyrie resource
Descriptive summary
Convert CreateDerivativesJob to allow it to receive either an ActiveFedora based object or a Valkyrie::Resource equivalent object.
Rationale
Allow jobs to execute correctly with existing AF implementation or the Wings Valkyrie implementation.
Expected behavior
CreateDerivativesJob receives a Valkyrie::Resource and performs the action.
Actual behavior
CreateDerivativesJob raises an exception when passed a Valkyrie::Resource.
Approach for Conversion
See Pattern for Jobs Receiving Parameter that may be an AF Object or a Valkyrie Resource
Related work
These have all be modified to support AF object or Valkyrie resource using the established pattern.
The text was updated successfully, but these errors were encountered: