Mercurial > libervia-pubsub
annotate 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 |
rev | line source |
---|---|
208 | 1 Upgrading |
2 ========= | |
3 | |
4 To 0.8.0 | |
5 ======== | |
6 | |
7 This release includes an optional HTTP interface with a gateway to subscribe | |
8 to remote nodes. The subscriptions and associated callbacks are stored in | |
9 the database if the PostgreSQL storage backend is used. This requires a new | |
10 table, of which the schema is in db/gateway.sql: | |
11 | |
12 psql -e pubsub <db/gateway.sql | |
13 | |
14 The schema of the other tables has also changed significantly compared to | |
15 0.7.3 and older. For these changes, there is an upgrade script in the form | |
16 of a series of SQL statements to be run against an database with the older schema: db/to_idavoll_0.8.sql, like so: | |
17 | |
18 psql -e pubsub <db/to_idavoll_0.8.sql |