[
https://issues.jboss.org/browse/AS7-1540?page=com.atlassian.jira.plugin.s...
]
Richard Achmatowicz edited comment on AS7-1540 at 12/21/11 12:32 PM:
---------------------------------------------------------------------
Examples of some of the resource descriptions which are now in AS 7.1.0.CR1:
{noformat}
[standalone@localhost:9999 /] /subsystem=infinispan:read-resource-description()
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the infinispan
subsystem",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:infinispan:1.1",
"children" => {"cache-container" => {
"description" => "The configuration of an infinispan cache
container",
"min-occurs" => 1,
"max-occurs" => 2147483647,
"model-description" => {}
}}
}
}
[standalone@localhost:9999 /]
/subsystem=infinispan/cache-container=cluster:read-resource-description()
{
"outcome" => "success",
"result" => {
"description" => "The configuration of an infinispan cache
container",
"attributes" => {
"default-cache" => {
"description" => "The default infinispan cache",
"type" => STRING,
"required" => true,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"jndi-name" => {
"description" => "The jndi name to which to bind this
cache container",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"listener-executor" => {
"description" => "The executor used for the replication
queue",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"eviction-executor" => {
"description" => "The scheduled executor used for
eviction",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"replication-queue-executor" => {
"description" => "The executor used for asynchronous
cache operations",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"alias" => {
"description" => "The list of aliases for this cache
container",
"type" => LIST,
"required" => false,
"value-type" => STRING,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
}
},
"children" => {
"singleton" => {
"description" => "A set of single-instance configuration
elements of the cache container.",
"min-occurs" => 0,
"max-occurs" => 1,
"allowed" => ["transport"],
"model-description" => undefined
},
"local-cache" => {
"description" => "A local cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
},
"invalidation-cache" => {
"description" => "An invalidation cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
},
"replicated-cache" => {
"description" => "A replicated cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
},
"distributed-cache" => {
"description" => "A distributed cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
}
}
}
}
[standalone@localhost:9999 /]
/subsystem=infinispan/cache-container=cluster/replicated-cache=default:read-resource-description()
{
"outcome" => "success",
"result" => {
"description" => "A replicated cache",
"attributes" => {
"start" => {
"description" => "The cache start mode, which can be
EAGER (immediate start) or LAZY (on-demand start).",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"batching" => {
"description" => "If enabled, the invocation batching
API will be made available for this cache.",
"type" => BOOLEAN,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"indexing" => {
"description" => "If enabled, entries will be indexed
when they are added to the cache. Indexes will be updated as entries change or are
removed.",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
}
},
"children" => {"singleton" => {
"description" => "A set of single-instance configuration
elements of the cache (locking, transaction, eviction, expiration, store, file-store,
jdbc-store, remote-store).",
"min-occurs" => 0,
"max-occurs" => 1,
"allowed" => [
"locking",
"transaction",
"eviction",
"expiration",
"state-transfer"
],
"model-description" => undefined
}}
}
}
{noformat}
was (Author: rachmato):
Examples of some of the resource descriptions which are now in AS 7.1.0.CR1:
{{
[standalone@localhost:9999 /] /subsystem=infinispan:read-resource-description()
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the infinispan
subsystem",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:infinispan:1.1",
"children" => {"cache-container" => {
"description" => "The configuration of an infinispan cache
container",
"min-occurs" => 1,
"max-occurs" => 2147483647,
"model-description" => {}
}}
}
}
[standalone@localhost:9999 /]
/subsystem=infinispan/cache-container=cluster:read-resource-description()
{
"outcome" => "success",
"result" => {
"description" => "The configuration of an infinispan cache
container",
"attributes" => {
"default-cache" => {
"description" => "The default infinispan cache",
"type" => STRING,
"required" => true,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"jndi-name" => {
"description" => "The jndi name to which to bind this
cache container",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"listener-executor" => {
"description" => "The executor used for the replication
queue",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"eviction-executor" => {
"description" => "The scheduled executor used for
eviction",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"replication-queue-executor" => {
"description" => "The executor used for asynchronous
cache operations",
"type" => STRING,
"required" => false,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
"alias" => {
"description" => "The list of aliases for this cache
container",
"type" => LIST,
"required" => false,
"value-type" => STRING,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
}
},
"children" => {
"singleton" => {
"description" => "A set of single-instance configuration
elements of the cache container.",
"min-occurs" => 0,
"max-occurs" => 1,
"allowed" => ["transport"],
"model-description" => undefined
},
"local-cache" => {
"description" => "A local cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
},
"invalidation-cache" => {
"description" => "An invalidation cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
},
"replicated-cache" => {
"description" => "A replicated cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
},
"distributed-cache" => {
"description" => "A distributed cache",
"min-occurs" => 0,
"max-occurs" => 2147483647,
"model-description" => undefined
}
}
}
}
[standalone@localhost:9999 /]
/subsystem=infinispan/cache-container=cluster/replicated-cache=default:read-resource-description()
{
"outcome" => "success",
"result" => {
"description" => "A replicated cache",
"attributes" => {
"start" => {
"description" => "The cache start mode, which can be
EAGER (immediate start) or LAZY (on-demand start).",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"batching" => {
"description" => "If enabled, the invocation batching
API will be made available for this cache.",
"type" => BOOLEAN,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
},
"indexing" => {
"description" => "If enabled, entries will be indexed
when they are added to the cache. Indexes will be updated as entries change or are
removed.",
"type" => STRING,
"required" => false,
"access-type" => "read-only",
"storage" => "configuration"
}
},
"children" => {"singleton" => {
"description" => "A set of single-instance configuration
elements of the cache (locking, transaction, eviction, expiration, store, file-store,
jdbc-store, remote-store).",
"min-occurs" => 0,
"max-occurs" => 1,
"allowed" => [
"locking",
"transaction",
"eviction",
"expiration",
"state-transfer"
],
"model-description" => undefined
}}
}
}
}}
Infinispan subsystem has no resource-description(s) at all
----------------------------------------------------------
Key: AS7-1540
URL:
https://issues.jboss.org/browse/AS7-1540
Project: Application Server 7
Issue Type: Bug
Components: Clustering, Domain Management
Reporter: Heiko Rupp
Assignee: Richard Achmatowicz
Priority: Blocker
Fix For: 7.1.0.CR1
[domain@localhost:9999 subsystem=infinispan] :read-resource-description
{
"outcome" => "success",
"result" => {
"description" => "The configuration of the infinispan
subsystem.",
"head-comment-allowed" => true,
"tail-comment-allowed" => true,
"namespace" => "urn:jboss:domain:infinispan:1.0"
}
}
--
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