-
Notifications
You must be signed in to change notification settings - Fork 1
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
☄️ IiifPrint x Valkyrie EPIC #312
Comments
restrict hyrax version that iiif print support. |
I don't think we want to overly restrict; I'd rather spend some time allowing for configurations to address the different versions we're supporting. Consider that we have some IIIF Print applications on Hyrax 2.9.6 and some on what will be Hyrax 5. With #313 we have a pattern for how we can work with both. |
Valkyrie leverages transactions instead of the actor stack; as such we need to mirror the actor stack behavior as a transaction (or listener). In this case, we should use a transaction. Related to: - #312
Valkyrie leverages transactions instead of the actor stack; as such we need to mirror the actor stack behavior as a transaction (or listener). In this case, we should use a transaction. Related to: - #312
Valkyrie leverages transactions instead of the actor stack; as such we need to mirror the actor stack behavior as a transaction (or listener). In this case, we should use a transaction. Related to: - #312
Why a listener and not a transaction? In part because the moment I want to perform the conditional enqueuing is at the point where the `Hyrax::WorkUploadsHandler` does it's job. That is when we have: - the parent work - the file set - the original file - the user The `Hyrax::WorkUploadsHandler` is most analogous to the behavior in `Hyrax::Actors::FileSetActor#attach_to_work` and `Hyrax::Actors::FileSetActor#create_content`. Fortunately, Hyrax's transaction and upload handler remove the conditional handling we needed between uploading a remote file and directly uploading a file. Related to: - scientist-softserv/hykuup_knapsack#35 - scientist-softserv/hykuup_knapsack#99 - #312
Why a listener and not a transaction? In part because the moment I want to perform the conditional enqueuing is at the point where the `Hyrax::WorkUploadsHandler` does it's job. That is when we have: - the parent work - the file set - the original file - the user The `Hyrax::WorkUploadsHandler` is most analogous to the behavior in `Hyrax::Actors::FileSetActor#attach_to_work` and `Hyrax::Actors::FileSetActor#create_content`. Fortunately, Hyrax's transaction and upload handler remove the conditional handling we needed between uploading a remote file and directly uploading a file. Related to: - scientist-softserv/hykuup_knapsack#35 - scientist-softserv/hykuup_knapsack#99 - #312
Why a listener and not a transaction? In part because the moment I want to perform the conditional enqueuing is at the point where the `Hyrax::WorkUploadsHandler` does it's job. That is when we have: - the parent work - the file set - the original file - the user The `Hyrax::WorkUploadsHandler` is most analogous to the behavior in `Hyrax::Actors::FileSetActor#attach_to_work` and `Hyrax::Actors::FileSetActor#create_content`. Fortunately, Hyrax's transaction and upload handler remove the conditional handling we needed between uploading a remote file and directly uploading a file. Related to: - scientist-softserv/hykuup_knapsack#35 - scientist-softserv/hykuup_knapsack#99 - #312
Blocked: Waiting to be updated in hyku |
Valkyrize IiifPrint. It should work with both valkyrie and active fedora applications.
Tasks
Consider adding listeners to mimic active record call backs:
https://assaydepot.slack.com/archives/C0313NKG2DA/p1704392246521249
IiifPrint::PersistenceLayer::ValkyrieAdapter methods
#314NOTES
Another related ticket
The text was updated successfully, but these errors were encountered: