Project

General

Profile

Statistics
| Revision:

metacat / test / edu / ucsb @ 5798

# Date Author Comment
5798 01/13/2011 11:33 AM berkley

fixes for creating SM for legacy docs

5797 01/12/2011 11:57 AM berkley

uncommenting tests

5760 12/27/2010 02:47 PM ben leinfelder

use detected document encoding or Metacat's default encoding (UTF-8)

5759 12/27/2010 02:46 PM ben leinfelder

include shared method in superclass

5757 12/27/2010 11:25 AM ben leinfelder

create another test for various i18n features including eml 2.1.1
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2495

5754 12/22/2010 01:35 PM ben leinfelder

uncomment the other test cases and make sure we do the clean up when the tests are complete (delete the uploaded documents)

5752 12/21/2010 02:26 PM ben leinfelder

use detected XML encoding when reading/writing files
use UTF-8 as default when performing queries in the DB (assume DB is using UTF-8)
remove as many PrintWriters (uses system default character encoding only) as possible and construct OutputStreamWriters where explicit encoding can be given....

5750 12/20/2010 02:19 PM berkley

fix for paths with semi-colons or other 'reserved' characters in them for D1 rest services

5749 12/17/2010 04:38 PM ben leinfelder

correct the prolog

5748 12/17/2010 12:00 PM berkley

changed test to use actual semi-colons instead of colons

5747 12/17/2010 11:29 AM ben leinfelder

add XmlStreamReader test for determining encoding

5746 12/17/2010 11:25 AM berkley

added semi-colon id test

5745 12/16/2010 12:45 PM berkley

found a failure when using an InputStreamReader without an encoding

5744 12/16/2010 12:10 PM berkley

a test to explore character encoding with utf8 chars

5712 12/09/2010 10:41 AM ben leinfelder

support EML 2.1.1

5711 12/09/2010 10:30 AM ben leinfelder

include anonymous parameter when getting report

5709 12/08/2010 04:59 PM ben leinfelder

add support for EML 2.1.1

5683 12/02/2010 11:09 AM berkley

organized code for inputstream handling

5679 12/01/2010 02:13 PM berkley

removed dependency on InputStreamToOutputStream so that exceptions will be passed correctly.

5657 11/19/2010 03:23 PM berkley

changes for new d1 schemas

5655 11/19/2010 10:39 AM berkley

uncommenting tests

5654 11/18/2010 11:57 AM berkley

implemented crud.delete

5648 11/16/2010 11:46 AM berkley

implemented crud.describe

5640 11/15/2010 10:57 AM berkley

got the streaming mime multipart working

5639 11/12/2010 04:10 PM berkley

still working on mmp stream parsing

5638 11/10/2010 03:59 PM berkley

working on integrating streaming mmp into resourceHandler

5637 11/10/2010 03:25 PM berkley

more work on streaming mmp support

5636 11/09/2010 04:00 PM berkley

getting closer to a non-memory bound solution for mime multipart de/encoding

5630 10/28/2010 02:11 PM berkley

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

5621 10/19/2010 09:33 AM berkley

fixed a bunch of small errors, did some reformatting, and fixed a bug that I thought was fixed last week

5620 10/15/2010 02:36 PM berkley
5611 10/14/2010 11:21 AM berkley

minor changes to crudservicetest

5610 10/14/2010 11:21 AM berkley

adding a test that I forgot to check in a while back

5608 10/14/2010 11:08 AM berkley

test for the profiler

5595 09/23/2010 03:54 PM berkley

added notes on packages to upload with knb-mn

5568 09/21/2010 03:56 PM berkley

updated the metacatpopulator to use the d1 eml parser to create system metadata in a smarter fashion.

5513 08/25/2010 02:39 PM ben leinfelder

print the workflow server name

5480 08/04/2010 02:47 PM berkley

merging changes from branch

5478 08/04/2010 02:45 PM berkley

merging test changes into the trunk

5461 07/28/2010 03:09 PM berkley

fixed error where insert/update errors were not getting caught as exceptions

5460 07/28/2010 10:53 AM berkley

fixed bug with logger where localid didn't get appended when inserting a data file

5456 07/27/2010 10:53 AM berkley

fixed update bug I introduced yesterday while fixing replication

5452 07/26/2010 02:47 PM berkley

fixed identifier manager problem with getting guid for systememtadaa doc

5428 07/07/2010 03:22 PM berkley

updated for date format that supports time zones correctly.

5427 07/07/2010 10:53 AM berkley

changed date comparison to compare to gmt only

5424 07/06/2010 11:58 AM berkley

fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made

5421 06/30/2010 03:35 PM berkley

add back all tests

5420 06/30/2010 03:28 PM berkley

fixing date formatting and timezone issues

5418 06/30/2010 01:48 PM berkley

fixed some bugs in time handling for listObjects and getLogRecords

5416 06/30/2010 11:27 AM berkley

fixed bug in getLogRecords where the wrong id was getting set as the identifier

5414 06/29/2010 11:44 AM berkley

fixed listObject bugs, added params to the listObjects rest interface, consolidated the date format passed in params

5413 06/28/2010 03:27 PM berkley

fixed query for listObjects so that paging works as advertised.

5411 06/28/2010 10:48 AM berkley

fixed error with listObjects and get.

5410 06/28/2010 10:16 AM berkley

