VOS.ODSCalendarAtomUpstreaming
ODS Calendar Atom based upstream support
ODSCalendar now supports Atom based upstreaming. Any Calendar instance can be configured to escalate any changes to one or several remoted ODS Calendar instances.
Configuration
Upstreaming can be configured from Preferences->Upstreams
The form for adding or changing existing upstream contains following fields:
Field | Value |
---|---|
User | name of user who has write permissions on the remote ODSCalendar instance |
URI | URI of remote ODSCalendar Atom endpoint. Usually it is something like http://host:port/dataspace/{ods-user}/calendar/{calendar-instance}/atom-pub |
Password | password of user |
Name | name of the upstream - list of upstreams actually a list of such names |
Include with tags | Calendar object with this tags will be upstreamed. |
Exclude with tags | Calendar object with this tags will not be upstreamed. |
The upstreaming is performed on the interval set in the Virtuoso database ini file for paramater SchedulerInterval in the [Parameters] section.
Simple example:
We will use the following data from http://myopenlink.net:8890/ods:
- There is registered an user test1 with pwd 1.
- User test1 is an owner of a test1Calendar Calendar instance.
Now perform the following steps:
- Install the ods_framework_dav.vad and ods_calendar_dav.vad packages.
- Go to http://host:port/ods
- Click Sign Up and register user / or login as existing one.
- Go to the Calendar tab from the ODS main navigation.
- Click the "Create New" link.
- In the shown form click the "Create and Launch application" button.
- As result you will be redirected to the Calendar UI home page of your just created Calendar instance. From the horizontal navigation click the "Preferences" link.
- Click the "Upstreams" tab.
- Click the "New Upstream" button.
- Enter in the shown form:
- For field "Name:" My upstream
- For field "URI:" http://myopenlink.net:8890/dataspace/test1/calendar/test1Calendar/atom-pub
- For field "User:" test1
- For field "Password:" 1
- Leave the tags fields empty for now.
- if you want to upstream certain events / tasks containing tags for ex. "virtuoso", then you need to enter in the form field "Include with tags (comma-separated)" the value virtuoso and then to add this tag in the creation form for Events and Tasks.
- if you want not to upstream certain events / tasks containing tags for ex. "sioc", then you need to enter in the form field "Exclude with tags (comma-separated)" the value sioc and then to add this tag in the creation form for Events and Tasks.
- Click the button "Create".
- Click the button "Back".
- Click the button "New Event".
- Enter in the shown form:
- For field "Name": my event
- For field "Description": simple test
- Click the button "Create".
- Click the button "New Task".
- Enter in the shown form:
- For field "Subject": my task
- For field "Start Date": 10.01.2008
- For field "Description": simple test
- Click the button "Create".".
- After a while, http://myopenlink.net:8890/dataspace/test1/calendar/test1Calendar
- Go to tab "Events"
- As result among the events from this instance, should be shown also the "my event" one.
- Go to tab "Task"
- As result among the tasks from this instance, should be shown also the "my task" one.
CategoryODS CategoryOpenSource CategoryCalendar