Project

General

Profile

Activity

From 03/14/2012 to 04/12/2012

04/12/2012

04:28 PM Revision 7130 (metacat): correct typo for "dataone.mn.services.enabled" property on the admin screen checkbox
ben leinfelder

04/10/2012

10:42 AM Revision 7129 (metacat): save backup properties before attempting node registration/update so that we don't "forget" the user input
ben leinfelder

04/09/2012

03:18 PM Revision 7128 (metacat): add a parameter for optionally writing EML-embedded access control rules to the Metacat DB.
https://redmine.dataone.org/issues/2584
https://redmine.dataone.org/issues/2583
ben leinfelder

04/06/2012

04:22 PM Revision 7127 (metacat): added comments and logging about https://redmine.dataone.org/issues/2572
ben leinfelder
03:01 PM Revision 7126 (metacat): generalize the exception handling because our actions are the same no matter what the specific error is during create - we just notify the CN that the replicate call failed
ben leinfelder
02:58 PM Revision 7125 (metacat): catch general Exception that may be thrown during MN.replicate() when creating the object locally. There are a few records that keep slipping off our radar with no explanation as to why they remain in "REQUESTED" status.
ben leinfelder
01:53 PM Revision 7124 (metacat): do not download data at this point
ben leinfelder
01:53 PM Revision 7123 (metacat): catch errors for each localid we are processing so that they do do prevent other ids from having ORE content generated
ben leinfelder
01:52 PM Revision 7122 (metacat): additional debug logging for tracking down MN replication errors
ben leinfelder
01:35 PM Revision 7121 (metacat): only 2.1.0 EML docs for ORE generation right now...
ben leinfelder

04/05/2012

04:28 PM Revision 7120 (metacat): band-aid for CN-CN replication permOrder issue when access control is embedded in EML and the system metadata is replicated before the EML. we just log the inconsistency and allow the insert to succeed
https://redmine.dataone.org/issues/2583 ben leinfelder
03:05 PM Revision 7119 (metacat): It looks like jk.conf and workers.properties were moved in the scripts dir: update the install docs accordingly.
Chris Jones
02:56 PM Revision 7118 (metacat): Fixed a minor typo in the tomcat config section.
Chris Jones

04/04/2012

04:55 PM Revision 7117 (metacat): add comment about returning early when no system metadata can be found.
removed extraneous check on the content type of the SM -- was unused.
formatted indenting
ben leinfelder
04:49 PM Revision 7116 (metacat): for SystemMetadata events we first check the event for the SM value. If it returns null, we look it up from the shared map. It seems as if we don't always get a value with our events.
ben leinfelder
03:35 PM Revision 7115 (metacat): comment out: synchronize local system metadata on cn restart
ben leinfelder

04/03/2012

01:31 PM Revision 7114 (metacat): synchronize local system metadata on cn restart
ben leinfelder
11:58 AM Revision 7113 (metacat): additional logging in MN.replicate()
ben leinfelder
11:32 AM Revision 7112 (metacat): double check "ecogrid" data urls for valid docid.rev - namely integer rev numbers - when parsing EML and also generating system metadata when necessary. Log the errors as warnings.
ben leinfelder

04/02/2012

04:11 PM Revision 7111 (metacat): log calls to store() system metadata to the backing store
ben leinfelder
01:03 PM Revision 7110 (metacat): actually use the filter token for stmml-1.1 schema
ben leinfelder
11:50 AM Revision 7109 (metacat): register stmml-1.1 schema (distributed as part of EML 2.1.0) in an effort to avoid unnecessary network traffic or the failed retrieval of the stale XSD sitting on unofficial servers
ben leinfelder

03/30/2012

05:24 PM Revision 7108 (metacat): Add the listener for LifecycleEvent state changes
ben leinfelder
05:23 PM Revision 7107 (metacat): synchronizeLocalStore() when the cluster has a LifecycleEvent state change to RESUMED.
ben leinfelder

03/29/2012

