Project

General

Profile

Activity

From 02/17/2012 to 03/17/2012

03/16/2012

04:07 PM Revision 7076 (metacat): Notify each replica MN when critical portions of system metadata change so the MN can pull the latest copy into its store. AccessPolicy and RightsHolder changes are the most critical for the MN to keep updated on.
Chris Jones
11:40 AM Revision 7075 (metacat): Only allow CNs to call MN.synchronizationFailed() by calling isAdminAuthorized(). The pid must also be valid.
Chris Jones

03/15/2012

07:50 PM Revision 7074 (metacat): Modify CNodeService.setReplicationStatus() slightly to restrict MN-based calls to only set the status to COMPLETED. The CNs should be setting failures or invalidations, or the status can remain at QUEUED or REQUESTED, and the MNAuditTask can revisit those replicas as needed.
Chris Jones
07:14 PM Revision 7073 (metacat): Add a notifyReplicaNodes() method that calls MNStorage.systemMetadataChanged() on MN replica nodes for a given object identifier. This will be called when there are changes to AccessPolicy and rights holder since these are critical access metadata for an MN, but they can only be changed on the CN.
Chris Jones
12:10 PM Revision 7072 (metacat): Add some debugging statements in isAuthorized().
Chris Jones
12:08 PM Revision 7071 (metacat): In setReplicationStatus(), first check for a replica target MN subject match with the session subject. If this fails, look to see if CN admin access is allowed. Otherwise throw NotAuthorized. Addresses https://redmine.dataone.org/issues/2494
Chris Jones
11:46 AM Revision 7070 (metacat): do not allow "Metacat-conforming" identifiers to be used. "test.1.001" is interpreted as "test.1.1" which renders "test.1.002" unusable unless a traditional Metacat "update" is used for that id/revision which contradicts the DataONE use of Identifiers that have no lexical requirements for revisions.
ben leinfelder
08:08 AM Revision 7069 (metacat): check for session when checking administrative authorization
ben leinfelder

03/14/2012

12:02 PM Revision 7068 (metacat): Remove individual calls to isAdminAuthorized() in favor of the centralized isAuthorized() call that handles it now.
Chris Jones
11:57 AM Revision 7067 (metacat): Incorporate isAdminAuthorized() into isAuthorized() for blanket CN access to objects.
Chris Jones

03/13/2012

04:00 PM Revision 7066 (metacat): check for null Session before continuing with setReplicationStatus()
https://redmine.dataone.org/issues/2476#note-3 ben leinfelder
03:09 PM Revision 7065 (metacat): 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 ben leinfelder
03:05 PM Revision 7064 (metacat): check for null session (public) calls to MN.replicate() before passing it to the asynchronous implementation
ben leinfelder
02:58 PM Revision 7063 (metacat): do not replicate if session is null
ben leinfelder
02:19 PM Revision 7062 (metacat): throw not authorized when attempting to getReplica as an invalid/non-existent node
ben leinfelder
12:19 PM Revision 7061 (metacat): transitive properties for mapped subjects:
-group membership
-verified flag
https://redmine.dataone.org/issues/2430
https://redmine.dataone.org/issues/2432
ben leinfelder
11:24 AM Revision 7060 (metacat): check group membership defined at group level (in addition to membership defined as part of of the Person level)
https://redmine.dataone.org/issues/2429 ben leinfelder
10:43 AM Revision 7059 (metacat): logging for permission checks - trying to nail down details of MN checking
ben leinfelder
10:08 AM Revision 7058 (metacat): use Event.CREATE.xmlValue() when converting "insert" to "create"
http://redmine.dataone.org/issues/2471 ben leinfelder

03/12/2012

