Project

General

Profile

Statistics
| Revision:

metacat / src / edu / ucsb / nceas / metacat / restservice @ 6660

Name Size Revision Age Author Comment
CNResourceHandler.java 46.7 KB 6643 about 9 years Chris Jones The ReplicationStatus parameter is 'status', no...
CNRestServlet.java 1.53 KB 6267 over 9 years ben leinfelder refactor to use D1RestServlet and D1ResourceHan...
D1HttpRequest.java 2.3 KB 5780 about 10 years berkley adding additional debugging info
D1ResourceHandler.java 24.3 KB 6660 about 9 years ben leinfelder get params from multipart params for systemMeta...
D1RestServlet.java 4.08 KB 6267 over 9 years ben leinfelder refactor to use D1RestServlet and D1ResourceHan...
D1URLFilter.java 1.67 KB 5750 about 10 years berkley fix for paths with semi-colons or other 'reserv...
InputStreamDataSource.java 2 KB 5319 almost 11 years Matt Jones Modifications to support the DataONE service AP...
MNResourceHandler.java 42.2 KB 6660 about 9 years ben leinfelder get params from multipart params for systemMeta...
MNRestServlet.java 1.54 KB 6267 over 9 years ben leinfelder refactor to use D1RestServlet and D1ResourceHan...

Latest revisions

# Date Author Comment
6660 11/16/2011 12:58 PM ben leinfelder

get params from multipart params for systemMetadataChanged call

6650 11/14/2011 04:00 PM ben leinfelder

get pid from normal params, not the URL -- the client should include them in the params -- and not as a serialized "object" since it is just a string value

6643 11/13/2011 04:47 PM Chris Jones

The ReplicationStatus parameter is 'status', not 'replicationStatus', in the architecture documentation.

6642 11/13/2011 03:50 PM Chris Jones

Although parameters for setReplicationStatus() are expected as multipart/form-data fields, they seem to be added to the HttpServletRequest as URL parameters during the proxy forwarding in d1_cn_rest_proxy. Test for their existence as multipart fields, but fall back to request params, otherwise, throw an InvalidRequest exception.

6639 11/11/2011 09:54 AM ben leinfelder

lookup stylesheet from metacat.properties for CN list objects and list formats. This is used in conjunction with the CN rest service deployment where the xslt is actually kept.

6634 11/10/2011 12:07 PM Chris Jones

Since we're using a multipart form to encode parameters, extract the params out of the multipart form prior to doing a get() from the multipartparams map in setReplicationStatus(). Likewise, do the same in updateReplicationMetadata() and setReplicationPolicy().

6623 11/08/2011 04:40 PM Chris Jones

List the correct REST endpoints for replication in the documentation.

6622 11/08/2011 03:49 PM ben leinfelder

upgrade to 1.0.1-SNAPSHOT DataONE jars

6619 11/08/2011 10:36 AM Chris Jones

Keep /dirtySystemMetadata as the REST endpoint for systemMetadataChanged() for now.

6604 11/04/2011 02:21 PM Chris Jones

Fix getReplica() handling code for getReplica() and systemMetadataChanged(). Calls to getReplica() in MNode were calling get(), so the lack of resource handling was being missed.

View revisions

Also available in: Atom