John Speidel created AMBARI-862:
-----------------------------------
Summary: API query against /clusters doesn't return any data
Key: AMBARI-862
URL: https://issues.apache.org/jira/browse/AMBARI-862
Project: Ambari
Issue Type: Bug
Reporter: John Speidel
Assignee: John Speidel
Queries against /clusters don't return any data even if they should.
This is a result of how the query predicate is built. Because clusters doesn't
have a parent, the internal query is null. When the user predicate is combined
with the internal predicate, we weren't checking to see if the internal
predicate is null. This resulted in an AND predicate with the user predicate
and a null predicate.
This bug only affects /clusters queries as it is the only top level resource at
this time.
--
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