08:20 PM Revision 7057 (metacat): log records should be inclusive of fromDate parameter (>=)
https://redmine.dataone.org/issues/2471 ben leinfelder
04:38 PM Revision 7056 (metacat): use Timestamp object from results, not a new Date object from that Timestamp object
ben leinfelder
12:12 PM Revision 7055 (metacat): add an alternative method for loading system metadata identifiers but leave it commented out. We may find that using the ObjectList method is too much overhead, but it will always be consistent with what metacat reports for listObjects().
ben leinfelder
12:09 PM Revision 7054 (metacat): add note about long-running load for shared system metadata map
ben leinfelder
12:08 PM Revision 7053 (metacat): increase amount of text the 'xml_path_index.path' column can accommodate. I was seeing errors like this during indexing:
knb 20120312-11:42:05: [ERROR]: DocumentImpl.buildIndex - SQL Exception while indexing document knb-lter-and.3147 : E... ben leinfelder

03/09/2012

12:40 PM Revision 7052 (metacat): Added the following values to the HTTPD site configuration:
JkOptions +ForwardURICompatUnparsed
AllowEncodedSlashes On
AcceptPathInfo On
pippin

03/08/2012

04:16 PM Revision 7051 (metacat): If PID is not part of the multipart params, we end up with a NullPointerException. Throw an InvalidRequest in this case rather than ServiceFailure resulting from the NPE.
Chris Jones
03:52 PM Revision 7050 (metacat): add note about https://redmine.dataone.org/issues/2451 to the documentation
ben leinfelder
02:21 PM Revision 7049 (metacat): translate "insert" events in Metacat as Event.CREATE events ("create") for DataONE
https://redmine.dataone.org/issues/2461 ben leinfelder
11:18 AM Revision 7048 (metacat): for good measure, use the D1 encoding util for url decoding the parameters for listObjects
https://redmine.dataone.org/issues/2460 ben leinfelder
10:42 AM Revision 7047 (metacat): log record paging:
-use start and count parameters
-if start+count exceeds the total number of records, then only return from start to t...
ben leinfelder

03/07/2012

