Skip to end of banner
Go to start of banner

DOI Migration Document

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Things we need to do when we migrate from EZID to Datacite

Prep

When we are ready to migrate, we need to contact DataCite and set up an hour or so of time where we migrate from their service to our service. The most simple time to do this would probably be when we migrate stacks.

In Synapse Stack Builder

In elasticbeanstalk-template.json.vpt, set org.sagebionetworks.doi.prefix to be "10.7303"

In PLFM

  1. In stack.properties, set "org.sagebionetworks.doi.prefix=10.7303"

  2. In /lib/jdomodels/src/main/java/org/sagebionetworks/repo/model/dbo/dao/DoiUtils.java, change DoiStatus.TEMPORARY to DoiStatus.READY
    1. Make the same change in the corresponding test, DoiUtilsTest.testConvertV2ToDbo
  3. (Optionally) delete all of the rows in the DOI table where DoiStatus is TEMPORARY
  4. Deprecate the old DOI controller methods so the old API cannot be used. (Give a message indicating that the API has been deprecated, instead of registering a new DOI call)

In SWC 

  1. Remove the old DOI widget from the EntityMetadata page
  2. In the EntityActionController:
    1. Remove the old createDoi method
    2. Remove the alpha flag from the createOrUpdateDoi method

After the dust settles:

  1. (If not done earlier) delete all database entries in the DOI table where DoiStatus is TEMPORARY
  2. Remove all of the unused and deprecated EZID code in PLFM and SWC!



  • No labels