Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  nceas 5301 over 14 years Matt Jones Modified ResourceHandler to return error codes ...

Latest revisions

# Date Author Comment
5301 04/06/2010 05:58 PM Matt Jones

Modified ResourceHandler to return error codes in XML format for the get() method.

5299 04/02/2010 06:54 PM Matt Jones

Modifications to metacat rest service to use the new DataONE CrudService for
get() operation. Minor issue with permissions errors propagating up the
stack, but otherwise this is the first implementation of a full DataONE
method.

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

5293 03/23/2010 01:13 PM ben leinfelder

when looking up group membership, skip referrals that have errors
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4900

5292 03/23/2010 12:56 PM ben leinfelder

skip referrals that have errors (connection timeout, host down, etc)
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4900

5291 03/22/2010 08:55 PM Matt Jones

Refactored putObject method to separate the create() and update() portions in order to match the method signatures needed for DataONE.

5287 03/18/2010 04:02 AM Matt Jones

Modified ResourceHandler.deleteObject() to take a globally unique id (guid)
as input rather than a metacat-conformant docid. The guid is translated
into a metacat docid which is then used in the handleDelete() call. So now
Metacat supports use of arbitrary identifiers for delete operations, but...

5286 03/18/2010 03:11 AM Matt Jones

Added support to ResourceHandler to allow the putObject method to use
arbitrary guid strings as input. These strings are examined, and if they
match the Metacat docid format (scope.id.rev), they are used directly. If
the id is a string in another format, a new localId is generated based on...

5283 03/17/2010 11:22 PM Matt Jones

Fixed bug in getNextRevision() where "error" documents were not being
detected properly before searching for the next identifier.

5282 03/17/2010 06:54 PM Matt Jones

Added initial support for arbitrary string identifiers in metacat (referred to as a guid). The new identifier table is used to map arbitrary string identifiers to Metacat's current docid format (referred to as the localId). Added a new IdentifierManager class to manage this table, adding new mappings as objects are added to the system. Modified the MetacatTest service to utilize this mapping table to look up a localId from a guid. IdentiferManagerTest is working with these guids now, as is the MetacatTest service get() method, but other parts of the system are unaware of them (e.g., create, update, delete operations are unaware, and no mapping is created when new documents are created). As a consequence, the MetacatRestClientTest is not working (although it also had lots of hardcoded dependencies that need to be fixed as well).

View revisions

Also available in: Atom