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

Lin Gao (JIRA) issues at jboss.org
Thu Nov 3 22:49:00 EDT 2016


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

Lin Gao commented on WFLY-7210:
-------------------------------

PR for WFLY-7024 is up by adding child resource definition for each root REST resource(each class with @Path definition).

I think this issue can be resolved once the PR for WFLY-7024 is merged. :-)

PR: https://github.com/wildfly/wildfly/pull/9215

> 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: 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