[
https://issues.apache.org/jira/browse/AMBARI-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tom Beerbower updated AMBARI-1269:
----------------------------------
Attachment: AMBARI-1269.patch
> 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