Description:
|
The capacity property of a load-metric of mod_cluster has a incorrect float default value when the type of the property is INT.
[standalone@localhost:9999 load-metric=busyness] pwd
/subsystem=modcluster/mod-cluster-config=configuration/dynamic-load-provider=configuration/load-metric=busyness
[standalone@localhost:9999 load-metric=busyness] :read-resource
{
"outcome" => "success",
"result" => {
"capacity" => 1.0,
"property" => undefined,
"type" => "busyness",
"weight" => 1
}
}
Excerpt from :read-resource-configuration:
"attributes" => {
"capacity" => {
"type" => INT,
"description" => "Capacity of the metric.",
"expressions-allowed" => false,
"nillable" => true,
"default" => 1.0,
"access-type" => "read-write",
"storage" => "configuration",
"restart-required" => "all-services"
},
|