ODS.ODSWikiAtomUpstreaming
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 |
---|---|
URL | URL of remote ODSWiki Atom endpoint. Usually it is something like =http://{server}[:port]/dataspace/{ownername}/wiki/{clustername}/atom-pub |
name | name of the upstream - list of upstreams actually a list of such names |
password | password of user |
user | name of user who has write permissions on the remote ODSWiki instance |
Important Notes
- Do not run upstreaming as the dav user lest it risk overwriting unrelated articles.
- A change that comes about via upstream constitutes a new version number on the page in the destination wiki cluster.
- The page in the destination cluster may be locally modified between upstreams
- An upstream request will have no effect on pages in the source that have not been modified since the last upstream
- When the version number of a page the source cluster is incremented, upstreams will take effect
- Local modifications in the destination cluster will be overwritten by subsequent changes in the source (but not until the source is changed).
- 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 :
- There is an user test1 with pwd 1 registered.
- User test1 is an owner of a test1Wiki wiki instance.
- Install ODS and Wiki packages.
- Login at http://host:port/ods
- Go to Wiki from the ODS main left vertical navigation.
- Click the "Create New" link.
- In the shown form click the "Create and Launch application".
- As result is shown the WelcomeVisitors wiki home page. From the horizontal navigation click the "Cluster Settings" link.
- Click the "Upstreams" tab.
- Enter in the shown form:
- For field "Name:" My upstream
- For field "URL:" http://myopenlink.net:8890/dataspace/test1/wiki/test1Wiki/atom-pub
- For field "User:" test1
- For field "Password:" 1
- Check the check-box for "Make full cluster upstream first".
- Click the button "Add/Update Upstream".
- Click the button "Back to the Topic".
- In the "Go" field enter TestStream and click enter.
- Enter for the article's body: simple text.
- Click the button "Save and release lock".
- Click the "Upstream" now link shown under the article.
- Go to http://myopenlink.net/test1/wiki/2/test1Wiki
- Click the "Index" link from the bottom of the page.
- As result among the articles from this instance, should be shown also the TestStream article.
CategoryODS CategoryOpenSource CategoryWiki