-
Notifications
You must be signed in to change notification settings - Fork 4
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
Create batch jobs for preservation #890
Conversation
10c3314
to
3233a5c
Compare
3233a5c
to
127a637
Compare
127a637
to
0a7e294
Compare
README.md
Outdated
streamed to an S3 bucket. (See the SubmissionInformationPackage and SubmissionInformationPackageZipper classes for more | ||
details on this part of the process.) | ||
|
||
Once the bags are in the S3 bucket, they are replicated to the Digital Preservation S3 bucket, where they can be |
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.
Suggestion they are replicated
become they are automatically replicated
@@ -2,7 +2,7 @@ | |||
|
|||
class SubmissionInformationPackageZipperTest < ActiveSupport::TestCase | |||
|
|||
# because we need to actually use the file it's easier to attache it in the test rather | |||
# because we need to actually use the file it's easier to attach it in the test rather |
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.
Por'quoi pas le français?
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.
Parce qu'on le parle pas.
Why these changes are being introduced: We need a way to initiate SIP creation, bagging and streaming to S3. Relevant ticket(s): https://mitlibraries.atlassian.net/browse/ETD-553 How this addresses that need: This creates two jobs: 1. PreservationSubmissionJob attempts to send a single thesis to preservation and modifies the preservation_status and preserved_at fields accordingly. 2. PreservationSubmissionPrepJob loops through an array of theses to preserve. Side effects of this change: * preservation_status is now an enum with three options: unpreserved (the default), preserved, and error. * Adds `preservation.rake` task to send a single thesis to preservation via Rails CLI. * The readme now indicates that the publishing workflow automatically kicks off the preservation workflow. This is not yet accurate, but will be once ETD-560 is implemented.
0a7e294
to
3d35766
Compare
Why these changes are being introduced:
We need a way to initiate SIP creation, bagging and streaming to
S3.
Relevant ticket(s):
https://mitlibraries.atlassian.net/browse/ETD-553
How this addresses that need:
This creates two jobs:
preservation and modifies the preservation_status and preserved_at
fields accordingly.
to preserve.
Side effects of this change:
(the default), preserved, and error.
preservation.rake
task to send a single thesis topreservation via Rails CLI.
Developer
our guide and
all issues introduced by these changes have been resolved or opened as new
issues (link to those issues in the Pull Request details above)
Code Reviewer
(not just this pull request message)
Requires database migrations?
YES
Includes new or updated dependencies?
NO