%VOSWARNING%
%META:TOPICPARENT{name="OdsWiki"}%
%VOSNAV%
---++Wiki Atom based upstream support
ODSWiki now supports Atom based upstreaming. Any cluster can be configured to escalate any changes to one or several remoted ODS Wiki instances.
---+++ Configuration
Upstreaming can be configured in =Cluster Settings= page in =Upstreams= tab.
The form for adding or changing existing upstream contains following fields:
| * Field * | * Value *|
| name | name of the upstream - list of upstreams actually a list of such names |
| URL | URL of remote ODSWiki Atom endpoint. Usually it is something like =http://{server}[:port]/dataspace/{ownername}/wiki/{clustername}/atom-pub |
| user | name of user who has write permissions on the remote ODSWiki instance |
| password | password of *user* |
---+++Important Notes
1. Do not run upstreaming as the dav user lest it risk overwriting unrelated articles.
1. A change that comes about via upstream constitutes a new version number on the page in the destination wiki cluster.
1. The page in the destination cluster may be locally modified between upstreams
1. An upstream request will have no effect on pages in the source that have not been modified since the last upstream
1. When the version number of a page the source cluster is incremented, upstreams will take effect
1. Local modifications in the destination cluster will be overwritten by subsequent changes in the source (but not until the source is changed).
1. If you see "HTTP/401 Precondition Failed" this means you need the same version of the ODS-Wiki VAD package on both the source and destination instances; this is a new check to ensure attachments may be safely transferred in the Atom stream.
---+++Simple example:
* Note: At myopenlink.net:8890/ods :
1. There is an user test1 with pwd 1 registered.
1. User test1 is an owner of a test1Wiki wiki instance.
1. Install ODS and Wiki packages.
1. Login at http://host:port/ods
1. Go to Wiki from the ODS main left vertical navigation.
1. Click the "Create New" link.
1. In the shown form click the "Create and Launch application".
1. As result is shown the WelcomeVisitors wiki home page. From the horizontal navigation click the "Cluster Settings" link.
1. Click the "Upstreams" tab.
1. Enter in the shown form:
1. For field "Name:" My upstream
1. For field "URL:" http://myopenlink.net:8890/dataspace/test1/wiki/test1Wiki/atom-pub
1. For field "User:" test1
1. For field "Password:" 1
1. Check the check-box for "Make full cluster upstream first".
1. Click the button "Add/Update Upstream".
1. Click the button "Back to the Topic".
1. In the "Go" field enter TestStream and click enter.
1. Enter for the article's body: simple text.
1. Click the button "Save and release lock".
1. Click the "Upstream" now link shown under the article.
1. Go to http://myopenlink.net/test1/wiki/2/test1Wiki
1. Click the "Index" link from the bottom of the page.
1. As result among the articles from this instance, should be shown also the TestStream article.
CategoryODS CategoryOpenSource CategoryWiki
%VOSCOPY%