Add a variable named junittesturl there.
Add setCookie method in this class. Junit test class need this method.
Add test case for inert, read, update, delete xml documents and logout action too.
Add a access control for MetaCatServlet to update a document which home server is not local metacat.
Change datafilepath's value and it should equals the property value of datafilepath in build.xml.
Add a variable named datafilepath in it. MetaCat administrator should specify the absolute path for storing data file.
Add a control to accept data or not
Add two controls to send or accept data.
Add control to send data or not
Add two control for send or accept data file
Add two variables replicationsenddata and replicationacceptdata
Add two variables named replicationsenddata and replicationacceptdata. Metacat administrator can configure metacat can send or accepte or both to data file
In writeDocumentToDB method, during insert action, rev value can be assigned too. It is useful for replication.
Revised update method.
Add a control to get data file granted in handleUploadMethod.
Revised the method writeDataFile, writeReplication and writeToDB
Revise Update method.
Apply DocumentImp.writeReplication and DocumentImp.writeDataFile in deltaT replication
Fixed some db connection problem
Fixed some db connection bug.
Delete a some useless code for connection pool
Fixed some DB connection bug.
Assign debug level to parser. (it level is 50)
Use DocumentImpl.getDocHomeServer method to get home server in method handleGetDocumentInfo
Change the method getLocalReplicationServerName to be static
Add the feature to get doc home server into method getDocumentInfo.Add a method to return docHomeServer.
Fixed a bug in method getHomeServer
Revise the method getDocumentInfo. Home server of documnet is added in it.
Revised handleUploadRequet.
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.
Delete the control that when action="insert", rev should be 1
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.
Add a variable named debuglevel here. It control the differrent debug level message will be printed.
Add a property named debuglevel in it. This property will control the debug message. It set higher, more debug message will print out
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.
Revise junit testing part and make it working.Delete the variables for httpclient.jar and junit.jar
This jar file can be deleted.
This jar file will install in ant/lib.
Add two variables junit and httpclient in cpath
In order to implementate junit, this jar file is needed.
In order to test MetacatServlet, we need use HttpMessage class, so add this jar file
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.
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.
Adding a hub control to data file in handleUpLoad method. Data file was changed can be replicate to all server or only home host.
Add a hashtable - server list as a class variable. So programmer have a control to the server list which will be forced to replicate.
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.
Adding a variable "hub". If hub=super, the metacat can replicate the documents and data file which's home host is not itself.
In update method, adding some code to handle replicate data file. Fixed the bug in deleting documents.
Making parser to handle datafile attribute in parsing updated doclist.
Add a new attribute in updated doc list: data file. So from this attribute, we can tell which document is a data file.
In writeDataFile method, using getDataFileLockGrant(docid) replace getDataFileLockGrant(docid, serverCode). The latter will cause a problem
Add a new variable datafileflag. This variable will indicate if a document is a data file in updated documents list in replication.
Add two controls for handle replication server list is empty and updated document list is empty
Using DocumentImpl.writeDataFile method in handleReplicateDataFileRequest. Make code simple.
Add a control to handle if the server list is empty.
Add a method named writeDataFile. This method will register data file into xml_documents table and save a input stream to a file.
Adding a new feature that in uploaddatafile that the datafile can be replicated.
Adding a control which can turn on or off replcation data file.
Add method getDataFileLockGrant(). This method will check if xml-document of data file can be store into database.
Add some new format.
changed .highlight style so font-size attribute is 1em instead of -1. Original -1 setting was not NN4 compatible
Add two method: handleGetDataFileRequest and handleForceReplicateDataFile. The two methods will handle data file replication.
Adding handle force replication data file part.
Add a new method named unRegisterDocument. This method will delete the record in xml_document table which is for a data file
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.
Change replication and replicationdata to be tokens
Adding two properties: replication and replicationdata. Administor can config build.xml instead of metacat.properties file.
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.
Currently, some document in xml_document table doesn't have entries inxml_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 inxml_access table, except owner, other person can not access it....
Fixed the bug that handle force replication
Fixed the bug that to handle forceReplication action
Add a method named getLocalReplicationServerName
Fixed the bug metacat will set server location to 1, no matter it is.
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.
Adding a variable "context " here.
Adding a new token "context" in it.
Token for the server is changed to correct one.
Fixed getGroup method return a exception and cause authenticate failed.
Fixed the getIdentifyingName() sub so that it properly looks up someonesDN if passed in a DN that is an alias. This is mainly important forsites like PISCO that use a different root to their tree than theecoinformatics.org tree. Now we can successfully authenticate againast...
Some changes for pisco.
updated some spelling and grammar errors
turned debug off for the release
hopefully fixed the connection closed error.
fixed groups error, I hope.
Removed obsoleted marine files. See the new "marine" module forrelevant copies of these files.
New stylesheet that is specific to the KNB website.
replaced dev.nceas.ucsb.edu with server in the marine index file
server
changed some values for the release
updated data directory note
When Metacat installed, it can automatically create data directory for data file.
updated build file. fixed the dist target so it doesn't copy the build directory into the distro.
fixed auth bug
Adding a note for user. The user should make a directory under 'webapps/context/'.The user should have write permission for this directory.
updated for 1.1.0
Update the install instruction.
changed version number from 1.1 to 1.1.0
fixed some things for release 1.1