Activity
From 04/21/2002 to 05/20/2002
05/20/2002
- 05:27 PM Revision 1098 (metacat): In update method, add code to handle if a user couldn't pass a trusting test.
- 05:25 PM Revision 1097 (metacat): Add a test action in replication. Before handle read and read data file action. Metacat will take a test to see if the trust key in key store. If not, wouldn't replicate documents.This is security issue.
- 05:23 PM Revision 1096 (metacat): Add debugMessage level in this class
- 01:12 PM Revision 1095 (metacat): Add a method getDBConnection. In this method, method name of method which checked out the connection can be passed to DBConnection object. In run() method, if a connection is checked out for too long (30 seconds), the method name and connection name will be print out.
- 01:08 PM Revision 1094 (metacat): Add a attribute named checkOutMethodName and relative method. This variable can keep track which mehod check out the DBConnection.
- 01:06 PM Revision 1093 (metacat): Add two variables here: one is runDBConnectionRecycleThread. If it set "on", the recycle connection tread will run periodically. The other is cycleTimeOfDBConnection. This is for the recycle periodical time in milli seconds.
05/17/2002
- 05:20 PM Revision 1092 (metacat): Add some new methods into this class.
- 05:19 PM Revision 1091 (metacat): Add some new methods in this class.
- 05:18 PM Revision 1090 (metacat): Add some variables to control db connection.
05/16/2002
- 05:44 PM Revision 1089 (metacat): Add some new methods in it. Remove openDBconnection part to DBConnection class.
- 05:43 PM Revision 1088 (metacat): Add some new attributes and methods in it.
05/15/2002
- 05:29 PM Revision 1087 (metacat): Add a new class named DBConnectionPool. This class will create DBConnection pool and other user can get or return connection to it.
- 03:15 PM Revision 1086 (metacat): Add this new class into meta package. DBConnection class repsent a conncetion and its information.
- 08:23 AM Revision 1085 (metacat): Add some debug message in the code.
05/14/2002
- 06:25 PM Revision 1084 (metacat): Add a variable named junittesturl there.
- 06:23 PM Revision 1083 (metacat): Add setCookie method in this class. Junit test class need this method.
- 06:21 PM Revision 1082 (metacat): Add test case for inert, read, update, delete xml documents and logout action too.
05/12/2002
05/11/2002
- 05:43 PM Revision 1080 (metacat): Change datafilepath's value and it should equals the property value of datafilepath in build.xml.
- 05:41 PM Revision 1079 (metacat): Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.
05/10/2002
- 06:26 PM Revision 1078 (metacat): Add a control to accept data or not
- 06:25 PM Revision 1077 (metacat): Add two controls to send or accept data.
- 06:24 PM Revision 1076 (metacat): Add control to send data or not
- 06:24 PM Revision 1075 (metacat): Add two control for send or accept data file
- 06:23 PM Revision 1074 (metacat): Add two variables replicationsenddata and replicationacceptdata
- 06:22 PM Revision 1073 (metacat): Add two variables named replicationsenddata and replicationacceptdata. Metacat administrator can configure metacat can send or accepte or both to data file
- 02:21 PM Revision 1072 (metacat): In writeDocumentToDB method, during insert action, rev value can be assigned too. It is useful for replication.
05/09/2002
- 05:43 PM Revision 1071 (metacat): Revised update method.
- 05:40 PM Revision 1070 (metacat): Add a control to get data file granted in handleUploadMethod.
- 05:39 PM Revision 1069 (metacat): Revised the method writeDataFile, writeReplication and writeToDB
05/08/2002
- 05:20 PM Revision 1068 (metacat): Revise Update method.
- 05:19 PM Revision 1067 (metacat): Apply DocumentImp.writeReplication and DocumentImp.writeDataFile in deltaT replication
- 04:08 PM Revision 1066 (metacat): Fixed some db connection problem
- 04:07 PM Revision 1065 (metacat): Fixed some db connection bug.
- 04:06 PM Revision 1064 (metacat): Delete a some useless code for connection pool
- 04:04 PM Revision 1063 (metacat): Fixed some DB connection bug.
- 04:03 PM Revision 1062 (metacat): Assign debug level to parser. (it level is 50)
- 09:28 AM Revision 1061 (metacat): Use DocumentImpl.getDocHomeServer method to get home server in method handleGetDocumentInfo
- 09:27 AM Revision 1060 (metacat): Change the method getLocalReplicationServerName to be static
- 09:25 AM Revision 1059 (metacat): Add the feature to get doc home server into method getDocumentInfo.
- Add a method to return docHomeServer.
05/07/2002
- 05:00 PM Revision 1058 (metacat): Fixed a bug in method getHomeServer
- 04:59 PM Revision 1057 (metacat): Revise the method getDocumentInfo. Home server of documnet is added in it.
- 04:57 PM Revision 1056 (metacat): Revised handleUploadRequet.
- 04:56 PM Revision 1055 (metacat): 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 Wr... - 04:52 PM Revision 1054 (metacat): Delete the control that when action="insert", rev should be 1
05/06/2002
- 11:30 AM Revision 1053 (metacat): 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...
- 11:21 AM Revision 1052 (metacat): Add a variable named debuglevel here. It control the differrent debug level message will be printed.
- 11:20 AM Revision 1051 (metacat): Add a property named debuglevel in it. This property will control the debug message. It set higher, more debug message will print out
05/03/2002
- 05:03 PM Revision 1050 (metacat): 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.
- 05:01 PM Revision 1049 (metacat): Revise junit testing part and make it working.
- Delete the variables for httpclient.jar and junit.jar
05/02/2002
- 01:43 PM Revision 1048 (metacat): This jar file can be deleted.
- 01:42 PM Revision 1047 (metacat): This jar file will install in ant/lib.
05/01/2002
- 05:37 PM Revision 1046 (metacat): Add two variables junit and httpclient in cpath
- 05:36 PM Revision 1045 (metacat): In order to implementate junit, this jar file is needed.
- 05:34 PM Revision 1044 (metacat): In order to test MetacatServlet, we need use HttpMessage class, so add this jar file
04/30/2002
- 08:33 AM Revision 1043 (metacat): 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.
- 08:29 AM Revision 1042 (metacat): 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.
- 08:25 AM Revision 1041 (metacat): Adding a hub control to data file in handleUpLoad method. Data file was changed can be replicate to all server or only home host.
- 08:21 AM Revision 1040 (metacat): Add a hashtable - server list as a class variable. So programmer have a control to the server list which will be forced to replicate.
- 08:18 AM Revision 1039 (metacat): 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.
- 08:12 AM Revision 1038 (metacat): Adding a variable "hub". If hub=super, the metacat can replicate the documents and data file which's home host is not itself.
04/26/2002
- 05:33 PM Revision 1037 (metacat): In update method, adding some code to handle replicate data file. Fixed the bug in deleting documents.
- 05:31 PM Revision 1036 (metacat): Making parser to handle datafile attribute in parsing updated doclist.
- 05:30 PM Revision 1035 (metacat): Add a new attribute in updated doc list: data file. So from this attribute, we can tell which document is a data file.
- 05:27 PM Revision 1034 (metacat): In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem
- 01:38 PM Revision 1033 (metacat): Add a new variable datafileflag. This variable will indicate if a document is a data file in updated documents list in replication.
04/25/2002
- 05:02 PM Revision 1032 (metacat): Add two controls for handle replication server list is empty and updated document list is empty
- 05:01 PM Revision 1031 (metacat): Using DocumentImpl.writeDataFile method in handleReplicateDataFileRequest. Make code simple.
- 04:59 PM Revision 1030 (metacat): Add a control to handle if the server list is empty.
- 04:58 PM Revision 1029 (metacat): Add a method named writeDataFile. This method will register data file into xml_documents table and save a input stream to a file.
- 11:21 AM Revision 1028 (metacat): Adding a new feature that in uploaddatafile that the datafile can be replicated.
- 11:19 AM Revision 1027 (metacat): Adding a control which can turn on or off replcation data file.
- 11:18 AM Revision 1026 (metacat): Add method getDataFileLockGrant(). This method will check if xml-document of data file can be store into database.
04/24/2002
- 10:28 AM Revision 1025 (metacat): Add some new format.
- 10:28 AM Revision 1024 (metacat): changed .highlight style so font-size attribute is 1em instead of -1. Original -1 setting was not NN4 compatible
04/23/2002
- 06:09 PM Revision 1023 (metacat): Add two method: handleGetDataFileRequest and handleForceReplicateDataFile. The two methods will handle data file replication.
- 06:07 PM Revision 1022 (metacat): Adding handle force replication data file part.
- 06:06 PM Revision 1021 (metacat): Add a new method named unRegisterDocument. This method will delete the record in xml_document table which is for a data file
Also available in: Atom