Project

General

Profile

ben leinfelder's activity

From 02/25/2012 to 03/25/2012

03/23/2012

05:22 PM Metacat Revision 7088 (metacat): handle case where EML access rule "permission" is not in our constrained list (EML 2.0.0 doc showed this with a "none" permission for public principal). we now omit this invalid access rule when interpreting it in system metadata -- effectively dropping that invalid access rule. "none" had been stored as a 0 in the DB xml_access table and would not have given or denied access for the document so I think it can safely be omitted for good. for example, see knb-lter-gce.101.2 with this rule:
<allow>
<principal>public</principal>
<permission>none</permission>
</allow>
ben leinfelder

03/22/2012

12:13 PM Metacat Revision 7085 (metacat): use Java-based temp file creation instead of Date (ms) timestamp to ensure uniqueness of the file and avoid re-use by two concurrent threads.
ben leinfelder

03/21/2012

11:26 AM Metacat Revision 7084 (metacat): use current datetime (at system metadata generation) as the date last modified
ben leinfelder

03/19/2012

12:40 PM Metacat Revision 7081 (metacat): use scope prefix (knb-lter-%) for random test doc population
ben leinfelder
12:33 PM Metacat Revision 7080 (metacat): include new jars for CN.delete() interface
https://redmine.dataone.org/issues/2506 ben leinfelder
10:12 AM Metacat Revision 7079 (metacat): use isAdminAuthorized() to check access to CN.create(). Note this method takes a pid and permission parameter and neither is used. Also removed the NotFound exception because it would never come up.
ben leinfelder
10:01 AM Metacat Revision 7078 (metacat): check that caller is CN/admin for CN.delete()
https://redmine.dataone.org/issues/2506 ben leinfelder
09:52 AM Metacat Revision 7077 (metacat): include CN.delete()
https://redmine.dataone.org/issues/2506 ben leinfelder

03/15/2012

11:46 AM Metacat 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 Metacat Revision 7069 (metacat): check for session when checking administrative authorization
ben leinfelder

03/13/2012

04:00 PM Metacat Revision 7066 (metacat): check for null Session before continuing with setReplicationStatus()
https://redmine.dataone.org/issues/2476#note-3 ben leinfelder
03:09 PM Metacat 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 Metacat Revision 7064 (metacat): check for null session (public) calls to MN.replicate() before passing it to the asynchronous implementation
ben leinfelder
02:58 PM Metacat Revision 7063 (metacat): do not replicate if session is null
ben leinfelder
02:19 PM Metacat Revision 7062 (metacat): throw not authorized when attempting to getReplica as an invalid/non-existent node
ben leinfelder
12:19 PM Metacat 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 Metacat 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 Metacat Revision 7059 (metacat): logging for permission checks - trying to nail down details of MN checking
ben leinfelder
10:08 AM Metacat 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 Metacat Revision 7057 (metacat): log records should be inclusive of fromDate parameter (>=)
https://redmine.dataone.org/issues/2471 ben leinfelder
04:38 PM Metacat Revision 7056 (metacat): use Timestamp object from results, not a new Date object from that Timestamp object
ben leinfelder
12:12 PM Metacat 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 Metacat Revision 7054 (metacat): add note about long-running load for shared system metadata map
ben leinfelder
12:08 PM Metacat 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/08/2012

03:52 PM Metacat Revision 7050 (metacat): add note about https://redmine.dataone.org/issues/2451 to the documentation
ben leinfelder
02:21 PM Metacat 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 Metacat 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 Metacat 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:30 PM Metacat Revision 7045 (metacat): check whether mapping (
ben leinfelder

03/06/2012

08:26 PM Metacat 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 Metacat 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 Metacat 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 Metacat 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

04:36 PM Metacat Revision 7038 (metacat): added debug logging
https://redmine.dataone.org/issues/2429 ben leinfelder
04:27 PM Metacat 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 Metacat 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 Metacat 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 Metacat 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 Metacat Revision 7033 (metacat): update docs to match node registration behavior: we do not assign them nodeIds at registration
ben leinfelder
 

Also available in: Atom