Heat list sort-keys are not matching with the API response, need to make it consistent

Bug #1355669 reported by Swapnil Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Angus Salkeld

Bug Description

the sort_keys are different from the values we use in POST and we get in return(GET) plz refer http://developer.openstack.org/api-ref-orchestration-v1.html

This inconsistency was observed while working with https://bugs.launchpad.net/python-heatclient/+bug/1339403

Changed in heat:
assignee: nobody → Swapnil Kulkarni (coolsvap)
Revision history for this message
Zane Bitter (zaneb) wrote :

Yikes, you have to know the database format to use the API? That's horrible. Let's get this fixed before it gets released.

Changed in heat:
importance: Undecided → High
status: New → Triaged
importance: High → Medium
milestone: none → juno-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
assignee: Swapnil Kulkarni (coolsvap) → Zane Bitter (zaneb)
status: Triaged → In Progress
Changed in heat:
assignee: Zane Bitter (zaneb) → Angus Salkeld (asalkeld)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/124828
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=dbabecb133900080928cd78ff3c00337faf98e5e
Submitter: Jenkins
Branch: master

commit dbabecb133900080928cd78ff3c00337faf98e5e
Author: Angus Salkeld <email address hidden>
Date: Tue Sep 30 10:00:11 2014 +1000

    Don't use DB column names for sort keys

    The user shouldn't need to know how data is stored in the database in order
    to use the API. Instead, use the same key names as provided in the output
    data as possible sort keys.

    Change-Id: I02e13e2fb6b1949ef8ee5b9b0b08ed5c8d946c68
    Closes-Bug: #1355669

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: juno-rc1 → 2014.2
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.