02:49 PM Revision 7046 (metacat): Use 'fromDate' and 'toDate' as listObject param filters to comply with the API documentation. We had changed this in MNResourceHandler, but somehow missed it in CNResourceHandler.
Chris Jones
02:30 PM Revision 7045 (metacat): check whether mapping (
ben leinfelder

03/06/2012

08:26 PM Revision 7044 (metacat): catch additional NotFound exception for: "do not include log entries for documents that the caller is not allowed to read." https://redmine.dataone.org/issues/2444
ben leinfelder
02:03 PM Revision 7043 (metacat): serialize exception in header for describe response when there is a BaseException
https://redmine.dataone.org/issues/2440 ben leinfelder
01:41 PM Revision 7042 (metacat): do not include log entries for documents that the caller is not allowed to read. https://redmine.dataone.org/issues/2444
ben leinfelder
01:35 PM Revision 7041 (metacat): use revision provided in the docid when looking up guid. had been using latest revision which I think incorrectly reports on the log history.
noticed this when looking at: https://redmine.dataone.org/issues/2444 ben leinfelder

03/05/2012

06:36 PM Revision 7040 (metacat): Add testIsEquivIdentityAuthorized() to ensure that [MN|CN].isAuthorized() is authorizing equivalent identities correctly. Note: Using TypeMarshaller.marshalTypeToOutputStream(type, System.out) to serialize an object seems to jack up output to stdout - not sure why.
Chris Jones
06:30 PM Revision 7039 (metacat): A minor change to isAuthorized() - compare each Person in the SubjectInfo (not just the primary Subject) since each person could have an equivalent identity mapped to the primary Subject. Add debug logging for the comparison.
Chris Jones
04:36 PM Revision 7038 (metacat): added debug logging
https://redmine.dataone.org/issues/2429 ben leinfelder
04:27 PM Revision 7037 (metacat): check if verified flag is null before evaluating (NPE during MN Auth test)
https://redmine.dataone.org/issues/2429 ben leinfelder
12:32 PM Revision 7036 (metacat): throw InvalidToken when there is invalid SubjectInfo embedded in the certificate
https://redmine.dataone.org/issues/2431 ben leinfelder
09:58 AM Revision 7035 (metacat): fixed Oracle script issues identified by: Brian Turcotte <bturcott@sfwmd.gov>. He provided the fixes, so thank you!
ben leinfelder

03/01/2012

02:20 PM Revision 7034 (metacat): do not include stylesheet for list of checksum algorithms -- there is no template for it and therefore looks blank in a browser
ben leinfelder

02/29/2012

02:17 PM Revision 7033 (metacat): update docs to match node registration behavior: we do not assign them nodeIds at registration
ben leinfelder

02/24/2012

03:31 PM Revision 7032 (metacat): Roll back the nodeId default to blank (used to indicate registration on new installs - thanks Matt.)
Chris Jones
02:26 PM Revision 7031 (metacat): Add a default nodeId in metacat.properties of 'urn:node:METACAT1' as a placeholder that needs to be changed on configuration.
Chris Jones
02:21 PM Revision 7030 (metacat): Globally change the property 'dataone.memberNodeId' to 'dataone.nodeId'. This is more useful for both MNs and CNs implemented in Metacat. Also, change D1NodeService.getLogRecords() to return log entries with the actual node id rather than the IP address (looks like a cut/paste error).
Fixes https://redmine.dataone.org/issues/2367. Chris Jones
09:46 AM Revision 7029 (metacat): throw InvalidToken when an invalid Permission is passed in. THis requires that internal calls to the method also check for this exception.
https://redmine.dataone.org/issues/2388 ben leinfelder

02/23/2012

09:55 AM Revision 7028 (metacat): Set mime type on images.
Matt Jones
09:53 AM Revision 7027 (metacat): Set mime type.
Matt Jones

02/22/2012

02:53 PM Revision 7026 (metacat): call deleteReplica when we get that request (looks like an undetected copy and paste error)
ben leinfelder
02:31 PM Revision 7025 (metacat): do not allow blank node references to be used.
https://redmine.dataone.org/issues/2362 ben leinfelder
02:27 PM Revision 7024 (metacat): only generate system metadata when the call comes from the legacy Metacat API, not the D1 API.
https://redmine.dataone.org/issues/2362 (I think this was the culprit) ben leinfelder
12:47 PM Revision 7023 (metacat): do not "lookup" object format when retrieving system metadata -- just return what we have stored as the formatId and don't [erroneously] default it to binary when there's a problem with the lookup (cache or service or otherwise).
https://redmine.dataone.org/issues/2365 ben leinfelder

02/21/2012

01:11 PM Revision 7022 (metacat): Get ReplicationPolicy correctly generated:
-tweak the regular expression for getting the pref/blocked node list for default replication policy.
-set blocked lis...
ben leinfelder
10:55 AM Revision 7021 (metacat): actually, let's set the serialVersion during the MN.create() call so that the HZ map and the backing store have the same information immediately. Also, this is how the docs specify it.
http://mule1.dataone.org/ArchitectureDocs-current/design/SystemMetadata.html ben leinfelder
10:08 AM Revision 7020 (metacat): if serialVersion is null, use defualt value of 0
ben leinfelder

02/20/2012

03:39 PM Revision 7019 (metacat): 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 ben leinfelder
03:01 PM Revision 7018 (metacat): include systemmetadata and ore generation flags as "remembered" configuration values for the admin UI.
ben leinfelder
12:38 PM Revision 7017 (metacat): remove ID mapping when a create()/"insert" call fails so that subsequent calls do not return an IdentifierNotUnique error. In this case it was due to invalid XML.
https://redmine.dataone.org/issues/2341 ben leinfelder
12:20 PM Revision 7016 (metacat): use RC-3 DataONE jars and fix compilation error that arose. https://redmine.dataone.org/issues/2351
ben leinfelder

02/17/2012

04:54 PM Revision 7015 (metacat): overload getAllDocidsByType() method for backward semtools compatibility
ben leinfelder
 

Also available in: Atom