[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
Sat Sep 24 09:18:00 EDT 2016


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

             Summary: 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: Stuart Douglas
         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
(v6.4.11#64026)



More information about the jboss-jira mailing list