[proxy] Return LISTs as arrays, rather than objects

Bug #1233277 reported by Allele Dev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
Fix Released
Medium
Zhihao Yuan

Bug Description

LIST /v1/partitions and LIST /v1/catalogue return an object of objects. It makes more sense to return an array of objects.

```current
{
  {"name": ...},
  {"name2": ...},
  ...
}
```

```desired
[
  {"name": ...},
  {"name2": ...},
  ...
]
```

Zhihao Yuan (zyuan)
Changed in marconi:
assignee: nobody → Zhihao Yuan (zyuan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to marconi (master)

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

Changed in marconi:
status: New → In Progress
Allele Dev (alleledev)
Changed in marconi:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to marconi (master)

Reviewed: https://review.openstack.org/49595
Committed: http://github.com/openstack/marconi/commit/f59dd2d2d04e65ffd178a66b7aa71b36cfcfbbcd
Submitter: Jenkins
Branch: master

commit f59dd2d2d04e65ffd178a66b7aa71b36cfcfbbcd
Author: Zhihao Yuan <email address hidden>
Date: Wed Oct 2 16:45:47 2013 -0400

    feat(proxy): listing opts returns lists

    Closes-Bug: 1233277

    Change-Id: I46e021b04d8245002273db240bbe68f2e4457be7

Changed in marconi:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in marconi:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in marconi:
milestone: icehouse-1 → 2014.1
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.