Project

General

Profile

« Previous | Next » 

Revision 6933

Added DOI generation to the 2.0.0 upgrade process. To succeed, this script must be run on a fresh 2.0.0 database, or on a 1.9.5 version database, as those are the only ways to get the needed foreign keys to be marked as deferrable. The identifier conversion must be turned on by setting correct properties in metacat.properties. See the comments in GenerateGlobalIdentifiers for details. By default, conversion is set to false in the properties file. If you want to convert an instance to use DOIs, be sure to set metacat.properties up BEFORE running through the Metacat configuration and database upgrade.

View differences:

metacat.properties
22 22
############### Application Values ############
23 23

  
24 24
## one of the few places where we use ANT tokens
25
application.metacatVersion=@metacatVersion@
26
application.metacatReleaseInfo=@metacatReleaseInfo@
25
application.metacatVersion=2.0.0
26
application.metacatReleaseInfo=-1
27 27

  
28 28
application.deployDir=
29 29
## This is autodiscovered and populated by the config utility
......
544 544
# DataONE types XSLT
545 545
dataone.types.xsl=/cn/xslt/dataone.types.v1.xsl
546 546

  
547

  
547
############# Global Identifiers Assignment Section ######################
548
guid.assignGUIDs=false
549
guid.ezid.username=apitest
550
guid.ezid.password=apitest
551
guid.ezid.doishoulder.1=doi:10.5072/FK2/KNB/
552
guid.ezid.doishoulder.2=doi:10.5072/FK2/ESA/

Also available in: Unified diff