Project

General

Profile

Story #591

create system metadata for legacy objects in KNB

Added by Matthew Jones almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
Chad Berkley
Category:
Metacat
Target version:
Start date:
Due date:
% Done:

100%

Story Points:
Sprint:

Description

In becoming a MN, the KNB needs to provide system metadata for all existing objects. This involves:
-- for each object gather necessary info from metacat and science metadata docs
-- calculate additional fields (like checksum, size)
-- serialize a system metadata object

History

#1 Updated by Chad Berkley almost 14 years ago

  • Status changed from New to In Progress

#2 Updated by Chad Berkley almost 14 years ago

Nearly done with this story. Need to write a better test and enable this through ResourceHandler, then it will be done. Probably 2 more hours.

#3 Updated by Chad Berkley almost 14 years ago

  • Status changed from In Progress to Closed

This story is now complete. CrudService.getSystemMetadata() will generate System Metadata for any object in metacat that does not have system metadata already associated with it. This function is available via the REST call to meta/?op=generatemissingsystemmetadata. This call should only need to be made once after legacy knb (or other) metacat data are importing into a MN. See CrudServiceTest.testGenerateMissingSystemMetadata() for examples of how to use the crud method.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)