Update json-patch to draft 10

Bug #1206095 reported by Ghe Rivero on 2013-07-29
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
Ghe Rivero

Bug Description

Underlaying library (jsonpatch) returns a json-patch draft 10 while the update client method still uses application/openstack-images-v2.0-json-patch (draft 4). This should be updated to use application/openstack-images-v2.1-json-patch (draft 10).

On the server side, current and grizzly support both formats and only folsom expects a draft4, so support for both formats should be added.

Fix proposed to branch: master
Review: https://review.openstack.org/39058

Changed in python-glanceclient:
assignee: nobody → Ghe Rivero (ghe.rivero)
status: New → In Progress
Changed in python-glanceclient:
assignee: Ghe Rivero (ghe.rivero) → Mark Washenberger (markwash)
Changed in python-glanceclient:
assignee: Mark Washenberger (markwash) → Ghe Rivero (ghe.rivero)

Reviewed: https://review.openstack.org/39058
Committed: http://github.com/openstack/python-glanceclient/commit/3307549a0f66294972c8b5ebff59ab01d18a1d91
Submitter: Jenkins
Branch: master

commit 3307549a0f66294972c8b5ebff59ab01d18a1d91
Author: Ghe Rivero <email address hidden>
Date: Mon Jul 29 11:41:10 2013 +0000

    Use openstack-images-v2.1-json-patch for update method

    image.patch returns a JSON schema Draft 10 (application/openstack-images-v2.1-json-patch)
    while the glaceclient update method specify a Content-Type header
    application/openstack-images-v2.0-json-patch with correspond to a JSON schemea Draft 4.

    Fixes bug 1206095
    Change-Id: I8c5a96f0e117a81b5b527a96ef45758fc69b518d

Changed in python-glanceclient:
status: In Progress → Fix Committed
Louis Taylor (kragniz) on 2014-09-21
Changed in python-glanceclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers