incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Speidel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1269) Refactor ResourceProvider SPI
Date Tue, 29 Jan 2013 16:45:26 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565508#comment-13565508
] 

John Speidel commented on AMBARI-1269:
--------------------------------------

Reviewed the patch: +1
                
> Refactor ResourceProvider SPI
> -----------------------------
>
>                 Key: AMBARI-1269
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1269
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Tom Beerbower
>            Assignee: Tom Beerbower
>         Attachments: AMBARI-1269.patch
>
>
> Refactor the SPI for resource providers for the following ...
>   * Remove getProperties() from ResourceProvider and PropertyProvider.  Some providers
are not able to give a complete list of supported properties since the list may actually be
dynamic.
>   * Allow for Map type properties to be accessed as if they were categories.  For example
the following request ...
> {code}
>  ...services/HDFS/?fields=ServiceInfo/desired_configs/global
> {code}
> ... gets the global value from desired_configs category where desired_configs is actually
a Map type property and global is the key to one of its entries.
>   * Move common code for dealing with property manipulation in a provider into internal
base classes.

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

Mime
View raw message