[jboss-jira] [JBoss JIRA] (WFLY-7210) Expose JAX-RS resources as children of the subsystem

Guillermo González de Agüero (JIRA) issues at jboss.org
Sun Nov 13 05:05:00 EST 2016


    [ https://issues.jboss.org/browse/WFLY-7210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13321451#comment-13321451 ] 

Guillermo González de Agüero commented on WFLY-7210:
----------------------------------------------------

Hi [~gaol]! I've tested WFLY-7024 from the latest build, but I think the current solution is too verbose, at least for the Web Console. See attached "after-wfly7024.png" file. That's for a resource with just 3 paths, one of them being a subresource locator.

What do you think about making resource-paths and subresource-locators children of rest-resource element? That way the current JSON could be transformed into attributes of the element. That would make it really easier to read and parse.

> Expose JAX-RS resources as children of the subsystem
> ----------------------------------------------------
>
>                 Key: WFLY-7210
>                 URL: https://issues.jboss.org/browse/WFLY-7210
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: REST
>    Affects Versions: 10.1.0.Final
>            Reporter: Guillermo González de Agüero
>            Assignee: Lin Gao
>         Attachments: after-wfly7024.png, hal-jaxrs.png
>
>
> Servlets, EJBs, WebSockets, JPA, etc expose its components as children of the subsystem in the management API. For example to list the stateless EJBs of a deployment: 
> [standalone at localhost:9990 /] /deployment=cdivsejb.war/subsystem=ejb3:read-children-resources(child-type=stateless-session-bean)
> This makes it specially easy to navigate trough the web console (attached screenshot).
> To read JAX-RS resources, the command would be:
> [standalone at localhost:9990 /] /deployment=cdivsejb.war/subsystem=jaxrs:show-resources()
> I propose to make deprecate the show-resources operation and create a new "resources" child, containing the Rest resources.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list