| Revision:

metacat / src / edu / ucsb / nceas / metacat / admin @ 7322

# Date Author Comment
7322 07/19/2012 02:38 PM ben leinfelder

utility methods to update/reserialize existing ORE maps that were generated with older foresite (and included bad dateTime strings).

7299 07/10/2012 02:12 PM ben leinfelder

include dataone.ore.downloaddata as a configurable property in case MNs (like LTER) want to have the process download externally-stored data files described in an EML data package.

7175 05/18/2012 12:09 PM ben leinfelder

instead of generating SM and ORE maps during dataone configuration/MN registration, moved this all to the replication admin screen where we can target generation for specific nodes. That way it's more controlled as to when and where we generate DataONE required content....

7174 05/18/2012 12:00 PM ben leinfelder

include all EML versions (had been only eml 2.1 for testing)

7170 05/14/2012 02:36 PM ben leinfelder

add "Generate System Metadata" button to the replication server list display. When clicked, we generate SM for records belonging to that source server. This is only enabled when DataONE has been configured.

7169 05/09/2012 03:45 PM ben leinfelder

expose serverLocation parameter to run GenerateSystemMetadata for different replication parters as needed.

7168 05/08/2012 04:30 PM ben leinfelder

only generate system metadata for original objects.

7129 04/10/2012 10:42 AM ben leinfelder

save backup properties before attempting node registration/update so that we don't "forget" the user input

7124 04/06/2012 01:53 PM ben leinfelder

do not download data at this point

7121 04/06/2012 01:35 PM ben leinfelder

only 2.1.0 EML docs for ORE generation right now...

7105 03/29/2012 11:19 AM ben leinfelder

handle last group of ids (oops)

7104 03/29/2012 10:33 AM ben leinfelder

use range of the list for test system metadata

7103 03/29/2012 08:48 AM ben leinfelder

use non-random list for generating system metadata in test mode

7081 03/19/2012 12:40 PM ben leinfelder

use scope prefix (knb-lter-%) for random test doc population

7030 02/24/2012 02:21 PM Chris Jones

Globally change the property 'dataone.memberNodeId' to 'dataone.nodeId'. This is more useful for both MNs and CNs implemented in Metacat. Also, change D1NodeService.getLogRecords() to return log entries with the actual node id rather than the IP address (looks like a cut/paste error)....

7013 02/16/2012 02:47 PM ben leinfelder

do not subset the list for MS generation testing -- at least not as the default in svn!

7007 02/09/2012 04:11 PM ben leinfelder

only run ORE generation for EML docs -- no need to run this for all documents (yikes!)

7006 02/09/2012 03:48 PM ben leinfelder

use IdMan method to find docids that do not already have system metadata records -- this lets us re-run without re computing system metadata for every entry (in case the process is interrupted). I haven' been using this option because I wanted to continually regenerate all SM for everything in my test DBs, but we are so close to release that I want to get this in there.

7005 02/09/2012 02:39 PM ben leinfelder

for testing: limit and randomize the docs to generate metadata for

7004 02/09/2012 08:39 AM ben leinfelder

FOR TESTING ONLY: limit number of records to 100 so that we can get an estimate

7003 02/08/2012 03:46 PM ben leinfelder

update the memberNodeId in existing system metadata only after the register/update is successful with the CN -- we can avoid unneeded SM updates in cases when the register/update fails because we gave the CN bad info that it rejects.

7002 02/08/2012 03:12 PM ben leinfelder

include member node id text field now that the CN is not assigning random Ids.

6999 02/08/2012 10:58 AM ben leinfelder

refactor D1-specific upgrade utilities into their own package

6996 02/08/2012 10:44 AM ben leinfelder

generate SystemMetadata during D1 registration (not 2.0.0 upgrade). This process runs in a thread and updates a value when it is complete.

6994 02/07/2012 04:53 PM ben leinfelder

dataone configuration and registration enhancements:
-include flag to disable D1 services, currently only the MN side enforces this
-do not allow multiple registration attempts if we have just submitted and are awaiting Node verification by the CN.
-do not allow configuration "bypass" if D1 settings have been configured previously....

6993 02/07/2012 03:18 PM ben leinfelder

use correct Collections import

6992 02/07/2012 11:08 AM ben leinfelder

Show "Update" button if this MemberNodeId is already registered with DataONE, otherwise use the "Register" label

6987 02/07/2012 12:00 AM Matt Jones

