activemq-commits mailing list archives

[jira] [Commented] (APLO-209) The REST API documentation does not match what is used by the Apollo console

Date

Fri, 08 Jun 2012 13:02:23 GMT

[ https://issues.apache.org/jira/browse/APLO-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13291758#comment-13291758
]
Hiram Chirino commented on APLO-209:
------------------------------------
The docs document the REST apis. The webapp implementation details really documented. The
POST action is not very RESTful in nature and that's why it was not documented.
> The REST API documentation does not match what is used by the Apollo console
> ----------------------------------------------------------------------------
>
> Key: APLO-209
> URL: https://issues.apache.org/jira/browse/APLO-209
> Project: ActiveMQ Apollo
> Issue Type: Bug
> Environment: apollo-99-trunk-20120519.032132-42
> Reporter: Lionel Cons
> Assignee: Hiram Chirino
>
> When using the Apollo console and looking at a queue, one can see a "delete" button.
> The HTML code behind the button is:
> <form method="post" action="https://broker:6100/broker/virtual-hosts/apollo/queues/foo/action/delete">
> <input type="submit" value="delete"/>
> </form>
> However, this API call does not appear in the "Apollo Management API" where only the
DELETE method is documented to delete a queue.
> If the "POST xxx/action/delete" API is supported, it should be documented. The Apollo
console should only use supported API calls.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira