view UPGRADING @ 222:698af5d720ad

Reshape Idavoll as a PubSubResource. PubSubResource is Wokkel's newer interface for building (parts of) XMPP publish-subscribe services and replaces the old interface of PubSubService. It is more flexible for adding new protocol, allows for node-as-code (providing a specific backend per node), and permits accepting requests for different entities (virtual hosts or PEP-like settings). This moves over the current backend to use the new interface, so new code for previously unsupported protocol can be added down the line.
author Ralph Meijer <ralphm@ik.nu>
date Sat, 16 Oct 2010 21:03:38 +0200
parents cc4f45ef793e
children
line wrap: on
line source

Upgrading
=========

To 0.8.0
========

This release includes an optional HTTP interface with a gateway to subscribe
to remote nodes. The subscriptions and associated callbacks are stored in
the database if the PostgreSQL storage backend is used. This requires a new
table, of which the schema is in db/gateway.sql:

    psql -e pubsub <db/gateway.sql

The schema of the other tables has also changed significantly compared to
0.7.3 and older. For these changes, there is an upgrade script in the form
of a series of SQL statements to be run against an database with the older schema: db/to_idavoll_0.8.sql, like so:

    psql -e pubsub <db/to_idavoll_0.8.sql