Tom Beerbower created AMBARI-1270:
-------------------------------------

             Summary:  Add predicate objects for checking empty resource 
category & category count
                 Key: AMBARI-1270
                 URL: https://issues.apache.org/jira/browse/AMBARI-1270
             Project: Ambari
          Issue Type: Bug
            Reporter: Tom Beerbower
            Assignee: Tom Beerbower




We need to be able to check through the API to see if a property category 
contains any properties.

For example, if we want to check to see if configurations have been overridden 
then we can look at the ServiceInfo/desired_configs of a component resource. If 
desired_configs is empty then there are no config overrides.

Through the API, we can examine the ServiceInfo/desired_configs property but we 
have no way to write a predicate that would allow us to query for components 
that contain config overrides.

In order to allow for such a query, we need the underlying predicate objects.


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

Reply via email to