[
https://issues.jboss.org/browse/AS7-1780?page=com.atlassian.jira.plugin.s...
]
Richard Achmatowicz commented on AS7-1780:
------------------------------------------
1. Managed resources
In the infinispan subsystem, we propose the following managed resources:
- subsystem configuration elements (<cache-container/>, <replicated-cache/>,
<distributed-cache>, <local-cache/>, etc.)
- runtime resources (i.e. object instances) (CacheManager, Cache, LockManager, RpcManager,
Transaction, Statistics)
2. Use cases
- provide the ability to:
- add/remove cache manager configurations (add starts them on demand; remove requires
restart)
- add/remove cache configurations (add starts them on demand; remove requires restart)
- access attributes and operations of runtime instances (using AS6 MBean interface
exposure as a starting point)
In first pass, all attributes have read-only or metric access and only operations which do
not affect runtime state (to avoid complex service and dependent restart conditions).
There may also be restrictions on which caches may be removed (e.g. can't remove a
cache which will break the rest of the system).
3. Resource address organization
<!-- cache manager runtime resource access -->
/subsystem=infinispan/cache-manager=web
/subsystem=infinispan/cache-manager=web:read-attribute(name=X)
/subsystem=infinispan/cache-manager=web:<some-cache-manager-operation>(...)
<!-- cache runtime resource access -->
/sybsystem=infinispan/cache-manager=web/cache=repl
/sybsystem=infinispan/cache-manager=web/cache=repl:read-attribute(name=X)
/sybsystem=infinispan/cache-manager=web/cache=repl:<some-cache-operation>(...)
<!-- cache component runtime resource access -->
/sybsystem=infinispan/cache-manager=web/cache=repl/component=rpc-manager
/sybsystem=infinispan/cache-manager=web/cache=repl/component=rpc-manager:read-attribute(name=X)
/sybsystem=infinispan/cache-manager=web/cache=repl/component=rpc-manager:<some-rpcmanager-operation>(...)
<!-- configuration -->
/subsystem=infinispan/configuration/cache-manager=web
/subsystem=infinispan/configuration/cache-manager=web:add(...)
/subsystem=infinispan/configuration/cache-manager=web:remove(...)
/sybsystem=infinispan/configuration/cache-manager=web/cache=repl
/sybsystem=infinispan/configuration/cache-manager=web/cache=repl:add(...)
/sybsystem=infinispan/configuration/cache-manager=web/cache=repl:remove(...)
Provide infinispan management use cases and operations
------------------------------------------------------
Key: AS7-1780
URL:
https://issues.jboss.org/browse/AS7-1780
Project: Application Server 7
Issue Type: Feature Request
Components: Domain Management
Reporter: Heiko Braun
Assignee: Paul Ferraro
Priority: Blocker
Fix For: 7.1.0.Beta1
I cannot identify the use cases and operation based on the current management exposure:
{noformat}
[standalone@localhost:9999 /] /subsystem=infinispan:read-operation-
read-operation-description read-operation-names
[standalone@localhost:9999 /] /subsystem=infinispan:read-operation-names
{
"outcome" => "success",
"result" => [
"add",
"read-attribute",
"read-children-names",
"read-children-resources",
"read-children-types",
"read-operation-description",
"read-operation-names",
"read-resource",
"read-resource-description",
"validate-address",
"write-attribute"
]
}
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira