adding test for getSystemMetadata. a bit of refactoring.
refactored XMLSchemaService to not have static methods. made the CrudServiceTest more robust.
removed CrudService dependency on servlet params. CrudService is now a singleton. I'm getting an error from metacat saying it can't find teh systemmetadata schema, even though it is, in fact, registered with metacat. need to identify why this is happening.
added a test for CrudService and added tests for IdentifierManager for each method
Add a debug statement to show existing doc id
Merge 1.9.2 changes back into the trunk
Refactored putObject method to separate the create() and update() portions in order to match the method signatures needed for DataONE.
Modified ResourceHandler.deleteObject() to take a globally unique id (guid)as input rather than a metacat-conformant docid. The guid is translatedinto a metacat docid which is then used in the handleDelete() call. So nowMetacat supports use of arbitrary identifiers for delete operations, but...
Added support to ResourceHandler to allow the putObject method to usearbitrary guid strings as input. These strings are examined, and if theymatch the Metacat docid format (scope.id.rev), they are used directly. Ifthe id is a string in another format, a new localId is generated based on...
Updated MetacatRestClientTest so that the tests are actually calling fail() when errors occur, and fixed all sixteen tests so that they run successfullyand can be run from any client (i.e., they don't depend on particulardocuments being present in Metacat). The 'restfiles' directory can probably ...
View revisions
Also available in: Atom