[jboss-jira] [JBoss JIRA] (AS7-5012) Mod_cluster load-metric incorrect default value

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Fri Sep 14 19:49:32 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry updated AS7-5012:
----------------------------------

    Assignee: Michal Matloka  (was: deprecated M)

    
> Mod_cluster load-metric incorrect default value
> -----------------------------------------------
>
>                 Key: AS7-5012
>                 URL: https://issues.jboss.org/browse/AS7-5012
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Stefan Negrea
>            Assignee: Michal Matloka
>            Priority: Minor
>             Fix For: 7.2.0.Alpha1
>
>
> 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 at localhost:9999 load-metric=busyness] pwd
> /subsystem=modcluster/mod-cluster-config=configuration/dynamic-load-provider=configuration/load-metric=busyness
> [standalone at 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"
>             },

--
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


More information about the jboss-jira mailing list