Project

General

Profile

Activity

From 02/08/2012 to 03/08/2012

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

02/16/2012

07:05 PM Revision 7014 (metacat): Use 'a2dissite' to disable the default site (not 'a2ensite').
Chris Jones
02:47 PM Revision 7013 (metacat): do not subset the list for MS generation testing -- at least not as the default in svn!
ben leinfelder

02/15/2012

09:35 AM Revision 7012 (metacat): CNodeService.listChecksumAlgorithms() was returning null rather than the list. Fixed.
Chris Jones

02/11/2012

04:56 PM Revision 7011 (metacat): restore "test" target that I nuked when adding runoneclass. (thanks, Chris)
ben leinfelder
11:36 AM Revision 7010 (metacat): ObjectFormatCache.getFormat(String formatStr) has been deprecated, and now only takes a formatId instance to get a format from the cache. It also throws Service Failure and NotImplemented, so here just set the format to application/octet-stream in any case.
Chris Jones
11:25 AM Revision 7009 (metacat): Update D1NodeService to reflect new ObjectFormatCache signature.
Chris Jones
10:08 AM Revision 7008 (metacat): Adding the new d1 [common|libclient] RC2 jars from the D1_COMMON_JAVA_v1.0.1-RC2 and D1_LIBCLIENT_JAVA_v1.0.1-RC2 tags in the repository.
Chris Jones

02/09/2012

04:11 PM Revision 7007 (metacat): only run ORE generation for EML docs -- no need to run this for _all_ documents (yikes!)
ben leinfelder
03:48 PM Revision 7006 (metacat): use IdMan method to find docids that do not already have system metadata records -- this lets us re-run without re computing system metadata for every entry (in case the process is interrupted). I haven' been using this option because I wanted to continually regenerate all SM for everything in my test DBs, but we are so close to release that I want to get this in there.
ben leinfelder
02:39 PM Revision 7005 (metacat): for testing: limit and randomize the docs to generate metadata for
ben leinfelder
08:39 AM Revision 7004 (metacat): FOR TESTING ONLY: limit number of records to 100 so that we can get an estimate
ben leinfelder

02/08/2012

03:46 PM Revision 7003 (metacat): update the memberNodeId in existing system metadata only after the register/update is successful with the CN -- we can avoid unneeded SM updates in cases when the register/update fails because we gave the CN bad info that it rejects.
https://redmine.dataone.org/issues/2308 ben leinfelder
03:12 PM Revision 7002 (metacat): include member node id text field now that the CN is not assigning random Ids.
https://redmine.dataone.org/issues/2308 ben leinfelder
01:20 PM Revision 7001 (metacat): 1. lookup and use the guid when processing obsoletes/obsoletedBy entries -- had previously been assuming localId==guid but now that we have introduced DOIs as part of the Metacat upgrade process, we may have DOIs for the guid that map to localIds.
2. base ORE guids on the localid of the data package they are describing and not on their DOI -- otherwise we might m... ben leinfelder
11:23 AM Revision 7000 (metacat): use updated authorization policies as discussed in:
https://redmine.dataone.org/issues/2277
and
http://epad.dataone.org/20120131-authn-authz-questions
ben leinfelder
10:58 AM Revision 6999 (metacat): refactor D1-specific upgrade utilities into their own package
ben leinfelder
10:53 AM Revision 6998 (metacat): remove createAndInsertSystemMetadat() method that acts on a single localId -- incorporated this into the localId-list-based method.
ben leinfelder
10:50 AM Revision 6997 (metacat): refactor IdentityManager.createSystemMetadata(sm) to be insertSystemMetadata(sm) so that it is clear that this method inserts the SM object into the backing store. This differentiates it from the "generation" methods we use when we need to create SM about pre-existing objects or objects we get from non-D1 api calls.
ben leinfelder
10:44 AM Revision 6996 (metacat): generate SystemMetadata during D1 registration (not 2.0.0 upgrade). This process runs in a thread and updates a metacat.properties value when it is complete.
ben leinfelder
 

Also available in: Atom