[proxy] Return LISTs as arrays, rather than objects

Bug #1233277 reported by Allele Dev on 2013-09-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zaqar
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) on 2013-10-02
Changed in marconi:
assignee: nobody → Zhihao Yuan (zyuan)

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

Changed in marconi:
status: New → In Progress
Allele Dev (alleledev) on 2013-10-04
Changed in marconi:
importance: Undecided → Medium

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) on 2013-12-19
Changed in marconi:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in marconi:
milestone: icehouse-1 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers