Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  hazelcast 6868 about 12 years Chris Jones Use a Logger instead of System.out for SystemMe...
CNodeService.java 48.4 KB 6881 about 12 years ben leinfelder add method: deleteReplicationMetadata remove me...
D1NodeService.java 40.5 KB 6874 about 12 years Chris Jones Don't throw a NotAuthorized exception in isAdmi...
MNodeService.java 49.3 KB 6875 about 12 years Chris Jones Minor null checks to avoid NPEs when calling re...
ObjectFormatService.java 7.18 KB 6803 over 12 years ben leinfelder new jars with many changes -- including new CN ...
SystemMetadataFactory.java 24.8 KB 6873 about 12 years ben leinfelder do not download and save remote data resources ...

Latest revisions

# Date Author Comment
6881 01/11/2012 11:24 AM ben leinfelder

add method: deleteReplicationMetadata
remove method: assertRelation
update the D1 jars
https://redmine.dataone.org/issues/2187
https://redmine.dataone.org/issues/2158

6876 01/10/2012 05:04 PM Chris Jones

Simplify setReplicationStatus() to not call updateReplicationMetadata() if a replica doesn't exist. Just create it and update the system metadata, which we already have a lock for.

6875 01/10/2012 05:03 PM Chris Jones

Minor null checks to avoid NPEs when calling replicate()

6874 01/10/2012 05:01 PM Chris Jones

Don't throw a NotAuthorized exception in isAdminAuthorized() - just return false.

6873 01/10/2012 12:12 PM ben leinfelder

do not download and save remote data resources which are HTML but are not expected to be such (login or info/splash pages before data content).
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5522

6869 01/09/2012 05:08 PM Chris Jones

Update the CN methods to throw a VersionMismatch where the API changed (where serialVersion is a required parameter). These were previously throwing an InvalidRequest exception.
Change the exception handling for calls to Hazelcast to catch a RuntimeException (not Exception) so we don't catch exceptions that we purposefully throw....

6868 01/09/2012 04:59 PM Chris Jones

Use a Logger instead of System.out for SystemMetadataMap.

6867 01/07/2012 06:01 PM Chris Jones

Don't lock() on the map.get() in isNodeAuthorized() (this assumes that the CN has queued the task already). Add more lock/unlock debug statements, and fix setReplicationStatus() - I missed a finally statement to unlock the pid.

6866 01/07/2012 12:39 PM Chris Jones

Modify CNReplication methods setReplicationStatus(), updateReplicationMetadata() and setReplicationPolicy() to allow administrative access from a Coordinating Node by calling isAdminAuthorized().

6865 01/07/2012 12:34 PM Chris Jones

Add isAdminAuthorized() to D1NodeService to check if the operation is being requested from a CN. Consult the NodeList from the CN and test the NodeType of the given node and the X509 certificate Subject. Perhaps we should expand this to also check for service-level access in the future.

View revisions

Also available in: Atom