![Sean Dague](/assets/img/avatar_default.png)
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
18 lines
604 B
JSON
18 lines
604 B
JSON
{
|
|
"servers": [
|
|
{
|
|
"id": "22c91117-08de-4894-9aa9-6ef382400985",
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2/6f70656e737461636b20342065766572/servers/22c91117-08de-4894-9aa9-6ef382400985",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://openstack.example.com/6f70656e737461636b20342065766572/servers/22c91117-08de-4894-9aa9-6ef382400985",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"name": "new-server-test"
|
|
}
|
|
]
|
|
} |