From c07bff7f94f0d8474fd9cb3e0e1abf2220448394 Mon Sep 17 00:00:00 2001 From: Ziad Sawalha Date: Fri, 19 Aug 2011 16:35:15 -0500 Subject: Updated samples Change-Id: Ie01a113028ddacfd773bd937fdb08a600f380129 --- keystone/content/common/samples/auth.json | 10 +++++----- keystone/content/common/samples/auth.xml | 16 ++++++++-------- .../content/common/samples/auth_credentials-OS-EC2.json | 12 +++++++----- .../content/common/samples/auth_credentials-OS-EC2.xml | 6 +++++- .../content/common/samples/auth_credentials-RAX-KEY.json | 11 ++++++----- .../content/common/samples/auth_credentials-RAX-KEY.xml | 8 ++++---- keystone/content/common/samples/auth_credentials.json | 11 +++++++---- keystone/content/common/samples/auth_credentials.xml | 9 ++++++--- 8 files changed, 48 insertions(+), 35 deletions(-) diff --git a/keystone/content/common/samples/auth.json b/keystone/content/common/samples/auth.json index 9b6285e0..1b648918 100644 --- a/keystone/content/common/samples/auth.json +++ b/keystone/content/common/samples/auth.json @@ -10,16 +10,16 @@ "type": "compute", "endpoints": [ { - "publicURL": "https://compute.north.host/v1/blah-blah", - "internalURL": "https://compute.north.host/v1/blah-blah", + "publicURL": "https://compute.north.host/v1/1234", + "internalURL": "https://compute.north.host/v1/1234", "region": "North", "tenantId": "1234", "versionId": "1.0", "versionInfo": "https://compute.north.host/v1.0/", "versionList": "https://compute.north.host/" }, { - "publicURL": "https://compute.north.host/v1.1/blah-blah", - "internalURL": "https://compute.north.host/v1.1/blah-blah", + "publicURL": "https://compute.north.host/v1.1/3456", + "internalURL": "https://compute.north.host/v1.1/3456", "region": "North", "tenantId": "3456", "versionId": "1.1", @@ -60,7 +60,7 @@ "serviceCatalog_links": [ { "rel": "next", - "href": "uri" + "href": "https://identity.host/v2.0/endpoints?session=2834jshfh898yur&marker=2" } ] } diff --git a/keystone/content/common/samples/auth.xml b/keystone/content/common/samples/auth.xml index 53a60058..01f3036b 100644 --- a/keystone/content/common/samples/auth.xml +++ b/keystone/content/common/samples/auth.xml @@ -7,8 +7,8 @@ + publicURL="https://north.compute.public.com/v2.0/1234" + internalURL="https://north.compute.internal.com/v2.0/1234"> + publicURL="https://south.compute.public.com/v2.0/3456" + internalURL="https://south.compute.internal.com/v2.0/3456"> + publicURL="https://north.object-store.public.com/v1/1234" + internalURL="https://north.object-store.internal.com/v1/1234"> + publicURL="https://south.object-store.public.com/v2.0/3456" + internalURL="https://south.object-store.internal.com/v2.0/3456"> - + + \ No newline at end of file diff --git a/keystone/content/common/samples/auth_credentials-RAX-KEY.json b/keystone/content/common/samples/auth_credentials-RAX-KEY.json index 95af8d61..adc7507c 100644 --- a/keystone/content/common/samples/auth_credentials-RAX-KEY.json +++ b/keystone/content/common/samples/auth_credentials-RAX-KEY.json @@ -1,7 +1,8 @@ { - "RAX-KEY:apikeyCredentials": { - "username": "test_user", - "apikey": "aaaaa-bbbbb-ccccc-12345678", - "tenantId": "77654" + "auth": { + "RAX-KEY:apikeyCredentials": { + "username": "test_user", + "apikey": "aaaaa-bbbbb-ccccc-12345678" + } } -} +} \ No newline at end of file diff --git a/keystone/content/common/samples/auth_credentials-RAX-KEY.xml b/keystone/content/common/samples/auth_credentials-RAX-KEY.xml index 133e4340..d8529896 100644 --- a/keystone/content/common/samples/auth_credentials-RAX-KEY.xml +++ b/keystone/content/common/samples/auth_credentials-RAX-KEY.xml @@ -1,7 +1,7 @@ - + - + apikey="aaaaa-bbbbb-ccccc-12345678"/> + diff --git a/keystone/content/common/samples/auth_credentials.json b/keystone/content/common/samples/auth_credentials.json index d26a5d4a..282f321d 100644 --- a/keystone/content/common/samples/auth_credentials.json +++ b/keystone/content/common/samples/auth_credentials.json @@ -1,6 +1,9 @@ { - "passwordCredentials": { - "username": "test_user", - "password": "a86850deb2742ec3cb41518e26aa2d89" + "auth": { + "passwordCredentials": { + "username": "test_user", + "password": "mypass" + }, + "tenantId": "1234" } -} +} \ No newline at end of file diff --git a/keystone/content/common/samples/auth_credentials.xml b/keystone/content/common/samples/auth_credentials.xml index 2de074d4..a02c7c8e 100644 --- a/keystone/content/common/samples/auth_credentials.xml +++ b/keystone/content/common/samples/auth_credentials.xml @@ -1,5 +1,8 @@ - + \ No newline at end of file + password="P@ssword1"/> + \ No newline at end of file -- cgit