]
Harald Pehl commented on WFLY-7210:
-----------------------------------
Looks good to me. Reading the current layout is no problem for the console.
Just a quick question: In the example there's a nested
{{"sub-resource-locators" => undefined}} under the top-level
{{"sub-resource-locators"}}. Is that just a copy-paste error or is this a valid
use case?
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@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.