0c57f3c4e0
When we put validation into the project_id in urls we had to expand the default set of allowed values to include 'openstack' and 'fake'. This cleans up all the instances of 'openstack' in the functional tests, and api samples, and instead uses a constant string which looks like a real project_id. We need a stable project_id and not a sentinel otherwise the samples will be arbitrarily changes on every update. Change-Id: I1099fd43d2374abd1658b0917765d5375c4b8d1d
138 lines
5.7 KiB
JSON
138 lines
5.7 KiB
JSON
{
|
|
"images": [
|
|
{
|
|
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"name": "fakeimage7"
|
|
},
|
|
{
|
|
"id": "155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"name": "fakeimage123456"
|
|
},
|
|
{
|
|
"id": "a2459075-d96c-40d5-893e-577ff92e721c",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/a2459075-d96c-40d5-893e-577ff92e721c",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"name": "fakeimage123456"
|
|
},
|
|
{
|
|
"id": "a440c04b-79fa-479c-bed1-0b816eaec379",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/a440c04b-79fa-479c-bed1-0b816eaec379",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"name": "fakeimage6"
|
|
},
|
|
{
|
|
"id": "c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/c905cedb-7281-47e4-8a62-f26bc5fc4c77",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"name": "fakeimage123456"
|
|
},
|
|
{
|
|
"id": "cedef40a-ed67-4d10-800e-17455edce175",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/images/cedef40a-ed67-4d10-800e-17455edce175",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/cedef40a-ed67-4d10-800e-17455edce175",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/cedef40a-ed67-4d10-800e-17455edce175",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"name": "fakeimage123456"
|
|
},
|
|
{
|
|
"id": "76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
|
"rel": "bookmark"
|
|
},
|
|
{
|
|
"href": "http://glance.openstack.example.com/images/76fa36fc-c930-4bf3-8c8a-ea2a2420deb6",
|
|
"rel": "alternate",
|
|
"type": "application/vnd.openstack.image"
|
|
}
|
|
],
|
|
"name": "fakeimage123456"
|
|
}
|
|
]
|
|
}
|