Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6509 09/23/2011 01:38 PM ben leinfelder

use "action" parameter instead of "permission"

6507 09/22/2011 03:30 PM ben leinfelder

include checksum algorithm when setting describe
https://redmine.dataone.org/issues/1799

6502 09/22/2011 02:01 PM ben leinfelder

correctly implement MN.describe
https://redmine.dataone.org/issues/1799

6501 09/22/2011 01:40 PM ben leinfelder

return Node not NodeList for getCapabilities
https://redmine.dataone.org/issues/1800

6472 09/20/2011 02:11 PM ben leinfelder

collect "message" param from multipart request for MN.synchronizationFailed method

6469 09/20/2011 11:55 AM ben leinfelder

use d1_common_java's date serialization utility for parsing parameters

6432 09/15/2011 10:01 AM ben leinfelder

only create ObjectFormatId when we actually have the parameter (downstream we rely on it being null or not when constructing the query)

6397 09/07/2011 05:16 PM ben leinfelder

changes for schema update (d1_common)

6396 09/07/2011 02:22 PM ben leinfelder

do not parse from last slash ("/") to the end when processing the request uri - otherwise things like format ids (text/csv) will be handled incorrectly.
https://redmine.dataone.org/issues/1773

6384 08/31/2011 02:36 PM Chris Jones

Update classes to use the DataONE 0.6.4 schema and types. Major changes involve using BigInteger vs long in SystemMetadata.size, and using ObjectFormatIdentifier rather than Object format.

6378 08/03/2011 10:46 AM ben leinfelder

latest D1 jars - changes include:
updateSystemMetadata() impl for CN
new identifier methods (generate is its own method)
removal of the resourceMap pointer from system metadata

6373 07/28/2011 11:10 AM ben leinfelder

use correct enum method

6369 07/28/2011 10:44 AM ben leinfelder

use NodelistUtil

6367 07/28/2011 10:10 AM ben leinfelder

remove ServiceTypeUtil - replace with TypeMarshaller

6366 07/27/2011 04:25 PM ben leinfelder

use new "v1" types from DataONE

6362 07/20/2011 03:00 PM ben leinfelder

remove CrudService -- replaced by MNodeService and CNodeService

6352 07/15/2011 06:52 AM Chris Jones

MNResourceHandler.getObject() was making a call to ObjectFormat.getFmtid() when an object format was null. Check that it is not null before trying getFmtid().

6337 07/12/2011 03:02 PM ben leinfelder

use objectFormatIdentifier for listObjects()
remove provisional system metadata indicator - Metacat will not implement reserveIdentifier()

6297 07/06/2011 08:11 AM Chris Jones

Modify monitor() to accept new parameters for getOperationStatisics() (fromDate, toDate) instead of 'period'. Added getDateAsUTC() to parse incoming fromDate and toDate parameter strings.

6285 07/05/2011 07:51 AM Chris Jones

Changed 'guid' to 'pid' to be in line with the D1 API.

6284 07/01/2011 05:23 PM ben leinfelder

simplify the MN rest servlet mapping to match CN mappings - also streamlined the handler code to share extra path info parsing

6282 07/01/2011 05:03 PM ben leinfelder

route all /d1/cn/* traffic through the CNRestServlet/Handler -- inspect the pathInfo when deciding what action to take and also strip off any extra parts (like pid).
include query() method pass-through to CNodeService

6280 07/01/2011 03:32 PM ben leinfelder

allow service implementation method to throw exception when guid parameter is null

6279 07/01/2011 12:47 PM ben leinfelder

allow parameters to be omitted in reserveIdentifier handling

6274 06/30/2011 05:24 PM ben leinfelder

use monitor() return value when processing response

6273 06/30/2011 05:04 PM ben leinfelder

throw exceptions up the call stack and handle exception reporting/serialization centrally in the handle() method

6272 06/30/2011 04:44 PM ben leinfelder

use logging, not system.out

6271 06/30/2011 04:40 PM ben leinfelder

consolidate session management and parameter preparation in the superclass

6270 06/30/2011 04:31 PM ben leinfelder

throw exceptions up the call stack rather than catching and handling them differently for each possible rest path

6269 06/30/2011 03:54 PM ben leinfelder

consolidate multi part handling in the super class - subclasses need only call the appropriate helper to get access to the needed resources. superclass does some validation to make sure the files are in place in the request

6268 06/30/2011 03:05 PM ben leinfelder

cleaning up the handlers -- removing superclass methods.

6267 06/30/2011 02:37 PM ben leinfelder

refactor to use D1RestServlet and D1ResourceHandler for the D1 rest interface

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