VOS.ODSCalendarAtomUpstreaming

  • Topic
  • Discussion
  • VOS.ODSCalendarAtomUpstreaming(Last) -- Owiki? , 2018-04-19 06:22:14 Edit owiki 2018-04-19 06:22:14

    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 ValueSort in descending order
    Password password of user
    User name of user who has write permissions on the remote ODSCalendar instance
    Name name of the upstream - list of upstreams actually a list of such names
    URI URI of remote ODSCalendar Atom endpoint. Usually it is something like http://host:port/dataspace/{ods-user}/calendar/{calendar-instance}/atom-pub
    Exclude with tags Calendar object with this tags will not be upstreamed.
    Include with tags Calendar object with this tags will 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:

    1. There is registered an user test1 with pwd 1.
    2. User test1 is an owner of a test1Calendar Calendar instance.

    Now perform the following steps:

    1. Install the ods_framework_dav.vad and ods_calendar_dav.vad packages.
    2. Go to http://host:port/ods
    3. Click Sign Up and register user / or login as existing one.
    4. Go to the Calendar tab from the ODS main navigation.
    5. Click the "Create New" link.
    6. In the shown form click the "Create and Launch application" button.
    7. 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.
    8. Click the "Upstreams" tab.
    9. Click the "New Upstream" button.
    10. Enter in the shown form:
      1. For field "Name:" My upstream
      2. For field "URI:" http://myopenlink.net:8890/dataspace/test1/calendar/test1Calendar/atom-pub
      3. For field "User:" test1
      4. For field "Password:" 1
      5. 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.
    11. Click the button "Create".
    12. Click the button "Back".
    13. Click the button "New Event".
    14. Enter in the shown form:
      1. For field "Name": my event
      2. For field "Description": simple test
      3. Click the button "Create".
    15. Click the button "New Task".
    16. Enter in the shown form:
      1. For field "Subject": my task
      2. For field "Start Date": 10.01.2008
      3. For field "Description": simple test
      4. Click the button "Create".".
    17. After a while, http://myopenlink.net:8890/dataspace/test1/calendar/test1Calendar
    18. Go to tab "Events"
    19. As result among the events from this instance, should be shown also the "my event" one.
    20. Go to tab "Task"
    21. As result among the tasks from this instance, should be shown also the "my task" one.

    CategoryODS CategoryOpenSource CategoryCalendar