Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-5981

Hosts API should provide count of filtered hosts

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.6.1
    • ambari-server
    • None

    Description

      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:

      /api/v1/clusters/c/hosts?from=0&page_size=25&Hosts/host_name.matches(host.*)
      

      should return number of filtered hosts by host_name, but ignoring "from" and "page_size" parameters.

      Attachments

        Activity

          People

            dsen Dmytro Sen
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: