Project

General

Profile

Activity

From 06/30/2011 to 07/29/2011

07/29/2011

10:40 AM Revision 6377 (metacat): remove ORE mapping from system metadata
ben leinfelder
08:14 AM Revision 6376 (metacat): Update the d1 common java jar to include the changes to BaseException, and update MNodeService.synchronizationFailed() to use the BaseException.getNodeId() method to report which node the exception came from.
Chris Jones
05:11 PM Revision 6375 (metacat): include obsoletes and obsoletedBy for system metadata
repurpose the "provenance" table as the ORE mapping table for system metadata ben leinfelder

07/28/2011

11:43 AM Revision 6374 (metacat): updated jars after recent schema changes (no real change for us here)
ben leinfelder
11:10 AM Revision 6373 (metacat): use correct enum method
ben leinfelder
10:51 AM Revision 6372 (metacat): refactor Constants
ben leinfelder
10:50 AM Revision 6371 (metacat): refactor Constants
ben leinfelder
10:48 AM Revision 6370 (metacat): refactor Constants and ServiceTypeUtil
ben leinfelder
10:44 AM Revision 6369 (metacat): use NodelistUtil
ben leinfelder
10:11 AM Revision 6368 (metacat): use correct enum method
ben leinfelder
10:10 AM Revision 6367 (metacat): remove ServiceTypeUtil - replace with TypeMarshaller
ben leinfelder

07/27/2011

04:25 PM Revision 6366 (metacat): use new "v1" types from DataONE
ben leinfelder

07/21/2011

04:03 PM Bug #5443: pathquery does not handle 'matches-exactly' or 'equals' searchmode values correctly
I've added this to the 1.9.5 Metacat branch ben leinfelder

07/20/2011

03:05 PM Revision 6363 (metacat): exclude non-test cases (d1)
ben leinfelder
03:00 PM Revision 6362 (metacat): remove CrudService -- replaced by MNodeService and CNodeService
ben leinfelder
02:52 PM Bug #5443: pathquery does not handle 'matches-exactly' or 'equals' searchmode values correctly
I've changed this in trunk (targeted for 1.10 release) - it should honor the searchmode used for the query term. ben leinfelder
05:25 PM Bug #5443: pathquery does not handle 'matches-exactly' or 'equals' searchmode values correctly
This looks like a problem with some of the performance enhancements that have been added over the years. For query te... ben leinfelder
02:51 PM Revision 6361 (metacat): handle more than "contains" searchmode when using the path index for queries
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5443 ben leinfelder
02:48 PM Revision 6360 (metacat): remove CrudServiceTest reference in main Metacat test (about to remove from svn)
ben leinfelder
01:51 PM Revision 6359 (metacat): -handle NotFound object format when generating system metadata
-improve EML DML for null entity/attribute elements ben leinfelder
11:39 AM Revision 6358 (metacat): use the ObjectFormat Id (not toString()) to check against the configured science metadata formats
ben leinfelder
11:38 AM Revision 6357 (metacat): reset object input stream (testGet)
check for reserveIdentifier NotImplemented (expected) ben leinfelder
11:37 AM Revision 6356 (metacat): merge changes from 1.9.5 branch that read site docs from SVN not a defunct LTER server
ben leinfelder

07/19/2011

04:47 PM Bug #5443 (Resolved): pathquery does not handle 'matches-exactly' or 'equals' searchmode values correctly
Metacat PathQuery used to support 'matches-exactly' as one of its possible 'searchmode' values. It appears that this ... Duane Costa
08:09 AM Revision 6354 (metacat): Return the new pid (not the obsoleted pid) on update(), and set the correct system metadata.
Chris Jones

07/15/2011

07:11 AM Revision 6353 (metacat): In D1NodeService.getLogRecords(), don't pass in null start and count params - set them to the defaults (0 and 1000).
Chris Jones
06:52 AM Revision 6352 (metacat): MNResourceHandler.getObject() was making a call to ObjectFormat.getFmtid() when an object format was null. Check that it is not null before trying getFmtid().
Chris Jones
09:25 PM Revision 6351 (metacat): In MNodeService.getCapabilities(), update the properties to match those in metacat.properties. Flesh out the NodeHealth object, adding NodeState, Ping, and Status information. Flesh out the Synchronization object information, but for now, use mock values. TODO: This should be determined from configuration and on-the-fly information.
Chris Jones
08:04 PM Revision 6350 (metacat): Use CamelCaps for properties for better readability.
Chris Jones

07/14/2011

04:27 PM Revision 6349 (metacat): include Mock version of looking up the base url for our own node - for testReplicate().
still expecting a failure during MN.replicate() since we are trying to add the replica to the same MN from which it c... ben leinfelder
03:12 PM Revision 6348 (metacat): allow alternative CNode implementations (subclasses) to be returned when D1Client.getCN() is called. The alternative is given in the Settings configuration via the D1Client.cnClassName property.
MockCNode in Metacat is an example of such an alternative and is used when Metacat requires methods of a CN be presen... ben leinfelder
02:25 PM Revision 6347 (metacat): In MNodeService.getCapabilities(), set the synchronization and replication properties of the node.
Chris Jones
02:22 PM Revision 6346 (metacat): Added node synchronization and replication properties.
Chris Jones
02:06 PM Revision 6345 (metacat): In MNodeService.getCapabilities(), set the serviceAvailable for each service supported.
Chris Jones
02:01 PM Revision 6344 (metacat): Added service availability properties for each of the MN services.
Chris Jones
01:20 PM Revision 6343 (metacat): In MNodeService.getCapabilities(), set the serviceVersion for each service supported.
Chris Jones
01:01 PM Revision 6342 (metacat): Added service version properties for each of the MN services.
Chris Jones
09:15 AM Revision 6341 (metacat): check reservation before create/update
ben leinfelder
01:52 AM Revision 6340 (metacat): Use D1 properties to set node values, and add the 'WAR VERSION' back into the node name for deployments.
Chris Jones

07/13/2011

03:09 PM Revision 6339 (metacat): add hasReservation() method (NotImplemented, however)
ben leinfelder
09:02 AM Revision 6338 (metacat): Test that the obsoletes and derivedFrom system metadata fields were set correctly.
Chris Jones

07/12/2011

03:02 PM Revision 6337 (metacat): use objectFormatIdentifier for listObjects()
remove provisional system metadata indicator - Metacat will not implement reserveIdentifier() ben leinfelder

07/11/2011

04:30 PM Revision 6336 (metacat): newer jars with better certificate exception handling as well as additional libclient implementations
ben leinfelder
12:19 PM Revision 6335 (metacat): use correct log name for the class
ben leinfelder
11:46 AM Revision 6334 (metacat): consistently construct username/groups for MetacatHandler calls - also consistently call isAuthorized
ben leinfelder
07:56 PM Revision 6333 (metacat): add test for synchronization failed -- TODO: verify that the log record made it in the logs
ben leinfelder

07/08/2011

04:48 PM Revision 6332 (metacat): provisional replicate() implementation -- does not check if the session's subject is "allowed" to do this.
the test also requires 2 servers -- right now it attempts to replicate with itself which will fail because of duplica... ben leinfelder
04:05 PM Revision 6331 (metacat): provisional version of getOperationStatistics() -- not clear if we are meant to aggregate by hour or by day
ben leinfelder
03:06 PM Revision 6330 (metacat): provisional getCapabilities() implementation. Much of the synchronization information and node health is omitted.
ben leinfelder
02:53 PM Revision 6329 (metacat): include test for replicate() method -- still fails as not implemented
ben leinfelder
02:52 PM Revision 6328 (metacat): allow null objects (use default checksum)
ben leinfelder
02:46 PM Revision 6327 (metacat): wire-up the getCapabilities() and getOperationStatistics() methods for when they are actually implemented (tests fail now)
ben leinfelder
02:30 PM Revision 6326 (metacat): test listObjects()
ben leinfelder
02:23 PM Revision 6325 (metacat): include MNAuthorization tests
ben leinfelder
02:08 PM Revision 6324 (metacat): refactor to use common superclass D1NodeServiceTest for shared methods
ben leinfelder
02:08 PM Revision 6323 (metacat): simplify the get() method -- no need to use temp files for this operation
ben leinfelder

07/07/2011

