organized code for inputstream handling
removed dependency on InputStreamToOutputStream so that exceptions will be passed correctly.
changes for new d1 schemas
uncommenting tests
implemented crud.delete
implemented crud.describe
got the streaming mime multipart working
still working on mmp stream parsing
working on integrating streaming mmp into resourceHandler
more work on streaming mmp support
getting closer to a non-memory bound solution for mime multipart de/encoding
fixed a couple bugs with dates and fixed a major bug where metacat was reading the entire document from the database everytime a DocumentImpl instance was created even though it didn't need to
fixed a bunch of small errors, did some reformatting, and fixed a bug that I thought was fixed last week
minor changes to crudservicetest
adding a test that I forgot to check in a while back
test for the profiler
added notes on packages to upload with knb-mn
updated the metacatpopulator to use the d1 eml parser to create system metadata in a smarter fashion.
print the workflow server name
merging changes from branch
merging test changes into the trunk
fixed error where insert/update errors were not getting caught as exceptions
fixed bug with logger where localid didn't get appended when inserting a data file
fixed update bug I introduced yesterday while fixing replication
fixed identifier manager problem with getting guid for systememtadaa doc
updated for date format that supports time zones correctly.
changed date comparison to compare to gmt only
fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made
add back all tests
fixing date formatting and timezone issues
fixed some bugs in time handling for listObjects and getLogRecords
fixed bug in getLogRecords where the wrong id was getting set as the identifier
fixed listObject bugs, added params to the listObjects rest interface, consolidated the date format passed in params
fixed query for listObjects so that paging works as advertised.
fixed error with listObjects and get.
got the crud test to pass on knb-mn, now need to figure out why the rest service still isn't working
added a failure test to the testPublicAccess test. This test should allow public gets and listObjects but not public creates
changed getSessionData so that it will respond property to public tokens
test to check for public access to get and listObjects
MetacatPopulator is now working. It allows you to do a query from one metacat instance, then insert any returned docs into another metacat instance
tracked down streaming bug. now need to figure out a better way to fix it.
adding getlogrecords to the rest interface.
changed getLogRecords to use new classes for log events
fixed bug in metacat that allowed attribute data to be appended to element data in returnfields
implementing getLogRecords
made the test functional so that it checks that missing system metadata will be created.
working on getting systemmetadata creation working for legacy knb objects
working on a function to create dataone system metadata docs for legacy metacat objects that do not have SM.
moved authentication checking out of ResourceHandler and into CrudService
added a test for access control changes
refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.
new class to handle system metadata tasks in metacat
listObjects is now working for rest calls as well as crud calls
finished the crud part of listObjects. need to implement it in the rest interface now.
listObjects is almost working. need to get the result set parsed when returned to CrudService.
setting up the framework for the listObjects api call
removed system.outs
update works. it was the test that was faulty. all working now
amost have update working. still need to get unit test squared away.
removed old method that didn't do anything
added exception testing to the crud test
getSystemMetadata is now working. added unit test as well.
getting getSystemMetadata to work
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 ...
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).
Merging in REST interface implementation that was created by Serhan Akin. Main change isa refactored MetaCatServlet.java class, in which all of the handle* methods were movedinto a separate MetacatHandler.java class. This allows both the standard MetaCatServlet...
add delay in insertSpatialDocs test to avoid buildIndex conflict
Fix errors in workflow scheduler unit test
Beef up comments
add method to read test file from disk
Add access api test and supporting files
handle ben's change to the metacat client read api because it returns inputstream now
Create workflow scheduler test.
Change location of PropertyService to properties directory
Change MetaCatVersion to MetacatVersion
Fix references to db classes that were moved and refactoring missed.
Remove unneeded exception handling
Implement fix for Bug #4245: Harvester command line scripts don't execute.
Handle UtilException
Remove initialization of MetacatUtil.buildIndexPaths in test files. This is taken care of in the background now using SystemUtil.getIndexPaths()
The test was failing because it was reading the sitemap file into a buffer and the limit was being reached. Used the FileUtil string reader to get the file.
Create a propertyService.getTestInstance method to facilitate unit tests
Renamed MetaCatUtil to MetacatUtil
Added EML 2.1.0 test cases.
Change Inline to be inline in the test eml. Added debug statements.
Pulled common eml creation and metacat client methods into the MCTestCase base class. Eventually, all test cases should use these common methods.
Insert documents with different permissions and make sure only the publically readable ones get pulled into the sitemap file.