Project

General

Profile

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

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

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

Merge DBConnection branch to head.

1101 05/21/2002 09:53 AM Jing Tao

Add test ssl work or not in handleUpdateRequest method too.

1099 05/21/2002 08:35 AM Jing Tao

Add error message to outPut in catch clause in handleGetDocument Request.

1097 05/20/2002 05:25 PM Jing Tao

Add a test action in replication. Before handle read and read data file action. Metacat will take a test to see if the trust key in key store. If not, wouldn't replicate documents.This is security issue.

1077 05/10/2002 06:25 PM Jing Tao

Add two controls to send or accept data.

1067 05/08/2002 05:19 PM Jing Tao

Apply DocumentImp.writeReplication and DocumentImp.writeDataFile in deltaT replication

1065 05/08/2002 04:07 PM Jing Tao

Fixed some db connection bug.

1061 05/08/2002 09:28 AM Jing Tao

Use DocumentImpl.getDocHomeServer method to get home server in method handleGetDocumentInfo

1057 05/07/2002 04:59 PM Jing Tao

Revise the method getDocumentInfo. Home server of documnet is added in it.

1042 04/30/2002 08:29 AM Jing Tao

In handleUpdateRequest method, if a metacat was configured to be hub super, it can provide any documents in its database. If the metacat is notsuper, it only provide the documents list which home host is itself.

1035 04/26/2002 05:30 PM Jing Tao

Add a new attribute in updated doc list: data file. So from this attribute, we can tell which document is a data file.

1031 04/25/2002 05:01 PM Jing Tao

Using DocumentImpl.writeDataFile method in handleReplicateDataFileRequest. Make code simple.

1023 04/23/2002 06:09 PM Jing Tao

Add two method: handleGetDataFileRequest and handleForceReplicateDataFile. The two methods will handle data file replication.

1020 04/19/2002 06:52 PM Jing Tao

Figure out the configuration issue about replication. If metacat was configured to set replication off in build.xml, it will reject replication.

Adding a method named handleGetDataFileRequest. User can download data file from replcication now.

1014 04/16/2002 06:20 PM Jing Tao

Fixed the bug that to handle forceReplication action

887 12/20/2001 12:13 PM berkley

made it so we can now use multiple accessfilestypes and packagdfiletypes in the metacat.properties file. Also fixed a bug introduced when the 'http://' was removed from behind the server name in the loaddtd.sql script and the knb.xml file

840 09/24/2001 10:55 AM bojilova

for action=servercontrol&subaction=add
added function for downloading of the certificate file
from the specified URL of the source server
and uploading it onto this server

837 09/20/2001 01:14 PM bojilova

changes in replication to use https

836 09/17/2001 12:51 PM bojilova

fix around one way replication:
when server A sends document to the servers in its list of replication servers with replicate=1 in xml_replication table,
the server B received the document does NOT need the opposite check on its end.

804 07/23/2001 09:28 AM bojilova

fixed the compilation bug about the change of group parameter in DocumentImpl.write()

727 03/14/2001 12:46 PM berkley

added check to see if a replication server's IP matched it's DNS entry and the entry in the replication table

692 02/01/2001 10:56 AM bojilova

there were more mentions of DOCTITLE attr - cleared them

683 01/19/2001 03:20 PM berkley

fixed some problems with database connections getting a time out error. Also updated some catch statements