Project

General

Profile

Actions

Feature #5950

closed

Implement data package download

Added by Matt Jones over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
07/04/2013
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Bugzilla-Id:

Subtasks 2 (0 open2 closed)

Task #6026: Implement MN.getPackage()Closedben leinfelder07/04/2013

Actions
Task #6027: Wire-up the MN.getPackage() method to a REST endpointClosedben leinfelder07/04/2013

Actions
Actions #1

Updated by ben leinfelder over 9 years ago

  • Assignee set to ben leinfelder
Actions #2

Updated by ben leinfelder over 9 years ago

  • Status changed from New to In Progress

Aside from adding rendered metadata to the package, this is ready for group review.
Outstanding issues that I see:
-the entries in the package are named randomly (temp file creation) but the pid-mapping file tells users which file represents which pid.
-we are using lots of temp files. all but one are removed immediately, but the last bagit.zip file is streamed by the MN implementation so we don't really know when it is safe delete the file. It is marked for deletion "on exit" - but that could be weeks if not months if Tomcat is not restarted. Alternative is to hold the zip file in memory and stream from those bytes...but that seems even worse than having temp files build up.

Actions #3

Updated by ben leinfelder over 9 years ago

  • Status changed from In Progress to Closed

First version of this is ready in Metacat trunk.

Actions

Also available in: Atom PDF