Project

General

Profile

Statistics
| Revision:

# Date Author Comment
601 12/12/2000 02:32 PM berkley

changed connection handling in the constructor

600 12/12/2000 01:36 PM bojilova

one more write() method was needed

599 12/12/2000 01:29 PM bojilova

constructor DBEntityResolver(Connection conn) is needed; cleared by mistake

598 12/12/2000 12:50 PM bojilova

DBEntityResolver:
- added new parameter dtd for upload on Metacat file system; optional; Reader
- new routines to upload dtd if provided
- systemID of metadata document is used to exctract the filename of new dtd;
- the new dtd is uploaded on Metacat file system as specified by dtdPath property;...

596 12/12/2000 12:01 PM bojilova

enable the UNIQUE constraint in xml_catalog table

595 12/12/2000 10:55 AM berkley

added additional actions to facilitate a web based interface to the replication servlet.

593 12/11/2000 12:26 PM berkley

removed the initial connection pool creation step in init()

592 12/08/2000 02:39 PM higgins

comment out line in read action that sends a copy of docid prior to returning doc
in XML format (apparent debug statement left in by mistake)

590 12/07/2000 03:11 PM berkley

added replication for the xml_catalog table. Right now it is only replicated when the deltaT handler is called. I will add more replication times later.

589 12/07/2000 03:10 PM berkley

