Merge "Update sample responses to list v3/endpoints and v3/policies"

This commit is contained in:
Jenkins 2015-11-20 02:43:05 +00:00 committed by Gerrit Code Review
commit 6b200839c7
2 changed files with 31 additions and 45 deletions

View File

@ -1,22 +1,21 @@
{ {
"endpoints": [ "endpoints": [
{ {
"id": "828384", "region_id": "RegionOne",
"links": {
"self": "http://identity:35357/v3/endpoints/16cc0008313544c198ed50f33ba863d1"
},
"url": "http://identity:8774/v2/$(tenant_id)s",
"region": "RegionOne",
"enabled": true,
"interface": "public", "interface": "public",
"links": { "service_id": "b9e34f93ef0b459b94fbaf77fc9ee976",
"self": "http://identity:35357/v3/endpoints/828384" "id": "16cc0008313544c198ed50f33ba863d1"
}, }
"name": "the public volume endpoint", ],
"service_id": "686766" "links": {
}, "self": "http://identity:35357/v3/endpoints",
{ "previous": null,
"id": "642136", "next": null
"interface": "internal",
"links": {
"self": "http://identity:35357/v3/endpoints/642136"
},
"name": "the internal volume endpoint",
"service_id": "686766"
} }
]
} }

View File

@ -1,30 +1,17 @@
[
{ {
"blob": {
"foobar_user": [
"role:compute-user"
]
},
"id": "717273",
"links": { "links": {
"self": "http://identity:35357/v3/policies/717273" "self": "http://identity:35357/v3/policies",
}, "previous": null,
"project_id": "456789", "next": null
"type": "application/json",
"user_id": "616263"
}, },
"policies": [
{ {
"blob": {
"foobar_user": [
"role:compute-user"
]
},
"id": "717274",
"links": {
"self": "http://identity:35357/v3/policies/717274"
},
"project_id": "456789",
"type": "application/json", "type": "application/json",
"user_id": "616263" "id": "ea578b7ac0604b699d255e62d07677db",
"links": {
"self": "http://identity:35357/v3/policies/ea578b7ac0604b699d255e62d07677db"
},
"blob": "{'foobar_user': 'role:compute-user'}"
} }
] ]
}