API compare-and-swap updates based on revision_number

Bug #1703234 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Boden R

Bug Description

https://review.openstack.org/409577
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/neutron" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

commit 7f17b4759e41aa0a922ac27c2dabc595e7d2f67c
Author: Kevin Benton <email address hidden>
Date: Sun Dec 11 18:24:01 2016 -0800

    API compare-and-swap updates based on revision_number

    Allows posting revision number matching in the If-Match header
    so updates/deletes will only be satisfied if the current revision
    number of the object matches.

    DocImpact: The Neutron API now supports conditional updates to resources
               that contain the standard 'revision_number' attribute by
               setting the revision_number in an HTTP If-Match header.
    APIImpact

    Partial-Bug: #1493714
    Partially-Implements: blueprint push-notifications
    Change-Id: I7d97d6044378eb59cb2c7bdc788dc6c174783299

Boden R (boden)
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Boden R (boden)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (master)

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

Changed in neutron:
status: Confirmed → In Progress
Boden R (boden)
tags: added: api-ref
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

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

Reviewed: https://review.openstack.org/499754
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8d2c1bd88b14eefbea74c72f384cb9952e7ee62e
Submitter: Jenkins
Branch: master

commit 8d2c1bd88b14eefbea74c72f384cb9952e7ee62e
Author: Boden R <email address hidden>
Date: Thu Aug 31 12:38:31 2017 -0600

    complete docs for revision number

    Today the revision_number exists in documentation CLI output in only
    some places. This patch updates the doc CLI output to include the
    revision_number in the remaining places.

    Change-Id: I8000005752c4dbaa7cf7fd12d2c281abb855ae19
    Closes-Bug: #1703234

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-lib (master)

Reviewed: https://review.openstack.org/499368
Committed: https://git.openstack.org/cgit/openstack/neutron-lib/commit/?id=41212a531115b43ab6096ab706ff005dc12177c4
Submitter: Jenkins
Branch: master

commit 41212a531115b43ab6096ab706ff005dc12177c4
Author: Boden R <email address hidden>
Date: Wed Aug 30 16:05:38 2017 -0600

    complete api ref for std attr revisions

    This patch completes the api ref for standard attribute based revision
    numbers by:
    - Updating applicable resource JSON responses to include
    revision_number.
    - Documents the revision_number response param where missing.
    - Adds a section in the intro about revisions as well as conditional
    HTTP based operations using If-Match header.
    - Standardizes the revision_number response param; doesn't seem
    necessary for each resource to have it's own.

    Change-Id: Ib9a19126c35f89bc9c2ad891a7339702a406e2d5
    Partial-Bug: #1703234

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 12.0.0.0b1

This issue was fixed in the openstack/neutron 12.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.