Project

General

Profile

Statistics
| Revision:

# Date Author Comment
6326 07/08/2011 02:30 PM ben leinfelder

test listObjects()

6325 07/08/2011 02:23 PM ben leinfelder

include MNAuthorization tests

6324 07/08/2011 02:08 PM ben leinfelder

refactor to use common superclass D1NodeServiceTest for shared methods

6322 07/07/2011 03:16 PM ben leinfelder

test for getLogRecords -- with some semi-reasonable expectations on the return that is expected

6320 07/07/2011 01:56 PM ben leinfelder

tests for isAuthorized and setAccessPolicy

6319 07/07/2011 01:36 PM ben leinfelder

include getLogRecords() test, though it is commented out at the moment

6317 07/07/2011 01:17 PM ben leinfelder

test for CN.getSystemMetadata()

6315 07/07/2011 01:09 PM ben leinfelder

test CN.get()

6314 07/07/2011 01:02 PM Chris Jones

Uncommented MNStorage tests.

6312 07/07/2011 12:31 PM Chris Jones

Send the correct Date format in testGetLogRecords(). I've commented out certain tests in the suite until isAuthorized() functionality is working. It is returning a NotFound exception even though the object is clearly in Metacat.

6309 07/07/2011 09:46 AM Chris Jones

Add MNodeServiceTest tests for MNCore, MNRead, MNStorage, MNAuthorization implementations. MNReplication remains to be tested, as does MNCore.getCapabilities() and getOperationStatistics().

6307 07/06/2011 04:30 PM ben leinfelder

add the d1_common formats if they do not exist on the server

6303 07/06/2011 01:35 PM ben leinfelder

remove resolve() test -- not implemented in Metacat

6295 07/05/2011 04:20 PM ben leinfelder

add methods for testing CNodeService impl. Still some failing tests, but whittling them down

6287 07/05/2011 11:54 AM ben leinfelder

refactor to test the entire CN service impl

6211 06/24/2011 09:33 PM ben leinfelder

do not use pisco for referral testing (merge from 1.9.5)

6208 06/24/2011 09:06 PM ben leinfelder

merge 1.9.5 changes to trunk (delete now preserves access rules and docs can be read after deletion)

6195 06/23/2011 04:10 PM ben leinfelder

CNCoreImpl is replaced by CNodeService

6156 06/17/2011 01:52 PM Jing Tao

Get username and password from a property file.

6141 06/15/2011 08:53 AM Chris Jones

Updated tests to use ObjectFormatCache.getInstance(), and added tests for CNCoreImpl.listFormats and getFormat().

6132 06/08/2011 06:24 AM Chris Jones

When calling SystemMetadata.getObjectFormat(), return the string value of the ObjectFormatIdentifier rather than ObjectFormat.toString() (which no longer returns the fmtid string).

6130 06/07/2011 02:56 PM ben leinfelder

organize imports so that it is clearer what dependencies exist on the D1 jars

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

6122 06/06/2011 03:28 PM ben leinfelder

include GUID column for xml_access and related methods for storing/retrieving access rules

6118 06/01/2011 01:45 PM ben leinfelder

handle timed replication of system metadata. there are still a few outstanding issues:
-track server location of system metadata-only entries
-replication policy flag for system metadata-only entries?
-locking for replicated entries?
-forced replication of entries

6099 05/25/2011 11:59 AM ben leinfelder

-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

6097 05/24/2011 04:18 PM ben leinfelder

do not use XML files for storing SystemMetadata - use DB tables only.

6095 05/19/2011 07:31 PM Matt Jones

Commenting out these MetacatRestClient tests because the Metacat RestService is no longer registered as a servlet and needs to be removed, along with the associated MetacatRestClient and tests.

6094 05/19/2011 07:06 PM Matt Jones

Fixed MetaCatServletTest test failures by removing the hardcoded username/passwords used in the tests and replacing those with data from metacat.properties.

6093 05/19/2011 05:05 PM Matt Jones

Fix AuthLdapTest to use accounts that are more reliable when searching for existing accounts in the getPrincipals output.

6092 05/19/2011 01:52 PM Matt Jones

Modified Metacat to build against the D1_SCHEMA_0_6_1 branch of the dataone schemas by incorporating the 0.6.1-SNAPSHOT version of d1_common and d1_libclient libraries, and refactoring Metacat code references to the d1 schema changed types.

6069 05/05/2011 10:50 AM rnahf

updating CrudServiceTest with better exception handling (more specific) to match refactored CrudService.java class

6052 04/28/2011 01:53 PM rnahf

removed newline addition to test doc now that the newline problem is fixed in utilities project. Small adjustments to comments and debug statements to aid in debugging. Reordered tests to remove possible insertion between read and getLastDocid test.

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