Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
CNResourceHandler.java 46.7 KB 6643 over 12 years Chris Jones The ReplicationStatus parameter is 'status', no...
CNRestServlet.java 1.53 KB 6267 almost 13 years ben leinfelder refactor to use D1RestServlet and D1ResourceHan...
D1HttpRequest.java 2.3 KB 5780 over 13 years berkley adding additional debugging info
D1ResourceHandler.java 23.7 KB 6590 over 12 years Chris Jones Add support for the various CNReplication calls...
D1RestServlet.java 4.08 KB 6267 almost 13 years ben leinfelder refactor to use D1RestServlet and D1ResourceHan...
D1URLFilter.java 1.67 KB 5750 over 13 years berkley fix for paths with semi-colons or other 'reserv...
InputStreamDataSource.java 2 KB 5319 about 14 years Matt Jones Modifications to support the DataONE service AP...
MNResourceHandler.java 41.7 KB 6619 over 12 years Chris Jones Keep /dirtySystemMetadata as the REST endpoint ...
MNRestServlet.java 1.54 KB 6267 almost 13 years ben leinfelder refactor to use D1RestServlet and D1ResourceHan...

Latest revisions

# Date Author Comment
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.

6603 11/04/2011 02:19 PM Chris Jones

Handle multipart params where the libclient methods are using them.

6592 11/02/2011 08:00 PM Chris Jones

Handle calls to CNReplication REST services. Modify handle() to field calls to /replicaPolicies, /replicaMetadata, /replicaAuthorizations, and /replicaNotifications. Add the isNodeAuthorized(), setReplicationPolicy(), setReplicationStatus(), and updateReplicationMetadata() methods to parse and pass multipart form data and params on to the CNodeService implementing class....

View revisions

Also available in: Atom