[ https://jira.duraspace.org/browse/DS-741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sands Fish resolved DS-741. --------------------------- Resolution: Fixed Fix Version/s: 1.7.0 Fix in description committed; pre-test release. > Ability to store an incoming package as a file in the event that the ingest > fails > --------------------------------------------------------------------------------- > > Key: DS-741 > URL: https://jira.duraspace.org/browse/DS-741 > Project: DSpace > Issue Type: Improvement > Components: SWORD > Affects Versions: 1.7.0 > Reporter: Sands Fish > Assignee: Sands Fish > Fix For: 1.7.0 > > Attachments: sword-fail-ingest.diff > > > Provided by Bill Hays (wh...@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.] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.duraspace.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel