Project

General

Profile

Statistics
| Revision:

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

Name Size Revision Age Author Comment
CNResourceHandler.java 43.9 KB 6634 about 9 years Chris Jones Since we're using a multipart form to encode pa...
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 23.7 KB 6590 about 9 years Chris Jones Add support for the various CNReplication calls...
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 41.7 KB 6619 about 9 years Chris Jones Keep /dirtySystemMetadata as the REST endpoint ...
MNRestServlet.java 1.54 KB 6267 over 9 years ben leinfelder refactor to use D1RestServlet and D1ResourceHan...

Latest revisions

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

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.

6561 10/27/2011 05:51 PM ben leinfelder

move the DataONE 1.0.0-SNAPSHOT

6548 10/27/2011 11:17 AM Chris Jones

The incoming source node param is just a string, not XML, so don't attempt to deserialize it. Rather, just make a new NodeReference object and set it's value to the value of the incoming param.

View revisions

Also available in: Atom