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
- 03:30 PM Bug #502: Security issues in replication
- public key couldn't control the replication.
If in NCEAS keystore, it didn't contaion LTER's public key. But LTER is... - 01:32 PM Bug #474: Metacat in Ecoinfo hang
- Two classes DBConnection and DBConnectionPool were added into cvs. Another
test class DBConnectionPoolTester was cre... - 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.
- 11:41 AM Bug #474: Metacat in Ecoinfo hang
- DBConnectionPool will be used as second class's name.
- 11:25 AM Bug #474: Metacat in Ecoinfo hang
- Sounds like a good idea. I would recommend calling the second class
DBConnectionPool rather than DBCOnnectionUtil, b... - 10:55 AM Bug #474: Metacat in Ecoinfo hang
- We upload the package and play with it couple times. But it did not cause
metacat hang.
I decide to revise db conne... - 08:40 AM Bug #503: Access control problem to a replicated doucment
- Add a permission control in DocumentImple class for server code not equlas 1 (
this means the document was replicate... - 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
- 06:30 PM Revision 1081 (metacat): Add a access control for MetaCatServlet to update a document which home server is not local metacat.
- 04:24 PM Bug #503 (Resolved): Access control problem to a replicated doucment
- If a document was created by user A in NCEAS metacat. Its permission set owner
has all permission and public has re...
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:40 PM Bug #478: Security hole in Metacat for data file.
- In build.xml, metacat administrator can specify a absolute path for storing
data file. The property name is datafile...
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
- 06:18 PM Bug #331: metacat data replication feature
- replicationsenddata and replicationacceptdata were added to build.xml.
Replication code was changed too.
So adminis... - 03:58 PM Bug #331: metacat data replication feature
- Replication data will be considered two possibility. One is for accept data,
the other is send data. So administer c... - 03:12 PM Bug #332: hub replication feature
- In metacat.properties, a variable named hub is set. If its value=super. Then
the metacat can replicate (both force r... - 02:21 PM Revision 1072 (metacat): In writeDocumentToDB method, during insert action, rev value can be assigned too. It is useful for replication.
- 01:02 PM Bug #502 (Resolved): Security issues in replication
- During the replication, security is a issue too. At least, we need some
authentication for control server list.
... - 12:44 PM Bug #479: Debug message level
- A static method debugMessage(String msg, int level) was add to MetaCatUtil
class. User can assign different debug le... - 10:28 AM Bug #474: Metacat in Ecoinfo hang
- Dan tried to access same package from two instances of morpho, and made
metacat hang there.
We tired download one d...
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
- 01:49 PM Bug #193: evaluate recursive search performance
- Uniform xml documents were applied to test the query performance in both Oracle and Postgresql.To Oracle, path query ...
- 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
- 09:44 AM Bug #479 (Resolved): Debug message level
- In metacat, we use a flag to control display debug message or not. The flag
just have two values: true or false.
...
04/30/2002
- 09:10 AM Bug #478 (Resolved): Security hole in Metacat for data file.
- In metacat, data files are put into the data directory in the same directory
as the servlet context. So one can do ... - 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 Bug #331: metacat data replication feature
- Now, administrator can configure the metacat to replicate nothing, meta data
only or meta data and data file by set ... - 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.
- 08:20 AM Bug #475: Associate access doc to some docid which doesn't have entry in xml_access table in knb
- We changed idea and don't want the porgram work. We hope the owner of the data
package use morpho to open it and ass...
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.
- 08:25 AM Bug #473: LTER Metacat LDAP Authentican is NOT case sensitive for passwords
- I think the problem is because LTER didn't install the new version of
Metacat1.1. If Metacat1.1 didn't work either, ...
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