Project

General

Profile

Statistics
| Revision:

# Date Author Comment
2753 11/17/2005 11:38 AM Matt Jones

Changed logMetacat to be a local variable in MetaCatServlet to avoid any potential threading issues.

2752 11/16/2005 05:27 PM Matt Jones

Metacat has had problems with threading issues when accessed from ecogrid. These problems may stem from the use of shared global variables within the servlet that are not protected against threading problems. We used a lot of these, which I am eliminating in this commit. Besides final variables used as constants (which are not a problem), now there are only three unprotected variables (sessionHash, logMetacat, and conn) which are harder to eliminate. I will be discussiong this with Sid tomorrow to see how to eliminate them.

2751 11/16/2005 01:07 PM Jing Tao

Fixed the bug that replicate data file failed that the documents records wouldn't be deleted.

2750 11/16/2005 01:07 PM Jing Tao

the parameter of method getRevisionTableReList is docidWithoutRev.

2749 11/16/2005 12:38 PM Jing Tao

Fixed bug that data file upload failed, record couldn't be deleted.

2741 11/16/2005 09:57 AM Duane Costa

Bug #2207: Implementation of the Metacat Advanced Search engine.

2740 11/15/2005 04:59 PM Jing Tao

Fixed a bug in log

2739 11/12/2005 06:15 PM Jing Tao

Fixed log bug when xml_revision updated failed.

2738 11/11/2005 12:15 PM Matt Jones

Removed extra package declaration in LSID java file.

2737 11/11/2005 12:09 PM Matt Jones

Initial checkin of LSID support code for metacat. The LSID support here
provides access to metacat documents through an LSID identifier. The
identifier takes the form:
urn:lsid:ecoinformatics.org:jones:1:1

See http://lsid.sourceforge.net for more details....

2734 11/11/2005 10:01 AM sgarg

Changes in calls made to IndexingQueue class

2733 11/11/2005 10:00 AM sgarg

A version with less number of bugs.

2732 11/10/2005 02:13 PM sgarg

New code for run an indexing queue and indexing thread which runs every 24 hours

2731 11/10/2005 01:40 PM sgarg

Removed the call to indexing function in DBSAXHandler and added a call to indexing function IndexingQueue

2730 11/10/2005 01:38 PM sgarg

removed the indexing code from DBSAXHandler

2729 11/10/2005 01:34 PM sgarg

1. Added code to start the indexing thread.
2. Fixed a bug in the query on xml_nodes and xml_index
3. Added more debug statements
4. Fixed a bug in code which determines namespace

2728 11/10/2005 01:22 PM sgarg

New function which returns the formatted left join query. This is required as Oracle and postgres have different left join syntax

2725 11/08/2005 06:53 PM Jing Tao

Add more debug info.

2724 11/08/2005 02:14 PM Jing Tao

Using join query for more efficiency.

2723 11/08/2005 02:03 PM Jing Tao

Add class as parent class add method.

2722 11/08/2005 02:02 PM Jing Tao

Add method as parent class adding method.

2721 11/08/2005 02:02 PM Jing Tao

Add method as parent class adding a method.

2720 11/08/2005 02:01 PM Jing Tao

Add a method to get doc list query.

2719 11/08/2005 10:21 AM Jing Tao

Fixed bug to get docid list.

2717 11/02/2005 03:52 PM Jing Tao

Add more info transfer.

2716 11/02/2005 11:07 AM sgarg

Modified the WARNing message

2715 11/02/2005 10:31 AM sgarg

Fix for bug in the previous commit

2714 11/02/2005 10:16 AM sgarg

Modified the debug levels of debug statements

2713 11/01/2005 05:01 PM Jing Tao

Add code to handle replication document in xml_document table.

2712 11/01/2005 02:19 PM sgarg

Modification in algo:

1. Find if the root element has prefix (e.g. <eml:eml>). If found, go to step
2, otheriwse go to step 3.

2. Look for xmlns:prefix element to find the ns
(e.g.:xmlns:eml="eml://ecoinformatics.org/eml-2.0.0")
2.a If not found go to step 4...

2711 11/01/2005 02:09 PM sgarg

Bugfix for 2091. Removed the function needValidation(). Added function getPrefix which returns the prefix. And use the following steps to find out the namespace

1. Find if the root element has prefix (e.g. <eml:eml>). If found, go to step
2, otheriwse go to step 3....

2703 10/31/2005 05:24 PM Jing Tao

Add code to handle catalog is null when inserting xml_revisions table.

2702 10/31/2005 04:19 PM Jing Tao

Add code to handle write record into xml_documents when catalog id is null.

2701 10/31/2005 12:56 PM sgarg

Bugfix to the code which sets parentnodeid in xml_path_index. (Use setInt instead of setFloat)

2698 10/27/2005 04:46 PM sgarg

Removed sql syntax not acceptable by Oracle.

2697 10/27/2005 04:15 PM sgarg

Changed the filter and ldapbase values in getUserInfo so that it works for both NCEAS and LTER ldap

2693 10/26/2005 09:44 AM sgarg

Bug fix in the changes made in previous commit

2690 10/24/2005 05:11 PM sgarg

Added warning to be displayed in the log when document is not inserted.

2683 10/20/2005 11:39 AM sgarg

Added support in the metacat client for the new function added to MetaCatServlet

2682 10/20/2005 11:38 AM sgarg

Added a new action - getloggedinuserinfo - which returns information about the user in the following format.

<user>
<username>uid=sgarg,o=NCEAS,dc=ecoinformatics,dc=org</username>
<name>Saurabh Garg</name>
<isAdministrator/>
<isMOderator/>
</user>

2681 10/20/2005 11:34 AM sgarg

Removed code entered in previous commit as it is no longer needed

2680 10/20/2005 11:32 AM sgarg

Also in the previous commit, the successful message changed. Now in addtion to the sessionid tag, the following tags also included: <name>[name of the user]</name>, <isModerator> (if is moderator) and <isAdministrator> (if is Administrator)

2679 10/20/2005 11:26 AM sgarg

Added a new function - getUserInfo to AuthInterface and AuthLdap
The function returns a string array for a given username. the array contains the name, organization name and email address of the user. In case of ldap, it is cn, o and mail attributes for ldapbase=username...

2677 10/17/2005 11:15 AM sgarg

Fixed a bug in QueryGroup which prevented QueryGroup from appending itself to the sql query when no queryTerm is present.

2668 10/10/2005 12:27 PM sgarg

Changes in log levels of some commands mentioned in the previos commit.

2666 10/10/2005 11:25 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2665 10/10/2005 11:22 AM sgarg

Commited the wrong MetaCatUtil.java file last time. Making the changes again.

1. Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
2. Commented out debugMessage()
3. Removed getLog() and earlier old log4j code...
2664 10/10/2005 11:20 AM sgarg

1. Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
2. Commented out debugMessage()
3. Removed getLog() and earlier old log4j code
4. Removed formattedDebugMessage

2663 10/10/2005 11:06 AM sgarg

Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call

2658 10/06/2005 11:37 AM sgarg

if moderator is logged into metacat and no option for enable-editing is specified then enable editing by default

2654 10/05/2005 01:43 PM sgarg

Fix for bug 2222. So that correct query is generated when searchmode is 'not-contains'.

2653 10/04/2005 07:20 PM Jing Tao

Change the method to get access document docid and revision.

2652 10/04/2005 07:19 PM Jing Tao

Fixed bug which can cause eml beta6 couldn't run access control.

2650 10/04/2005 06:13 PM Jing Tao

Add rev in get data doc info.

2649 10/04/2005 06:12 PM Jing Tao

Fixed a bug if one server failed in replication, it will cause another server failed.

2648 10/04/2005 05:22 PM Jing Tao

Add code to guess the docid's revision in read action.

2647 10/04/2005 04:17 PM Jing Tao

Remove some debug message.

2646 10/04/2005 04:16 PM Jing Tao

Fixed bug couldn't delete xml_nodes when moving to xml_nodes_revision in replication.

2641 10/04/2005 10:58 AM Jing Tao

Change the code to make sure DocumentImpl class's constructor should have rev attached.

2640 10/04/2005 10:57 AM Jing Tao

Remove this file.

2635 10/03/2005 02:32 PM sgarg

fix for the bug entered in previous fix

2634 10/03/2005 02:19 PM sgarg

Fix for bug in QueryGroup. Didnt check if the QueryGroup returned empty string. E.g. in case of a % search.

2629 10/02/2005 03:38 PM Jing Tao

Fixed bug which currentDocument maybe null.

2628 10/02/2005 03:37 PM Jing Tao

Fixed bug which currentDocument may be null.

2627 10/02/2005 03:37 PM Jing Tao

fixe bug which currentDoc maybe null.

2626 10/02/2005 03:36 PM Jing Tao

Add code to transfer string to date type.

2625 10/01/2005 09:57 PM Jing Tao

Add function transfer string to date.

2624 10/01/2005 09:21 PM Jing Tao

Add date info.

2623 10/01/2005 09:20 PM Jing Tao

Add info about date.

2622 10/01/2005 09:20 PM Jing Tao

Changes according add data info.

2621 10/01/2005 09:18 PM Jing Tao

Rewrite replication for revision document.

2620 10/01/2005 09:17 PM Jing Tao

Add code to get date info

2619 09/30/2005 08:55 PM Jing Tao

Fixed the bug in xml segment is not correct to express revision document list.

2618 09/30/2005 08:27 PM Jing Tao

Remove the print out statement.

2616 09/30/2005 05:40 PM Jing Tao

Fixed some bug in replication.

2608 09/30/2005 12:48 PM Jing Tao

Add code to handle deleted document replication.

2607 09/30/2005 12:47 PM Jing Tao

Add code to handle replicate the deleted document.

2606 09/30/2005 12:47 PM Jing Tao

Add method to get revision list in xml_revisions table for a given docid.

2605 09/30/2005 12:46 PM Jing Tao

Add code to handle replication deleted docs.

2604 09/30/2005 12:44 PM Jing Tao

Change setString to setInt for ticket account because driver changes.

2597 09/22/2005 05:02 PM Jing Tao

Add code to get revision table info

2596 09/15/2005 03:29 PM Jing Tao

New class to handle replicated deleted doc.

2595 09/15/2005 03:29 PM Jing Tao

Add default constructor and change some viriable to protected.

2594 09/15/2005 03:24 PM sgarg

added code to define LOG_CONFIG_NAME

2593 09/14/2005 11:50 AM sgarg

Added code to start threads which initiate indexing once insertion to xml_nodes is complete.

2592 09/14/2005 11:45 AM sgarg

Removing the code that calls the indexing thread. This call will be made from documentImpl.java once document insertion and update is finished.

2591 09/14/2005 10:50 AM sgarg

Added support for log4j to MetaCatUtil so that it can be used by Metacat code for logging.

2590 09/13/2005 03:08 PM Jing Tao

Add a new indicator - is revision document.

2589 09/09/2005 01:59 PM sgarg

Replacing debugMessage in metacat code with log4j methods for logging

2588 09/09/2005 01:51 PM sgarg

Replacing debugMessage with log4j methods for logging

2586 09/09/2005 01:10 PM Jing Tao

Add code to check the if the user has permission to start or stop timed replication.

2585 09/09/2005 01:08 PM Jing Tao

Add some null checking code in onList method.

2582 09/09/2005 10:42 AM Jing Tao

Change sessionHash to static variable and add a static get method.

2581 09/08/2005 04:40 PM Jing Tao

Use a util function to get replication server.

2580 09/08/2005 04:07 PM sgarg

Fix for bug 2060.

Moved the call to starting of indexing thread from endDocument to DocumentImpl after commit has been done. This way when ever a document is indexed it has already been entered in xml_nodes and xml_documents

2579 09/08/2005 04:03 PM Jing Tao

Use a util class to get local replication url.

2578 09/08/2005 04:02 PM Jing Tao

Add code to trim server name white space.

2576 09/08/2005 01:41 PM sgarg

Modified MetaCatUtil to read metacat access control lists from metacat.properties. Also coded various methods which can be used to find out if a user is an admin, moderator or on allowed/denied submitter list.

Modified MetaCatServlet to check if a user is allowed to insert/update before insert and update is done.

2574 09/08/2005 01:19 PM Jing Tao

Add code to trim white space in server name.

2573 09/08/2005 10:49 AM Jing Tao

Remove output stream from the constructor.