Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-666 Ambari architectural changes
  3. AMBARI-935

Provide API support for updates of multiple resources in a single request

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • None
    • None

    Description

      Provide API support for updating multiple resource in a single request. A user should be able to use a collection endpoint along with a predicate to update multiple resources.

      For example:
      PUT /clusters/c1/services?foo=bar
      {
      "state" : "STARTED"
      }

      For all cluster "c1" services where foo=bar, update the "state" property to "STARTED".

      To update all services under the cluster c1, no predicate would be provided.
      PUT /clusters/c1/services
      {
      "state" : "STARTED"
      }

      Attachments

        1. AMBARI-935.patch
          20 kB
          John Speidel

        Activity

          People

            jspeidel John Speidel
            jspeidel John Speidel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: