Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6265 06/30/2011 02:30 PM ben leinfelder

deprecate the old rest servlet in favor of the new D1-specific (CN/MN) versions

6264 06/30/2011 02:08 PM ben leinfelder

MN rest servlet, handler and mappings

6263 06/30/2011 02:07 PM ben leinfelder

share getSystemMetadata (before refactoring the superclass)

6262 06/30/2011 02:07 PM ben leinfelder

share getSystemMetadata (before refactoring this superclass)

6253 06/29/2011 05:23 PM ben leinfelder

add CNRestServlet and mappings for urls in the form:
/d1/cn/*
This extends existing code for CN-specific handling. MN handling will be analogous and is forthcoming

6252 06/29/2011 05:17 PM ben leinfelder

share the deserializer method with subclasses

6249 06/29/2011 04:13 PM ben leinfelder

add shared operations for authorization

6248 06/29/2011 03:08 PM ben leinfelder

share tempDir method with subclasses

6247 06/29/2011 02:55 PM ben leinfelder

make RestServlet and ResourceHandler extendible for D1 CN and MN handlers

6246 06/29/2011 02:19 PM ben leinfelder

use session member variable now that we actually have it

6244 06/29/2011 12:20 PM ben leinfelder

remove CrudService calls in favor of MNodeService

6195 06/23/2011 04:10 PM ben leinfelder

CNCoreImpl is replaced by CNodeService

6185 06/23/2011 01:54 PM ben leinfelder

include latest D1 common/lib changes

6140 06/15/2011 08:50 AM Chris Jones

Added support in ResourceHandler for the /formats collection. Added listFormats() and getFormat() method, both of which call CNCoreImpl methods to handle the call.

6133 06/08/2011 06:25 AM Chris Jones

When calling SystemMetadata.getObjectFormat(), return the string value of the ObjectFormatIdentifier rather than ObjectFormat.toString() (which no longer returns the fmtid string).

6130 06/07/2011 02:56 PM ben leinfelder

organize imports so that it is clearer what dependencies exist on the D1 jars

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

6120 06/03/2011 12:51 PM ben leinfelder

include CNCore implementation - only registerSystemMetadata is implemented at the moment. also - updated d1 jar (0.6.2) should be used since that is where the method is defined.
would like to consider making ResourceHandler more modular - seems like it does A LOT of different things

6097 05/24/2011 04:18 PM ben leinfelder

do not use XML files for storing SystemMetadata - use DB tables only.

6091 05/18/2011 04:32 PM Chris Jones

In order to sync up with DataONE 0.6.1 changes, I'm backing out ObjectFormatService changes temporarily in Metacat. Most functionality will be rolled back in using the DataONE 0.6.2 tag, but some methods in ObjectFormatService (such as getListFromDisk()) will be moved into d1_libclient_java.

6088 05/17/2011 08:02 PM Chris Jones

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

6067 05/05/2011 10:19 AM rnahf

committing changes related to the new restservice update specification (newPid vs. obsoletedGuid)

6050 04/26/2011 08:22 AM Chris Jones

Use SystemUtil.getContextURL() in ResourceHandler to construct the DataONE service URL (rather than direct calls to PropertyService). This handles http and https URLs, and strips the :80 or :443 for the well known ports.

6045 04/25/2011 11:08 AM rnahf

improved multipart handling (improved logging messages, code, and error checking). Added exception classname to error output when the generic Exception is thrown. Added error check for cases of null value for file parts 'sysmeta' and 'object.'

6033 04/08/2011 08:56 AM Chris Jones

Removed hardcoded D1 node type in ResourceHandler and added in a new 'dataone.nodeType' property. Also added 'dataone.coordinatingNodeBaseURL' property which points to the CN that stores the authoritative object format list. If this instance of Metacat is a CN, it may point to itself.

6032 04/08/2011 08:28 AM Chris Jones

ResourceHandler in Metacat was set to return the KNB site URL as the MN base URL rather than the node Id. Fixed. https://redmine.dataone.org/issues/1390

5955 02/14/2011 11:45 AM berkley

added file extension for txt or csv files

5929 02/08/2011 11:46 AM berkley

fixed node response bug

5927 02/07/2011 03:41 PM berkley

fixed update problem

5926 02/07/2011 02:49 PM berkley

put the pid in the info section of the url

5923 02/07/2011 10:50 AM berkley

fixed content type problem where csv files were set as text/xml

5918 02/04/2011 01:05 PM berkley

removed debug statements

5914 02/04/2011 06:17 AM ben leinfelder

remove httpclient 3.1 and custom-built httpclient.jar
rework MetacatClient (and other classes) to use httpclient 4
updated build to not create httpclient.jar
encoding tests now pass.

5881 02/01/2011 12:13 PM berkley

some new code for debugging mmp

5857 01/28/2011 01:59 PM berkley

added more code for new mmp requests

5854 01/27/2011 03:51 PM berkley

bug fixes

5851 01/27/2011 03:08 PM berkley

refactor checksum and some other stuff

5844 01/25/2011 03:50 PM berkley

trying to get the new MMP handler working with ResourceHandler

5843 01/25/2011 03:18 PM berkley

updating commons-fileupload to 1.2.2

5838 01/24/2011 03:32 PM berkley

replicate works on metacat now. just waiting for roberts changes to the mmp clients

5826 01/21/2011 02:27 PM berkley

new mmp code

5808 01/14/2011 11:16 AM berkley

refactored MMP handling

5805 01/13/2011 03:15 PM berkley

implementing replicate

5794 01/11/2011 04:52 PM berkley

updated replicate to only use GET requests. added notes for tomorrows standup

5791 01/10/2011 10:51 AM berkley

fixed bug with http/https port

5780 01/06/2011 12:26 PM berkley

adding additional debugging info

5779 01/06/2011 12:25 PM berkley

undoing last commit

5778 01/06/2011 12:24 PM berkley

added additional debugging info

5777 01/06/2011 11:19 AM berkley

adding war version replacement token

5776 01/06/2011 10:51 AM berkley

fix for member variables but in the request wrapper

5775 01/06/2011 09:52 AM berkley

adding war version to node response

5770 01/04/2011 04:04 PM berkley

implemented health api

5763 01/04/2011 11:26 AM berkley

implemented ping

5761 01/04/2011 09:44 AM berkley

added url decoding to the filter

5760 12/27/2010 02:47 PM ben leinfelder

use detected document encoding or Metacat's default encoding (UTF-8)

5751 12/20/2010 03:02 PM berkley

fixed a bug with trailing slashes

5750 12/20/2010 02:19 PM berkley

fix for paths with semi-colons or other 'reserved' characters in them for D1 rest services

5734 12/14/2010 02:38 PM berkley

fixed bug where permission would get set to -1 for no good reason

5695 12/07/2010 02:26 PM berkley

added response type

5692 12/06/2010 02:29 PM berkley

added the root registry node response

5691 12/06/2010 11:42 AM berkley

changed d1 url to knb/d1/....

5674 11/30/2010 04:59 PM berkley

return the identifier object instead of nothing

5673 11/30/2010 04:40 PM berkley

made delete serialize the identifier

5670 11/30/2010 03:30 PM berkley

got getChecksum working. working on delete now. all tests in d1clienttest now pass

5657 11/19/2010 03:23 PM berkley

changes for new d1 schemas

5652 11/17/2010 11:53 AM berkley

changed date format a bit to get the parser to like it

5651 11/17/2010 10:38 AM berkley

implemented describeObject

5644 11/15/2010 03:26 PM berkley

adding getChecksum method

5642 11/15/2010 11:47 AM berkley

remove temp files after multipart read

5640 11/15/2010 10:57 AM berkley

got the streaming mime multipart working

5639 11/12/2010 04:10 PM berkley

still working on mmp stream parsing

5638 11/10/2010 03:59 PM berkley

working on integrating streaming mmp into resourceHandler

5637 11/10/2010 03:25 PM berkley

more work on streaming mmp support

5636 11/09/2010 04:00 PM berkley

getting closer to a non-memory bound solution for mime multipart de/encoding

5629 10/27/2010 10:51 AM berkley

changes for dataone .5 schema updates

5617 10/14/2010 03:21 PM berkley

fixing redmine task 738

5616 10/14/2010 02:56 PM berkley

fixing trac bug 828

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.

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

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

5450 07/26/2010 10:44 AM berkley

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

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.

5436 07/19/2010 02:02 PM berkley

fixing another null auth token 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.

5425 07/06/2010 03:23 PM berkley

added some new error handling to work around this issue https://trac.dataone.org/ticket/706

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.

5418 06/30/2010 01:48 PM berkley

fixed some bugs in time handling for listObjects and getLogRecords

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.

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