Project

General

Profile

  • svn:eol-style: native
  • svn:executable: *
  • svn:keywords: Author Date Id Revision

# Date Author Comment
7475 12/12/2012 02:38 PM ben leinfelder

move DocInfo parsing into utilities project so that it can be used by Morpho as well as Metacat.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5737

7370 09/04/2012 03:43 PM ben leinfelder

use SchemaLocationResolver to fetch remote entries for the xml_catalog -- we want to be able to fetch included xsd files as well as use any error handling it provides for checking the schemas.

7358 08/23/2012 09:45 PM ben leinfelder

create docid-guid mapping during replication if it does not exist. we were [incorrectly] assuming that there would be SM coming with the document info that would fill this information in, but for traditional non-MN Metacat deployments there is no SM to provide a mapping. In this case we use the docid as the guid.

7356 08/17/2012 12:42 PM ben leinfelder

stream the replication "update" response rather than building up a complete list in a stringbuffer. prompted by findings on t he CN: https://redmine.dataone.org/issues/3141

7348 08/06/2012 11:08 AM ben leinfelder

remove unused "dataonelogger"

7196 05/29/2012 09:33 AM ben leinfelder

stack trace the HZ put exception during CN-CN replication

7195 05/29/2012 07:37 AM ben leinfelder

additional debugging statements for CONCURRENT_MAP_PUT error during CN-CN replication.

7150 04/30/2012 04:03 PM ben leinfelder

optionally remove the document/data file from the filesystem completely when 'deleting' it.
https://redmine.dataone.org/issues/2677

7128 04/09/2012 03:18 PM ben leinfelder

add a parameter for optionally writing EML-embedded access control rules to the Metacat DB.
https://redmine.dataone.org/issues/2584
https://redmine.dataone.org/issues/2583

7045 03/07/2012 02:30 PM ben leinfelder