03:16 PM Revision 6322 (metacat): test for getLogRecords -- with some semi-reasonable expectations on the return that is expected
ben leinfelder
03:14 PM Revision 6321 (metacat): implement d1 paging for the log record results
ben leinfelder
01:56 PM Revision 6320 (metacat): tests for isAuthorized and setAccessPolicy
ben leinfelder
01:36 PM Revision 6319 (metacat): include getLogRecords() test, though it is commented out at the moment
ben leinfelder
01:28 PM Revision 6318 (metacat): Reverting the resultset order in querySystemMetadata(). Thanks Ben.
Chris Jones
01:17 PM Revision 6317 (metacat): test for CN.getSystemMetadata()
ben leinfelder
01:11 PM Revision 6316 (metacat): Because of the new 'provisional' column, the resultset field order in querySystemMetadata() was out of order. Changed the order to reflect the new table column order.
Chris Jones
01:09 PM Revision 6315 (metacat): test CN.get()
ben leinfelder
01:02 PM Revision 6314 (metacat): Uncommented MNStorage tests.
Chris Jones
12:51 PM Revision 6313 (metacat): save systemmetadata when create() is called
ben leinfelder
12:31 PM Revision 6312 (metacat): Send the correct Date format in testGetLogRecords(). I've commented out certain tests in the suite until isAuthorized() functionality is working. It is returning a NotFound exception even though the object is clearly in Metacat.
Chris Jones
12:18 PM Revision 6311 (metacat): allow very minimal system metadata for provisional entries (CN.reserveIdentifier)
ben leinfelder
11:05 AM Revision 6310 (metacat): Fix a NullPointerException issue when the SubjectList in a Session is null.
Chris Jones
09:46 AM Revision 6309 (metacat): Add MNodeServiceTest tests for MNCore, MNRead, MNStorage, MNAuthorization implementations. MNReplication remains to be tested, as does MNCore.getCapabilities() and getOperationStatistics().
Chris Jones
05:45 AM Revision 6308 (metacat): Add the missing URL delimiter when building the D1 base service URL.
Chris Jones

07/06/2011

04:30 PM Revision 6307 (metacat): add the d1_common formats if they do not exist on the server
ben leinfelder
04:29 PM Revision 6306 (metacat): allow the test to read the OFL docid
ben leinfelder
04:29 PM Revision 6305 (metacat): check for null docid from access table -- using guid for many system meta rows
ben leinfelder
03:40 PM Revision 6304 (metacat): use docImpl getBytes() to preserve encoding
no need to catch an exception only to throw it (those I was playing around with looking up the fmt from the d1_common... ben leinfelder
01:35 PM Revision 6303 (metacat): remove resolve() test -- not implemented in Metacat
ben leinfelder
12:09 PM Revision 6302 (metacat): handle data objects (not sci meta) and also set the resulting pid so that create() can succeed
ben leinfelder
11:53 AM Revision 6301 (metacat): newer d1_common jar with updated MNCore interface
ben leinfelder
11:52 AM Revision 6300 (metacat): catch exceptions from system meta data query and throw service failure rather than swallowing them with an error msg
ben leinfelder
11:52 AM Revision 6299 (metacat): handle null values from DB better when querying system metadata
ben leinfelder
08:13 AM Revision 6298 (metacat): Update getOperationStatistics() to reflect the change in the signature, using ObjectFormatIdentifier instead of ObjectFormat.
Chris Jones
08:11 AM Revision 6297 (metacat): Modify monitor() to accept new parameters for getOperationStatisics() (fromDate, toDate) instead of 'period'. Added getDateAsUTC() to parse incoming fromDate and toDate parameter strings.
Chris Jones
07:59 AM Revision 6296 (metacat): Fixed problems in IdentifierManager asSystemMetadata(), getSystemMetadata(), and querySystemMetadata() that were using ObjectFormat.toString() rather than ObjectFormat.getFmtid().getValue(). Metacat was storing the string memory pointer rather than the actual format string in the systemmetadata table.
Chris Jones

07/05/2011

04:20 PM Revision 6295 (metacat): add methods for testing CNodeService impl. Still some failing tests, but whittling them down
ben leinfelder
04:19 PM Revision 6294 (metacat): use super class' create() method
use string comparison for assertRelation method ben leinfelder
04:18 PM Revision 6293 (metacat): beef up isAuthorized method to check for "public" access rules and also for the rights holder
ben leinfelder
04:18 PM Revision 6292 (metacat): do not delete if the sysmeta doesn't exist
ben leinfelder
04:17 PM Revision 6291 (metacat): add "public" user subject
ben leinfelder
04:07 PM Revision 6290 (metacat): make the left panle look exactly the same as the left panel of index.jsp.
Jing Tao
12:33 PM Revision 6288 (metacat): Use 'synchronization_failed' for the event string in synchronizationFailed(), and add a TODO to use the event enum when the 0.6.3 types are updated.
Chris Jones
11:54 AM Revision 6287 (metacat): refactor to test the entire CN service impl
ben leinfelder
10:49 AM Revision 6286 (metacat): return all public objects for the search() method [for now]
ben leinfelder
07:51 AM Revision 6285 (metacat): Changed 'guid' to 'pid' to be in line with the D1 API.
Chris Jones

07/02/2011

05:23 PM Revision 6284 (metacat): simplify the MN rest servlet mapping to match CN mappings - also streamlined the handler code to share extra path info parsing
ben leinfelder
05:21 PM Revision 6283 (metacat): add space to error message
ben leinfelder
05:03 PM Revision 6282 (metacat): route all /d1/cn/* traffic through the CNRestServlet/Handler -- inspect the pathInfo when deciding what action to take and also strip off any extra parts (like pid).
include query() method pass-through to CNodeService ben leinfelder
05:01 PM Revision 6281 (metacat): add the old ecogrid query code (still commented out) from the old Rest handler
ben leinfelder

07/01/2011

03:32 PM Revision 6280 (metacat): allow service implementation method to throw exception when guid parameter is null
ben leinfelder
12:47 PM Revision 6279 (metacat): allow parameters to be omitted in reserveIdentifier handling
ben leinfelder
12:37 PM Revision 6278 (metacat): implement reserveIdentifier() and check whether the id is reserved when creating records (only allow the create when the Subject creating matches the Subject who reserved it -- currently stored in rightsHolder)
ben leinfelder
12:35 PM Revision 6277 (metacat): allow for provisional SystemMetadata records (provisional=true)
ben leinfelder
11:10 AM Revision 6276 (metacat): remove extraneous update() call when create() does the call for us
ben leinfelder
05:24 PM Revision 6275 (metacat): remove old RestServlet url-mappings
ben leinfelder
05:24 PM Revision 6274 (metacat): use monitor() return value when processing response
ben leinfelder
05:04 PM Revision 6273 (metacat): throw exceptions up the call stack and handle exception reporting/serialization centrally in the handle() method
ben leinfelder

06/30/2011

04:44 PM Revision 6272 (metacat): use logging, not system.out
ben leinfelder
04:40 PM Revision 6271 (metacat): consolidate session management and parameter preparation in the superclass
ben leinfelder
04:31 PM Revision 6270 (metacat): throw exceptions up the call stack rather than catching and handling them differently for each possible rest path
ben leinfelder
03:54 PM Revision 6269 (metacat): consolidate multi part handling in the super class - subclasses need only call the appropriate helper to get access to the needed resources. superclass does some validation to make sure the files are in place in the request
ben leinfelder
03:05 PM Revision 6268 (metacat): cleaning up the handlers -- removing superclass methods.
ben leinfelder
02:37 PM Revision 6267 (metacat): refactor to use D1RestServlet and D1ResourceHandler for the D1 rest interface
ben leinfelder
02:34 PM Revision 6266 (metacat): remove old RestServlet and it's mappings -- only using D1Servlet subclasses now
ben leinfelder
02:30 PM Revision 6265 (metacat): deprecate the old rest servlet in favor of the new D1-specific (CN/MN) versions
ben leinfelder
02:08 PM Revision 6264 (metacat): MN rest servlet, handler and mappings
ben leinfelder
02:07 PM Revision 6263 (metacat): share getSystemMetadata (before refactoring the superclass)
ben leinfelder
02:07 PM Revision 6262 (metacat): share getSystemMetadata (before refactoring this superclass)
ben leinfelder
06:39 AM Revision 6261 (metacat): Add placeholder NotImplemented exceptions for getOperationsStatistics() and getCapabilities() in MNodeService.
Chris Jones
06:13 AM Revision 6260 (metacat): Implement MNCore.ping() by testing for a successful database connection.
Chris Jones
 

Also available in: Atom