ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Wagle (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-5981) Hosts API should provide count of filtered hosts
Date Sat, 31 May 2014 06:19:01 GMT
Siddharth Wagle created AMBARI-5981:
---------------------------------------

             Summary: Hosts API should provide count of filtered hosts
                 Key: AMBARI-5981
                 URL: https://issues.apache.org/jira/browse/AMBARI-5981
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.6.1
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.6.1


We need the number of filtered hosts in response of query to Hosts API.
The number should be affected by all filter properties, except "from" and "page_size".
For example,
following query:
{noformat}
/api/v1/clusters/c/hosts?from=0&page_size=25&Hosts/host_name.matches(host.*)
{noformat}
should return number of filtered hosts by host_name, but ignoring "from" and "page_size" parameters.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message