Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
For CS to run a task, the code for the task must of course be included with other deployed code (to {{\[DSDOC:dspace\]/lib}}, WAR, etc) but it must also be declared and given a name. This is done via a configuration property in {{\[DSDOC:dspace\]/config/modules/curate.cfg}} as follows:

...

Wiki Markup
For many tasks, this activation configuration is all that will be required to use it. But for others, the task needs specific configuration itself. A concrete example is described below, but note that these task-specific configuration property files also reside in {{\[DSDOC:dspace\]/config/modules}}

...

Wiki Markup
In the XMLUI, there is a 'Curate' tab (appearing within the 'Edit  Community/Collection/Item') that exposes a drop-down list of configured tasks, with a button to 'perform' the task, or queue it for later operation (see section below). Not all activated tasks need appear in the Curate tab - you filter them by means of a configuration property. This property also permits you to assign to the task a more user-friendly name than the PluginManager _taskname_. The property resides in {{\[DSDOC:dspace\]/config/modules/curate.cfg}}:

...

Wiki Markup
CS provides the ability to attach any number of tasks to standard DSpace workflows. Using a configuration file {{\[DSDOC:dspace\]/config/workflow-curation.xml}}, you can declaratively (without coding) wire tasks to any step in a workflow. An example:

...

Wiki Markup
The notifications use the same procedures that other workflow notifications do - namely email. There is a new email template defined for curation task use: {{\[DSDOC:dspace\]/config/emails/flowtask_notify}}. This may be language-localized or otherwise modified like any other email template.

...

DSpace Configuration

Wiki Markup
In {{\[DSDOC:dspace\]/config/modules/curate.cfg}}, activate the task:

...

Code Block
ui.tasknames = \
profileformats = Profile Bitstream Formats, \
requiredmetadata = Check for Required Metadata, \
vscan = Scan for Viruses

Wiki Markup
In {{\[DSDOC:dspace\]/config/modules}}, edit configuration file clamav.cfg:

...