Project

General

Profile

Bug #6061

Ensure that all packages from metacat API have resource map

Added by Matt Jones over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Urgent
Category:
metacat
Target version:
Start date:
09/02/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

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 APIRejected11/01/2013

History

#1 Updated by ben leinfelder over 6 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.

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

#3 Updated by ben leinfelder about 6 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