got the crud test to pass on knb-mn, now need to figure out why the rest service still isn't working

5405 06/25/2010 11:46 AM berkley

added a failure test to the testPublicAccess test. This test should allow public gets and listObjects but not public creates

5404 06/25/2010 11:37 AM berkley

changed getSessionData so that it will respond property to public tokens

5402 06/25/2010 10:27 AM berkley

test to check for public access to get and listObjects

5397 06/23/2010 03:45 PM berkley

MetacatPopulator is now working. It allows you to do a query from one metacat instance, then insert any returned docs into another metacat instance

5394 06/23/2010 12:25 PM berkley

tracked down streaming bug. now need to figure out a better way to fix it.

5390 06/15/2010 12:49 PM berkley

adding getlogrecords to the rest interface.

5389 06/15/2010 11:19 AM berkley

changed getLogRecords to use new classes for log events

5387 06/14/2010 04:40 PM berkley

fixed bug in metacat that allowed attribute data to be appended to element data in returnfields

5384 06/10/2010 04:11 PM berkley

implementing getLogRecords

5380 06/10/2010 09:47 AM berkley

made the test functional so that it checks that missing system metadata will be created.

5378 06/09/2010 04:21 PM berkley

working on getting systemmetadata creation working for legacy knb objects

5377 06/09/2010 02:24 PM berkley

working on a function to create dataone system metadata docs for legacy metacat objects that do not have SM.

5376 06/09/2010 12:21 PM berkley

moved authentication checking out of ResourceHandler and into CrudService

5375 06/08/2010 03:30 PM berkley

added a test for access control changes

5374 06/08/2010 12:34 PM berkley

refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.

5373 05/27/2010 01:26 PM berkley

new class to handle system metadata tasks in metacat

5370 05/20/2010 09:52 AM berkley

listObjects is now working for rest calls as well as crud calls

5366 05/18/2010 03:44 PM berkley

finished the crud part of listObjects. need to implement it in the rest interface now.

5362 05/17/2010 04:31 PM berkley

listObjects is almost working. need to get the result set parsed when returned to CrudService.

5359 05/17/2010 11:50 AM berkley

setting up the framework for the listObjects api call

5352 05/12/2010 10:55 AM berkley

removed system.outs

5351 05/12/2010 10:42 AM berkley

update works. it was the test that was faulty. all working now

5350 05/11/2010 04:49 PM berkley

amost have update working. still need to get unit test squared away.

5349 05/11/2010 11:34 AM berkley

removed old method that didn't do anything

5348 05/11/2010 11:32 AM berkley

added exception testing to the crud test

5346 05/10/2010 04:36 PM berkley

getSystemMetadata is now working. added unit test as well.

5344 05/10/2010 04:18 PM berkley

getting getSystemMetadata to work

5343 05/10/2010 02:59 PM berkley

adding test for getSystemMetadata. a bit of refactoring.

5342 05/10/2010 02:57 PM berkley

adding test for getSystemMetadata. a bit of refactoring.

5341 05/10/2010 02:54 PM berkley

adding test for getSystemMetadata. a bit of refactoring.

5340 05/10/2010 01:15 PM berkley

refactored XMLSchemaService to not have static methods. made the CrudServiceTest more robust.

5337 05/07/2010 03:15 PM berkley

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.

5335 05/03/2010 05:23 PM berkley

added a test for CrudService and added tests for IdentifierManager for each method

5317 04/15/2010 09:47 AM daigle

Add a debug statement to show existing doc id

5311 04/14/2010 11:31 AM daigle

Merge 1.9.2 changes back into the trunk

5291 03/22/2010 08:55 PM Matt Jones

Refactored putObject method to separate the create() and update() portions in order to match the method signatures needed for DataONE.

5287 03/18/2010 04:02 AM Matt Jones

Modified ResourceHandler.deleteObject() to take a globally unique id (guid)
as input rather than a metacat-conformant docid. The guid is translated
into a metacat docid which is then used in the handleDelete() call. So now
Metacat supports use of arbitrary identifiers for delete operations, but...

5286 03/18/2010 03:11 AM Matt Jones

Added support to ResourceHandler to allow the putObject method to use
arbitrary guid strings as input. These strings are examined, and if they
match the Metacat docid format (scope.id.rev), they are used directly. If
the id is a string in another format, a new localId is generated based on...

5284 03/17/2010 11:27 PM Matt Jones

Updated MetacatRestClientTest so that the tests are actually calling fail()
when errors occur, and fixed all sixteen tests so that they run successfully
and can be run from any client (i.e., they don't depend on particular
documents being present in Metacat). The 'restfiles' directory can probably ...

5282 03/17/2010 06:54 PM Matt Jones

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

5211 02/03/2010 06:58 PM Matt Jones

Merging in REST interface implementation that was created by Serhan Akin. Main change is
a refactored MetaCatServlet.java class, in which all of the handle* methods were moved
into a separate MetacatHandler.java class. This allows both the standard MetaCatServlet...

5206 02/03/2010 01:14 PM daigle

add delay in insertSpatialDocs test to avoid buildIndex conflict

5139 11/24/2009 12:28 PM daigle

Fix errors in workflow scheduler unit test

5114 11/09/2009 08:51 AM daigle

Beef up comments

5113 11/06/2009 02:48 PM daigle

add method to read test file from disk

5111 11/06/2009 02:47 PM daigle

Add access api test and supporting files