Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-741

Ability to store an incoming package as a file in the event that the ingest fails

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.0
    • Component/s: SWORD
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      1
    • Documentation Status:
      In Description

      Description

      Provided by Bill Hays (whays@mit.edu)...

      This patch adds the ability to store an incoming package as a file in the event that the ingest fails and an exception is thrown. Configuration for this option comes from two new optional configuration lines in dspace.cfg:

      sword.keep-package-on-fail (true/false, where the default is false)
      sword.failed-package.dir (directory location on file system)

      Both properties must be set for the new feature to take place. If the first is missing the default is false. If the second is missing when the first is true, a warn message is written to the logs and the original exception is still thrown.

      =============

      Documentation:

      For DSpace Manual: [I only see properties listed, no general discussion
      of features.]

      Property: sword.keep-package-on-fail
      Example value: false
      Informational note: In the event of package ingest failure, provide an option to store the package on the file system. The default is false. File names are not maintained in the SWORD protocol. The new file name of the package is in the form:
      sword-<username>-<timestamp>.

      Property: sword.failed-package.dir
      Example value: ${dspace.baseUrl}/upload
      Informational note: Directory location where failed package files are written.

      [SWORD README file in distribution does not discuss this type of DSpace
      implementation detail.]

        Attachments

          Activity

            People

            Assignee:
            sands Sands Fish
            Reporter:
            sands Sands Fish
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: