To use REST API for pubsub component it is required that:
- Tigase HTTP API component is installed and configured properly. For information about HTTP API component installation please look into HTTP component documentation.
- Tigase pubsub REST scripts are copied to HTTP API REST scripts directory
In installation package this is already done and scripts are in proper locations.
dd* JID of HTTP API component needs to be added to list of trusted jids of Tigase pubsub component
trusted
property (ifhttp
is name of HTTP API component)
pubsub () { trusted = [ 'http@{clusterNode}' ]; }