check whether mapping (

6968 02/01/2012 09:44 AM ben leinfelder

process systemMetadata from the docInfo string before writing to the database so that we guarantee guid-docid mapping exists before attempting to look it up.

6666 11/17/2011 11:19 AM ben leinfelder

save SystemMetadata when replicating data and metadata -- this way if/when the node decides to be a DataONE MN it already has the information needed for each object

6614 11/07/2011 02:31 PM ben leinfelder

use DateTimeMarshaller for all replication date transfers

6611 11/07/2011 10:55 AM ben leinfelder

use SSL to get content from stream

6595 11/02/2011 08:40 PM ben leinfelder

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

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

add User-Agent logging to support D1 requirements

6531 10/12/2011 11:08 AM ben leinfelder

include SystemMetadata when replicating data and metadata documents -- this allows us to establish the guid-to-docid mapping that is crucial for being able to read the replicated document by guid (d1 api)

6448 09/16/2011 03:17 PM ben leinfelder

do not send <systemMetadata> with the <docInfo> replication information - this is handled by the Hazelcast shared map

6447 09/16/2011 03:07 PM ben leinfelder

rely on Hazelcast to store the SystemMetadata locally for the node. Entry event listeners store the shared system metadata on their local node when alerted. TODO: remove old replication code that included system metadata xml when replicating scimeta and data

6367 07/28/2011 10:10 AM ben leinfelder

remove ServiceTypeUtil - replace with TypeMarshaller

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

use new "v1" types from DataONE

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.

6118 06/01/2011 01:45 PM ben leinfelder

handle timed replication of system metadata. there are still a few outstanding issues:
-track server location of system metadata-only entries
-replication policy flag for system metadata-only entries?
-locking for replicated entries?
-forced replication of entries

6102 05/25/2011 03:53 PM ben leinfelder

transfer full System Metadata (as XML) during document and data replication

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.

6079 05/05/2011 03:14 PM ben leinfelder

use update method to update the mapping between local and guid (d1) when we get a force replication request that is an "update

6057 05/03/2011 04:04 PM ben leinfelder

use "object_format" element consistently so that it is replicated across instances
https://redmine.dataone.org/issues/1514

6015 03/22/2011 05:19 PM ben leinfelder

insert/update documents with null user and null group to circumvent access control restrictions then update the user_owner and user_updated values to reflect what exists on the originating server (pisco)

6014 03/22/2011 01:24 PM ben leinfelder

use 'user_updated' field when writing the replicated document - allows most recent ownership/permissions to be used (in case LDAP groups have shifted) and is more accurate for both updates and initial inserts (hopefully addresses the replication issue we are having with pisco)

6001 03/02/2011 02:12 PM Chris Jones

DocumentImpl.delete() now throws finer grained exceptions (not a general exception). Consequently, the classes that call it have been updated to handle the thrown exceptions, including CrudService, ReplicationHandler, and ReplicationService.

5950 02/11/2011 01:48 PM berkley

adding more debuggin and fixing bug with systemmetadata

5944 02/10/2011 04:17 PM berkley

fixed replication bug where systemmetadata was not getting procssed correctly

5930 02/08/2011 12:05 PM berkley

fixed typo that prevented replication

5917 02/04/2011 12:39 PM berkley

fixed bugs in listObjects

5895 02/03/2011 03:25 PM berkley

added code to do database query for listObjects

5709 12/08/2010 04:59 PM ben leinfelder

add support for EML 2.1.1

5459 07/28/2010 10:00 AM berkley

reformatting logs for robert

5457 07/27/2010 11:04 AM berkley

added replicate log statements with the guid and localId

5451 07/26/2010 02:05 PM berkley

fixing problems with replication and systemmetadata

5440 07/22/2010 12:32 PM berkley

fixed major bug in replication where the document info was being truncated due to a poorly implemented sax parser

5392 06/15/2010 04:13 PM berkley

added a DataOneLogger for event notifications on the CN. The logger is called DataOneLogger and can be managed in the log4j.properties file

5324 04/26/2010 04:11 PM berkley

replication of guids now works. tested this for both forced replication and update/insert/delete triggered replication

5319 04/19/2010 04:51 PM Matt Jones

Modifications to support the DataONE service API version 0.1.0. For DataONE, the get() and
create() services are partially complete. Several more functions and checks need to be added to
create() before it is viable. This DataONE support is not complete, and the current support breaks the MetacatRestClientTest for the time being (this client will eventually be removed).

5195 01/19/2010 10:25 AM daigle

Pass the doc xml as a string to docImpl.write and writeRepication. This is so a reader can be create for the parsing and for the write to disk. Also created a db access class for xml query result deletion.

5175 01/04/2010 09:01 AM daigle

Log doc and rev query counts and times. Fix mis-spellings.

5098 10/30/2009 03:39 PM daigle

change AccessControlForSingleFile to only be instantiated for one file. move ACL methods to AccessControlForSingleFile. Change format of access sections returned to EML 2.1.0.

5089 10/16/2009 11:10 AM daigle

Move access control source to it's own directory.

5030 08/24/2009 02:34 PM daigle

Change location of PropertyService to properties directory

5014 08/04/2009 02:30 PM daigle

Create replication directory. Move replication code there. Use log4j for replication logging (rollingfileappender). Beef up replication logging and error control.

4861 03/25/2009 02:41 PM daigle

Roll back replication user changes. Fix code that converts access levels to integer and to text.

4856 03/24/2009 10:17 AM daigle

Introduce replication user. Use the fileutil writer methods instead of writing directly.

4698 12/26/2008 01:07 PM daigle

Renamed MetaCatUtil to MetacatUtil

4450 10/13/2008 11:34 AM ben leinfelder

check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)

4419 10/07/2008 04:40 PM ben leinfelder

replicate xml_access entries across servers.
see: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3464
note: still needs to be tested...but needed to be checked in for other metacat installations to be updated....

4335 08/29/2008 10:20 AM daigle

Move the DBAdaptor accessor into a DatabaseService class

4213 08/05/2008 05:50 PM daigle

qualify xml and eml properties with an xml. prefix

4212 08/05/2008 05:33 PM daigle

Continue to qualify property names

4173 07/28/2008 05:05 PM daigle

Use qualified properties

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

3898 05/19/2008 06:46 PM Jing Tao

