You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "John Speidel (JIRA)" <ji...@apache.org> on 2013/01/29 17:45:26 UTC
[jira] [Commented] (AMBARI-1269) Refactor ResourceProvider SPI
[ 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