Project

General

Profile

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

# Date Author Comment
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.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2084

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

add support for temporal element query in pathquery
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2084

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.

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

5673 11/30/2010 04:40 PM berkley

made delete serialize the identifier

5621 10/19/2010 09:33 AM berkley

fixed a bunch of small errors, did some reformatting, and fixed a bug that I thought was fixed last week

5448 07/23/2010 04:35 PM Matt Jones

Fixed spelling error.

5422 07/02/2010 01:08 PM ben leinfelder

Correct log warning message - not "Account" but "Accession" number

5352 05/12/2010 10:55 AM berkley

removed system.outs

5350 05/11/2010 04:49 PM berkley

amost have update working. still need to get unit test squared away.

5340 05/10/2010 01:15 PM berkley

refactored XMLSchemaService to not have static methods. made the CrudServiceTest more robust.

5339 05/07/2010 04:30 PM berkley

removed system.outs

5338 05/07/2010 04:28 PM berkley

fixed schema location bug. the dataone schemas are now correclty found

5337 05/07/2010 03:15 PM berkley

removed CrudService dependency on servlet params. CrudService is now a singleton. I'm getting an error from metacat saying it can't find teh systemmetadata schema, even though it is, in fact, registered with metacat. need to identify why this is happening.

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).

5311 04/14/2010 11:31 AM daigle

Merge 1.9.2 changes back into the trunk

5298 04/02/2010 11:29 AM Matt Jones

Modified readFromMetacat() to pass most exceptions up the call stack, which
allows creation of new entry points for calling reads. Still need to
continue factoring out the HTTPServletResponse that is passed in in order to
make entrypoints that are not servlet based possible. Problem now is in...

5207 02/03/2010 01:16 PM daigle

Beef up log messages

5198 01/21/2010 03:02 PM daigle

do a quick retry if building path index fails with a SQL error

5197 01/20/2010 02:55 PM daigle

Make sure buildIndex throws an exception if it has a sqlexception. That way the indexing object will be added to the indexing queue and reprocessed.

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.

5186 01/06/2010 04:18 PM Jing Tao

Fix the bug of http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4645. handleGetRevisionAndDocTypeAction will search both xml_documents and xml_revisions table.
It also changed some constrain in AccessionNumber when user update a document, of which all previous versions are in xml_revisions table.

5162 12/09/2009 11:54 AM daigle

Change log levels where appropriate and add class/method name to output.

5160 12/08/2009 11:40 AM daigle

beef up error log messages

5122 11/19/2009 08:19 AM ben leinfelder

special handling for RDF namespace documents (semtools project)

5090 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

5025 08/14/2009 02:22 PM daigle

Move document specific utilities to DocumentUtil from MetacatUtil. This makes it easier to define a layer between the core metacat services and the rest of the code.

5015 08/04/2009 02:32 PM daigle

Create database and shared directories for database management code and shared code respectively.

4950 06/12/2009 04:39 PM daigle

Add archival read funtionality (jar/kar/war files)

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.

4851 03/19/2009 10:25 AM daigle

Do not read or write zero length documents to/from disk

4812 02/18/2009 04:30 PM daigle

Format indexPaths in metacat.properties. Remove from build.properties and build.xml. Move indexPath list getter from MetacatUtil to SystemUtil.

4743 01/13/2009 11:11 AM walbridge

Fix typos in error messages.

4698 12/26/2008 01:07 PM daigle

Renamed MetaCatUtil to MetacatUtil

4677 12/17/2008 02:15 PM daigle

move readerToString function to StringUtil class in utilities module.

4661 12/09/2008 02:56 PM daigle

Add debug statements

4589 11/19/2008 03:25 PM daigle

Rename LDAPUtil to AuthUtil

4500 11/03/2008 11:00 AM daigle

Move the code to write metadata to disk into documentImpl

4467 10/21/2008 03:20 PM daigle

Add some generics typing. Separate the code that strips inline data from document files to have a different strategy for 2.0.X versus 2.1.X documents.

4426 10/09/2008 09:49 AM daigle

Look for schemaLocations in the document while initializing parser. If full schema validation is turned on in metacat.properties, and at least one schema is not registered locally, then turn on full schema validation in the parser.

4359 09/19/2008 08:29 AM daigle

Fix workgroup description

4346 09/09/2008 09:41 AM daigle

add closing </distribution> tag to regex for inline data.

4341 09/03/2008 09:24 AM daigle

Created a method in DocumentImpl to read a document file from disk. Created a support method to strip inline data for users that don't have read access.

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

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

4140 07/18/2008 09:30 AM daigle

Add sql debug statements

4123 07/15/2008 09:58 AM daigle

Append context url onto system id instead of server url.

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

4011 06/19/2008 01:33 PM berkley

fixed bug 3403

3753 02/29/2008 03:16 PM Jing Tao

Remove an obsolete private method getPartNodeRecordList.

3735 02/25/2008 05:16 PM Jing Tao

Use dev=1 replace dev like '1'. since postgres 8.3 doesn't support it.

3731 02/22/2008 03:52 PM Jing Tao

Add debug info for special charater.

3507 10/08/2007 11:44 AM Jing Tao

Modified a sql command from "like" to "=". It dramatically improves the peformance of build index.

3468 09/24/2007 09:59 PM Jing Tao

Add debug information.

3343 08/03/2007 03:52 PM Jing Tao

