Project

General

Profile

  • svn:eol-style: native

# Date Author Comment
9297 08/17/2015 02:52 PM Jing Tao

Decode the string of the uri after we break the uri into parts base on the "/".

9182 04/30/2015 01:22 PM ben leinfelder

defer to D1 PortalCertificateManager to pull authentication credentials from the request before defering to old Metacat cookie session

9164 04/10/2015 10:21 AM ben leinfelder

use singleton for getting JWT token - refactor in d1_portal project

9148 03/09/2015 06:29 PM Jing Tao

Make the REST api work for views.

9099 02/06/2015 12:10 PM Matt Jones

Modify v1 and v2 calls to MultipartRequestResolver to use MAX_UPLOAD_SIZE from configuration.

9094 02/06/2015 01:16 AM Matt Jones

Updated D1ResourceHandler to not hardcode a file size limit. This will allow
large, multi-gigabyte files to be uploaded, but still needs testing. The limit
is now drawn from the metacat.properties file. An alternative would be to inspect
the Content-Length header of the request and set the max to a value greater than the...

9064 01/07/2015 04:52 PM Jing Tao

Comment out a print of an error message. It will show up for every public request.

8810 07/23/2014 04:19 PM ben leinfelder

add support for v2 DataONE API.

7778 05/24/2013 10:20 AM ben leinfelder

do not require PortalCertificateManager be configured. Fix NPE because session was not created when using old sessionid-based authentication. https://projects.ecoinformatics.org/ecoinfo/issues/5942

7773 05/23/2013 09:45 PM ben leinfelder

handle client certificates, portal certificates and jsessionid as three ways to prove you are an uthenticated user. https://projects.ecoinformatics.org/ecoinfo/issues/5942

7752 05/22/2013 03:49 PM ben leinfelder

switch back to log4j statements now that I am sure certificate delegation is working.

7749 05/22/2013 03:02 PM ben leinfelder

use System.out.println until the oa4mp logging issue is resolved.

7745 05/22/2013 10:34 AM ben leinfelder

add logging for portal certificate look up process.

7743 05/22/2013 09:34 AM ben leinfelder

use relative path for oa4mp_client.xml (within servlet context). https://projects.ecoinformatics.org/ecoinfo/issues/5936

7737 05/21/2013 11:05 PM ben leinfelder

first pass at integrating CILogon/MyProxy certificates in Metacat. Configuration is specific to mn-demo-4.test.dataone.org for the time being (this will cause localhost deployments to fail webapp deployment). https://projects.ecoinformatics.org/ecoinfo/issues/5936

7417 11/07/2012 02:53 PM ben leinfelder

Implement MNQuery for "pathquery" engine. Optionally include guid in the pathquery results (https://redmine.dataone.org/issues/3083)

7266 06/07/2012 12:03 PM Chris Jones

Print the stack trace when the MMP cannot be resolved.

7092 03/27/2012 07:42 AM Chris Jones

Add a collectMultipartParams() convenience method to D1ResourceHandler to parse multipart parameters from the entity when the entity contains no file parts.

7065 03/13/2012 03:09 PM ben leinfelder

do not attempt to parse empty file for the failure (BaseException serialization). There are cases when this is not given (failure="") when there is not a failure.
https://redmine.dataone.org/issues/2476

7019 02/20/2012 03:39 PM ben leinfelder

handle both listing and getting checksums using the GET endpoint -- depends whether or not a pid is included in the URL
https://redmine.dataone.org/issues/2089

6995 02/07/2012 09:54 PM ben leinfelder

getMultipartParameters() outside of debug block -- thanks Mark Reyes @ CDL for catching this.

6994 02/07/2012 04:53 PM ben leinfelder

dataone configuration and registration enhancements:
-include flag to disable D1 services, currently only the MN side enforces this
-do not allow multiple registration attempts if we have just submitted and are awaiting Node verification by the CN.
-do not allow configuration "bypass" if D1 settings have been configured previously....

6972 02/02/2012 11:10 AM ben leinfelder

remove {pid} from POST URL on MN.create()
https://redmine.dataone.org/issues/2284

6860 01/06/2012 07:40 AM Chris Jones

Correctly deserialize the BaseException subclass in handling calls to setReplicationStatus()

6793 12/16/2011 07:32 AM Chris Jones

Add collectReplicationStatus() to CNResourcHandler to return the BaseException or it's subclass, if any, provided in the the call to setReplicationStatus. The exception will be reported on the CN.

6660 11/16/2011 12:58 PM ben leinfelder

get params from multipart params for systemMetadataChanged call

6590 11/02/2011 07:46 PM Chris Jones

Add support for the various CNReplication calls. Add collectReplicationPolicy() to parse the policy out of the multipart form, and collectReplicaMetadata() to parse out the replica to be updated.

6514 09/23/2011 09:54 PM ben leinfelder

correctly handle incoming "accessPolicy" parameters for the setAccess() method

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

use d1_common_java's date serialization utility for parsing parameters

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

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

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

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

share getSystemMetadata (before refactoring this superclass)

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

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

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

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

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

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