v2 image update should be use PATCH, not PUT

Bug #1039821 reported by Brian Waldon on 2012-08-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Critical
Mark Washenberger

Bug Description

According to the WIP v2 spec, we should be using a PATCH syntax for updating an image rather than PUT.

Changed in glance:
assignee: Mark Washenberger (markwash) → Brian Waldon (bcwaldon)
Brian Waldon (bcwaldon) on 2012-09-03
Changed in glance:
assignee: Brian Waldon (bcwaldon) → Mark Washenberger (markwash)

Reviewed: https://review.openstack.org/12159
Committed: http://github.com/openstack/glance/commit/9c94a72c14ccd94df0c6239c2bfe70337d693b39
Submitter: Jenkins
Branch: master

commit 9c94a72c14ccd94df0c6239c2bfe70337d693b39
Author: Mark Washenberger <email address hidden>
Date: Mon Aug 27 06:42:33 2012 +0000

    Use PATCH instead of PUT for v2 image modification

    With the previous partial put syntax in the v2 api, it was not possible
    to delete image properties. This patch provides a more expressive syntax
    in the form of the HTTP PATCH verb. This implementation depends on the
    `application/openstack-images-v2.0-json-patch` content-type which is
    intended to be a compatible subset of application/json-patch.

    Addresses bug 1039821.

    Change-Id: I510ab397f9b8b5bd1deec0fb25855e305e7ec86e

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-09-11
Changed in glance:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-09-27
Changed in glance:
milestone: folsom-rc1 → 2012.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers