]
Stuart Douglas commented on WFLY-7210:
--------------------------------------
Assigning to Lin as he is responsible for WFLY-7024 as well
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@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@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.