Add code to expire cached query result when metacat have a insert, update or delete action.

3338 07/31/2007 04:10 PM Jing Tao

Fix a bug that move node from xml_nodes to xml_nodes_revisions.

3240 04/17/2007 03:25 PM Matt Jones

Decreased the debug message priority to 'debug' level for messages when reading an XML document.

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.

3198 03/07/2007 05:00 PM Jing Tao

Change some log info.

3182 02/15/2007 02:59 PM Chris Jones

One more patch for bug 2469:
Although the correct parentid values were being indexed in xml_path_index
for leaf node xpaths, they were still incorrect for relative and absolute
paths. This patch modifies traverseParents() and changes the parent node id
to be indexed to that of the leaf node, no matter if the path is a leaf,...

3181 02/15/2007 10:55 AM Chris Jones

As a continued fix for http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469,
I've fixed the indexing implementation in both buildIndex() and
traverseParents(). Duane pointed out that the incorrect parent node ids
were being indexed in xml_path_index, causing some stylesheets to render...

3152 01/25/2007 09:41 AM Matt Jones

Fixed the implementation of the buildIndex function which was not
working for new document insertions. A previous fix in updatePathIndex
for ATTRIBUTE data inadvertantly caused a foreign key duplication
exception for insertions of ELEMENT nodes when multiple relative paths...

3149 01/18/2007 04:33 PM Chris Jones

I'm fixing a compile problem under jdk 1.4.2, where the get() method in
HashMap needs an Object as a parameter, not a primitive data type. I changed
the long to a Long as the lookup key.

3148 01/18/2007 03:20 PM Chris Jones

As part of a patch fix for:

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2469
I've changed DocumentImpl.java in three locations:
buildIndex()
traverseParents()
updatePathIndex()

This patch modifies buildIndex(). Like the prior two patches, it changes...

3147 01/18/2007 03:07 PM Chris Jones

As part of a patch fix for:

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

I've changed DocumentImpl.java in three locations:

buildIndex()
traverseParents()
updatePathIndex()

This patch modifies traverseParents(). It changes pathsFoundForIndexing from...

3146 01/18/2007 02:52 PM Chris Jones

As part of a patch fix for:

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

I've changed DocumentImpl.java in three locations:

buildIndex()
traverseParents()
updatePathIndex()

This patch modifies updatePathIndex() by changing the pathsFound input...

3098 11/20/2006 06:11 PM perry

Ensure that spatial operations are only triggered when runSpatialOption is set to true.

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

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

3070 10/26/2006 05:13 PM perry

Changed float object handling in spatial components in order to compile on jdk 1.4.2

3034 08/31/2006 04:37 PM perry

initial import of changes to metacat source and config files to support spatial option

3024 07/19/2006 03:00 PM sgarg

added exception handler for normalize function. if StringIndexOutOfBoundsException is thrown then it is reported and nodedata value is forwarded without normalization.

3004 06/09/2006 01:09 PM sgarg

Allow admin to update any document

2996 05/08/2006 01:09 PM sgarg

Modified code so that database is queried just once when a document is read. Currently the read is being done in the constructor and then again in
the function.

2767 11/18/2005 01:25 PM sgarg

1. Modified buildIndex() so that only one connection is used for both indexing nodes and indexing paths.
2. Modified the indexing algo so that indexing of paths is done while nodes are being indexed. Results in a much faster indexing algo
3. Replaced access to NodeRecord.<variable> with NodeRecord.<getVariable>

2751 11/16/2005 01:07 PM Jing Tao

Fixed the bug that replicate data file failed that the documents records wouldn't be deleted.

2734 11/11/2005 10:01 AM sgarg

Changes in calls made to IndexingQueue class

2731 11/10/2005 01:40 PM sgarg

Removed the call to indexing function in DBSAXHandler and added a call to indexing function IndexingQueue

2714 11/02/2005 10:16 AM sgarg

Modified the debug levels of debug statements

2703 10/31/2005 05:24 PM Jing Tao

Add code to handle catalog is null when inserting xml_revisions table.

2702 10/31/2005 04:19 PM Jing Tao

Add code to handle write record into xml_documents when catalog id is null.

2701 10/31/2005 12:56 PM sgarg

Bugfix to the code which sets parentnodeid in xml_path_index. (Use setInt instead of setFloat)

2668 10/10/2005 12:27 PM sgarg

Changes in log levels of some commands mentioned in the previos commit.

2663 10/10/2005 11:06 AM sgarg

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

2652 10/04/2005 07:19 PM Jing Tao

Fixed bug which can cause eml beta6 couldn't run access control.

2646 10/04/2005 04:16 PM Jing Tao

Fixed bug couldn't delete xml_nodes when moving to xml_nodes_revision in replication.

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

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

2626 10/02/2005 03:36 PM Jing Tao

Add code to transfer string to date type.

2625 10/01/2005 09:57 PM Jing Tao

Add function transfer string to date.

2621 10/01/2005 09:18 PM Jing Tao

Rewrite replication for revision document.

2616 09/30/2005 05:40 PM Jing Tao

Fixed some bug in replication.

2607 09/30/2005 12:47 PM Jing Tao

Add code to handle replicate the deleted document.

2595 09/15/2005 03:29 PM Jing Tao

Add default constructor and change some viriable to protected.

2593 09/14/2005 11:50 AM sgarg

Added code to start threads which initiate indexing once insertion to xml_nodes is complete.