]
Paul Ferraro moved JBEAP-6974 to WFLY-7513:
-------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-7513 (was: JBEAP-6974)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Clustering
(was: Clustering)
(was: User Experience)
Affects Version/s: 10.1.0.Final
(was: 7.1.0.DR7)
Not clear description of cache and cache-container attributes of
singleton policy in singleton subsystem
--------------------------------------------------------------------------------------------------------
Key: WFLY-7513
URL:
https://issues.jboss.org/browse/WFLY-7513
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.1.0.Final
Reporter: Paul Ferraro
Assignee: Paul Ferraro
Descriptions of {{cache}} and {{cache-container}} attributes in singleton subsystem
should involve dependency between these two attributes. The important information is that
if {{cache}} attribute is not defined, {{default-cache}} of {{cache-container}} will be
used. Analogically for {{cache}} attribute – it sets cache which have to be available in
set {{cache-container}}.
Current state:
{code}
"cache" => {
"type" => STRING,
"description" => "The cache backing the singleton policy's
singleton service",
"expressions-allowed" => false,
"nillable" => true,
"capability-reference" =>
"org.wildfly.clustering.cache.singleton-service-builder-factory",
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "resource-services"
},
"cache-container" => {
"type" => STRING,
"description" => "The cache container backing the singleton
policy's singleton service",
"expressions-allowed" => false,
"nillable" => false,
"capability-reference" =>
"org.wildfly.clustering.cache.default-singleton-service-builder-factory",
"min-length" => 1L,
"max-length" => 2147483647L,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "resource-services"
}
{code}