Add the code to reget the object input stream after generating the system metadata. Otherwise, the checksum will be wrong.
Add a test method to test the method check if a local id is in the xml_revision table.
Add the test method for the new methods to determine if an object file does exist or not for the given local id.
Add a test case on the getHeadPID method to test the messing time stamps.
Add two new test methods to test systemMetadataPIDExists and systemMetadataSIDExists.
Use the MN.updateSystemMetadata to replace CN.updateSystemMetadata.
Increase the serial version before we call cn.updateSystemMetadata method.
Insert a document with different authoritative node id. So we can test querySystemMetadata by more cases.
Add a junit test to test the querySystemMetadata method.
Add a junit test case to test the write/read of new fields in the system metadata.
Add the test suite.
Completed the 18 test cases.
Add more test cases for the method getHeadVersion.
Add test cases for the method getHeadPID.
Change methods'name base on the change on the source code.
Add the code to test the methods of determining if a sid or guid exists.
Add a test method to the method to get head version of a sid.
Change the test method base on the change of throwing a new sql exception on the getLocalId method.
-remove system metadata guid -> local id mapping (there is no document for system metadata now)-include system metadata elements when replicating data objects (TODO: transfer all system metadata structures with the docinfo request).TODO: remove docid+rev from the systemMetadata table definition
Now that MetacatHandler creates GUID identifier mappings and system metadata, many of the tests in IdentifierManagerTest were failing that were manually creating id mappings and system metadata. Modified testCreateMapping() and testCreateSystemMetadataMapping() to use docids that haven't been inserted to just exercise the methods....
adding fields for additional system metadata info
fixed identifier manager problem with getting guid for systememtadaa doc
fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made
working on a function to create dataone system metadata docs for legacy metacat objects that do not have SM.
added a test for CrudService and added tests for IdentifierManager for each method
Added initial support for arbitrary string identifiers in metacat (referred to as a guid). The new identifier table is used to map arbitrary string identifiers to Metacat's current docid format (referred to as the localId). Added a new IdentifierManager class to manage this table, adding new mappings as objects are added to the system. Modified the MetacatTest service to utilize this mapping table to look up a localId from a guid. IdentiferManagerTest is working with these guids now, as is the MetacatTest service get() method, but other parts of the system are unaware of them (e.g., create, update, delete operations are unaware, and no mapping is created when new documents are created). As a consequence, the MetacatRestClientTest is not working (although it also had lots of hardcoded dependencies that need to be fixed as well).