Merge pull request #327 from jdaggett/master

Added sample Keystone Auth Response
This commit is contained in:
Adrian Cole 2012-01-18 13:48:38 -08:00
commit d295f304d2
1 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,93 @@
{
"access": {
"token": {
"expires": "2012-01-18T21:35:59.050Z",
"id": "Auth_4f173437e4b013bee56d1007",
"tenant": {
"id": "40806637803162",
"name": "user@jclouds.org-default-tenant"
}
},
"user": {
"id": "36980896575174",
"name": "user@jclouds.org",
"roles": [
{
"id": "00000000004022",
"serviceId": "110",
"name": "Admin",
"tenantId": "40806637803162"
},
{
"id": "00000000004024",
"serviceId": "140",
"name": "user",
"tenantId": "40806637803162"
},
{
"id": "00000000004004",
"serviceId": "100",
"name": "domainuser"
},
{
"id": "00000000004016",
"serviceId": "120",
"name": "netadmin",
"tenantId": "40806637803162"
}
]
},
"serviceCatalog": [
{
"name": "Object Storage",
"type": "object-store",
"endpoints": [
{
"tenantId": "40806637803162",
"adminURL": "https://objects.jclouds.org/v1.0/",
"publicURL": "https://objects.jclouds.org/v1.0/40806637803162",
"region": "region-a.geo-1",
"id": "1.0"
}
]
},
{
"name": "Identity",
"type": "identity",
"endpoints": [
{
"publicURL": "https://csnode.jclouds.org/v2.0/",
"region": "region-a.geo-1",
"id": "2.0",
"list": "https://csnode.jclouds.org/extension"
}
]
},
{
"name": "Image Management",
"type": "image",
"endpoints": [
{
"tenantId": "40806637803162",
"publicURL": "https://glance.jclouds.org:9292/v1.0",
"region": "az-1.region-a.geo-1",
"id": "1.0"
}
]
},
{
"name": "Compute",
"type": "compute",
"endpoints": [
{
"tenantId": "40806637803162",
"publicURL": "http://compute-1.jclouds.org:8774/v1.1/40806637803162",
"region": "az-1.region-a.geo-1",
"id": "1.1",
"list": "http://compute-1.jclouds.org:8774"
}
]
}
]
}
}