Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6049 04/25/2011 04:16 PM Jing Tao

Make this class be the subclass of the MCTestCase. The super class will initialize the property service for it.

6047 04/25/2011 02:28 PM rnahf

commenting out the pisco user tests, since they only work in production.

6046 04/25/2011 02:24 PM rnahf

put in more explanatory exception methods in the private helper functions that throw exceptions, and some debug statements in the onlineData201CasesTest_1 test.

6043 04/24/2011 07:00 PM Chris Jones

Due to changes in MetacatHandler that creates system metadata from uploaded EML documents, OnlineDataAccessTest was failing certain tests because of errors in how the test documents were originally uploaded. MetacatHandler.createSystemMetadata() was throwing exceptions because of these errors, specifically when a data document is uploaded with a docid that is difeerent than the docid statement in the EML distribution URL. Most errors involved stated docids with .2 versions, and the metadata had .1 versions....

6040 04/14/2011 05:13 PM Matt Jones

Cleaned up imports.

6039 04/14/2011 05:10 PM Matt Jones

Updated D1 libraries to head to eliminate problems with date parsing -- added
Joda jar to support date parsing. Removed hardcoded DN from test file. Now
CrudServiceTest is passing again.

6038 04/14/2011 03:41 AM Matt Jones

Remove hardcoded LDAP usernames from testing so that MetaCatServletNetTest will work even using alternate
LDAP servers.

6006 03/03/2011 08:15 AM Chris Jones

Fixed the testNCEASLogin() password that I mistakenly changed.

6005 03/03/2011 07:47 AM Chris Jones

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

6004 03/02/2011 04:44 PM Chris Jones

Added a new test method testDeleteDocumentByGUID() to ensure MetacatHandler can delete based on GUID, but fall back to docid if the GUID isn't present. Modified CrudServiceTest and made some private methods public to leverage the D1 REST calls in that library (i.e. create() a doc with a GUID).

5948 02/10/2011 06:09 PM Jing Tao

Make the schema with included schemas valid.

5947 02/10/2011 06:08 PM Jing Tao

Add a xml file for inserting during test.

5946 02/10/2011 06:07 PM Jing Tao

Add a method to test download a schema with included schemas.

5942 02/10/2011 10:27 AM Jing Tao

Add a test file for XMLSchemaServcieTest.

5940 02/09/2011 05:03 PM Jing Tao

Add a junit test file for testing the XMLSchemaParser class.

5939 02/09/2011 05:02 PM Jing Tao

Add test schema for downloading included xsd file.

5931 02/08/2011 12:06 PM berkley

removed comments from crudservicetest

5917 02/04/2011 12:39 PM berkley

fixed bugs in listObjects

5914 02/04/2011 06:17 AM ben leinfelder

remove httpclient 3.1 and custom-built httpclient.jar
rework MetacatClient (and other classes) to use httpclient 4
updated build to not create httpclient.jar
encoding tests now pass.

5912 02/03/2011 07:45 PM Matt Jones

Fix the MetadataTypeRegisterTest because it had the wrong URI for METS.

5895 02/03/2011 03:25 PM berkley

added code to do database query for listObjects

5891 02/03/2011 09:49 AM Jing Tao

remove the empty dir.

5890 02/03/2011 09:47 AM Jing Tao

This is redundant to the WorkflowSchedulerCleintTest in wsfscheduler svn module.

5889 02/03/2011 09:21 AM ben leinfelder

use more unique scope (document id prefix) so that getlastdocid runs successfully. use superclass generateDocumentId() method

5887 02/02/2011 03:52 PM berkley

adding fields for additional system metadata info

5885 02/02/2011 10:54 AM berkley

new paths for metacat populator

5874 01/31/2011 03:48 PM berkley

updated the populator

5869 01/31/2011 01:22 PM berkley

fixed compile errors

5800 01/13/2011 11:51 AM berkley

uncommented tests

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

5641 11/15/2010 10:57 AM berkley

removing backup files

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

5437 07/19/2010 02:15 PM berkley

reverting accidental cahgnes

5436 07/19/2010 02:02 PM berkley

fixing another null auth token bug

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