02:48 PM Revision 7106 (metacat): refactor memberAdded code to separate method - synchronizeLocalStore for possible reuse
ben leinfelder
11:19 AM Revision 7105 (metacat): handle last group of ids (oops)
ben leinfelder
10:33 AM Revision 7104 (metacat): use range of the list for test system metadata
ben leinfelder
08:48 AM Revision 7103 (metacat): use non-random list for generating system metadata in test mode
ben leinfelder

03/28/2012

03:19 PM Revision 7102 (metacat): include debug statements for systemMetadataReplicationStatus and systemMetadataReplicationPolicy SQL
ben leinfelder
11:08 AM Revision 7101 (metacat): change ordering of getLogRecords() parameter -- pidFilter is in the middle now
ben leinfelder
10:21 AM Revision 7100 (metacat): use 'formatId' for listObjects() parameter
https://redmine.dataone.org/issues/2550 ben leinfelder

03/27/2012

04:35 PM Revision 7099 (metacat): upgrade to latest RC in libclient and common jars -- includes updated getLogRecords and new mn.generateIdentifier method
ben leinfelder
02:25 PM Revision 7098 (metacat): -use MembershipListener to keep new members' backing store for system metadata synchronized with the shared system metadata map.
-remove the unused InstanceListener interface ben leinfelder
09:22 AM Revision 7097 (metacat): Modify deleteReplica() to use parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMP params. This partially addresses https://redmine.dataone.org/issues/2526.
Chris Jones
09:11 AM Revision 7096 (metacat): Modify CN.setObsoletedBy() to use parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMP params. This partially addresses https://redmine.dataone.org/issues/2526.
Chris Jones
08:53 AM Revision 7095 (metacat): Modify reserveIdentifier() to use parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMP params. This partially addresses https://redmine.dataone.org/issues/2526.
Chris Jones
08:29 AM Revision 7094 (metacat): Don't throw a JibXException, but rather convert it to a ServiceFailure.
Chris Jones
08:27 AM Revision 7093 (metacat): Modify owner() to set the rights holder from parameters parsed from the mime multipart entity rather than the request params. Need to check that the unit test uses MMp params. This partially addresses https://redmine.dataone.org/issues/2526.
Chris Jones
07:42 AM Revision 7092 (metacat): Add a collectMultipartParams() convenience method to D1ResourceHandler to parse multipart parameters from the entity when the entity contains no file parts.
Chris Jones

03/26/2012

04:25 PM Revision 7091 (metacat): add logging statements when there is a problem calling setReplicationStatus
ben leinfelder
03:11 PM Revision 7090 (metacat): Get the serialVersion param from the MMP params map rather than the request object params map in setAccess().
Chris Jones
02:10 PM Revision 7089 (metacat): Add a few more debugging statements to HazelcastService for troubleshooting hazelcast map concurrency.
Chris Jones

03/23/2012

05:22 PM 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

09:31 PM Revision 7087 (metacat): Use Jjava.util.Calendar rather than com.ibm ...
Chris Jones
03:14 PM Revision 7086 (metacat): Also allow MNs to set the FAILED status in setReplicationStatus(). this was an oversight on my part, trying to keep MNs that truly did succeed from overriding the COMPLETED status with FAILED.
Chris Jones
12:13 PM 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 Revision 7084 (metacat): use current datetime (at system metadata generation) as the date last modified
ben leinfelder

03/19/2012

06:14 PM Revision 7083 (metacat): Don't check for populated obsoletes and obsoletedBy fields during CN.create(), only MN.create(). The CN should expect that the MN has populated this field because of existing revision information, and should trust the MN information. Addresses https://redmine.dataone.org/issues/2507.
Chris Jones
06:08 PM Revision 7082 (metacat): Some minor logging changes.
Chris Jones
12:40 PM Revision 7081 (metacat): use scope prefix (knb-lter-%) for random test doc population
ben leinfelder
12:33 PM Revision 7080 (metacat): include new jars for CN.delete() interface
https://redmine.dataone.org/issues/2506 ben leinfelder
10:12 AM 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 Revision 7078 (metacat): check that caller is CN/admin for CN.delete()
https://redmine.dataone.org/issues/2506 ben leinfelder
09:52 AM Revision 7077 (metacat): include CN.delete()
https://redmine.dataone.org/issues/2506 ben leinfelder

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
 

Also available in: Atom