Project

General

Profile

Statistics
| Revision:

# Date Author Comment
1087 05/15/2002 05:29 PM Jing Tao

Add a new class named DBConnectionPool. This class will create DBConnection pool and other user can get or return connection to it.

1086 05/15/2002 03:15 PM Jing Tao

Add this new class into meta package. DBConnection class repsent a conncetion and its information.

1085 05/15/2002 08:23 AM Jing Tao

Add some debug message in the code.

1084 05/14/2002 06:25 PM Jing Tao

Add a variable named junittesturl there.

1083 05/14/2002 06:23 PM Jing Tao

Add setCookie method in this class. Junit test class need this method.

1082 05/14/2002 06:21 PM Jing Tao

Add test case for inert, read, update, delete xml documents and logout action too.

1081 05/12/2002 06:30 PM Jing Tao

Add a access control for MetaCatServlet to update a document which home server is not local metacat.

1080 05/11/2002 05:43 PM Jing Tao

Change datafilepath's value and it should equals the property value of datafilepath in build.xml.

1079 05/11/2002 05:41 PM Jing Tao

Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.

1078 05/10/2002 06:26 PM Jing Tao

Add a control to accept data or not

1077 05/10/2002 06:25 PM Jing Tao

Add two controls to send or accept data.

1076 05/10/2002 06:24 PM Jing Tao

Add control to send data or not

1075 05/10/2002 06:24 PM Jing Tao

Add two control for send or accept data file

1074 05/10/2002 06:23 PM Jing Tao

Add two variables replicationsenddata and replicationacceptdata

1073 05/10/2002 06:22 PM Jing Tao

Add two variables named replicationsenddata and replicationacceptdata. Metacat administrator can configure metacat can send or accepte or both to data file

1072 05/10/2002 02:21 PM Jing Tao

In writeDocumentToDB method, during insert action, rev value can be assigned too. It is useful for replication.

1071 05/09/2002 05:43 PM Jing Tao

Revised update method.

1070 05/09/2002 05:40 PM Jing Tao

Add a control to get data file granted in handleUploadMethod.

1069 05/09/2002 05:39 PM Jing Tao

Revised the method writeDataFile, writeReplication and writeToDB

1068 05/08/2002 05:20 PM Jing Tao

Revise Update method.

1067 05/08/2002 05:19 PM Jing Tao

Apply DocumentImp.writeReplication and DocumentImp.writeDataFile in deltaT replication

1066 05/08/2002 04:08 PM Jing Tao

Fixed some db connection problem

1065 05/08/2002 04:07 PM Jing Tao

Fixed some db connection bug.

1064 05/08/2002 04:06 PM Jing Tao

Delete a some useless code for connection pool

1063 05/08/2002 04:04 PM Jing Tao

Fixed some DB connection bug.

1062 05/08/2002 04:03 PM Jing Tao

Assign debug level to parser. (it level is 50)

1061 05/08/2002 09:28 AM Jing Tao

Use DocumentImpl.getDocHomeServer method to get home server in method handleGetDocumentInfo

1060 05/08/2002 09:27 AM Jing Tao

Change the method getLocalReplicationServerName to be static

1059 05/08/2002 09:25 AM Jing Tao

Add the feature to get doc home server into method getDocumentInfo.
Add a method to return docHomeServer.

1058 05/07/2002 05:00 PM Jing Tao

Fixed a bug in method getHomeServer

1057 05/07/2002 04:59 PM Jing Tao

Revise the method getDocumentInfo. Home server of documnet is added in it.

1056 05/07/2002 04:57 PM Jing Tao

Revised handleUploadRequet.

1055 05/07/2002 04:56 PM Jing Tao

Add three methods into this class. One is named getServerCode, to given a server name, it return server code in xml_replication table.
One named insertServerIntoReplicationTable, if a server is not in the server list, it will insert it.
One is named WriteReplication, this method will be used in forceReplication. It delete the replication code in it.

1054 05/07/2002 04:52 PM Jing Tao

Delete the control that when action="insert", rev should be 1

1053 05/06/2002 11:30 AM Jing Tao

Overload a method debugMessage(String msg, int debugLevel)
User can set a debugLevel for this message. If debugLevel is less than the default a value in build.xml, this message will be printed.
If user set a value less than or equals 0, debugLevel will be set automatically to 1. So we can set default value to 0 in build.xml file and close all debug message.