parser for the xml encoding of the xml_catalog tableing (fi

584 12/06/2000 01:26 PM berkley

added a logging system for replication. The log file location is set in metacat.properties

583 12/06/2000 10:33 AM berkley

cleaned up code, added more complete documentation of replication algorithms and datastructures.

582 12/06/2000 09:59 AM berkley

made replication on insert or update us. Also made a method in AccessionNumber public so that you can tell if an accession number has already been used.e place be

581 12/06/2000 09:57 AM berkley

An asynchronous replication handler. This class creates a new thread to handle replication so that the user does not have to wait for replication to take place before he/she sees the result of an insert or update.

580 12/05/2000 02:50 PM berkley

updated file locking mechanisms to use revisions instead of dates.

579 12/01/2000 04:28 PM berkley

fixed typo, removed extra print statements

578 12/01/2000 03:30 PM berkley

a script for clearing the contents of a metadat DB without destroying the table structures and without erasing the DTD and XSL entries in xml_catalog.

577 12/01/2000 03:27 PM berkley

added replication_on_insert handling. Changed replication from date_updated base replication to revision number replication.

576 11/30/2000 02:41 PM bojilova

change the generation of Accession# in the form of <sidecode>.<createdate>

575 11/30/2000 01:32 PM berkley

added revision number tracking support to xml_documents and xml_revisions. Also added an updated flag as a replacement for date based replication handling.

574 11/30/2000 11:43 AM berkley

replication on insert functionality is now working.

573 11/29/2000 03:18 PM berkley

added more replication/file locking functionality.

572 11/29/2000 09:15 AM berkley

added more locking support and support for remote update of files.

571 11/29/2000 09:07 AM berkley

added more locking functionality for replication

570 11/28/2000 05:15 PM bojilova

AccessControlList
- methods for parsing and loading acl file
- checkup method for permission for given principal on given resource
DBQuery
- checkup for READ permission using AccessControlList.hasPermission()
DocumentImpl
- using AccessControlList object to parse and load an acl file into xml_access table...

569 11/28/2000 10:16 AM berkley

cleaned up code, added new static methods to MetacatReplication for handling static queries and getting URL content.

568 11/28/2000 08:30 AM berkley

updated insert handling and added an action to request the time from a remote server.

567 11/28/2000 08:27 AM berkley

created locking action in replication servlet and added semi-support to documentImpl to handle documents updatedee by replicatio

566 11/27/2000 01:55 PM Matt Jones

Modified stylesheets and server code to use a single "read" action instead
of the earlier "getdocument" and "getrelateddocument" actions. In the
process, developed and started to utilize a new suite of URL "protocol
handlers" that are in the package "edu.ucsb.nceas.protocols" and handle...

565 11/27/2000 01:25 PM Matt Jones

Fixed typo in create table syntax (added missing comma) for xml_access table.

563 11/22/2000 06:18 PM Matt Jones

Added a new URL protocol handler class for the metacat protocol. This
class will replace the current MetacatURL class in a much simpler and
extensible manner. See the documentation for java.net.URLConnection and
java.net.URL for details.

562 11/22/2000 02:56 PM berkley

this class allows the parsing of xml data sent by a replication server to assertain document info about a remote document.

561 11/22/2000 02:55 PM berkley

added functionality to allow the replication servlet to assertain and insert user and group info into the local database. started implementation of insert replication handler (it is commented out in this commit)

560 11/22/2000 02:26 PM bojilova

CREATE TABLE xml_access (
docid VARCHAR2, -- the document id #
principal_name VARCHAR2, -- name of user, group, etc.
permission NUMBER, -- "read", "write", "all"
perm_type VARCHAR2, -- "allowed" or "denied"
perm_order VARCHAR2 -- "allow first" or "deny first"...

559 11/22/2000 09:39 AM berkley

fixed compatibility problem by overloading the write method. Jivka's new parameter (Reader acl) is now defaulted to null if it is not explicitly declared.

557 11/21/2000 11:43 AM bojilova

added interface to handle a new "acl" parameter bringing the text of a xml access file for a given metadata document
the "acl" parameter is optional and should be sent on INSERT or UPDATE action.

556 11/21/2000 10:14 AM bojilova

added ticket_counter and deny attributes to xml_access table

555 11/21/2000 10:04 AM bojilova

new class for parsing ACL XML file and loading acl data into metacat db

554 11/20/2000 09:11 AM berkley

added delete functionality

552 11/17/2000 02:34 PM berkley

added support for server_location in the xml_revisions table.

551 11/16/2000 03:36 PM berkley

removed inadvertent comments

550 11/16/2000 03:32 PM berkley

added needed table fields for storing document location in xml_documents

549 11/16/2000 03:26 PM berkley

removed dependence on a server code in the accession number of each document. the file's resident server is now located in xml_documents.server_location.

545 11/16/2000 11:03 AM berkley

no message

544 11/16/2000 11:01 AM berkley

added new server_location field to xml_documents with a foreign key to xml_replication.serverid

543 11/16/2000 08:50 AM berkley

now updates the xml_replication last_checked field

542 11/16/2000 08:40 AM berkley

updated javadoc documentation

541 11/15/2000 10:18 AM bojilova

fixed bug/typo

540 11/15/2000 08:28 AM berkley

no message

537 11/14/2000 11:01 AM berkley

no message

536 11/14/2000 09:26 AM berkley

changed action scheme

535 11/13/2000 05:04 PM Matt Jones

Modified pathquery.dtd and QuerySpecification to allow some new constraints
on queries submitted to Metacat. Now, queries can contain an optional
set of <owner> tags that identify the users for which documents should be
returned, and a list of <site> tags constraining the site identifiers...

534 11/13/2000 03:31 PM berkley

can now send a file to another server

533 11/13/2000 03:31 PM berkley

can now download a document from a server

532 11/13/2000 03:30 PM berkley

no message

531 11/13/2000 02:34 PM Matt Jones

Changed utility query to include the user_owner field rather than the
title field, which is now obsolete.

530 11/13/2000 02:26 PM Matt Jones

Fixed typo in DBSAXHandler debug message.

529 11/13/2000 12:54 PM bojilova

not needed any more

528 11/13/2000 10:49 AM bojilova

it is not needed to be here

527 11/13/2000 10:11 AM bojilova

changes for using SRB v1.1.8 at LTER, NM

524 11/09/2000 02:04 PM berkley

changed naming scheme

523 11/09/2000 01:55 PM berkley

changed naming scheme

522 11/09/2000 01:41 PM berkley

changed naming scheme

521 11/09/2000 01:23 PM berkley

servlet to handle metacat replication requests.

520 11/09/2000 01:21 PM berkley

a timer based thread that does Delta-T replication checking.

519 11/09/2000 01:21 PM berkley

a parser to handle replication xml messages

518 11/08/2000 03:06 PM bojilova

change for using the db connection

517 11/08/2000 10:18 AM berkley

updated xml_relation table

515 11/07/2000 08:22 PM Matt Jones

Updated the Javadoc documentation so that the current release can be provided
on the web site.

514 11/06/2000 05:21 PM Matt Jones

Fixed problem with AuthInterface, AuthLdap, and AuthMcat where the
sigantures of the methods of these classes were not in agreement, which was
causing AuthLdap to no longer compile. Changed parameter signatures so that
the 'user' parameter is used consistently in all of the methods.

513 11/06/2000 10:38 AM bojilova

bug fix about util.openDBConnection() for xmlIndex tread

512 11/03/2000 12:02 PM bojilova

small fix for exception when srbMaster is not running

510 11/03/2000 09:38 AM bojilova

XSLT transformation on "login" and "logout" action

509 10/31/2000 03:26 PM bojilova

AuthMcat
- new class for authentication through MCA; implements AuthInterface
AuthSession
- assigning HttpSession obj only after successful athentication;
- cleared isAuthenticated field - not needed
- cleared invalidate() method - not needed
AuthInterface...

505 10/27/2000 07:07 PM Matt Jones

Began work on new UI for the KNB web site. It will be the main query
interface from the KNB website.

504 10/26/2000 02:38 PM Matt Jones

Fixed the LDAP authentication adapter (AuthLdap.java) so that it now looks up
the distinguished name for a user before attempting to do authentication.
This is because the user's distinguished name can sometimes be based on
their uid attribute, but sometimes be based on their cn (common name)...

503 10/24/2000 01:03 PM bojilova

merge AUTH_LDAP to the main branch

502 10/24/2000 09:07 AM bojilova

clear System.exit(0) within the static block

497 10/05/2000 06:50 PM Matt Jones

Various changes to improve consistency of the MARINE and METACAT user
interfaces as presented through the XSL->HTML conversions. Eliminated
one (extraneous) copy of the rowcol.css style sheet in favor of sharing
a single css stylesheet in xmltodb/lib/style/rowcol.css. Modified all...

491 10/03/2000 04:28 PM bojilova

Included script for insert of all eml dtds.

489 10/03/2000 03:48 PM berkley

added functionality to return the doctype of a relation in a relationdoctype tag. This information is now returned automatically in the resultset under the path resultset/relation/relationdoctype.

486 10/03/2000 02:23 PM berkley

removed debug print statements.

485 10/03/2000 02:16 PM berkley

added code for getting stylized related documents

483 10/03/2000 12:55 PM berkley

allowed both indexing threads to run without interfering with each other.

478 09/29/2000 03:37 PM berkley

fixed bug that caused a nullPointerException when a null resultset was returned.

476 09/28/2000 11:05 AM bojilova

Changed to prevent the insertion if the provided Accession# is in use as Dan suggested.

475 09/27/2000 02:37 PM berkley

removed system.out.printlns

473 09/27/2000 01:11 PM berkley

added support for urls of the form "metacat://server.xyz.com?docid=XXX:yy"

472 09/27/2000 01:10 PM berkley

added package and resource data and structures

471 09/26/2000 04:02 PM bojilova

Separate thread used for writing into xml_index table.
This cut the time of the response on insert almost in half.
The tread is started afterwards
(on end of document parsing and inserting into xml_nodes) from
DBSAXHandler and uses new(separate) db connection....

466 09/26/2000 03:07 PM berkley

This class syncronously indexes any package file that is loaded into the database.r

465 09/26/2000 03:06 PM berkley

Added backtrack functionality. Backtracking works by passing a returndoc parameter. There can be more than one. If a document that is hit by a query is not of type returndoc then it searches the database for a related file of type returndoc. If one is found it is displayed, if no relation is found, the original is displayed....

464 09/26/2000 01:03 PM bojilova

included new method getPoolSize()

463 09/20/2000 02:50 PM berkley

added extra timing information to the main() driver method.

462 09/20/2000 01:25 PM bojilova

fix the small bug with output like:
Fatal processing error

<success>
<docid>null</docid>
</success>
on hadleInsertOrUpdateAction()

461 09/20/2000 01:22 PM bojilova

writeDocID() not needed any more
throw SAXException from everywhere

460 09/20/2000 01:21 PM bojilova

on character(cbuf, start, len) included:
if currentNode.getTagName().equals("title")
currentDocument.setTitle(cbuf)
instead of using:
currentDocument.setTitleFromChildElement() in endDocument() call

459 09/20/2000 01:15 PM bojilova

change Assession# generation to use the same db connection

458 09/20/2000 10:58 AM berkley

Updated the download data function. the download data function now pulls a document from the database, zips it up and sends the zip stream to the client. It also zips up any related files. a relation parameter is used to pass related files to the servlet. If only one document should be zipped and sent, a single docid in the param hashtable is sufficient.

457 09/15/2000 05:40 PM bojilova

changes related to decrease the time of INSERT of document.
With these changes I inserted 200KB file for 3 minutes, 50KB for 50sec.
This is mainly simplifing the DBSAXNode class and
using batching feature of Oracle JDBC driver.