Project

General

Profile

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

# Date Author Comment
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

6582 11/01/2011 03:23 PM ben leinfelder

use HttpClient to set up SSL connection when doing replication calls -- this will use the server's configured certificate as the client certificate on the request. The server it is calling can then inspect that certificate and decide whether or not it trusts the caller.

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

6135 06/08/2011 05:08 PM ben leinfelder

add option for replicating system metadata (dataone)
https://redmine.dataone.org/issues/1626

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.

6119 06/02/2011 04:40 PM ben leinfelder

include System Metadata forced replication - just need to figure out when to call it!

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

5895 02/03/2011 03:25 PM berkley

added code to do database query for listObjects

5755 12/23/2010 09:10 AM ben leinfelder

only call response.getWriter() when we are about to send text/xml to the client, otherwise we end of calling both getWriter() and getOutputStream() - resulting in an illegal state.

5752 12/21/2010 02:26 PM ben leinfelder

use detected XML encoding when reading/writing files
use UTF-8 as default when performing queries in the DB (assume DB is using UTF-8)
remove as many PrintWriters (uses system default character encoding only) as possible and construct OutputStreamWriters where explicit encoding can be given....

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

5458 07/27/2010 11:25 AM berkley

added another logging statement

5455 07/26/2010 08:21 PM berkley

hopefully fixed bug with systemmetadata replication

5454 07/26/2010 08:04 PM berkley

debug statements in dbsaxhandler

5451 07/26/2010 02:05 PM berkley

fixing problems with replication and systemmetadata

5441 07/22/2010 03:30 PM berkley

added functionality to set access permissions to system metadata the same as the document that it describes

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

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

5323 04/26/2010 02:25 PM berkley

fixed bug where guid end tag wasn't getting printed

5322 04/26/2010 12:29 PM berkley

added a method in IdentifierManager to get a guid from a docid and rev. added fields in the documentinfo replication document to pass the guid. now need to handle the guid and insert it into the table if its found

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.

5174 01/04/2010 09:00 AM daigle

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

5151 12/02/2009 04:00 PM daigle

Change add sql to use a prepared statement. Only try to download a cert if a url was provided.

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

5027 08/14/2009 02:26 PM daigle

Change MetaCatVersion to MetacatVersion

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.

4854 03/23/2009 02:56 PM daigle

Beef up exception handling from file utilities. Move UtilException to MetacatUtilException to eliminate conflict with similar exception in utility package.

4809 02/17/2009 02:22 PM daigle

Replace System.out.println statements with logMetacat statements.

4808 02/17/2009 09:32 AM daigle

Update replication documentation and fix code so that replication log is available.

4698 12/26/2008 01:07 PM daigle

Renamed MetaCatUtil to MetacatUtil

4589 11/19/2008 03:25 PM daigle

Rename LDAPUtil to AuthUtil

4488 10/29/2008 11:44 AM daigle

Add some generic typing

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)

4449 10/13/2008 10:42 AM ben leinfelder

in cases when only access control is being modified, we can temporarily ignore the exception thrown my the write method, insert the updated access control rules, then deal with the write exception. this occurs when the docid remains the same (no revision increase) but the permissions have been altered.

4420 10/08/2008 11:28 AM ben leinfelder

use correct log directory/file for replication errors

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

4178 07/29/2008 11:32 AM daigle

Fully qualify spatial and replication properties

4173 07/28/2008 05:05 PM daigle

Use qualified properties

4139 07/18/2008 09:30 AM daigle

Use SystemUtil.getContextDir() instead of constructing directory path.

4132 07/16/2008 11:58 AM daigle

Differentiate between tomcat directory and deployment directory.

4123 07/15/2008 09:58 AM daigle

Append context url onto system id instead of server url.

4087 07/07/2008 02:16 PM daigle

Add addProperty and addPropertyNoPersist for new properties

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

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

Add even log in 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'.

2724 11/08/2005 02:14 PM Jing Tao

Using join query for more efficiency.

2719 11/08/2005 10:21 AM Jing Tao

Fixed bug to get docid list.

2717 11/02/2005 03:52 PM Jing Tao

Add more info transfer.

2663 10/10/2005 11:06 AM sgarg

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

2650 10/04/2005 06:13 PM Jing Tao

Add rev in get data doc info.

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

Add date info.

2619 09/30/2005 08:55 PM Jing Tao

Fixed the bug in xml segment is not correct to express revision document list.

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

Add code to handle deleted document replication.

2597 09/22/2005 05:02 PM Jing Tao

Add code to get revision table info

2586 09/09/2005 01:10 PM Jing Tao

Add code to check the if the user has permission to start or stop timed replication.

2581 09/08/2005 04:40 PM Jing Tao

Use a util function to get replication server.

2572 09/08/2005 10:48 AM Jing Tao

Persistant timed replication parameter.

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

1768 07/30/2003 02:03 PM Jing Tao

Fixed bug in replication if doctype is null.

1767 07/30/2003 10:50 AM Jing Tao

Fixed a bug that replication didn't do inline data.

1758 07/25/2003 08:39 AM Jing Tao

Change the year from YY to YYYY

1756 07/23/2003 06:15 PM Jing Tao

Revise initial value for server registry.

1752 07/23/2003 03:53 PM Jing Tao

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

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

Get rid of to_date function.

1606 04/23/2003 01:38 PM Jing Tao

Revise getURLContent method and give up httpclient.

1599 04/22/2003 09:52 AM Jing Tao

Using httpclient as http and https protocol handler.

1583 04/18/2003 08:31 PM Jing Tao

Revise update method. Every write action will check out a db connection. So it can handle a huge mount of write action.

1561 04/16/2003 10:11 PM Jing Tao

Add code to handle initialize eml2 parser.

1498 03/19/2003 03:28 PM Jing Tao

Change debugMessage

1385 02/04/2003 03:49 PM Jing Tao

Add code to handle text code was splited.

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

Merge cvs branch replication to cvs head.