Comment 8 for bug 1382457

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/129942
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=e03f443b1fb8db08ca3192c54bcb016ad7ac606d
Submitter: Jenkins
Branch: master

commit e03f443b1fb8db08ca3192c54bcb016ad7ac606d
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Oct 31 16:53:43 2014 +0000

    Vendor endpoints to support different HTTP methods

    This patch extend the VendorPassthru and DriverVendorPasshtru endpoints
    to support to any HTTP method.

    When creating a new vendor function developers can specify which are the
    HTTP methods supported by each vendor function as a list, if the method
    request is not in the list Ironic will return a InvalidParameterValue
    (HTTP 400, Bad Request), otherwise the method will be invoked and the HTTP
    method request will be available to the vendor function as a parameters
    in kwargs called 'http_method'.

    Partial-Bug: #1382457
    Implements: blueprint extended-vendor-passthru
    Change-Id: I01d9d7fdd7eaf9849db41d50fbb4a78fd31bbfdc