Skip to content

Instantly share code, notes, and snippets.

@glyph
Created March 3, 2015 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glyph/662c4c1c1d81dcba9a1a to your computer and use it in GitHub Desktop.
Save glyph/662c4c1c1d81dcba9a1a to your computer and use it in GitHub Desktop.
...
{
"endpoints": [
{
"publicURL": "http://localhost:8900/mimicking/MyAPIMock-523f81/ORD/v3/248246335143936",
"region": "ORD",
"tenantId": "248246335143936"
}
],
"name": "TestResource",
"type": "Test"
},
...
@glyph
Copy link
Author

glyph commented Mar 3, 2015

from the command in the README: curl -s -XPOST -d '{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"mimic","apiKey":"12345"}}}' http://localhost:8900/identity/v2.0/tokens | python -m json.tool

@arpithkp
Copy link

arpithkp commented Mar 3, 2015

{
"access": {
"token": {
"RAX-AUTH:authenticatedBy": [
"PASSWORD"
],
"expires": "2015-03-04T13:44:41.999-05:00",
"id": "token_fbda0547-80e5-4571-b56b-b60eb88d4a65",
"tenant": {
"id": "588666808008704",
"name": "588666808008704"
}
},
"serviceCatalog": [
{
"endpoints": [
{
"region": "ORD",
"publicURL": "http://localhost:8900/mimicking/QueueApi-c0ce7f/ORD/v1/588666808008704",
"tenantId": "588666808008704"
},
{
"region": "DFW",
"publicURL": "http://localhost:8900/mimicking/QueueApi-c0ce7f/DFW/v1/588666808008704",
"tenantId": "588666808008704"
},
{
"region": "IAD",
"publicURL": "http://localhost:8900/mimicking/QueueApi-c0ce7f/IAD/v1/588666808008704",
"tenantId": "588666808008704"
}
],
"type": "rax:queues",
"name": "cloudQueues"
},
{
"endpoints": [
{
"region": "ORD",
"publicURL": "http://localhost:8900/mimicking/RackConnectV3-2c49f8/ORD/v3/588666808008704",
"tenantId": "588666808008704"
}
],
"type": "rax:rackconnect",
"name": "rackconnect"
},
{
"endpoints": [
{
"region": "ORD",
"publicURL": "http://localhost:8900/mimicking/MaasApi-f46dc5/ORD/v1.0/588666808008704",
"tenantId": "588666808008704"
}
],
"type": "rax: monitor",
"name": "cloudMonitoring"
},
{
"endpoints": [
{
"region": "ORD",
"publicURL": "http://localhost:8900/mimicking/NovaApi-636c69/ORD/v2/588666808008704",
"tenantId": "588666808008704"
}
],
"type": "compute",
"name": "cloudServersOpenStack"
},
{
"endpoints": [
{
"region": "ORD",
"publicURL": "http://localhost:8900/mimicking/SwiftMock-c0953e/ORD/v1/MossoCloudFS_ae25e233-ef3a-5a35-9ffb-44db0b306b13",
"tenantId": "MossoCloudFS_ae25e233-ef3a-5a35-9ffb-44db0b306b13"
}
],
"type": "object-store",
"name": "cloudFiles"
},
{
"endpoints": [
{
"region": "ORD",
"publicURL": "http://localhost:8900/mimicking/LoadBalancerApi-6e77d9/ORD/v2/588666808008704",
"tenantId": "588666808008704"
}
],
"type": "rax:load-balancer",
"name": "cloudLoadBalancers"
}
],
"user": {
"id": "-2476143622379761678",
"roles": [
{
"id": "3",
"name": "identity:user-admin",
"description": "User Admin Role."
}
],
"name": "mimic"
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment