Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
GenerateGlobalIdentifiers.java 19 KB 6933 over 12 years Matt Jones Added DOI generation to the 2.0.0 upgrade proce...
GenerateORE.java 3.02 KB 6912 over 12 years ben leinfelder -generate system meta for all docids, even thos...
GenerateSystemMetadata.java 3.16 KB 6919 over 12 years Chris Jones Use the Collections class from java.util.
Upgrade1_5_0.java 5.57 KB 6012 about 13 years ben leinfelder add support for temporal element query in pathq...
Upgrade2_0_0.java 2.84 KB 6933 over 12 years Matt Jones Added DOI generation to the 2.0.0 upgrade proce...
UpgradeEmptyReplicatedDataFile.java 5.57 KB 6856 over 12 years ben leinfelder only delete replicated data files (server_locat...
UpgradeNodeDataDatetime.java 5.98 KB 6732 over 12 years ben leinfelder close prepared statement only if not null http:...
UpgradeUtilityInterface.java 195 Bytes 6012 about 13 years ben leinfelder add support for temporal element query in pathq...

Latest revisions

# Date Author Comment
6933 01/20/2012 10:46 PM Matt Jones

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.

6919 01/17/2012 04:21 PM Chris Jones

Use the Collections class from java.util.

6912 01/17/2012 12:06 PM ben leinfelder

-generate system meta for all docids, even those not originating on the server (replicas from the past)
-generate ORE docs and download remote data only for those documents that originated on this server being upgraded.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5522

6911 01/17/2012 11:43 AM ben leinfelder

refactor generate system meta loop to the factory class -- to be reused in sysmeta and ORE generation
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5522

6909 01/13/2012 04:57 PM ben leinfelder

do NOT generate ORE maps or download data when we do the initial System Metadata generation -- this is deferred until D1 registration.

6908 01/13/2012 02:25 PM ben leinfelder

make more generic so that a custom list of IDs can be passed in.

6906 01/13/2012 01:31 PM ben leinfelder

insert OR update system metadata -- no need to do an update right after initial insert...

6905 01/13/2012 01:05 PM ben leinfelder

call the System Metadata generator during upgrade to 2.0.0

6904 01/13/2012 11:17 AM Chris Jones

In IdentifierManager.updateSystemMetadata(), add a check for invalid system metadata (fields that throw a NullPointerException on access) to ensure that system metadata is populated correctly. Updated calling classes to handle the exception.

6856 01/05/2012 02:49 PM ben leinfelder

only delete replicated data files (server_location != 1)

View revisions

Also available in: Atom