-
I updated script from PubSub component project for REST to support this adhoc command properly. Sending following data to http://localhost:8080/rest/pubsub/pubsub.localhost/retrieve-items
<data> <tigase-pubsub prefix="true"> <node-name>example</node-name> <timestamp>2013-01-01T00:00:00Z</timestamp> </tigase-pubsub> </data>will execute this command at server
pubsub.localhostpassingexampleasnode-nameand2013-01-01T00:00:00Zastimestampwill return data in following format:<result> <title>Items</title> <reported> <id /> </reported> <item> <id> <value>item-3</value> </id> </item> </result>
| Type |
Task
|
| Priority |
Major
|
| Assignee | |
| RedmineID |
1670
|
| Estimation |
0
|
| Spent time |
0
|
Issue Votes (0)
Watchers (0)
We need a REST API/Admin ad-hoc command to load all publications from a given PubSub node based since the given timestamp. Right now we only have functions to load N last messages or N messages from a given position.
Please estimate work effort.
I understand this task involves 2 elements - support in the PubSub component itself for such function, then an admin ad-hoc command (and REST API call). Please provide estimation for both parts separately.