1052 05/06/2002 11:21 AM Jing Tao

Add a variable named debuglevel here. It control the differrent debug level message will be printed.

1051 05/06/2002 11:20 AM Jing Tao

Add a property named debuglevel in it. This property will control the debug message. It set higher, more debug message will print out

1050 05/03/2002 05:03 PM Jing Tao

This file now contaions login testing for nceas, pisco and lter ldap server. It includes both successful and failed login testing.
More testing such as insert xml document and data file ... will coming.

1049 05/03/2002 05:01 PM Jing Tao

Revise junit testing part and make it working.
Delete the variables for httpclient.jar and junit.jar

1048 05/02/2002 01:43 PM Jing Tao

This jar file can be deleted.

1047 05/02/2002 01:42 PM Jing Tao

This jar file will install in ant/lib.

1046 05/01/2002 05:37 PM Jing Tao

Add two variables junit and httpclient in cpath

1045 05/01/2002 05:36 PM Jing Tao

In order to implementate junit, this jar file is needed.

1044 05/01/2002 05:34 PM Jing Tao

In order to test MetacatServlet, we need use HttpMessage class, so add this jar file

1043 04/30/2002 08:33 AM Jing Tao

Add two methods getHomeServer and getServerLocation. Given a docid, getHomeServer can get the information of its home host. Given a docid, getServerLocation can return server code for it.

1042 04/30/2002 08:29 AM Jing Tao

In handleUpdateRequest method, if a metacat was configured to be hub super, it can provide any documents in its database. If the metacat is notsuper, it only provide the documents list which home host is itself.

1041 04/30/2002 08:25 AM Jing Tao

Adding a hub control to data file in handleUpLoad method. Data file was changed can be replicate to all server or only home host.

1040 04/30/2002 08:21 AM Jing Tao

Add a hashtable - server list as a class variable. So programmer have a control to the server list which will be forced to replicate.

1039 04/30/2002 08:18 AM Jing Tao

Add a hub control in write and writeData method. If hub==super, metacat can replicate any document in its database to any server in server list. If it is not super, metacat only replicate local documents to any server in server list. If a document' home host is not itself, metacat only force replicate the document to the document's home host.

1038 04/30/2002 08:12 AM Jing Tao

Adding a variable "hub". If hub=super, the metacat can replicate the documents and data file which's home host is not itself.

1037 04/26/2002 05:33 PM Jing Tao

In update method, adding some code to handle replicate data file. Fixed the bug in deleting documents.

1036 04/26/2002 05:31 PM Jing Tao

Making parser to handle datafile attribute in parsing updated doclist.

1035 04/26/2002 05:30 PM Jing Tao

Add a new attribute in updated doc list: data file. So from this attribute, we can tell which document is a data file.

1034 04/26/2002 05:27 PM Jing Tao

In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem

1033 04/26/2002 01:38 PM Jing Tao

Add a new variable datafileflag. This variable will indicate if a document is a data file in updated documents list in replication.

1032 04/25/2002 05:02 PM Jing Tao

Add two controls for handle replication server list is empty and updated document list is empty

1031 04/25/2002 05:01 PM Jing Tao

Using DocumentImpl.writeDataFile method in handleReplicateDataFileRequest. Make code simple.

1030 04/25/2002 04:59 PM Jing Tao

Add a control to handle if the server list is empty.

1029 04/25/2002 04:58 PM Jing Tao

Add a method named writeDataFile. This method will register data file into xml_documents table and save a input stream to a file.

1028 04/25/2002 11:21 AM Jing Tao

Adding a new feature that in uploaddatafile that the datafile can be replicated.

1027 04/25/2002 11:19 AM Jing Tao

Adding a control which can turn on or off replcation data file.

1026 04/25/2002 11:18 AM Jing Tao

Add method getDataFileLockGrant(). This method will check if xml-document of data file can be store into database.

1025 04/24/2002 10:28 AM Jing Tao

Add some new format.

1024 04/24/2002 10:28 AM brooke

changed .highlight style so font-size attribute is 1em instead of -1. Original -1 setting was not NN4 compatible

1023 04/23/2002 06:09 PM Jing Tao

