Project

General

Profile

Statistics
| Revision:

# Date Author Comment
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

5111 11/06/2009 02:47 PM daigle

Add access api test and supporting files

5110 11/06/2009 02:46 PM daigle

handle ben's change to the metacat client read api because it returns inputstream now

5035 08/24/2009 02:42 PM daigle

Change location of PropertyService to properties directory

5027 08/14/2009 02:26 PM daigle

Change MetaCatVersion to MetacatVersion

5016 08/06/2009 10:59 AM daigle

Fix references to db classes that were moved and refactoring missed.

5003 07/30/2009 10:14 AM daigle

Remove unneeded exception handling

4999 07/27/2009 02:47 PM Duane Costa

Implement fix for Bug #4245: Harvester command line scripts don't execute.

4862 03/25/2009 02:41 PM daigle

Handle UtilException

4816 02/23/2009 11:29 AM daigle

Remove initialization of MetacatUtil.buildIndexPaths in test files. This is taken care of in the background now using SystemUtil.getIndexPaths()

4735 01/08/2009 09:48 AM daigle

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.

4719 12/26/2008 04:33 PM daigle

Create a propertyService.getTestInstance method to facilitate unit tests

4701 12/26/2008 01:11 PM daigle

Renamed MetaCatUtil to MetacatUtil

4700 12/26/2008 01:10 PM daigle

Renamed MetaCatUtil to MetacatUtil

4680 12/17/2008 02:18 PM daigle

Added EML 2.1.0 test cases.

4679 12/17/2008 02:17 PM daigle

Change Inline to be inline in the test eml. Added debug statements.

4510 11/04/2008 04:03 PM daigle

Insert documents with different permissions and make sure only the publically readable ones get pulled into the sitemap file.

4509 11/04/2008 04:02 PM daigle

Change getAccessBlock from private to protected so it can override the MCTestCase version

4508 11/04/2008 04:01 PM daigle

Stripped out common eml document creation elements and put into the MCTestCase base class

4504 11/03/2008 11:07 AM daigle

Add debug statements at the beginning of every test module.

4478 10/22/2008 10:18 AM daigle

Add EML 2.1.0 access scenarios

4477 10/21/2008 03:32 PM daigle

Add test cases for EML 2.1.0 documents. Add some generics typing.

4476 10/21/2008 03:32 PM daigle

Add test cases for EML 2.1.0 documents. Add some generics typing.

4445 10/10/2008 05:15 PM daigle

New test case to test xml schema registration.

4407 09/29/2008 11:15 AM daigle

Delete test document after test is through.

4385 09/24/2008 11:28 AM daigle

Convert remainder of tests that use PropertyService to extend the MCTestCase class

4384 09/24/2008 11:28 AM daigle

Convert remainder of tests that use PropertyService to extend the MCTestCase class

4360 09/19/2008 08:31 AM daigle

Add debug statements

4356 09/16/2008 01:39 PM daigle

Increase test cases to include testing read action which reads file from disk and squery which reads from db. Create separate cases for eml 2.0.1 and 2.1.0

4355 09/16/2008 01:38 PM daigle

Move common constants into MCTestCase base class

4339 09/03/2008 09:08 AM daigle

Add more debug statements

4338 09/03/2008 09:08 AM daigle

Add more debug statements

4337 09/03/2008 09:07 AM daigle

Make sure DatabaseService gets instantiated

4333 08/28/2008 01:28 PM daigle

Add test cases for eml 2.1.0 documents

4303 08/22/2008 04:29 PM daigle

Add debug statements

4302 08/22/2008 04:28 PM daigle

Add more PropertyService tests

4301 08/22/2008 04:27 PM daigle

Convert class to extend MCTestCase. Add debug statements.

4231 08/13/2008 08:59 AM daigle

Convert properties to camel case

4213 08/05/2008 05:50 PM daigle

qualify xml and eml properties with an xml. prefix

4212 08/05/2008 05:33 PM daigle

Continue to qualify property names

4209 08/05/2008 04:44 PM daigle

Initial addition of PropertyService test.

4172 07/28/2008 05:04 PM daigle

Qualify harvester properties

4151 07/22/2008 09:21 AM daigle

Add debug statements

4150 07/22/2008 09:20 AM daigle

Extend TestCase. Fix accountnum property getter.

4149 07/22/2008 09:19 AM daigle

Extend MCTestCase

4146 07/18/2008 10:06 AM daigle

Add verbose debug statements. These are toggled by the test.printdebug property in metacat.properties

4145 07/18/2008 10:02 AM daigle

Extend MCTestCase to handle initialization of PropertyService

4127 07/15/2008 10:16 AM daigle

Replace Options class with PropertyService and create PropertyService using log directory name instead of servlet context

4126 07/15/2008 10:16 AM daigle

Use qualified test properties

4080 07/06/2008 09:25 PM daigle

Merge 1.9 changes into Head

3879 05/16/2008 11:22 AM Jing Tao

Check into cvs head. Modify some query string.

3875 05/15/2008 06:25 PM Jing Tao

Check into cvs head. Add initialize option statment at the beginging of the class.

3873 05/15/2008 05:43 PM Jing Tao

Check into cvs head. Add the statement to initialize option.

3870 05/15/2008 05:13 PM Jing Tao

Check into cvs head. Move the initialize option statement to the begining of class.

3868 05/15/2008 04:59 PM Jing Tao

Checkinto cvs head.Move the initialize option statement to the begining of class, since user name is using getting option.

3815 05/01/2008 04:10 PM Jing Tao

Fixed syntax error: no ; at an end of import statement.

3780 04/02/2008 04:28 PM daigle

Changes to remove ANT tokens for the turnkey install project

3779 04/02/2008 03:21 PM Jing Tao

Add code to test upload same identifier twice.

3760 03/06/2008 04:57 PM Jing Tao

Remove commented test case.

3756 03/03/2008 06:17 PM Jing Tao

Modified the test for nonlationcharacter.

3748 02/28/2008 02:31 PM Jing Tao

Add a junit test for test AuthLdap. Currently we have getPrincipals test.

3696 01/28/2008 11:10 AM Jing Tao

Add method to handle origianl data file error in IPCC eml document

3694 01/24/2008 06:40 PM Jing Tao

Modify this class in order to correct data file name in some IPCC eml documents

3665 12/19/2007 05:21 PM Jing Tao

Fixed the implement of java class which will upload ipcc data.

3662 12/18/2007 05:58 PM Jing Tao

Add a file which will upload ipcc data to metacat.

3588 11/06/2007 05:29 PM Jing Tao

In reuseSession and reuseInvalidSession method, metacat.logout statement were added to make sure it will use fresh Metacat object.

3584 11/06/2007 02:43 PM Jing Tao

Add test cases to test combination of allow and deny rules. Modify the generate id method to make sure id is unique.

3576 11/05/2007 06:20 PM Jing Tao

Add token to replace usr/password

3567 11/03/2007 10:16 PM Jing Tao

Add code to initialize Options and some code clean up

3566 11/03/2007 09:09 PM Jing Tao

Add code to initialize Options. Otherwise will get null exception.

3546 10/31/2007 04:42 PM Jing Tao

Test file to see how long it will take to build records in xml_queryresult table.

3465 09/19/2007 06:44 PM Jing Tao

Add a new test to test new query method with qformat.

3425 09/11/2007 05:35 PM Jing Tao

Add more test (update) on upload

3359 08/16/2007 11:37 AM Jing Tao

Delete a test for printAttributeQuery which was delete from java file.

3330 07/26/2007 06:26 PM Jing Tao

Test file for query group.

3278 05/11/2007 04:15 PM Jing Tao

A query client to test metacat performance

3244 04/18/2007 02:26 AM Matt Jones

Added a new class called Sitemap that is used to generate a series of XML documents representing the URLs of metacat documents following the sitemap protocol. The Sitemap class extends TimerTask so that it can be scheduled to run once a day or so. New configuration options were added to metacat.properties to control where the sitemaps are written and hw often they are updated. By default we do it once a day, as more often is overkill for search engines....

3212 03/26/2007 02:47 PM Jing Tao

Currently every MetacatClientTest will generate new doicd and the the docid will be reused. So it will generate problem. I add new method to persistent the doicd in a file and this problem was fixed.

3187 03/02/2007 03:18 PM Jing Tao

The generateId method somethimes couldn't generate a unique id if you put them
into a big for loop. So i added append to a random number at the end. It works wll

3186 02/27/2007 04:16 PM Jing Tao

Add delete method in inserting spatial data.

3172 02/07/2007 03:50 PM Jing Tao

Add new method to keep inserting spatial data.

3170 02/07/2007 01:55 PM barteau

Fixed exception handler

3080 11/10/2006 11:30 AM Matt Jones

Eliminated the 'release' ant tag from the rest of the files. The 'release' property is still used in build.xml for creating releases, but the filter is no longer presnt. Now, when updating the metacat files for a release, you have to set the release version in both the build.xml and the metacat.properties files.

2992 04/19/2006 09:17 AM berkley

fixed bugs in teh client that were preventing the lsid service from working right

2988 04/17/2006 10:54 AM sgarg

fix to the earlier commit. the code was dependent on 1.5. this one isnt

2987 04/17/2006 10:35 AM sgarg

fix to the generateDocid() function so that the docid generated always is bigger than the earlier one.

2981 04/14/2006 02:08 PM Matt Jones

Added new function getLastDocid to the metacat client so that it is
accessible to clients that need it.

2917 02/24/2006 01:18 PM Matt Jones

Some changes to the tests to use Logger rather than debugMessage().

2451 04/04/2005 05:47 PM sgarg

Removed unwanted code.

2448 04/04/2005 04:21 PM sgarg

Fixed a bug in previous commit and added a test for characters like mu.

2440 04/01/2005 04:09 PM sgarg

Adding test for checking Metacat behaviour when characters outside A-Z,a-z,0-9 are entered.

Related bugs: 1711, 1538 (1711 has been fixed as tested by this file. Have to add code to test 1711)

Currently checking for
> when < > & is entered - test fails as expected as document is invalid...

2382 01/20/2005 02:22 PM Duane Costa

Change URL value for Harvest unit tests.

2338 12/16/2004 04:35 PM Jing Tao

Add a new test case for testing get newest revision number.

2329 10/19/2004 09:59 AM Matt Jones

Removed hardcoded path from EventLogTest.

2328 10/18/2004 02:42 PM sgarg

Fixed a bug.