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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Apr 3 16:28:47 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681421#comment-12681421 ] 

Brian Stansberry commented on AS7-4384:
---------------------------------------

In most cases if a particular configuration item has a known, long-term supportable, list of configuration keys and values, it should not be encapsulating them in a single attribute with "type" => PROPERTY. Each key should be its own attribute with a fully described value.

PROPERTY attributes should be discouraged except for with items where the user can specify some custom, unknown to the AS developers, implementation of something, with the properties being used to configure that custom implementation.
                
> 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: Domain Management
>    Affects Versions: 7.1.1.Final
>         Environment: CLI browsing AS 7.1.1.Final model with modcluster enabled via *ha profile.
>            Reporter: Simeon Pinder
>              Labels: rhq
>
> 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