[jboss-jira] [JBoss JIRA] (WFLY-2527) It's not possible to query subresourcs of the Infinispan subsystem
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Nov 26 16:58:06 EST 2013
[ https://issues.jboss.org/browse/WFLY-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926925#comment-12926925 ]
Brian Stansberry commented on WFLY-2527:
----------------------------------------
A resource description for eviction=* is not valid, because that means that resources of that type with any address value are valid, which isn't true.
The only thing I can think to do hear is to support wildcard queries a la what we do with :read-resource for :read-resource-description as well. That is, the style where you get back a list of matching addresses.
The problem is that's a breaking change to the behavior of r-r-d for the cases where there is a * registration.
> It's not possible to query subresourcs of the Infinispan subsystem
> -------------------------------------------------------------------
>
> Key: WFLY-2527
> URL: https://issues.jboss.org/browse/WFLY-2527
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Domain Management
> Reporter: Heiko Braun
> Assignee: Brian Stansberry
>
> the infinispan cache description are not provided for wildcards. Hence it's not possible to query rrd() _before_ adding a resource:
> {code}
> [domain at localhost:9990 /] /profile=default/subsystem=infinispan/cache-container=web/local-cache=local-web/eviction=*:read-resource-description()
> {
> "outcome" => "failed",
> "failure-description" => "JBAS014883: No resource definition is registered for address [
> (\"profile\" => \"default\"),
> (\"subsystem\" => \"infinispan\"),
> (\"cache-container\" => \"web\"),
> (\"local-cache\" => \"local-web\"),
> (\"eviction\" => \"*\")
> ]",
> "rolled-back" => true
> }
> {code}
> Same for the other cache subresources. Please add the wildcard handlers.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list