ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Beerbower (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1401) Provide API support for querying sub-resources
Date Mon, 16 Dec 2013 16:27:10 GMT

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

Tom Beerbower commented on AMBARI-1401:
---------------------------------------

Results :

Tests run: 1231, Failures: 0, Errors: 0, Skipped: 7

> Provide API support for querying sub-resources
> ----------------------------------------------
>
>                 Key: AMBARI-1401
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1401
>             Project: Ambari
>          Issue Type: Sub-task
>            Reporter: John Speidel
>            Assignee: John Speidel
>
> Currently, query predicates can only be applied to the top level resource of a request.
 So, if we wanted to perform a query based on sub-resource state, this would require multiple
requests.
> For example, to query for all services which contain a component in any state other than
"STARTED":
> .../api/v1/clusters/c1/services?components/ServiceComponentInfo/state!=STARTED
> Because the above request applies a predicate to a sub-resource of service(component),
this is not currently supported. The goal of this Jira is to allow predicates to be applied
to any sub-resource, in addition to the the top level resource of any request.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message