changed date format a bit to get the parser to like it
implemented describeObject
adding getChecksum method
remove temp files after multipart read
got the streaming mime multipart working
still working on mmp stream parsing
working on integrating streaming mmp into resourceHandler
more work on streaming mmp support
getting closer to a non-memory bound solution for mime multipart de/encoding
changes for dataone .5 schema updates
fixing redmine task 738
fixing trac bug 828
added explicit 200 codes to ResourceHandler
added better logging and http code setting
fixed bug where the query cache was not getting reset by a REST insert/query combo.
added a todo
new todos from code review with roger
fixed mime multipart problems so that roger can try to use the d1client
fixed error where insert/update errors were not getting caught as exceptions
set the content type to text/xml for the rest interface
Set content type on listObjects to be XML so that it is recognized by clients.Reformatted method to use original file conventions.
Reformatted code to fix indenting.
fixing another null auth token bug
hudson tests are now running. needed date conversions. still more work to do with systemmetadata date format.
updated for date format that supports time zones correctly.
added some new error handling to work around this issue https://trac.dataone.org/ticket/706
fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made
fixed bug where null session data was not treated properly.
fixed some bugs in time handling for listObjects and getLogRecords
added new exception handling to serialize number format exceptions for rest calls
fixed listObject bugs, added params to the listObjects rest interface, consolidated the date format passed in params
fixed query for listObjects so that paging works as advertised.
fixed error with listObjects and get.
got the crud test to pass on knb-mn, now need to figure out why the rest service still isn't working
still looking for listObjects problem
cleanup of 'fixed' ResourceHandler
tracked down streaming bug. now need to figure out a better way to fix it.
finished getLogRecords. Fixed some date bugs in metacat.
adding getlogrecords to the rest interface.
fixed bug in metacat that allowed attribute data to be appended to element data in returnfields
fixed bugs associated with crud access control changes.
added generateMissingSystemMetadata to the ResourceHandler so it is now available via a REST call.
moved authentication checking out of ResourceHandler and into CrudService
refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.
listObjects is now working for rest calls as well as crud calls
changed the detailCode for DataOne exceptions to a string
added getSystemMetadata to ResourceHandler and changed the url format to be meta/guid. added a new servlet reponse handler in the web.xml file to handle the new urls and send them to the RestServlet.
implemented update in ResourceHandler and fixed a bug in CrudService where data files were not handled correctly on update
added exception testing to the crud test
removed system.outs
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.
adding a system to track system metadata documents for dataone
Added initial implementation of getSystemMetadata and its associated REST service. Current implementation is returning a hardcoded system metadata document -- need to look up the real document for each guid and return that.
Added comment about MIME form processing.
Refactored metacat to use dataone-service-api-0.3.0 jar file, with the new JIBX generated types and serialization. Included JIBX runtime jar in metacat to handle serialization and deserialization of SystemMetadata objects. Removed the old API jar file.
Modifications to support the DataONE service API version 0.1.0. For DataONE, the get() andcreate() services are partially complete. Several more functions and checks need to be added tocreate() 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).
Modified ResourceHandler to return error codes in XML format for the get() method.
Modifications to metacat rest service to use the new DataONE CrudService forget() operation. Minor issue with permissions errors propagating up thestack, but otherwise this is the first implementation of a full DataONEmethod.
Modified ResourceHandler.deleteObject() to take a globally unique id (guid)as input rather than a metacat-conformant docid. The guid is translatedinto a metacat docid which is then used in the handleDelete() call. So nowMetacat supports use of arbitrary identifiers for delete operations, but...
Added support to ResourceHandler to allow the putObject method to usearbitrary guid strings as input. These strings are examined, and if theymatch the Metacat docid format (scope.id.rev), they are used directly. Ifthe id is a string in another format, a new localId is generated based on...
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).
Modified ResourceHandler to change the GET url from /objects to /object tomatch the DataONE method name.
Merging in REST interface implementation that was created by Serhan Akin. Main change isa refactored MetaCatServlet.java class, in which all of the handle* methods were movedinto a separate MetacatHandler.java class. This allows both the standard MetaCatServlet...