Add two method: handleGetDataFileRequest and handleForceReplicateDataFile. The two methods will handle data file replication.

1022 04/23/2002 06:07 PM Jing Tao

Adding handle force replication data file part.

1021 04/23/2002 06:06 PM Jing Tao

Add a new method named unRegisterDocument. This method will delete the record in xml_document table which is for a data file

1020 04/19/2002 06:52 PM Jing Tao

Figure out the configuration issue about replication. If metacat was configured to set replication off in build.xml, it will reject replication.

Adding a method named handleGetDataFileRequest. User can download data file from replcication now.

1019 04/19/2002 06:47 PM Jing Tao

Change replication and replicationdata to be tokens

1018 04/19/2002 06:40 PM Jing Tao

Adding two properties: replication and replicationdata. Administor can config build.xml instead of metacat.properties file.

1017 04/18/2002 05:54 PM Jing Tao

Add two variable: replication and replicationdata.
If administrator set replication on, replication will work. Set it off, it stop.
If administrator set both replication and replicationdata on, metacat will replicate both meta data and data. If replication is set on and replciationdata set off, metacat only replicate meta data.

1016 04/18/2002 03:35 PM Jing Tao

Currently, some document in xml_document table doesn't have entries in
xml_access table. This is okay during the old access policy.
But we changed the access policy( see bug 437 ) and if there is no entry in
xml_access table, except owner, other person can not access it....

1015 04/16/2002 06:21 PM Jing Tao

Fixed the bug that handle force replication

1014 04/16/2002 06:20 PM Jing Tao

Fixed the bug that to handle forceReplication action

1013 04/16/2002 06:19 PM Jing Tao

Add a method named getLocalReplicationServerName

1012 04/16/2002 06:18 PM Jing Tao

Fixed the bug metacat will set server location to 1, no matter it is.

1011 04/15/2002 06:04 PM Jing Tao

Fixed the getall didn't work. Now local host can insert or update documents from remote host.
But still there some problem on force replcation.

1010 04/15/2002 06:01 PM Jing Tao

Adding a variable "context " here.

1009 04/15/2002 06:01 PM Jing Tao

Adding a new token "context" in it.

1008 04/15/2002 01:53 PM Jing Tao

Token for the server is changed to correct one.

1006 04/11/2002 08:35 AM Jing Tao

Fixed getGroup method return a exception and cause authenticate failed.

1005 04/11/2002 12:18 AM Matt Jones

Fixed the getIdentifyingName() sub so that it properly looks up someones
DN if passed in a DN that is an alias. This is mainly important for
sites like PISCO that use a different root to their tree than the
ecoinformatics.org tree. Now we can successfully authenticate againast...

1004 04/10/2002 10:04 PM Jing Tao

Some changes for pisco.

1003 04/10/2002 04:08 PM berkley

updated some spelling and grammar errors

1002 04/10/2002 03:51 PM berkley

turned debug off for the release

1001 04/10/2002 03:18 PM berkley

hopefully fixed the connection closed error.

1000 04/10/2002 02:09 PM berkley

fixed groups error, I hope.

999 04/10/2002 11:21 AM Matt Jones

Removed obsoleted marine files. See the new "marine" module for
relevant copies of these files.

998 04/10/2002 11:06 AM Matt Jones

New stylesheet that is specific to the KNB website.

997 04/10/2002 08:58 AM berkley

replaced dev.nceas.ucsb.edu with server in the marine index file

996 04/10/2002 08:38 AM berkley

changed some values for the release

995 04/10/2002 08:34 AM berkley

changed some values for the release

994 04/10/2002 08:32 AM berkley

updated data directory note

993 04/10/2002 08:27 AM Jing Tao

When Metacat installed, it can automatically create data directory for data file.

992 04/09/2002 09:08 AM berkley

updated build file. fixed the dist target so it doesn't copy the build directory into the distro.

991 04/09/2002 08:31 AM Jing Tao

fixed auth bug

990 04/08/2002 02:23 PM Jing Tao

Adding a note for user. The user should make a directory under 'webapps/context/'.
The user should have write permission for this directory.

989 04/08/2002 11:36 AM berkley

updated for 1.1.0

988 04/08/2002 11:12 AM Jing Tao

Update the install instruction.

987 04/08/2002 10:39 AM berkley

changed version number from 1.1 to 1.1.0