[
https://issues.jboss.org/browse/WFLY-2527?page=com.atlassian.jira.plugin....
]
Brian Stansberry edited comment on WFLY-2527 at 12/5/13 10:49 PM:
------------------------------------------------------------------
A resource registration for eviction=* is not valid, because that means that resources of
that type with any address value are valid, which isn't true.
However, we do support wildcard queries a la what we do with :read-resource for
:read-resource-description as well. But there are problems in how we handle the wildcard
queries when there is no registration that matches the queried address. There
shouldn't be a requirement for a matching registration. So that's the bug to fix.
was (Author: brian.stansberry):
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 subresources 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
Fix For: 8.0.0.CR1
the infinispan cache description are not provided for wildcards. Hence it's not
possible to query rrd() _before_ adding a resource:
{code}
[domain@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