Changes in the DataONE ObjectFormat class deprecate the convert() method, and we're now using Metacat's ObjectFormatService to look up object format attributes. The following changes replace ObjectFormat.convert() with ObjectFormatService.getFormat() in several classes....
generateMissingSystemMetadata was swallowing Exceptions instead of throwing. Refactored so that specific exceptions are thrown, affecting [create/update]SystemMetadata methods, too.
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.
fixed bug where the wrong checksum alg got written to the db
To support the generatemissingsystemmetadata REST call, modified CrudService.createSystemMetadata() to use DataoneEMLParser and further determine object formats from EML metadata. Formats currently supported are text/plain, text/csv, image/[jpg|jp2|bmp|tiff|png], and only for EML documents with 'ecogrid://' defined entity urls....
Cleaned up warnings, removed dead code.
Updated to most recent DataONE libraries. Updated CrudService to set the correct origin MN and auth MN in system metadata. Refactored exception passing. More work to come in generating SystemMetadata.
added code to do database query for listObjects
Cleaned up unused imports.
adding fields for additional system metadata info
added code to run an squery for listObjects instead of an anyfield query
refactor checksum and some other stuff
replicate works on metacat now. just waiting for roberts changes to the mmp clients
removing code I just added
adding default url to test against
fixes for creating SM for legacy docs
implemented health api
fix for paths with semi-colons or other 'reserved' characters in them for D1 rest services
added semi-colon id test
allow public access to log information when docid is given. IP and principal are not returned unless an administrator makes the request.
organized code for inputstream handling
fixed date problem
add a timer to delete the temp file
removed dependency on InputStreamToOutputStream so that exceptions will be passed correctly.
got getChecksum working. working on delete now. all tests in d1clienttest now pass
changed date format a bit to get the parser to like it
adding getChecksum method
added milliseconds back onto date format
fixed a couple bugs with dates and fixed a major bug where metacat was reading the entire document from the database everytime a DocumentImpl instance was created even though it didn't need to
changes for dataone .5 schema updates
updated all exception codes to match spec
fixed task 729
fixed a bunch of small errors, did some reformatting, and fixed a bug that I thought was fixed last week
changed log labels per trac 843
fixed bug 818
better log message
more debugging for objectInfo problem
checking for a null objectformat
add some error output
added a check for bad data into listObjects
commented out a println
updated DB scripts for D1 schemas
moved the dataone types to the metacat.properties file
changes to work with new dataone jars
fixed bug where the query cache was not getting reset by a REST insert/query combo.
new todos from code review with roger
added TODOs and cleaned up the code a bit
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
fixed bug with logger where localid didn't get appended when inserting a data file
reformatting logs for robert
fixed update bug I introduced yesterday while fixing replication
still working on getting guid problems fixed with replication
fixed yet another null sessionData bug
fixed more access control problems. also fixed extraneous white space that was getting put into the listobject output stream
fixed problems with access control on sysmeta
fix for set access bug
added functionality to set access permissions to system metadata the same as the document that it describes
hopefully fixed get bug where session was null
fixing another null auth token bug
changing d1 log format
added code to make sure the localId and guid get added to get and create d1 logs
fixed more NPE problems with sessionData. hopefully got them all this time
fix for null session bug
updated for date format that supports time zones correctly.
changed date comparison to compare to gmt only
fixed NPE with sessionData
fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made
fixing date formatting and timezone issues
fixed bug with log processing
fixed some bugs in time handling for listObjects and getLogRecords
bug fix to handle nulls
fixed bug in getLogRecords where the wrong id was getting set as the identifier
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.
still looking for listObjects problem
more debug for another instance
adding some debug info
fixed bug with upper case comparison
changed getSessionData so that it will respond property to public tokens
tracked down streaming bug. now need to figure out a better way to fix it.
added getValue() to the guid so that it prints the guid and not an object id
added a DataOneLogger for event notifications on the CN. The logger is called DataOneLogger and can be managed in the log4j.properties file
finished getLogRecords. Fixed some date bugs in metacat.
adding getlogrecords to the rest interface.
changed getLogRecords to use new classes for log events
fixed bug in metacat that allowed attribute data to be appended to element data in returnfields
fixed bugs associated with crud access control changes.