Homec4science

BibCatalog: add daemon task

Authored by Jan Aage Lavik <jan.age.lavik@cern.ch> on Feb 27 2013, 16:23.

Description

BibCatalog: add daemon task

  • Adds a daemon task for automatic generation of tickets using the BibCatalog API. (fixes #1528)
    • Accepts various arguments for selecting and querying records to create tickets for, for example --recids= or --query=
    • Selection of reportnumbers added by Nikolaos Kalodimas.
    • Implements a plug-in based ticket template system to customize the layout and content of tickets as desired, in addition to functions checking if a record is eligable for ticket creation.
    • List available tickets using --list-tickets.
  • Adds the task name 'bibcatalog' to the BibTask accepted task list.
  • Adds unit-tests appropriate and example ticket template.
  • Adds new admin documentation for the new task.

Co-authored-by: Nikolaos Kalodimas <nikolaos.kalodimas@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>

BibCatalog: changes ticket templates

  • Changes the function signature required for ticket templates to also pass the BibCatalogTicket object along with the record.
  • Removes 'init' from available plugins.
  • Updates the documentation and existing templates accordingly.

BibCatalog: surpresses pylint warnings as appropriate

Details

Committed
Samuele Kaplun <samuele.kaplun@cern.ch>Dec 18 2013, 16:21
Parents
R3600:d3de4a4a2bdd: BatchUploader: add holdingpen directory
Branches
Unknown
Tags
Unknown

Event Timeline

Samuele Kaplun <samuele.kaplun@cern.ch> committed R3600:8c2d9d8ccd83: BibCatalog: add daemon task (authored by Jan Aage Lavik <jan.age.lavik@cern.ch>).Dec 18 2013, 16:21