[jboss-jira] [JBoss JIRA] (AS7-4384) No way to query valid property values for objects of type PROPERTY via cli

Simeon Pinder (JIRA) jira-events at lists.jboss.org
Tue Apr 3 15:35:47 EDT 2012


Simeon Pinder created AS7-4384:
----------------------------------

             Summary: No way to query valid property values for objects of type PROPERTY via cli
                 Key: AS7-4384
                 URL: https://issues.jboss.org/browse/AS7-4384
             Project: Application Server 7
          Issue Type: Bug
          Components: CLI
    Affects Versions: 7.1.1.Final
         Environment: CLI browsing AS 7.1.1.Final model with modcluster enabled via *ha profile.
            Reporter: Simeon Pinder
            Assignee: Alexey Loubyansky


If you run the following to browse the resource-description 

subsystem=modcluster/mod-cluster-config=configuration/:read-resource-description(operations=true,inherited=false,recursive=false,proxies=false)

You'll encounter Object type = PROPERTY

"property" => {
    "description" => "Properties for the metric.",
    "type" => PROPERTY,
    "required" => false
}

Which has an acceptable list of property values as described here.  
http://docs.jboss.org/mod_cluster/1.2.0/html/java.AS7config.html#LoadMetric

There is no way to query the acceptable and currently supported list of property values via cli. You must hard code and risk going out of synch with as7/modclusters supported values.

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

        


More information about the jboss-jira mailing list