...
This document describes design choices made regarding the ChangeLogService.
Protocol Changes
- Add the revisions attribute to the apache schema.
- Add the Proxied Authorization Control (needed for replay)
Representing Changes (deltas)
...
Section | ||||||
---|---|---|---|---|---|---|
|
Semantics
...
|
...
|
Tip | ||||
---|---|---|---|---|
| ||||
The best feature one can add to such an implementation is to store the log files in zipped form and insert new entries into them without having to expand the entire file. This however is the only feature worth adding to such a simple implementation. |
A separate file can be used to track snapshots. A simple properties file can be used for this where the key is the revision number for the snapshot tag and the value of the key is the description for the snapshot. This probably will not grow very large at all. Another file can be used to persist the current revision or a pointer could be kept on the head or tail to quickly read the REVISION information in the comments of the last entry added to either the forward or reverse LDIF file.
The change log should be a simple interceptor for the time being and can be configured via Spring or programmatically to be added to the interceptor chain. By default it should be disabled. Users can enable server versioning if they would like by uncommenting the interceptor.
Configuration information may be needed for the following possible settings:
Wiki Markup changeLogDirectory \[path url] - where to put the changelog files
Wiki Markup compressChangeLog \[boolean] - whether or not to keep the change log ldif files compressed