Project

General

Profile

pubsub rest

York Zhu
Added over 3 years ago

Hi, I request http://localhost:8083/rest/pubsub/pubsub.192.168.1.188, the data obtained at

<items>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>read-all-nodes</node>
<name>Read ALL nodes</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>delete-all-nodes</node>
<name>Deleting ALL nodes</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>load-test</node>
<name>Load Test</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>retrieve-items</node>
<name>Retrieve items</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>rebuild-db</node>
<name>Rebuild database</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>default-config</node>
<name>Default config</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>del-script</node>
<name>Remove command script</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>list-commands</node>
<name>Get list available commands</name>
</item>
<item>
<jid>pubsub.192.168.1.188</jid>
<node>add-script</node>
<name>New command script</name>
</item>
</items>

not found "create-node, delete-node..."


Replies (2)

Added by Wojciech Kapcia TigaseTeam over 3 years ago

Have you placed all pubsub ad-hoc scripts in correct location? They will be there if you use distribution package.

Added by York Zhu over 3 years ago

Thanks so much.

    (1-2/2)