Activity
From 04/29/2002 to 05/28/2002
05/24/2002
- 04:09 PM Revision 1142 (metacat): Change back to Connection. DBConnection will store in cvs branch..
- 03:56 PM Revision 1141 (metacat): Change back to Connection. DBConnection will store in a cvs branch.
- 03:51 PM Revision 1140 (metacat): Change back to using Connection. The DBConnection will be store in a cvs branch.
- 03:47 PM Revision 1139 (metacat): Change to using Connection back rather than DBConnection. DBConnection will be store in a cvs branch.
- 08:52 AM Revision 1138 (metacat): Add a new method commit.
05/23/2002
- 10:33 PM Revision 1137 (metacat): Change the API for dbAdopter.
- 10:30 PM Revision 1136 (metacat): Change back to pass Connection a parameter.
- 10:29 PM Revision 1135 (metacat): Change back to pass connection as parameter.
- 10:28 PM Revision 1134 (metacat): Change back to pass connection as a parameter. Because new connection will cause an error.
- 10:26 PM Revision 1133 (metacat): Change back to pass connection as paramter in getUniqueID, otherwise new connection will cause a error:
- sequence XML_NODES_ID_SEQ.CURRVAL is not yet defined in this session
- 08:50 PM Revision 1132 (metacat): Add a new method - createStatement.
- 08:48 PM Revision 1131 (metacat): Correct the parameter of getDBConnection - methodName in code.
- 08:42 PM Revision 1130 (metacat): Change for every method to use getDBConnection and returnDBConnection to manage DBConnection.
- 08:39 PM Revision 1129 (metacat): Using getDBConenction rather than pass connection as parameter.
- 08:38 PM Revision 1128 (metacat): Using getDBConnection rather than pass connection as a parameter.
- 08:36 PM Revision 1127 (metacat): Using getDBConnection method rather than a parameter.
- 08:35 PM Revision 1126 (metacat): Change the prototype of method getUniqeID
- 05:58 PM Revision 1125 (metacat): Add DBConnectionPool object in servlet's init method and DBConnectionPool's release method in servlet's destory method.
- 05:56 PM Revision 1124 (metacat): Delete connection as a class field and make every method to check in and check out connection if it need.
- 05:54 PM Revision 1123 (metacat): Make a every method check in and check out DBConnection if this method need a connection.
- 01:40 PM Revision 1122 (metacat): In returnDBConnection method, a new parameter named serialNumber was added. It will compare to the checkOutSerialNumber in DBConnection.
- 01:38 PM Revision 1121 (metacat): Add a new attribute named checkOutSerialNumber, which to make sure when DBConnection would not be check in mutiple times.
- 08:46 AM Revision 1120 (metacat): Change some debug message.
05/22/2002
- 08:22 PM Revision 1119 (metacat): Change package name of this class.
- 08:19 PM Revision 1118 (metacat): Change package name. Factor of docid change from 10000 to 100000.
- 08:17 PM Revision 1117 (metacat): Change package name and data file path. The factor for docid change from 10000 to 100000.
- 08:15 PM Revision 1116 (metacat): Change directories setting for junit test and junit nettest.
- 03:56 PM Revision 1115 (metacat): This is the data file for testing insert data file action.
- 03:55 PM Revision 1114 (metacat): This is a net test file for metacat.
- 03:53 PM Revision 1113 (metacat): Add to cvs
- 03:52 PM Revision 1112 (metacat): Add metacat test to cvs.
- 03:48 PM Revision 1111 (metacat): delete it
- 03:40 PM Revision 1110 (metacat): *** empty log message ***
- 02:26 PM Revision 1109 (metacat): Change the file path from aboslute to relative.
- 01:19 PM Bug #466: Create a JUnit class for Metacat action
- Test cases for successful and failed login as NCEAS, PISCO and LTER ladp users
were created.
Test cases for inserti... - 01:11 PM Revision 1108 (metacat): Add the test case for inserting data file.
- 01:10 PM Revision 1107 (metacat): Add a set system peroperty -Djava.protocol.handler.pkgs=HTTPClient in nettest target.
- Fixed the bug in running ant in gethttpclient target.
- 01:05 PM Revision 1106 (metacat): This is is a text file will be inert into metacat for testing. The content is "Hello, world".
05/21/2002
- 09:30 PM Revision 1105 (metacat): This is new package and its testcase will involve morpho httpmessage class to insert data file.
- 09:25 PM Revision 1104 (metacat): Add the test case to insert invalidate xml and non well-formed xml documents.
- 09:23 PM Revision 1103 (metacat): Add two targets in build file: gethttpclient and nettest. gethttpclient wil checkout morpho and ran ant get httpclient.jar(cvs doesn't have httpclient.jar). nettest will run a junit test which will involve httpclient.jar file.
- 10:15 AM Bug #502: Security issues in replication
- Now code was changed and public key can be a control for replcation. Even a
server is the replication server list, b... - 09:59 AM Revision 1102 (metacat): Add the code to handle error in the respone for a update request.
- 09:53 AM Revision 1101 (metacat): Add test ssl work or not in handleUpdateRequest method too.
- 08:36 AM Revision 1100 (metacat): Change code to handle the error message.
- 08:35 AM Revision 1099 (metacat): Add error message to outPut in catch clause in handleGetDocument Request.
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.
Also available in: Atom