Bug #6061


Ensure that all packages from metacat API have resource map

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

Target version:
Start date:
Due date:
% Done:


Estimated time:


Data package downloads no longer have data files in them, even when the data are present in Metacat via an upload from Morpho. This is probably because packages uploaded via the Metacat API (deprecated) do not have an attached resource map file. We need to ensure that these resource map files are systematically included because, without them, the downloads for packages do not include the data. We have gotten several complaints about this since the new MetacatUI interface wen public. TO close this bug:

1) Create a mechanism to create resource maps for all packages as they are uploaded using the Metacat API. This may need to run after all components of the package have been uploaded.
2) Ensure that the mechanism creates resource maps for older packages that were uploaded using the Metacat API before the present time

Related issues

Has duplicate Metacat - Feature #6196: ORE documents should be generated for new EML records from the Metacat APIRejectedben leinfelder11/01/2013

Actions #1

Updated by ben leinfelder over 10 years ago

Originally, we decided that the old Metacat API would not generate ORE objects for new content coming into the system with that API and that it would be up to the client to add OREs if they wanted to provide them.

We can generate OREs for existing content today and do this manually periodically. But it also sounds like you'd like OREs generated by inserts/updates using the old Metacat API.

Actions #2

Updated by ben leinfelder over 10 years ago

  • Status changed from New to In Progress

Yesterday I ran the "Generate ORE" action for KNB's holdings. After a while I got a nagios warning that the server was down, I checked and Tomcat was not running and there was no indication at the end of catalina.out as to why it had stopped. I'm not sure if all OREs were successfully created or if it would be a good idea to try again. Perhaps I will, but not in the middle of a weekday.

Actions #3

Updated by ben leinfelder over 10 years ago

  • Status changed from In Progress to Closed

Now generating OREs when Metacat API is used to insert science metadata.

Also added a better check for existing OREs when opting to generate them via the admin interface.


Also available in: Atom PDF