Update Identity endpoint in v2 samples

Change the endpoints in order to match the current API responses.
Switch sample domain from localhost to example.com.

localhost:5000/v2.0 -> example.com/identity/v2.0
localhost:35357/v2.0 -> example.com/identity_v2_admin/v2.0

The service catalog returned in authenticate-response, though, doesn't
keep the /v2.0. So, in this case, switch from localhost:5000/v2.0 to
example.com/identity. This matches the current API responses.

Change-Id: If26baeca17b19fa9fac3ace285d10dd28e824d4a
This commit is contained in:
Clenimar Filemon 2016-07-13 19:56:46 -03:00
parent 73fff924f1
commit 9c4ac4e613
4 changed files with 9 additions and 9 deletions

View File

@ -141,11 +141,11 @@
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:35357/v2.0",
"adminURL": "http://example.com/identity_v2_admin",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:5000/v2.0",
"internalURL": "http://example.com/identity",
"id": "26af053673df4ef3a2340c4239e21ea2",
"publicURL": "http://23.253.72.207:5000/v2.0"
"publicURL": "http://example.com/identity"
}
],
"endpoints_links": [],

View File

@ -11,7 +11,7 @@
"id": "v2.0",
"links": [
{
"href": "http://localhost:5000/v2.0/",
"href": "http://example.com/identity/v2.0/",
"rel": "self"
},
{

View File

@ -5,7 +5,7 @@
"id": "v3.4",
"links": [
{
"href": "http://localhost:35357/v3/",
"href": "http://example.com/identity/v3/",
"rel": "self"
}
],
@ -22,7 +22,7 @@
"id": "v2.0",
"links": [
{
"href": "http://localhost:35357/v2.0/",
"href": "http://example.com/identity/v2.0/",
"rel": "self"
},
{

View File

@ -141,11 +141,11 @@
{
"endpoints": [
{
"adminURL": "http://23.253.72.207:35357/v2.0",
"adminURL": "http://example.com/identity_v2_admin",
"region": "RegionOne",
"internalURL": "http://23.253.72.207:5000/v2.0",
"internalURL": "http://example.com/identity",
"id": "26af053673df4ef3a2340c4239e21ea2",
"publicURL": "http://23.253.72.207:5000/v2.0"
"publicURL": "http://example.com/identity"
}
],
"endpoints_links": [],