[jboss-jira] [JBoss JIRA] (WFLY-7210) Expose JAX-RS resources as children of the subsystem
Harald Pehl (JIRA)
issues at jboss.org
Thu Nov 17 10:51:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-7210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13324324#comment-13324324 ]
Harald Pehl commented on WFLY-7210:
-----------------------------------
How exactly are the JAX-RS resources exposed in the management model? Is there one resource for each JAX-RS resource with different children for each method of the JAX-RS resource or are there resources for each JAX-RS class / method?
Could you give a quick example of some annotated JAX-RS classes (using both class and method-level annotations) and the related management resources? Thanks.
> 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