Deprecation of Query2 format; introduce a simplified Query2
Rationale:
Query2 was introduced during 12.04 as a new feature for machine read-able format. While the new JSON format describes the images, it is rather unweildy. In light of that, it is proposed to deprecate the new format and introduce a simplified format which is based on request.
Goal:
Deprecate Query2 format.
Blueprint information
- Status:
- Not started
- Approver:
- Antonio Rosales
- Priority:
- Low
- Drafter:
- Ubuntu Server
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Discussion
- Series goal:
- Accepted for raring
- Implementation:
-
Unknown
- Milestone target:
-
ubuntu-13.04-alpha-2
- Started by
- Completed by
Whiteboard
User Stories:
Risks:
Test Plans:
Release Note:
(WI definition needed.) -[a.rosales; 12-DEC-2012]
--- UDS Discussion ---
The new format will return results based on URL, for example:
data=cloud&
Will return:
{
"request": {
"arch": "amd64",
"bad_asks": [],
"cloud": "EC2",
"data": "cloud",
"distro": "lucid",
"region": "ap-southeast-1",
"stream": "server"
},
"response": [
{
"arch": "amd64",
},
{
"arch": "amd64",
},
{
"arch": "amd64",
},
{
"arch": "amd64",
}
],
"vendor": {
"name": "Canonical Group, Ltd.",
"product": "Ubuntu Cloud Images",
},
"version": {
"epoch": 1348259881,
"uuid": "7c057ef45e1543
}
}
Work Items
Dependency tree

* Blueprints in grey have been implemented.