| Revision:

metacat / src / edu / ucsb @ 5522

# Date Author Comment
5522 08/27/2010 08:27 AM berkley

updated for new dataone jars

5521 08/27/2010 08:25 AM berkley

changes to work with new dataone jars

5518 08/26/2010 05:10 PM ben leinfelder

include MetacatHandlerPlugin interface so that other projects [semtools] can extend the actions handled by Metcat without editing the codebase directly. The SemtoolsPlugin is the prototype for this and can be registered using the Metacat admin interface. Note that the plugin implementation class and supporting jars must be included in the webapp in order for the request to be handled correctly (the semtools build is injecting these as part of it's build process).

5515 08/26/2010 10:40 AM berkley

added explicit 200 codes to ResourceHandler

5512 08/25/2010 11:33 AM berkley

added better logging and http code setting

5510 08/23/2010 02:41 PM berkley

fixed bug where the query cache was not getting reset by a REST insert/query combo.

5505 08/19/2010 05:03 PM ben leinfelder

[merged from 1.9.3 branch] security fix: never unregister the "public" user session

5491 08/11/2010 12:26 PM berkley

re-added some code inadvertently removed

5490 08/11/2010 12:23 PM berkley

merged with version from 1.9.3 branch to fix bug with character encodings

5484 08/09/2010 11:37 AM berkley

added a todo

5481 08/06/2010 01:11 PM berkley

new todos from code review with roger

5466 08/02/2010 02:29 PM berkley

added TODOs and cleaned up the code a bit

5463 07/30/2010 04:11 PM ben leinfelder

do not read from the inputstream before passing it off to the SAXParser

5462 07/29/2010 12:22 PM berkley

fixed mime multipart problems so that roger can try to use the d1client

5461 07/28/2010 03:09 PM berkley

fixed error where insert/update errors were not getting caught as exceptions

5460 07/28/2010 10:53 AM berkley

fixed bug with logger where localid didn't get appended when inserting a data file

5459 07/28/2010 10:00 AM berkley

reformatting logs for robert

5458 07/27/2010 11:25 AM berkley

added another logging statement

5457 07/27/2010 11:04 AM berkley

added replicate log statements with the guid and localId

5456 07/27/2010 10:53 AM berkley

fixed update bug I introduced yesterday while fixing replication

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

5453 07/26/2010 03:39 PM berkley

still working on getting guid problems fixed with replication

5452 07/26/2010 02:47 PM berkley

fixed identifier manager problem with getting guid for systememtadaa doc

5451 07/26/2010 02:05 PM berkley

fixing problems with replication and systemmetadata

5450 07/26/2010 10:44 AM berkley

set the content type to text/xml for the rest interface

5449 07/26/2010 10:33 AM berkley

fixed yet another null sessionData bug

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

Fixed spelling error.

5447 07/23/2010 04:34 PM Matt Jones

Set content type on listObjects to be XML so that it is recognized by clients.
Reformatted method to use original file conventions.

5446 07/23/2010 03:54 PM Matt Jones

Reformatted code to fix indenting.

5445 07/23/2010 02:11 PM berkley

fixed more access control problems. also fixed extraneous white space that was getting put into the listobject output stream

5444 07/23/2010 01:30 PM berkley

fixed problems with access control on sysmeta

5443 07/23/2010 12:52 PM berkley

fix for set access bug

5442 07/23/2010 12:00 PM berkley

fixes for the access control setting for sysmeta

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

5439 07/22/2010 08:58 AM berkley

hopefully fixed get bug where session was null

5436 07/19/2010 02:02 PM berkley

fixing another null auth token bug

5434 07/12/2010 01:41 PM berkley

changing d1 log format

5433 07/12/2010 11:33 AM berkley

added code to make sure the localId and guid get added to get and create d1 logs

5432 07/12/2010 10:55 AM berkley

removing println

5431 07/09/2010 10:14 AM berkley

fixed more NPE problems with sessionData. hopefully got them all this time

5430 07/08/2010 08:51 AM berkley

fix for null session bug

5429 07/07/2010 04:00 PM berkley

hudson tests are now running. needed date conversions. still more work to do with systemmetadata date format.

5428 07/07/2010 03:22 PM berkley

updated for date format that supports time zones correctly.

5427 07/07/2010 10:53 AM berkley

changed date comparison to compare to gmt only

5426 07/07/2010 09:32 AM berkley

fixed NPE with sessionData

5425 07/06/2010 03:23 PM berkley

added some new error handling to work around this issue

5424 07/06/2010 11:58 AM berkley

fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made

5423 07/06/2010 10:14 AM berkley

fixed bug where null session data was not treated properly.

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

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

5420 06/30/2010 03:28 PM berkley

fixing date formatting and timezone issues

5419 06/30/2010 02:03 PM berkley

fixed bug with log processing

5418 06/30/2010 01:48 PM berkley

fixed some bugs in time handling for listObjects and getLogRecords

5417 06/30/2010 11:37 AM berkley

bug fix to handle nulls

5416 06/30/2010 11:27 AM berkley

fixed bug in getLogRecords where the wrong id was getting set as the identifier

5415 06/30/2010 09:35 AM berkley

added new exception handling to serialize number format exceptions for rest calls

5414 06/29/2010 11:44 AM berkley

fixed listObject bugs, added params to the listObjects rest interface, consolidated the date format passed in params

5413 06/28/2010 03:27 PM berkley

fixed query for listObjects so that paging works as advertised.

5412 06/28/2010 01:32 PM berkley


5411 06/28/2010 10:48 AM berkley

fixed error with listObjects and get.

5410 06/28/2010 10:16 AM berkley

got the crud test to pass on knb-mn, now need to figure out why the rest service still isn't working

5409 06/25/2010 03:54 PM berkley

still looking for listObjects problem

5408 06/25/2010 03:03 PM berkley

more debug for another instance

5407 06/25/2010 02:44 PM berkley

adding some debug info

5406 06/25/2010 02:09 PM berkley

fixed bug with upper case comparison

5403 06/25/2010 11:36 AM berkley

changed getSessionData so that it will respond property to public tokens

5397 06/23/2010 03:45 PM berkley

MetacatPopulator is now working. It allows you to do a query from one metacat instance, then insert any returned docs into another metacat instance

5395 06/23/2010 01:54 PM berkley

cleanup of 'fixed' ResourceHandler

5394 06/23/2010 12:25 PM berkley

tracked down streaming bug. now need to figure out a better way to fix it.

5393 06/16/2010 09:43 AM berkley

added getValue() to the guid so that it prints the guid and not an object id

5392 06/15/2010 04:13 PM berkley

added a DataOneLogger for event notifications on the CN. The logger is called DataOneLogger and can be managed in the file

5391 06/15/2010 03:40 PM berkley

finished getLogRecords. Fixed some date bugs in metacat.

5390 06/15/2010 12:49 PM berkley

adding getlogrecords to the rest interface.

5389 06/15/2010 11:19 AM berkley

changed getLogRecords to use new classes for log events

5387 06/14/2010 04:40 PM berkley

fixed bug in metacat that allowed attribute data to be appended to element data in returnfields

5386 06/14/2010 02:08 PM berkley

fixed bugs associated with crud access control changes.

5384 06/10/2010 04:11 PM berkley

implementing getLogRecords

5383 06/10/2010 02:21 PM berkley

added EventLog statements to all public methods in CrudService in preparation for addin the getLogRecords() method

5382 06/10/2010 11:03 AM berkley

added better debugging error messages for CN dev errors

5381 06/10/2010 09:51 AM berkley

added generateMissingSystemMetadata to the ResourceHandler so it is now available via a REST call.

5380 06/10/2010 09:47 AM berkley

made the test functional so that it checks that missing system metadata will be created.

5379 06/09/2010 05:03 PM berkley

mostly done with generating systemmetadata from legacy knb docs. need to write a better test and enable this through the ResourceHandler then it will be done.

5378 06/09/2010 04:21 PM berkley

working on getting systemmetadata creation working for legacy knb objects

5377 06/09/2010 02:24 PM berkley

working on a function to create dataone system metadata docs for legacy metacat objects that do not have SM.

5376 06/09/2010 12:21 PM berkley

moved authentication checking out of ResourceHandler and into CrudService

5374 06/08/2010 12:34 PM berkley

refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.

5373 05/27/2010 01:26 PM berkley

new class to handle system metadata tasks in metacat

5370 05/20/2010 09:52 AM berkley

listObjects is now working for rest calls as well as crud calls

5369 05/19/2010 10:25 AM berkley

added some params to the loop that segments the listObjects resultset

5368 05/18/2010 04:52 PM ben leinfelder

allow any nonquote characters in the schemaLocation attribute, otherwise the whole line is matched and this prevents schemaLocation from appearing anywhere but at the end of the line.

5366 05/18/2010 03:44 PM berkley

finished the crud part of listObjects. need to implement it in the rest interface now.

5365 05/18/2010 12:28 PM berkley

implementing getObjects in CrudService.

5364 05/18/2010 12:22 PM berkley

implementing getObjects in CrudService.

5363 05/18/2010 11:43 AM berkley

implementing getObjects in CrudService.

5362 05/17/2010 04:31 PM berkley

listObjects is almost working. need to get the result set parsed when returned to CrudService.

5359 05/17/2010 11:50 AM berkley

setting up the framework for the listObjects api call

5356 05/14/2010 02:55 PM berkley

changed the detailCode for DataOne exceptions to a string

5355 05/14/2010 11:18 AM berkley

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.

5353 05/13/2010 02:29 PM berkley

implemented update in ResourceHandler and fixed a bug in CrudService where data files were not handled correctly on update