Project

General

Profile

Feature #5950

Implement data package download

Added by Matt Jones about 7 years ago. Updated about 7 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

Task #6026: Implement MN.getPackage()Closedben leinfelder

Task #6027: Wire-up the MN.getPackage() method to a REST endpointClosedben leinfelder

History

#1 Updated by ben leinfelder about 7 years ago

  • Assignee set to ben leinfelder

#2 Updated by ben leinfelder about 7 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.

#3 Updated by ben leinfelder about 7 years ago

  • Status changed from In Progress to Closed

First version of this is ready in Metacat trunk.

Also available in: Atom PDF