Check into cvs head. In handle replication list method, parser will be intialized every time when it handles a list from another server.

3234 04/13/2007 11:49 AM Jing Tao

Add event log for timed replication.

3230 04/12/2007 06:34 PM Jing Tao

Somehow the change went to the head rather than branch. So i rollback the change in head.

3229 04/12/2007 06:13 PM Jing Tao

This commit is for branch. In this commit the correct ip and user name will be stored in access_log table in replication event. However, it only for Forcereplication. And the test isn't completed yet. This commit is only for future use.

3077 11/10/2006 10:25 AM Matt Jones

Removed the release ant token from all files in 'src'.

2740 11/15/2005 04:59 PM Jing Tao

Fixed a bug in log

2739 11/12/2005 06:15 PM Jing Tao

Fixed log bug when xml_revision updated failed.

2725 11/08/2005 06:53 PM Jing Tao

Add more debug info.

2713 11/01/2005 05:01 PM Jing Tao

Add code to handle replication document in xml_document table.

2663 10/10/2005 11:06 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2647 10/04/2005 04:17 PM Jing Tao

Remove some debug message.

2641 10/04/2005 10:58 AM Jing Tao

Change the code to make sure DocumentImpl class's constructor should have rev attached.

2624 10/01/2005 09:21 PM Jing Tao

Add date info.

2608 09/30/2005 12:48 PM Jing Tao

Add code to handle deleted document replication.

2578 09/08/2005 04:02 PM Jing Tao

Add code to trim server name white space.

2573 09/08/2005 10:49 AM Jing Tao

Remove output stream from the constructor.

2555 08/30/2005 05:04 PM Jing Tao

Add some method to setting replication start time.

2298 09/16/2004 05:04 PM Jing Tao

Add new feature that delete can be broadcasted by force replication.

2286 09/15/2004 08:25 PM Jing Tao

Add a code to load eml201 parser to fix the bug that couldn't generate access rule for eml201 doc.

2169 05/14/2004 02:38 PM sgarg

Made initial changes for accepting EML version 2.1.0 in Metacat

2163 05/07/2004 04:05 PM Jing Tao

Change eml2 to eml200

1757 07/25/2003 08:13 AM Jing Tao

Revise inital value for insert a new server. Change some debug level.

1753 07/23/2003 03:55 PM Jing Tao

Change the date format from yy-mm-dd to mm/dd/yy.

1751 07/23/2003 12:04 PM Jing Tao

Get rid of to_date function.

1609 04/23/2003 09:30 PM Jing Tao

Fixed a bug to checking error.

1600 04/22/2003 09:53 AM Jing Tao

Add code to get rid of white space in url.

1585 04/18/2003 08:33 PM Jing Tao

Add a method to write error message into log file.

1562 04/16/2003 10:12 PM Jing Tao

Add code to handle eml2 replciation.

1387 02/04/2003 03:51 PM Jing Tao

Add code to handle text node was splited.

1292 07/14/2002 12:33 PM Jing Tao

Merge cvs branch replication to cvs head.

1217 06/13/2002 11:54 AM Jing Tao

Merge DBConnection branch to head.

1102 05/21/2002 09:59 AM Jing Tao

Add the code to handle error in the respone for a update request.

1100 05/21/2002 08:36 AM Jing Tao

Change code to handle the error message.

1098 05/20/2002 05:27 PM Jing Tao

In update method, add code to handle if a user couldn't pass a trusting test.

1078 05/10/2002 06:26 PM Jing Tao

Add a control to accept data or not

1071 05/09/2002 05:43 PM Jing Tao

Revised update method.

1068 05/08/2002 05:20 PM Jing Tao

Revise Update method.

1066 05/08/2002 04:08 PM Jing Tao

Fixed some db connection problem

1058 05/07/2002 05:00 PM Jing Tao

Fixed a bug in method getHomeServer

1043 04/30/2002 08:33 AM Jing Tao

Add two methods getHomeServer and getServerLocation. Given a docid, getHomeServer can get the information of its home host. Given a docid, getServerLocation can return server code for it.