Modify admin configuration to include default replication policy. Extensively revised the DataONE configuration page, including new wording for intro, improved tooltips throughout, new arrangement of sections, and other cosmetic changes.

6984 02/06/2012 01:05 PM Matt Jones

Remove ability to edit NodeID from D1 configuration page. Fix update of contactSubject and dataone.ore.generated property name.

6981 02/06/2012 11:40 AM ben leinfelder

do not wait for SM generation to complete during the upgrade -- this way the web UI wont hang for days. the process sets a metacat property when it is complete.

6980 02/06/2012 11:38 AM ben leinfelder
6977 02/02/2012 05:15 PM ben leinfelder

do not shutdown hazelcast -- it needs to be running after the upgrade process so that Metacat actually works.
I think the newer version of HZ makes it so the threads are all released as needed.

6976 02/02/2012 03:17 PM Matt Jones

Commenting out the parts of the upgrade script that started to refer to EXID. At this point, the registration of EZID identifiers will be done out-of-band with respect to the upgrade.

6966 01/30/2012 02:49 PM ben leinfelder

upgrade to hazelcast so that threadpools are released when not needed (
include ant target to run a specific main class (mostly for debugging)

6964 01/27/2012 05:15 PM ben leinfelder

multithreaded implementation for processing docids for system metadata generation.
need to investigate ant/junit running that deadlocks hazelcast (config?)

6957 01/26/2012 12:48 PM ben leinfelder

only attempt to update date-like nodedata values.

6955 01/26/2012 10:03 AM ben leinfelder

include generate system metadata upgrade in the success flag

6954 01/26/2012 10:02 AM ben leinfelder

more clean up - reuse prepared statement for data update

6953 01/26/2012 08:40 AM ben leinfelder

look up nodedata values first, then update each one - trying to avoid out of memory exception.

6951 01/25/2012 07:41 AM ben leinfelder

rollback processing Error change -- creates a loop on error. ugh

6950 01/24/2012 10:55 PM ben leinfelder

report processing errors after exceptions have been caught and recorded, otherwise the web UI is blank and there is no clue what happened unless you look in the logs.

6941 01/23/2012 03:09 PM Chris Jones

Update the D1Admin class to set the dataone.contactSubject property. I've added the property to the http request to be added to the JSP form, but for now am setting the property using the dataone.subject field value. Not sure if we want to expose the contact subject in the form yet or not.

6935 01/23/2012 12:53 PM ben leinfelder

generate ORE maps only once -- and persist the flag to the main backup properties so that subsequent Metacat upgrades remember this value.

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 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 up BEFORE running through the Metacat configuration and database upgrade.

6932 01/20/2012 10:38 PM Matt Jones

Refactoring classes that throw generic Exception class to throw their more specific subclasses so that new exceptions are not hidden behind generic messages. Makes debugging easier.

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.

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

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.

6864 01/06/2012 01:51 PM ben leinfelder

store D1 configuration properties in the main backup so that they persist between upgrades.

6862 01/06/2012 10:45 AM ben leinfelder

update authoritative member node id when we change it (reconfiguration) and when we initially register as a MN with the CN.

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

only delete replicated data files (server_location != 1)

6852 01/05/2012 12:06 PM ben leinfelder

download remote data and save locally when it is referenced by an EML package, then include it in the ORE map.

6826 01/03/2012 10:56 AM ben leinfelder

upgrade routine to purge empty replicated data files so that they can be re-replicated

6806 12/20/2011 11:19 AM ben leinfelder

sort the docids so that "old" revisions are processed before newer ones

6803 12/16/2011 04:24 PM ben leinfelder

new jars with many changes -- including new CN methods: ping, describe, listChecksumAlgorithm. Removed MN.setAccessPolicy. Refactored CN.setOwner() to CN.setRightsHolder().

6732 12/02/2011 11:27 AM ben leinfelder

close prepared statement only if not null

6721 11/30/2011 05:31 PM ben leinfelder

generating ORE maps and creating/updating system metadata now. There are some Permission conversion issues to be worked out yet

6712 11/29/2011 02:15 PM ben leinfelder

optionally include ORE generation/insertion into Metacat when generating SystemMetadata

6705 11/29/2011 12:31 PM ben leinfelder

refactor SystemMetadata creation into separate class from the MetacatHandler -- this will be shared by upgrade code and normal metacat api.

6704 11/29/2011 11:00 AM ben leinfelder

include all document revisions when generating "missing" system metadata
TODO: revision graph captured in obsoletes/obsoletedBy

6701 11/28/2011 04:09 PM ben leinfelder

simplify SystemMetadata generation -- will be done during Metacat upgrade for D1 features/support.

6690 11/23/2011 11:31 AM ben leinfelder

configure synch schedule in the admin screen

6672 11/17/2011 02:47 PM ben leinfelder

replication control panel now fully implemented as an admin configuration screen

6669 11/17/2011 12:19 PM ben leinfelder

move replication configuration actions to the admin servlet and out of the replication servlet

6638 11/11/2011 09:12 AM ben leinfelder

actually persist the MN id value to the properties file

6637 11/11/2011 09:06 AM ben leinfelder

set the newly assigned MN id after we call CN.register().

6635 11/10/2011 11:36 PM ben leinfelder

DataONE MN registration/configuration is now its own configuration page in the admin interface.

6560 10/27/2011 04:33 PM ben leinfelder

correctly check for missing config values during geoserver configuration

6557 10/27/2011 03:59 PM ben leinfelder

correctly check for missing config values during geoserver configuration

6551 10/27/2011 01:00 PM ben leinfelder

use logging, not system.out

6550 10/27/2011 12:40 PM ben leinfelder

change upgrade scripts/routines to use 2.0.0 version number instead of 1.10.0

6549 10/27/2011 11:35 AM ben leinfelder

make sure we close the prepared statement always

6542 10/20/2011 02:03 PM ben leinfelder

add User-Agent logging to support D1 requirements

6503 09/22/2011 02:02 PM ben leinfelder

use Settings augmentation to customize the D1Client.CN_URL when used in a Metacat deployment.

6500 09/22/2011 01:32 PM Matt Jones

Use setProperty() instead of addProperty() to properly override the Settings property.

6499 09/22/2011 01:19 PM Matt Jones

Modify to set the CN URL before getting a CN instance.

6497 09/22/2011 10:55 AM Matt Jones

Pull the certificate path for dataone certificates from the metacat properties file.

6493 09/22/2011 12:05 AM Matt Jones

Register as a MN on the DataONE network as part of the properties setup. This is currently done always, but it needs to be conditional rather than automatically triggered.

6384 08/31/2011 02:36 PM Chris Jones

Update classes to use the DataONE 0.6.4 schema and types. Major changes involve using BigInteger vs long in SystemMetadata.size, and using ObjectFormatIdentifier rather than Object format.

6366 07/27/2011 04:25 PM ben leinfelder

use new "v1" types from DataONE

6362 07/20/2011 03:00 PM ben leinfelder

remove CrudService -- replaced by MNodeService and CNodeService

6130 06/07/2011 02:56 PM ben leinfelder

organize imports so that it is clearer what dependencies exist on the D1 jars

6126 06/07/2011 10:28 AM ben leinfelder

expose spatial cache regeneration option in the admin interface

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

6099 05/25/2011 11:59 AM ben leinfelder

-remove system metadata guid -> local id mapping (there is no document for system metadata now)
-include system metadata elements when replicating data objects (TODO: transfer all system metadata structures with the docinfo request).
TODO: remove docid+rev from the systemMetadata table definition

6097 05/24/2011 04:18 PM ben leinfelder

do not use XML files for storing SystemMetadata - use DB tables only.

6025 03/29/2011 11:23 AM ben leinfelder

do each table separately with it's own connection - running into memory issues on dev.nceas running this.

6020 03/24/2011 03:10 PM ben leinfelder

use the jaxb date parser for ISO 8601 formats. the numeric and date node values are now calculated after the document has been successfully inserted in the db so any sql exceptions do not prevent the raw node data from being saved.

6012 03/16/2011 10:56 PM ben leinfelder

add support for temporal element query in pathquery

5867 01/31/2011 11:55 AM ben leinfelder

always re-write web.xml in case geoserver has been redeployed

5850 01/27/2011 02:44 PM ben leinfelder

include a default location for the Geoserver data directory (under the metcat deployment)

5847 01/26/2011 04:11 PM ben leinfelder

rework geoserver configuration:
-geoserver context is set to 'geoserver' by default, but can be reconfigured
-data directory is set in the geoserver web.xml file (we have a template, set the value accordingly, then overwrite the deployed version in the geoserver webapp)...

5374 06/08/2010 12:34 PM berkley

refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.

5076 10/06/2009 10:55 AM daigle

Change RequestUtil forwardRequest() method to throw MetacatUtilException.

5030 08/24/2009 02:34 PM daigle

Change location of PropertyService to properties directory