Skip to content
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

Support Publish in batch using generic BatchTasks #196

Merged
merged 3 commits into from
Sep 6, 2017

Conversation

no-reply
Copy link
Collaborator

@no-reply no-reply commented Sep 5, 2017

This adds a generic BatchTask to serve as a batchable linking a batch type to a job class, and supporting enqueueing the appropriate jobs for the batch.

A matching controller is introduced to handle creation of generic batches. TemplateUpdate is still handled by TemplateUpdateController, due to its special parameters.

The PublishJob enqueued by the batch publish button simply calls #mark_published on the ActiveFedora model; that method does not yet exist, pending #5.

Tom Johnson added 3 commits September 5, 2017 13:41
`BatchesController#create` supports creating generic batches via the `BatchTask`
batchable.
@no-reply no-reply merged commit ae45471 into master Sep 6, 2017
@no-reply no-reply deleted the feature/batch-publish branch September 6, 2017 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant