Project

General

Profile

Statistics
| Revision:
  • svn:ignore: build
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH:6107-6121

# Date Author Comment
6361 07/20/2011 02:51 PM ben leinfelder

handle more than "contains" searchmode when using the path index for queries
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5443

6360 07/20/2011 02:48 PM ben leinfelder

remove CrudServiceTest reference in main Metacat test (about to remove from svn)

6359 07/20/2011 01:51 PM ben leinfelder

-handle NotFound object format when generating system metadata
-improve EML DML for null entity/attribute elements

6358 07/20/2011 11:39 AM ben leinfelder

use the ObjectFormat Id (not toString()) to check against the configured science metadata formats

6357 07/20/2011 11:38 AM ben leinfelder

reset object input stream (testGet)
check for reserveIdentifier NotImplemented (expected)

6356 07/20/2011 11:37 AM ben leinfelder

merge changes from 1.9.5 branch that read site docs from SVN not a defunct LTER server

6354 07/19/2011 08:09 AM Chris Jones

Return the new pid (not the obsoleted pid) on update(), and set the correct system metadata.

6353 07/15/2011 07:11 AM Chris Jones

In D1NodeService.getLogRecords(), don't pass in null start and count params - set them to the defaults (0 and 1000).

6352 07/15/2011 06:52 AM Chris Jones

MNResourceHandler.getObject() was making a call to ObjectFormat.getFmtid() when an object format was null. Check that it is not null before trying getFmtid().

6351 07/14/2011 09:25 PM Chris Jones

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.

6350 07/14/2011 08:04 PM Chris Jones

Use CamelCaps for properties for better readability.

6349 07/14/2011 04:27 PM ben leinfelder

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 came.

6348 07/14/2011 03:12 PM ben leinfelder

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 present for unit testing.

6347 07/14/2011 02:25 PM Chris Jones

In MNodeService.getCapabilities(), set the synchronization and replication properties of the node.

6346 07/14/2011 02:22 PM Chris Jones

Added node synchronization and replication properties.

6345 07/14/2011 02:06 PM Chris Jones

In MNodeService.getCapabilities(), set the serviceAvailable for each service supported.

6344 07/14/2011 02:01 PM Chris Jones

Added service availability properties for each of the MN services.

6343 07/14/2011 01:20 PM Chris Jones

In MNodeService.getCapabilities(), set the serviceVersion for each service supported.

6342 07/14/2011 01:01 PM Chris Jones

Added service version properties for each of the MN services.

6341 07/14/2011 09:15 AM ben leinfelder

check reservation before create/update

6340 07/14/2011 01:52 AM Chris Jones

Use D1 properties to set node values, and add the 'WAR VERSION' back into the node name for deployments.

6339 07/13/2011 03:09 PM ben leinfelder

add hasReservation() method (NotImplemented, however)

6338 07/13/2011 09:02 AM Chris Jones

Test that the obsoletes and derivedFrom system metadata fields were set correctly.

6337 07/12/2011 03:02 PM ben leinfelder

use objectFormatIdentifier for listObjects()
remove provisional system metadata indicator - Metacat will not implement reserveIdentifier()

6336 07/11/2011 04:30 PM ben leinfelder

newer jars with better certificate exception handling as well as additional libclient implementations

6335 07/11/2011 12:19 PM ben leinfelder

use correct log name for the class

6334 07/11/2011 11:46 AM ben leinfelder

consistently construct username/groups for MetacatHandler calls - also consistently call isAuthorized

6333 07/10/2011 07:56 PM ben leinfelder

add test for synchronization failed -- TODO: verify that the log record made it in the logs

6332 07/08/2011 04:48 PM ben leinfelder

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 duplicate IDs

6331 07/08/2011 04:05 PM ben leinfelder

provisional version of getOperationStatistics() -- not clear if we are meant to aggregate by hour or by day

6330 07/08/2011 03:06 PM ben leinfelder

provisional getCapabilities() implementation. Much of the synchronization information and node health is omitted.

6329 07/08/2011 02:53 PM ben leinfelder

include test for replicate() method -- still fails as not implemented

6328 07/08/2011 02:52 PM ben leinfelder

allow null objects (use default checksum)

6327 07/08/2011 02:46 PM ben leinfelder

wire-up the getCapabilities() and getOperationStatistics() methods for when they are actually implemented (tests fail now)

6326 07/08/2011 02:30 PM ben leinfelder

test listObjects()

6325 07/08/2011 02:23 PM ben leinfelder

include MNAuthorization tests

6324 07/08/2011 02:08 PM ben leinfelder

refactor to use common superclass D1NodeServiceTest for shared methods

6323 07/08/2011 02:08 PM ben leinfelder

simplify the get() method -- no need to use temp files for this operation

6322 07/07/2011 03:16 PM ben leinfelder

test for getLogRecords -- with some semi-reasonable expectations on the return that is expected

6321 07/07/2011 03:14 PM ben leinfelder

implement d1 paging for the log record results

6320 07/07/2011 01:56 PM ben leinfelder

tests for isAuthorized and setAccessPolicy

6319 07/07/2011 01:36 PM ben leinfelder

include getLogRecords() test, though it is commented out at the moment

6318 07/07/2011 01:28 PM Chris Jones

Reverting the resultset order in querySystemMetadata(). Thanks Ben.

6317 07/07/2011 01:17 PM ben leinfelder

test for CN.getSystemMetadata()

6316 07/07/2011 01:11 PM Chris Jones

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.

6315 07/07/2011 01:09 PM ben leinfelder

test CN.get()

6314 07/07/2011 01:02 PM Chris Jones

Uncommented MNStorage tests.

6313 07/07/2011 12:51 PM ben leinfelder

save systemmetadata when create() is called

6312 07/07/2011 12:31 PM Chris Jones

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.

6311 07/07/2011 12:18 PM ben leinfelder

allow very minimal system metadata for provisional entries (CN.reserveIdentifier)

6310 07/07/2011 11:05 AM Chris Jones

Fix a NullPointerException issue when the SubjectList in a Session is null.

6309 07/07/2011 09:46 AM Chris Jones

Add MNodeServiceTest tests for MNCore, MNRead, MNStorage, MNAuthorization implementations. MNReplication remains to be tested, as does MNCore.getCapabilities() and getOperationStatistics().

6308 07/07/2011 05:45 AM Chris Jones

Add the missing URL delimiter when building the D1 base service URL.

6307 07/06/2011 04:30 PM ben leinfelder

add the d1_common formats if they do not exist on the server

6306 07/06/2011 04:29 PM ben leinfelder

allow the test to read the OFL docid

6305 07/06/2011 04:29 PM ben leinfelder

check for null docid from access table -- using guid for many system meta rows

6304 07/06/2011 03:40 PM ben leinfelder

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 lib if it was not found on the server...but this is redundant with other client code)

6303 07/06/2011 01:35 PM ben leinfelder

remove resolve() test -- not implemented in Metacat

6302 07/06/2011 12:09 PM ben leinfelder

handle data objects (not sci meta) and also set the resulting pid so that create() can succeed

6301 07/06/2011 11:53 AM ben leinfelder

newer d1_common jar with updated MNCore interface

6300 07/06/2011 11:52 AM ben leinfelder

catch exceptions from system meta data query and throw service failure rather than swallowing them with an error msg

6299 07/06/2011 11:52 AM ben leinfelder

handle null values from DB better when querying system metadata

6298 07/06/2011 08:13 AM Chris Jones

Update getOperationStatistics() to reflect the change in the signature, using ObjectFormatIdentifier instead of ObjectFormat.

6297 07/06/2011 08:11 AM Chris Jones

Modify monitor() to accept new parameters for getOperationStatisics() (fromDate, toDate) instead of 'period'. Added getDateAsUTC() to parse incoming fromDate and toDate parameter strings.

6296 07/06/2011 07:59 AM Chris Jones

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.

6295 07/05/2011 04:20 PM ben leinfelder

add methods for testing CNodeService impl. Still some failing tests, but whittling them down

6294 07/05/2011 04:19 PM ben leinfelder

use super class' create() method
use string comparison for assertRelation method

6293 07/05/2011 04:18 PM ben leinfelder

beef up isAuthorized method to check for "public" access rules and also for the rights holder

6292 07/05/2011 04:18 PM ben leinfelder

do not delete if the sysmeta doesn't exist

6291 07/05/2011 04:17 PM ben leinfelder

add "public" user subject

6290 07/05/2011 04:07 PM Jing Tao

make the left panle look exactly the same as the left panel of index.jsp.

6288 07/05/2011 12:33 PM Chris Jones

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.

6287 07/05/2011 11:54 AM ben leinfelder

refactor to test the entire CN service impl

6286 07/05/2011 10:49 AM ben leinfelder

return all public objects for the search() method [for now]

6285 07/05/2011 07:51 AM Chris Jones

Changed 'guid' to 'pid' to be in line with the D1 API.

6284 07/01/2011 05:23 PM ben leinfelder

simplify the MN rest servlet mapping to match CN mappings - also streamlined the handler code to share extra path info parsing

6283 07/01/2011 05:21 PM ben leinfelder

add space to error message

6282 07/01/2011 05:03 PM ben leinfelder

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

6281 07/01/2011 05:01 PM ben leinfelder

add the old ecogrid query code (still commented out) from the old Rest handler

6280 07/01/2011 03:32 PM ben leinfelder

allow service implementation method to throw exception when guid parameter is null

6279 07/01/2011 12:47 PM ben leinfelder

allow parameters to be omitted in reserveIdentifier handling

6278 07/01/2011 12:37 PM ben leinfelder

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)

6277 07/01/2011 12:35 PM ben leinfelder

allow for provisional SystemMetadata records (provisional=true)

6276 07/01/2011 11:10 AM ben leinfelder

remove extraneous update() call when create() does the call for us

6275 06/30/2011 05:24 PM ben leinfelder

remove old RestServlet url-mappings

6274 06/30/2011 05:24 PM ben leinfelder

use monitor() return value when processing response

6273 06/30/2011 05:04 PM ben leinfelder

throw exceptions up the call stack and handle exception reporting/serialization centrally in the handle() method

6272 06/30/2011 04:44 PM ben leinfelder

use logging, not system.out

6271 06/30/2011 04:40 PM ben leinfelder

consolidate session management and parameter preparation in the superclass

6270 06/30/2011 04:31 PM ben leinfelder

throw exceptions up the call stack rather than catching and handling them differently for each possible rest path

6269 06/30/2011 03:54 PM ben leinfelder

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

6268 06/30/2011 03:05 PM ben leinfelder

cleaning up the handlers -- removing superclass methods.

6267 06/30/2011 02:37 PM ben leinfelder

refactor to use D1RestServlet and D1ResourceHandler for the D1 rest interface

6266 06/30/2011 02:34 PM ben leinfelder

remove old RestServlet and it's mappings -- only using D1Servlet subclasses now

6265 06/30/2011 02:30 PM ben leinfelder

deprecate the old rest servlet in favor of the new D1-specific (CN/MN) versions

6264 06/30/2011 02:08 PM ben leinfelder

MN rest servlet, handler and mappings

6263 06/30/2011 02:07 PM ben leinfelder

share getSystemMetadata (before refactoring the superclass)

6262 06/30/2011 02:07 PM ben leinfelder

share getSystemMetadata (before refactoring this superclass)

6261 06/30/2011 06:39 AM Chris Jones

Add placeholder NotImplemented exceptions for getOperationsStatistics() and getCapabilities() in MNodeService.

6260 06/30/2011 06:13 AM Chris Jones

Implement MNCore.ping() by testing for a successful database connection.