Issue 16709

Use DOI and immutable packageID in GBIF generated EML

16709
Reporter: mdoering
Assignee: mdoering
Type: Improvement
Summary: Use DOI and immutable packageID in GBIF generated EML
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2014-12-04 10:17:50.011
Updated: 2014-12-09 14:23:10.896
Resolved: 2014-12-09 14:23:10.83
        
Description: The GBIF registry API provides an EML document for each dataset and generates one on the fly, overlaying registry infos over the last harvested eml document or nothing if none existed.
http://api.gbif.org/v1/dataset/4fa7b334-ce0d-4e88-aaae-2e0c138d049e/document

Update our EML generation to:
 - add all known identifiers incl the DOI into the alternate identifiers block
 - use a versioned identifier based on the dataset UUID for the packageID.


Consider different versioning approaches:
 - dynamic date based versions up to the day
 - use the last modified timestamp from the dataset record
 - some way using the underlying metadata doc identifier (which changes for every indexing event when an EML exists)]]>
    


Author: omeyn@gbif.org
Comment: In discussion we propose putting DOI in alternative identifiers block, and continue to use UUID in the packageID without any versioning info.
Created: 2014-12-08 10:42:50.717
Updated: 2014-12-08 10:42:50.717


Author: mdoering@gbif.org
Comment: https://github.com/gbif/registry/commit/b251f0c0c7d27593d8397cc56d57d0caaf0b596f#diff-b0e0c61b711b51ac304b4c8b597bb1eeR73
Created: 2014-12-09 14:23:10.893
Updated: 2014-12-09 14:23:10.893