change AccessControlForSingleFile to only be instantiated for one file. move ACL methods to AccessControlForSingleFile. Change format of access sections returned to EML 2.1.0.
Move access control source to it's own directory.
Change location of PropertyService to properties directory
Create replication directory. Move replication code there. Use log4j for replication logging (rollingfileappender). Beef up replication logging and error control.
Roll back replication user changes. Fix code that converts access levels to integer and to text.
Introduce replication user. Use the fileutil writer methods instead of writing directly.
Renamed MetaCatUtil to MetacatUtil
check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)
replicate xml_access entries across servers.see: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3464note: still needs to be tested...but needed to be checked in for other metacat installations to be updated....
Move the DBAdaptor accessor into a DatabaseService class
qualify xml and eml properties with an xml. prefix
Continue to qualify property names
Use qualified properties
Merge 1.9 changes into Head
Check into cvs head. In handle replication list method, parser will be intialized every time when it handles a list from another server.
Add event log for timed replication.
Somehow the change went to the head rather than branch. So i rollback the change in head.
This commit is for branch. In this commit the correct ip and user name will be stored in access_log table in replication event. However, it only for Forcereplication. And the test isn't completed yet. This commit is only for future use.
Removed the release ant token from all files in 'src'.
release
Fixed a bug in log
Fixed log bug when xml_revision updated failed.
Add more debug info.
Add code to handle replication document in xml_document table.
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
Remove some debug message.
Change the code to make sure DocumentImpl class's constructor should have rev attached.
Add date info.
Add code to handle deleted document replication.
Add code to trim server name white space.
Remove output stream from the constructor.
Add some method to setting replication start time.
Add new feature that delete can be broadcasted by force replication.
Add a code to load eml201 parser to fix the bug that couldn't generate access rule for eml201 doc.
Made initial changes for accepting EML version 2.1.0 in Metacat
Change eml2 to eml200
Revise inital value for insert a new server. Change some debug level.
Change the date format from yy-mm-dd to mm/dd/yy.
Get rid of to_date function.
Fixed a bug to checking error.
Add code to get rid of white space in url.
Add a method to write error message into log file.
Add code to handle eml2 replciation.
Add code to handle text node was splited.
Merge cvs branch replication to cvs head.
Merge DBConnection branch to head.
Add the code to handle error in the respone for a update request.
Change code to handle the error message.
In update method, add code to handle if a user couldn't pass a trusting test.
Add a control to accept data or not
Revised update method.
Revise Update method.
Fixed some db connection problem
Fixed a bug in method getHomeServer
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 update method, adding some code to handle replicate data file. Fixed the bug in deleting documents.
Add two controls for handle replication server list is empty and updated document list is empty
Fixed the bug that handle force replication
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.
changes in replication to use https
fixed the compilation bug about the change of group parameter in DocumentImpl.write()
- fixed missing replication of public_access- new attribute catalog_id added in xml_documents and xml_revisionsas a FK to xml_catalog; catalog_id is replicated also
fixed some problems with database connections getting a time out error. Also updated some catch statements
added precise location information (class.method) to each catch statement so that errors are more easily traced.
Added license terms to source code files, and cleaned up some javadocdocumentation in a few places.
closed all preparedStatement variables
added support for one way replication
cleaned up code
added additional actions to facilitate a web based interface to the replication servlet.
added replication for the xml_catalog table. Right now it is only replicated when the deltaT handler is called. I will add more replication times later.
added a logging system for replication. The log file location is set in metacat.properties
cleaned up code, added more complete documentation of replication algorithms and datastructures.
made replication on insert or update us. Also made a method in AccessionNumber public so that you can tell if an accession number has already been used.e place be
updated file locking mechanisms to use revisions instead of dates.
fixed typo, removed extra print statements
added replication_on_insert handling. Changed replication from date_updated base replication to revision number replication.
replication on insert functionality is now working.
added more replication/file locking functionality.
added more locking support and support for remote update of files.
cleaned up code, added new static methods to MetacatReplication for handling static queries and getting URL content.
created locking action in replication servlet and added semi-support to documentImpl to handle documents updatedee by replicatio
Modified stylesheets and server code to use a single "read" action insteadof the earlier "getdocument" and "getrelateddocument" actions. In theprocess, developed and started to utilize a new suite of URL "protocolhandlers" that are in the package "edu.ucsb.nceas.protocols" and handle...
added functionality to allow the replication servlet to assertain and insert user and group info into the local database. started implementation of insert replication handler (it is commented out in this commit)
added delete functionality
removed inadvertent comments
removed dependence on a server code in the accession number of each document. the file's resident server is now located in xml_documents.server_location.
no message
now updates the xml_replication last_checked field
changed action scheme
can now download a document from a server
changed naming scheme