Pretty print JSON sample files and remove unused files
Pretty print JSON samples to follow JSON formatting conventions. Replace JSON and XML files with reference to api-site, so that we only have one place with these files. Remove unused JSON and XML sample files. Co-Autored-By: Diane Fleming <diane.fleming@rackspace.com> Partial-Bug: #1217503 Change-Id: If7b98a321b373d183859ba1ebce5cdd131b43161
This commit is contained in:
@@ -158,7 +158,7 @@
|
||||
Use the HP-IDM extension to perform the following operations on templates:
|
||||
</para>
|
||||
<wadl:resources>
|
||||
<wadl:resource href="../wadl/HP-IDM-admin.wadl#tokenById"/>
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/HP-IDM-admin.wadl#tokenById"/>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
</section>
|
||||
|
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"user": {
|
||||
"name": "jqsmith",
|
||||
"OS-KSADM:password": "secrete",
|
||||
"enabled": true,
|
||||
"tenantId": "af615b6af60b497e860392ad5e9f8dab",
|
||||
"email": "john.smith@example.org"
|
||||
}
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"passwordCredentials": {
|
||||
"username": "test_user",
|
||||
"password": "mypass"
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<passwordCredentials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0" username="test_user" password="test"/>
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"role": {
|
||||
"id": "123",
|
||||
"name": "Guest",
|
||||
"description": "Guest Access"
|
||||
}
|
||||
}
|
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<role xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
id="123" name="Admin" description="All Access" />
|
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"roles":[{
|
||||
"id": "123",
|
||||
"name": "compute:admin",
|
||||
"description": "Nova Administrator"
|
||||
}
|
||||
],
|
||||
"roles_links":[]
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<role id="123" name="Admin" description="All Access" />
|
||||
<role id="234" name="Guest" description="Guest Access" />
|
||||
</roles>
|
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"OS-KSADM:service":{
|
||||
"id": "123",
|
||||
"name": "nova",
|
||||
"type": "compute",
|
||||
"description": "OpenStack Compute Service"
|
||||
}
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<service
|
||||
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
|
||||
id="123" name="nova" type="compute"
|
||||
description="OpenStack Compute Service"/>
|
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"OS-KSADM:services":[{
|
||||
"id": "123",
|
||||
"name": "nova",
|
||||
"type": "compute",
|
||||
"description": "OpenStack Compute Service"
|
||||
},
|
||||
{
|
||||
"id": "234",
|
||||
"name": "glance",
|
||||
"type": "image",
|
||||
"description": "OpenStack Image Service"
|
||||
}
|
||||
],
|
||||
"OS-KSADM:services_links":[]
|
||||
}
|
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<services
|
||||
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0">
|
||||
<service id="123" name="nova" type="compute"
|
||||
description="OpenStack Compute Service"/>
|
||||
<service id="234" name="glance" type="image"
|
||||
description="OpenStack Image Service"/>
|
||||
</services>
|
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"tenant": {
|
||||
"id": "1234",
|
||||
"name": "ACME corp",
|
||||
"description": "A description ...",
|
||||
"enabled": true
|
||||
}
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
enabled="true" id="1234" name="ACME Corp">
|
||||
<description>A description...</description>
|
||||
</tenant>
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"tenant": {
|
||||
"name": "ACME corp",
|
||||
"description": "A description ...",
|
||||
"enabled": true
|
||||
}
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tenant xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
enabled="true" name="ACME Corp">
|
||||
<description>A description...</description>
|
||||
</tenant>
|
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"user": {
|
||||
"name": "jqsmith",
|
||||
"id": "84cdc81d5ba5448f885f857c3e7ae7dd",
|
||||
"enabled": true,
|
||||
"email": "john.smith@example.org",
|
||||
"tenantId": "af615b6af60b497e860392ad5e9f8dab"
|
||||
}
|
||||
}
|
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
enabled="true" email="john.smith@example.org"
|
||||
username="jqsmith" id="u1000"/>
|
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"users":[{
|
||||
"id": "u1000",
|
||||
"username": "jqsmith",
|
||||
"email": "john.smith@example.org",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"id": "u1001",
|
||||
"username": "jqsmith",
|
||||
"email": "john.smith@example.org",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"users_links":[]
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<users xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
enabled="true" email="john.smith@example.org"
|
||||
username="jqsmith" id="u1000"/>
|
||||
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
enabled="true" email="john.smith@example.org"
|
||||
username="jqsmith" id="u1001"/>
|
||||
</users>
|
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"user": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<user xmlns="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:type="UserWithOnlyEnabled"
|
||||
enabled="true"/>
|
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"user": {
|
||||
"username": "jqsmith",
|
||||
"email": "john.smith@example.org",
|
||||
"enabled": true,
|
||||
"OS-KSADM:password": "secrete"
|
||||
}
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
xmlns:OS-KSADM="http://docs.openstack.org/identity/api/ext/OS-KSADM/v1.0"
|
||||
enabled="true" email="john.smith@example.org"
|
||||
username="jqsmith"
|
||||
OS-KSADM:password="secrete"/>
|
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"endpoint": {
|
||||
"id": 1,
|
||||
"tenantId": 1,
|
||||
"region": "North",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<endpoint
|
||||
id="1"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="North"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1"
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"OS-KSCATALOG:endpointTemplate":{
|
||||
"id": 1,
|
||||
"region": "North",
|
||||
"global": true,
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/",
|
||||
"enabled": true
|
||||
}
|
||||
}
|
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<endpointTemplate
|
||||
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSCATALOG/v1.0"
|
||||
id="1"
|
||||
region="North"
|
||||
global="true"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
publicURL="https://service-public.com/v1"
|
||||
internalURL="https://service-internal.com/v1"
|
||||
enabled="true">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpointTemplate>
|
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"OS-KSCATALOG:endpointTemplate":{
|
||||
"id": 1
|
||||
}
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<endpointTemplate
|
||||
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSCATALOG/v1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:type="EndpointTemplateWithOnlyId"
|
||||
id="1"/>
|
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"OS-KSCATALOG:endpointsTemplates": [
|
||||
{
|
||||
"id": 1,
|
||||
"region": "North",
|
||||
"global": true,
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"region": "South",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.south.public.com/v1",
|
||||
"internalURL": "https://compute.south.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.south.public.com/v1/",
|
||||
"versionList": "https://compute.south.public.com/",
|
||||
"enabled": false
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"region": "North",
|
||||
"global": true,
|
||||
"type": "object-store",
|
||||
"publicURL": "https://object-store.north.public.com/v1.0",
|
||||
"versionId": "1.0",
|
||||
"versionInfo": "https://object-store.north.public.com/v1.0/",
|
||||
"versionList": "https://object-store.north.public.com/",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"region": "South",
|
||||
"type": "object-store",
|
||||
"publicURL": "https://object-store.south.public.com/v2",
|
||||
"versionId": "2",
|
||||
"versionInfo": "https://object-store.south.public.com/v2/",
|
||||
"versionList": "https://object-store.south.public.com/",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"global": true,
|
||||
"type": "OS-DNS:DNS",
|
||||
"publicURL": "https://dns.public.com/v3.2",
|
||||
"versionId": "1.0",
|
||||
"versionInfo": "https://dns.public.com/v1.0/",
|
||||
"versionList": "https://dns.public.com/",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"OS-KSCATALOG:endpointsTemplates_links": []
|
||||
}
|
@@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<endpointTemplates xmlns="http://docs.openstack.org/identity/api/ext/OS-KSCATALOG/v1.0">
|
||||
<endpointTemplate
|
||||
id="1"
|
||||
region="North"
|
||||
global="true"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
enabled="true">
|
||||
<version
|
||||
id="1"
|
||||
list="https://compute.north.public.com/"
|
||||
info="https://compute.north.public.com/v1"/>
|
||||
</endpointTemplate>
|
||||
<endpointTemplate
|
||||
id="2"
|
||||
region="south"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
publicURL="https://service2.public.com/v1"
|
||||
internalURL="https://service2.internal.public.com/v1"
|
||||
enabled="false">
|
||||
<version
|
||||
id="1"
|
||||
list="https://service1.public.com/"
|
||||
info="https://service1.public.com/v1"/>
|
||||
</endpointTemplate>
|
||||
<endpointTemplate
|
||||
id="3"
|
||||
region="DFW"
|
||||
global="true"
|
||||
type="ext1:service1"
|
||||
name="Compute"
|
||||
publicURL="https://service1.public.com/v1"
|
||||
enabled="true">
|
||||
<version
|
||||
id="1"
|
||||
list="https://service1.public.com/"
|
||||
info="https://service1.public.com/v1"/>
|
||||
</endpointTemplate>
|
||||
<endpointTemplate
|
||||
id="4"
|
||||
region="ORD"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
publicURL="https://service2.public.com/v1"
|
||||
enabled="true">
|
||||
<version
|
||||
id="1"
|
||||
list="https://service1.public.com/"
|
||||
info="https://service1.public.com/v1"/>
|
||||
</endpointTemplate>
|
||||
<endpointTemplate
|
||||
id="5"
|
||||
global="true"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
publicURL="https://service3.public.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
list="https://service1.public.com/"
|
||||
info="https://service1.public.com/v1"/>
|
||||
</endpointTemplate>
|
||||
</endpointTemplates>
|
@@ -1,64 +0,0 @@
|
||||
{
|
||||
"endpoints":[{
|
||||
"id": 1,
|
||||
"tenantId": "1",
|
||||
"region": "North",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"tenantId": "1",
|
||||
"region": "South",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"tenantId": "1",
|
||||
"region": "East",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"tenantId": "1",
|
||||
"region": "West",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"tenantId": "1",
|
||||
"region": "Global",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
}
|
||||
],
|
||||
"endpoints_links":[]
|
||||
}
|
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<endpoints
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<endpoint
|
||||
id="1"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="North"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
id="2"
|
||||
tenantId="2"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="South"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
id="3"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="East"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1"
|
||||
/>
|
||||
<endpoint
|
||||
id="4"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="West"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
id="5"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="Global"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
</endpoints>
|
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"auth":{
|
||||
"OS-KSEC2-ec2Credentials":{
|
||||
"username": "test_user",
|
||||
"secret": "aaaaa",
|
||||
"signature": "bbb"
|
||||
},
|
||||
"tenantId": "77654"
|
||||
}
|
||||
}
|
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<auth
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
tenantId="1234">
|
||||
<ec2Credentials
|
||||
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSEC2/v1.0"
|
||||
username="testuser"
|
||||
key="aaaaa"
|
||||
signature="bbbbb"/>
|
||||
</auth>
|
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"credentials":[{
|
||||
"passwordCredentials":{
|
||||
"username": "test_user",
|
||||
"password": "mypass"
|
||||
}
|
||||
},
|
||||
{
|
||||
"OS-KSEC2-ec2Credentials":{
|
||||
"username": "test_user",
|
||||
"secret": "aaaaa",
|
||||
"signature": "bbb"
|
||||
}
|
||||
}
|
||||
],
|
||||
"credentials_links":[]
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<credentials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<passwordCredentials username="test_user" password="test"/>
|
||||
<ec2Credentials xmlns="http://docs.openstack.org/identity/api/ext/OS-KSEC2/v1.0"
|
||||
username="testuser" key="aaaaa" signature="bbbbb"/>
|
||||
</credentials>
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"OS-KSEC2-ec2Credentials":{
|
||||
"username": "test_user",
|
||||
"secret": "aaaaa",
|
||||
"signature": "bbb"
|
||||
}
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ec2Credentials
|
||||
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSEC2/v1.0"
|
||||
username="testuser"
|
||||
key="aaaaa"
|
||||
signature="bbbbb"/>
|
@@ -36,8 +36,8 @@
|
||||
<!ENTITY NAMESPACE "http://docs.rackspace.com/identity/api/ext/OS-KSS3/v1.0">
|
||||
<!ENTITY CURRENTGUIDE "http://docs.openstack.org">
|
||||
|
||||
<!ENTITY S3CREDENTIALSREQUESTXML "samples/s3Credentials.xml">
|
||||
<!ENTITY S3CREDENTIALSREQUESTJSON "samples/s3Credentials.json">
|
||||
<!ENTITY S3CREDENTIALSREQUESTXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/OS-KSS3/samples/s3Credentials.xml">
|
||||
<!ENTITY S3CREDENTIALSREQUESTJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/OS-KSS3/samples/s3Credentials.json">
|
||||
|
||||
]>
|
||||
<book xmlns="http://docbook.org/ns/docbook"
|
||||
@@ -189,12 +189,12 @@
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource
|
||||
href="../wadl/OS-KSS3-admin.wadl#userCredentials">
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSS3-admin.wadl#userCredentials">
|
||||
<wadl:method href="listCredentials"/>
|
||||
<wadl:method href="addUserCredential"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource
|
||||
href="../wadl/OS-KSS3-admin.wadl#userCredentialsByType">
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSS3-admin.wadl#userCredentialsByType">
|
||||
<wadl:method href="getUserCredential"/>
|
||||
<wadl:method href="updateUserCredential"/>
|
||||
<wadl:method href="deleteUserCredential"/>
|
||||
|
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"credentials":[{
|
||||
"passwordCredentials":{
|
||||
"username": "test_user",
|
||||
"password": "mypass"
|
||||
}
|
||||
},
|
||||
{
|
||||
"OS-KSS3:s3Credentials":{
|
||||
"username": "test_user",
|
||||
"secret": "aaaaa",
|
||||
"signature": "bbb"
|
||||
}
|
||||
}
|
||||
],
|
||||
"credentials_links":[]
|
||||
}
|
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<credentials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<passwordCredentials username="test_user" password="test"/>
|
||||
<s3Credentials xmlns="http://docs.openstack.org/identity/api/ext/OS-KSS3/v1.0"
|
||||
username="testuser" key="aaaaa" signature="bbbbb"/>
|
||||
</credentials>
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"OS-KSS3:s3Credentials":{
|
||||
"username": "test_user",
|
||||
"secret": "aaaaa",
|
||||
"signature": "bbb"
|
||||
}
|
||||
}
|
@@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<s3Credentials
|
||||
xmlns="http://docs.openstack.org/identity/api/ext/OS-KSS3/v1.0"
|
||||
username="testuser"
|
||||
key="aaaaa"
|
||||
signature="bbbbb"/>
|
@@ -135,8 +135,8 @@
|
||||
<section xml:id="NewElement0001">
|
||||
<title>New Elements</title>
|
||||
<section xml:id="RackExt-0001">
|
||||
<title>OS-KSVALIDATE extension to Identity
|
||||
v2.0 API</title>
|
||||
<title>OS-KSVALIDATE extension to Identity v2.0
|
||||
API</title>
|
||||
<section xml:id="New-Elements-details-0002">
|
||||
<title>New Elements</title>
|
||||
<para>This extension allows token validation and
|
||||
@@ -169,14 +169,14 @@
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource
|
||||
href="../wadl/OS-KSVALIDATE-admin.wadl#validate">
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSVALIDATE-admin.wadl#validate">
|
||||
<wadl:method href="validateToken"/>
|
||||
<wadl:method href="checkToken"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource
|
||||
href="../wadl/OS-KSVALIDATE-admin.wadl#endpointsForToken">
|
||||
<wadl:method
|
||||
href="listEndpointsForToken"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSVALIDATE-admin.wadl#endpointsForToken">
|
||||
<wadl:method href="listEndpointsForToken"
|
||||
/>
|
||||
</wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
|
@@ -1,64 +0,0 @@
|
||||
{
|
||||
"endpoints":[{
|
||||
"id": 1,
|
||||
"tenantId": "1",
|
||||
"region": "North",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"tenantId": "1",
|
||||
"region": "South",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"tenantId": "1",
|
||||
"region": "East",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"tenantId": "1",
|
||||
"region": "West",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"tenantId": "1",
|
||||
"region": "Global",
|
||||
"type": "compute",
|
||||
"publicURL": "https://compute.north.public.com/v1",
|
||||
"internalURL": "https://compute.north.internal.com/v1",
|
||||
"adminURL": "https://compute.north.internal.com/v1",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://compute.north.public.com/v1/",
|
||||
"versionList": "https://compute.north.public.com/"
|
||||
}
|
||||
],
|
||||
"endpoints_links":[]
|
||||
}
|
@@ -1,75 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<endpoints
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<endpoint
|
||||
id="1"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="North"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
id="2"
|
||||
tenantId="2"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="South"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
id="3"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="East"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1"
|
||||
/>
|
||||
<endpoint
|
||||
id="4"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="West"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
<endpoint
|
||||
id="5"
|
||||
tenantId="1"
|
||||
type="compute"
|
||||
name="Compute"
|
||||
region="Global"
|
||||
publicURL="https://compute.north.public.com/v1"
|
||||
internalURL="https://compute.north.internal.com/v1"
|
||||
adminURL="https://compute.north.internal.com/v1">
|
||||
<version
|
||||
id="1"
|
||||
info="https://compute.north.public.com/v1/"
|
||||
list="https://compute.north.public.com/"
|
||||
/>
|
||||
</endpoint>
|
||||
</endpoints>
|
@@ -1,27 +0,0 @@
|
||||
{
|
||||
"access":{
|
||||
"token":{
|
||||
"id": "ab48a9efdfedb23ty3494",
|
||||
"expires": "2010-11-01T03:32:15-05:00",
|
||||
"tenant":{
|
||||
"id": "345",
|
||||
"name": "My Project"
|
||||
}
|
||||
},
|
||||
"user":{
|
||||
"id": "123",
|
||||
"name": "jqsmith",
|
||||
"roles":[{
|
||||
"id": "234",
|
||||
"name": "compute:admin"
|
||||
},
|
||||
{
|
||||
"id": "234",
|
||||
"name": "object-store:admin",
|
||||
"tenantId": "1"
|
||||
}
|
||||
],
|
||||
"roles_links":[]
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<access xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<token id="ab48a9efdfedb23ty3494" expires="2010-11-01T03:32:15-05:00">
|
||||
<tenant id="456" name="My Project" />
|
||||
</token>
|
||||
<user id="123" name="jqsmith">
|
||||
<roles xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<role id="123" name="Admin" tenantId="one"/>
|
||||
<role id="234" name="object-store:admin" tenantId="1"/>
|
||||
</roles>
|
||||
</user>
|
||||
</access>
|
@@ -32,14 +32,14 @@
|
||||
</tr>
|
||||
</thead>'>
|
||||
|
||||
<!ENTITY GROUPSREQUESTXML "../RAX-GRPADM/samples/groups.xml">
|
||||
<!ENTITY GROUPSREQUESTJSON "../RAX-GRPADM/samples/groups.json">
|
||||
<!ENTITY GROUPSREQUESTXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-GRPADM/samples/groups.xml">
|
||||
<!ENTITY GROUPSREQUESTJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-GRPADM/samples/groups.json">
|
||||
|
||||
<!ENTITY GROUPREQUESTXML "../RAX-GRPADM/samples/group.xml">
|
||||
<!ENTITY GROUPREQUESTJSON "../RAX-GRPADM/samples/group.json">
|
||||
<!ENTITY GROUPREQUESTXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-GRPADM/samples/group.xml">
|
||||
<!ENTITY GROUPREQUESTJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-GRPADM/samples/group.json">
|
||||
|
||||
<!ENTITY UPDATEDGROUPREQUESTXML "../RAX-GRPADM/samples/group-updated.xml">
|
||||
<!ENTITY UPDATEDGROUPREQUESTJSON "../RAX-GRPADM/samples/group-updated.json">
|
||||
<!ENTITY UPDATEDGROUPREQUESTXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-GRPADM/samples/group-updated.xml">
|
||||
<!ENTITY UPDATEDGROUPREQUESTJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-GRPADM/samples/group-updated.json">
|
||||
|
||||
<!-- Information about the extension -->
|
||||
<!ENTITY PUB_DATE "2011-01-23">
|
||||
@@ -96,8 +96,8 @@
|
||||
name="OpenStack Identity Rackspace Group Admin"
|
||||
namespace="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0"
|
||||
alias="RAX-GRPADM" updated="2011-08-14T13:25:27-06:00">
|
||||
<description> Rackspace extensions to Identity
|
||||
v2.0 API enabling Group Admin. </description>
|
||||
<description> Rackspace extensions to Identity v2.0 API
|
||||
enabling Group Admin. </description>
|
||||
<atom:link rel="describedby" type="application/pdf"
|
||||
href="https://raw.github.com/openstack/identity-api/master/openstack-identity-api/src/docbkx/extensions/RAX-GRPADM/RAX-GRPADM-devguide.pdf"/>
|
||||
<atom:link rel="describedby"
|
||||
@@ -106,9 +106,9 @@
|
||||
/>
|
||||
</extension>
|
||||
<abstract>
|
||||
<para>This document is for software developers
|
||||
who want to use the Group Admin Extension to the
|
||||
OpenStack Identity Application Programming Interface
|
||||
<para>This document is for software developers who want to
|
||||
use the Group Admin Extension to the OpenStack
|
||||
Identity Application Programming Interface
|
||||
(<abbrev>API</abbrev>).</para>
|
||||
</abstract>
|
||||
<revhistory>
|
||||
@@ -191,24 +191,25 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<para>A new resource is created at <literal>/RAX-GRPADM/groups</literal> that
|
||||
enables the management of groups.</para>
|
||||
<para>A new resource is created at
|
||||
<literal>/RAX-GRPADM/groups</literal> that enables
|
||||
the management of groups.</para>
|
||||
<section xml:id="Group_Operations_RAX_KSGRPADM">
|
||||
<title>Group Operations</title>
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource
|
||||
href="../wadl/RAX-GRPADM.wadl#groups">
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-GRPADM.wadl#groups">
|
||||
<wadl:method href="addGroup"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource
|
||||
href="../wadl/RAX-GRPADM.wadl#group">
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-GRPADM.wadl#group">
|
||||
<wadl:method href="getGroup"/>
|
||||
<wadl:method href="updateGroup"/>
|
||||
<wadl:method href="getUsersForGroup"/>
|
||||
<wadl:method href="deleteGroup"/>
|
||||
</wadl:resource>
|
||||
<wadl:resource href="../wadl/RAX-GRPADM.wadl#user">
|
||||
<wadl:resource
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-GRPADM.wadl#user">
|
||||
<wadl:method href="addUserToGroup"/>
|
||||
<wadl:method href="removeUserFromGroup"/>
|
||||
</wadl:resource>
|
||||
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"RAX-KSGRP:group": {
|
||||
"name": "group1",
|
||||
"description": "A Description of the group"
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
<group name="group1" xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
|
||||
<description>A Description of the group</description>
|
||||
</group>
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"RAX-KSGRP:group": {
|
||||
"name": "newName",
|
||||
"description": "A Description of the group"
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
<group name="newName" xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
|
||||
<description>A new description</description>
|
||||
</group>
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"RAX-KSGRP:group": {
|
||||
"id": "1234",
|
||||
"name": "newName",
|
||||
"description": "A new description"
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
<group id="1234" name="newName" xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
|
||||
<description>A new description</description>
|
||||
</group>
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"RAX-KSGRP:group": {
|
||||
"id": "1234",
|
||||
"name": "group1",
|
||||
"description": "A Description of the group"
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
<group id="1234" name="group1" xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
|
||||
<description>A Description of the group</description>
|
||||
</group>
|
@@ -1,25 +0,0 @@
|
||||
{
|
||||
"RAX-KSGRP:groups": [
|
||||
{
|
||||
"id": "1234",
|
||||
"name": "group1",
|
||||
"description": "A Description of the group"
|
||||
},
|
||||
{
|
||||
"id": "1235",
|
||||
"name": "group2",
|
||||
"description": "A Description of the group"
|
||||
},
|
||||
{
|
||||
"id": "1236",
|
||||
"name": "group3",
|
||||
"description": "A Description of the group"
|
||||
}
|
||||
],
|
||||
"RAX-KSGRP:groups_links": [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "https://identity.openstack.com/v2.0/RAX-GRPADM/groups?marker=1236"
|
||||
}
|
||||
]
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
<groups xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0"
|
||||
xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<group id="1234" name="group1">
|
||||
<description>A Description of the group</description>
|
||||
</group>
|
||||
<group id="1235" name="group2">
|
||||
<description>A Description of the group</description>
|
||||
</group>
|
||||
<group id="1236" name="group3">
|
||||
<description>A Description of the group</description>
|
||||
</group>
|
||||
<atom:link rel="next" href="https://identity.openstack.com/v2.0/RAX-GRPADM/groups?marker=1236"/>
|
||||
</groups>
|
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"users": [
|
||||
{
|
||||
"id": "u1000",
|
||||
"username": "jqsmith",
|
||||
"email": "john.smith@example.org",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"id": "u1001",
|
||||
"username": "jqsmith",
|
||||
"email": "john.smith@example.org",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"users_links": []
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<users xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
enabled="true" email="john.smith@example.org"
|
||||
username="jqsmith" id="u1000"/>
|
||||
<user xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
enabled="true" email="john.smith@example.org"
|
||||
username="jqsmith" id="u1001"/>
|
||||
</users>
|
@@ -36,15 +36,15 @@
|
||||
<!ENTITY NAMESPACE "http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
|
||||
<!ENTITY CURRENTGUIDE "http://docs.rackspace.com/api">
|
||||
<!ENTITY EXTENSIONXSD "xsd/RAX-KSGRP-groups.xsd">
|
||||
<!ENTITY GROUPSXML "samples/RAX-KSGRP-groups.xml">
|
||||
<!ENTITY GROUPSJSON "samples/RAX-KSGRP-groups.json">
|
||||
<!ENTITY GROUPXML "samples/RAX-KSGRP-group.xml">
|
||||
<!ENTITY GROUPJSON "samples/RAX-KSGRP-group.json">
|
||||
<!ENTITY GROUPSXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/RAX-KSGRP-groups.xml">
|
||||
<!ENTITY GROUPSJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/RAX-KSGRP-groups.json">
|
||||
<!ENTITY GROUPXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/RAX-KSGRP-group.xml">
|
||||
<!ENTITY GROUPJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/RAX-KSGRP-group.json">
|
||||
|
||||
<!ENTITY GROUPREQUESTXML "../../common/samples/auth_credentials.xml">
|
||||
<!ENTITY GROUPREQUESTJSON "../../common/samples/auth_credentials.json">
|
||||
<!ENTITY GROUPRESPONSEXML "../../common/samples/authwithgroups.xml">
|
||||
<!ENTITY GROUPRESPONSEJSON "../../common/samples/authwithgroups.json">
|
||||
<!ENTITY GROUPREQUESTXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/auth_credentials.xml">
|
||||
<!ENTITY GROUPREQUESTJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/auth_credentials.json">
|
||||
<!ENTITY GROUPRESPONSEXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/authwithgroups.xml">
|
||||
<!ENTITY GROUPRESPONSEJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSGRP/samples/authwithgroups.json">
|
||||
|
||||
]>
|
||||
<book xmlns="http://docbook.org/ns/docbook"
|
||||
@@ -93,8 +93,8 @@
|
||||
name="Rackspace Identity Service Group Extensions"
|
||||
namespace="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0"
|
||||
alias="RAX-KSGRP" updated="2011-08-14T13:25:27-06:00">
|
||||
<description>Rackspace extensions to Identity v2.0
|
||||
API enabling groups.</description>
|
||||
<description>Rackspace extensions to Identity v2.0 API
|
||||
enabling groups.</description>
|
||||
<atom:link rel="describedby" type="application/pdf"
|
||||
href="httaw.github.com/openstack/identity-api/master/openstack-identity-api/src/docbkx/extensions/RAX-KSGRP/RAX-KSGRP-devguide.pdf"/>
|
||||
<atom:link rel="describedby"
|
||||
@@ -123,9 +123,9 @@
|
||||
</info>
|
||||
<chapter xml:id="chapter-0001">
|
||||
<title>Summary of Changes</title>
|
||||
<para>Rackspace extensions to Identity v2.0 API
|
||||
allows authenticate call to also return information about
|
||||
group memberships of the user.</para>
|
||||
<para>Rackspace extensions to Identity v2.0 API allows
|
||||
authenticate call to also return information about group
|
||||
memberships of the user.</para>
|
||||
<section xml:id="NewHeaders-0001">
|
||||
<title>New Headers</title>
|
||||
<para>None.</para>
|
||||
@@ -145,8 +145,8 @@
|
||||
<section xml:id="NewElement0001">
|
||||
<title>New Elements</title>
|
||||
<section xml:id="RackExt-0001">
|
||||
<title>Rackspace extensions to the Identity v2.0
|
||||
API enabling groups.</title>
|
||||
<title>Rackspace extensions to the Identity v2.0 API
|
||||
enabling groups.</title>
|
||||
<section xml:id="New-Elements-details-0002">
|
||||
<title>New Elements</title>
|
||||
<para>This extension starts returning groups as a
|
||||
@@ -186,14 +186,15 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<para>The
|
||||
Rackspace API Groups Service Extension adds the following calls:</para>
|
||||
<para>The Rackspace API Groups Service Extension
|
||||
adds the following calls:</para>
|
||||
<section xml:id="User_Operations_RAX_KSGRP">
|
||||
<title>Group Operations</title>
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02" href="../wadl/RAX-KSGRP-admin.wadl">
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-KSGRP-admin.wadl">
|
||||
<!-- <wadl:resource
|
||||
href="../wadl/RAX-KSGRP-admin.wadl#user-groups-RAX-KSGRP">
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-KSGRP-admin.wadl#user-groups-RAX-KSGRP">
|
||||
<wadl:method href="listUserGroups"/>
|
||||
</wadl:resource>-->
|
||||
</wadl:resources>
|
||||
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"RAX-KSGRP:group": {
|
||||
"description": "Default Limits",
|
||||
"id": "1",
|
||||
"name": "Default"
|
||||
}
|
||||
}
|
@@ -1,3 +0,0 @@
|
||||
<group xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0" id="1" name="Default" >
|
||||
<description>Default Limits</description>
|
||||
</group>
|
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"RAX-KSGRP:groups": [
|
||||
{
|
||||
"description": "Default Limits",
|
||||
"id": "1",
|
||||
"name": "Default"
|
||||
},
|
||||
{
|
||||
"description": "This is the first new group.",
|
||||
"id": "1550",
|
||||
"name": "New Group 1"
|
||||
},
|
||||
{
|
||||
"description": "Defaults with faster rate limits",
|
||||
"id": "214",
|
||||
"name": "Faster Defaults"
|
||||
}
|
||||
],
|
||||
"RAX-KSGRP:groups_links":[]
|
||||
}
|
@@ -1,11 +0,0 @@
|
||||
<groups xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0">
|
||||
<group xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0" id="1" name="Default" >
|
||||
<description>Default Limits</description>
|
||||
</group>
|
||||
<group xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0" id="1550" name="New Group 1" >
|
||||
<description>This is the first new group.</description>
|
||||
</group>
|
||||
<group xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0" id="214" name="Faster Defaults" >
|
||||
<description>Defaults with faster rate limits</description>
|
||||
</group>
|
||||
</groups>
|
@@ -31,8 +31,8 @@
|
||||
<td colspan="4">Description</td>
|
||||
</tr>
|
||||
</thead>'>
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTXML "samples/apiKeyCredentials.xml">
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTJSON "samples/apiKeyCredentials.json">
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSKEY/samples/apiKeyCredentials.xml">
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSKEY/samples/apiKeyCredentials.json">
|
||||
]>
|
||||
<book xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
@@ -79,8 +79,8 @@
|
||||
name="Rackspace API Key authentication"
|
||||
namespace="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
||||
alias="RAX-KSKEY" updated="2011-08-14T13:25:27-06:00">
|
||||
<description> Rackspace extensions to Identity
|
||||
v2.0 API enabling API Key authentication. </description>
|
||||
<description> Rackspace extensions to Identity v2.0 API
|
||||
enabling API Key authentication. </description>
|
||||
<atom:link rel="describedby" type="application/pdf"
|
||||
href="https://raw.github.com/openstack/identity-api/master/openstack-identity-api/src/docbkx/extensions/RAX-KSKEY/RAX-KSKEY-admin-devguide.pdf"/>
|
||||
<atom:link rel="describedby"
|
||||
@@ -91,9 +91,8 @@
|
||||
<abstract>
|
||||
<para>This document is intended for service developers
|
||||
interested in using the Rackspace API Key
|
||||
Authentication Admin Extension along with
|
||||
OpenStack Identity (<abbrev>API</abbrev>).
|
||||
</para>
|
||||
Authentication Admin Extension along with OpenStack
|
||||
Identity (<abbrev>API</abbrev>).</para>
|
||||
</abstract>
|
||||
<revhistory>
|
||||
<revision>
|
||||
@@ -136,9 +135,9 @@
|
||||
<title>RAX-KSKEY Admin Extension</title>
|
||||
<para>This extension enables authentication calls to
|
||||
accept the
|
||||
<parameter>apikeyCredentials</parameter> parameter.
|
||||
These credentials support Rackspace-style authentication.
|
||||
</para>
|
||||
<parameter>apikeyCredentials</parameter>
|
||||
parameter. These credentials support
|
||||
Rackspace-style authentication.</para>
|
||||
<example>
|
||||
<title>apikeyCredentials XML</title>
|
||||
<programlisting language="xml"><xi:include href="&APIKEYCREDENTIALSREQUESTXML;" parse="text"/></programlisting>
|
||||
@@ -172,16 +171,17 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<para>The Rackspace API Key
|
||||
Authentication Extension adds the following calls:</para>
|
||||
<para>The Rackspace API Key Authentication Extension adds
|
||||
the following calls:</para>
|
||||
<section xml:id="User_Operations_RAX_KSKEY">
|
||||
<title>User Operations</title>
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"
|
||||
href="../wadl/RAX-KSKEY-admin.wadl">
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-KSKEY-admin.wadl">
|
||||
<wadl:resource
|
||||
href="../wadl/RAX-KSKEY-admin.wadl#users">
|
||||
</wadl:resource> </wadl:resources>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-KSKEY-admin.wadl#users"
|
||||
> </wadl:resource>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
</section>
|
||||
</chapter>
|
||||
|
@@ -33,8 +33,8 @@
|
||||
</thead>'>
|
||||
<!ENTITY NAMESPACE "http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0">
|
||||
<!ENTITY EXTENSIONXSD "xsd/RAX-KSKEY-credentials.xsd">
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTXML "../RAX-KSKEY/samples/apiKeyCredentials.xml">
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTJSON "../RAX-KSKEY/samples/apiKeyCredentials.json">
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTXML "../samples/apiKeyCredentials.xml">
|
||||
<!ENTITY APIKEYCREDENTIALSREQUESTJSON "../samples/apiKeyCredentials.json">
|
||||
<!ENTITY APIKEYCREDENTIALSRESPONSEXML "../samples/auth.xml">
|
||||
<!ENTITY APIKEYCREDENTIALSRESPONSEJSON "../samples/auth.json">
|
||||
]>
|
||||
@@ -74,9 +74,8 @@
|
||||
<abstract>
|
||||
<para>This document is intended for client developers
|
||||
interested in using the Rackspace API Key
|
||||
Authentication Service Extension along with
|
||||
OpenStack Identity (<abbrev>API</abbrev>).
|
||||
</para>
|
||||
Authentication Service Extension along with OpenStack
|
||||
Identity (<abbrev>API</abbrev>).</para>
|
||||
</abstract>
|
||||
<othercredit>
|
||||
<personname>
|
||||
@@ -95,7 +94,8 @@
|
||||
<atom:link rel="describedby" type="application/pdf"
|
||||
href="http://docs.rackspacecloud.com/auth/api/v2.0/RAX-KSKEY/RAX-KSKEY-service-devguide.pdf"/>
|
||||
<atom:link rel="describedby" type="application/xml"
|
||||
href="http://docs.rackspacecloud.com/auth/api/v2.0/RAX-KSKEY/xsd/RAX-KSKEY-credentials.xsd"/>
|
||||
href="http://docs.rackspacecloud.com/auth/api/v2.0/RAX-KSKEY/xsd/RAX-KSKEY-credentials.xsd"
|
||||
/>
|
||||
</extension>
|
||||
<revhistory>
|
||||
<revision>
|
||||
@@ -134,11 +134,13 @@
|
||||
<section xml:id="NewElement0001">
|
||||
<title>New Element</title>
|
||||
<section xml:id="RackExt-0001">
|
||||
<title>Rackspace Extensions to Identity v2.0 API</title>
|
||||
<title>Rackspace Extensions to Identity v2.0
|
||||
API</title>
|
||||
<section xml:id="Authenticate-d1e1166">
|
||||
<title>RAX-KSKEY apikeyCredentials Extended Attribute</title>
|
||||
<para>The
|
||||
<parameter>apikeyCredentials</parameter> extended attribute supports Rackspace style
|
||||
<title>RAX-KSKEY apikeyCredentials Extended
|
||||
Attribute</title>
|
||||
<para>The <parameter>apikeyCredentials</parameter>
|
||||
extended attribute supports Rackspace style
|
||||
authentication.</para>
|
||||
<informaltable rules="all">
|
||||
<thead xmlns="http://docbook.org/ns/docbook">
|
||||
@@ -147,12 +149,13 @@
|
||||
<th>URI</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead> <tbody>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td> &POST; </td>
|
||||
<td>/tokens</td>
|
||||
<td>Authenticates and
|
||||
generates a token.</td>
|
||||
<td>Authenticates and generates a
|
||||
token.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</informaltable>
|
||||
@@ -164,35 +167,42 @@
|
||||
(<errorcode>400</errorcode>),
|
||||
identityFault (<errorcode>500</errorcode>),
|
||||
serviceUnavailable(<errorcode>503</errorcode>)</simpara>
|
||||
<para>This call returns a token if
|
||||
successful. Clients obtain this token, along
|
||||
with the URL to other service APIs, by first
|
||||
authenticating against OpenStack Identity
|
||||
and supplying valid credentials. This
|
||||
extension provides support for Rackspace style
|
||||
API Key credentials.</para>
|
||||
<para>This call returns a token if successful.
|
||||
Clients obtain this token, along with the URL
|
||||
to other service APIs, by first authenticating
|
||||
against OpenStack Identity and supplying valid
|
||||
credentials. This extension provides support
|
||||
for Rackspace style API Key
|
||||
credentials.</para>
|
||||
<para>Client authentication is provided through a
|
||||
ReST interface using the POST method, with
|
||||
v2.0/tokens supplied as the path. A payload of
|
||||
credentials must be included in the body. See <xref linkend="Service_API_Client_Operations"/>.</para>
|
||||
<para>The Identity API is a ReSTful web
|
||||
service. It is the entry point to all service
|
||||
APIs. To access the Identity API, you must
|
||||
know its URL.</para>
|
||||
credentials must be included in the body. See
|
||||
<xref
|
||||
linkend="Service_API_Client_Operations"
|
||||
/>.</para>
|
||||
<para>The Identity API is a ReSTful web service.
|
||||
It is the entry point to all service APIs. To
|
||||
access the Identity API, you must know its
|
||||
URL.</para>
|
||||
<example>
|
||||
<title>Auth with apikeyCredentials: JSON Request</title>
|
||||
<title>Auth with apikeyCredentials: JSON
|
||||
Request</title>
|
||||
<programlisting language="json"><xi:include href="&APIKEYCREDENTIALSREQUESTJSON;" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Auth with apikeyCredentials: XML Request</title>
|
||||
<title>Auth with apikeyCredentials: XML
|
||||
Request</title>
|
||||
<programlisting language="xml"><xi:include href="&APIKEYCREDENTIALSREQUESTXML;" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Auth with apikeyCredentials: JSON Response</title>
|
||||
<title>Auth with apikeyCredentials: JSON
|
||||
Response</title>
|
||||
<programlisting language="json"><xi:include href="&APIKEYCREDENTIALSRESPONSEJSON;" parse="text"/></programlisting>
|
||||
</example>
|
||||
<example>
|
||||
<title>Auth with apikeyCredentials: XML Response</title>
|
||||
<title>Auth with apikeyCredentials: XML
|
||||
Response</title>
|
||||
<programlisting language="xml"><xi:include href="&APIKEYCREDENTIALSRESPONSEXML;" parse="text"/></programlisting>
|
||||
</example>
|
||||
</section>
|
||||
|
@@ -1,10 +0,0 @@
|
||||
{
|
||||
"credentials":[{
|
||||
"passwordCredentials":{
|
||||
"username": "test_user",
|
||||
"password": "mypass"
|
||||
}
|
||||
}
|
||||
],
|
||||
"credentials_links":[]
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<credentials xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns="http://docs.openstack.org/identity/api/v2.0">
|
||||
<passwordCredentials username="test_user" password="test"/>
|
||||
</credentials>
|
@@ -31,8 +31,8 @@
|
||||
<td colspan="4">Description</td>
|
||||
</tr>
|
||||
</thead>'>
|
||||
<!ENTITY SECRETQAREQUESTXML "samples/RAX-KSQA-secretQA.xml">
|
||||
<!ENTITY SECRETQAREQUESTJSON "samples/RAX-KSQA-secretQA.json">
|
||||
<!ENTITY SECRETQAREQUESTXML "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSQA/samples/RAX-KSQA-secretQA.xml">
|
||||
<!ENTITY SECRETQAREQUESTJSON "http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/RAX-KSQA/samples/RAX-KSQA-secretQA.json">
|
||||
]>
|
||||
<book xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
@@ -173,7 +173,8 @@
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource
|
||||
href="../wadl/RAX-KSQA-admin.wadl#secretqa"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/RAX-KSQA-admin.wadl#secretqa"
|
||||
/>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
</section>
|
||||
|
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"RAX-KSQA:secretQA":{
|
||||
"question": "What is the color of my eyes?",
|
||||
"answer": "Leonardo da Vinci"
|
||||
}
|
||||
}
|
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<secretQA xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSQA/v1.0"
|
||||
question="What is the color of my eyes?"
|
||||
answer="Leonardo da Vinci" />
|
@@ -55,35 +55,35 @@
|
||||
<section xml:id="Token_Operations">
|
||||
<title>Token Operations</title>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadl/identity-admin.wadl#tokens"/>
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#tokens"/>
|
||||
<wadl:resource
|
||||
href="../wadl/identity-admin.wadl#tokenById"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#tokenById"/>
|
||||
<wadl:resource
|
||||
href="../wadl/identity-admin.wadl#endpointsForToken"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#endpointsForToken"/>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="User_Operations">
|
||||
<title>User Operations</title>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadl/identity-admin.wadl#users"/>
|
||||
<wadl:resource href="../wadl/identity-admin.wadl#name"/>
|
||||
<wadl:resource href="../wadl/identity-admin.wadl#userid"/>
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#users"/>
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#name"/>
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#userid"/>
|
||||
<wadl:resource
|
||||
href="../wadl/identity-admin.wadl#userRoles"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#userRoles"/>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
<section xml:id="Tenant_Operations">
|
||||
<title>Tenant Operations</title>
|
||||
<wadl:resources xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadl/identity-admin.wadl#tenants"/>
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#tenants"/>
|
||||
<wadl:resource
|
||||
href="../wadl/identity-admin.wadl#tenantById"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#tenantById"/>
|
||||
<wadl:resource
|
||||
href="../wadl/identity-admin.wadl#usersForTenant"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#usersForTenant"/>
|
||||
<wadl:resource
|
||||
href="../wadl/identity-admin.wadl#getTenantUser"/>
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#getTenantUser"/>
|
||||
<wadl:resource
|
||||
href="../wadl/identity-admin.wadl#userRolesForTenant"
|
||||
href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity-admin.wadl#userRolesForTenant"
|
||||
/>
|
||||
</wadl:resources>
|
||||
</section>
|
||||
|
@@ -7,9 +7,9 @@
|
||||
tenants.</para>
|
||||
<wadl:resources
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<wadl:resource href="../wadl/identity.wadl#extensions"
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity.wadl#extensions"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
<wadl:resource href="../wadl/identity.wadl#tokens"
|
||||
<wadl:resource href="http://git.openstack.org/cgit/openstack/api-site/plain/api-ref/src/wadls/identity-api/src/v2.0/wadl/identity.wadl#tokens"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02"/>
|
||||
</wadl:resources>
|
||||
</chapter>
|
||||
|
@@ -11,7 +11,8 @@
|
||||
"user": {
|
||||
"id": "u123",
|
||||
"name": "jqsmith",
|
||||
"roles":[{
|
||||
"roles": [
|
||||
{
|
||||
"id": "100",
|
||||
"name": "compute:admin"
|
||||
},
|
||||
@@ -23,10 +24,12 @@
|
||||
],
|
||||
"roles_links": []
|
||||
},
|
||||
"serviceCatalog":[{
|
||||
"serviceCatalog": [
|
||||
{
|
||||
"name": "Cloud Servers",
|
||||
"type": "compute",
|
||||
"endpoints":[{
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "t1000",
|
||||
"publicURL": "https://compute.north.host.com/v1/t1000",
|
||||
"internalURL": "https://compute.north.internal/v1/t1000",
|
||||
@@ -50,7 +53,8 @@
|
||||
{
|
||||
"name": "Cloud Files",
|
||||
"type": "object-store",
|
||||
"endpoints":[{
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "t1000",
|
||||
"publicURL": "https://storage.north.host.com/v1/t1000",
|
||||
"internalURL": "https://storage.north.internal/v1/t1000",
|
||||
@@ -73,7 +77,8 @@
|
||||
{
|
||||
"name": "DNS-as-a-Service",
|
||||
"type": "dnsextension:dns",
|
||||
"endpoints":[{
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "t1000",
|
||||
"publicURL": "https://dns.host.com/v2.0/t1000",
|
||||
"versionId": "2.0",
|
||||
|
@@ -1,14 +1,17 @@
|
||||
{
|
||||
"choices":[{
|
||||
"choices": [
|
||||
{
|
||||
"id": "v1.0",
|
||||
"status": "DEPRECATED",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://identity.api.openstack.org/v1.0"
|
||||
}
|
||||
],
|
||||
"media-types": {
|
||||
"values":[{
|
||||
"values": [
|
||||
{
|
||||
"base": "application/xml",
|
||||
"type": "application/vnd.openstack.identity+xml;version=1.0"
|
||||
},
|
||||
@@ -22,13 +25,15 @@
|
||||
{
|
||||
"id": "v1.1",
|
||||
"status": "CURRENT",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://identity.api.openstack.org/v1.1"
|
||||
}
|
||||
],
|
||||
"media-types": {
|
||||
"values":[{
|
||||
"values": [
|
||||
{
|
||||
"base": "application/xml",
|
||||
"type": "application/vnd.openstack.identity+xml;version=1.1"
|
||||
},
|
||||
@@ -42,13 +47,15 @@
|
||||
{
|
||||
"id": "v2.0",
|
||||
"status": "BETA",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://identity.api.openstack.org/v2.0"
|
||||
}
|
||||
],
|
||||
"media-types": {
|
||||
"values":[{
|
||||
"values": [
|
||||
{
|
||||
"base": "application/xml",
|
||||
"type": "application/vnd.openstack.identity+xml;version=2.0"
|
||||
},
|
||||
|
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"credentials":[{
|
||||
"credentials": [
|
||||
{
|
||||
"passwordCredentials": {
|
||||
"username": "test_user",
|
||||
"password": "mypass"
|
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"credentials":[{
|
||||
"credentials": [
|
||||
{
|
||||
"passwordCredentials": {
|
||||
"username": "test_user",
|
||||
"password": "mypass"
|
@@ -10,7 +10,8 @@
|
||||
"rel": "describedby",
|
||||
"type": "application/pdf",
|
||||
"href": "http://docs.rackspacecloud.com/identity/api/ext/identity-meta-20111201.pdf"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"rel": "describedby",
|
||||
"type": "application/vnd.sun.wadl+xml",
|
||||
"href": "http://docs.rackspacecloud.com/identity/api/ext/identity-cbs.wadl"
|
||||
|
@@ -1,11 +1,13 @@
|
||||
{
|
||||
"extensions":[{
|
||||
"extensions": [
|
||||
{
|
||||
"name": "Reset Password Extension",
|
||||
"namespace": "http://docs.rackspacecloud.com/identity/api/ext/rpe/v2.0",
|
||||
"alias": "RS-RPE",
|
||||
"updated": "2011-01-22T13:25:27-06:00",
|
||||
"description": "Adds the capability to reset a user's password. The user is emailed when the password has been reset.",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "describedby",
|
||||
"type": "application/pdf",
|
||||
"href": "http://docs.rackspacecloud.com/identity/api/ext/identity-rpe-20111111.pdf"
|
||||
@@ -23,7 +25,8 @@
|
||||
"alias": "RS-META",
|
||||
"updated": "2011-01-12T11:22:33-06:00",
|
||||
"description": "Allows associating arbitrary metadata with a user.",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "describedby",
|
||||
"type": "application/pdf",
|
||||
"href": "http://docs.rackspacecloud.com/identity/api/ext/identity-meta-20111201.pdf"
|
||||
|
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"user": {
|
||||
"OS-ROLE:roles":[{
|
||||
"OS-ROLE:roles": [
|
||||
{
|
||||
"tenantId": "1234",
|
||||
"id": "Admin"
|
||||
},
|
||||
@@ -9,7 +10,8 @@
|
||||
"id": "DBUser"
|
||||
}
|
||||
],
|
||||
"OS-ROLE:roles_links":[{
|
||||
"OS-ROLE:roles_links": [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "http://identity.api.openstack.org/v2.0/tenants/1234/users/u1000/roles?marker=Super"
|
||||
}
|
||||
|
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"roles":[{
|
||||
"roles": [
|
||||
{
|
||||
"id": "123",
|
||||
"name": "compute:admin",
|
||||
"description": "Nova Administrator"
|
||||
|
@@ -1,12 +1,14 @@
|
||||
{
|
||||
"tenants":[{
|
||||
"tenants": [
|
||||
{
|
||||
"id": "1234",
|
||||
"name": "ACME corp",
|
||||
"description": "A description ...",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"tenants_links":[{
|
||||
"tenants_links": [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "http://identity.api.openstack.org/v2.0/tenants?limit=1&marker=1234"
|
||||
}
|
||||
|
@@ -1,12 +1,14 @@
|
||||
{
|
||||
"tenants":[{
|
||||
"tenants": [
|
||||
{
|
||||
"id": "3645",
|
||||
"name": "Iron Works",
|
||||
"description": "A description ...",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"tenants_links":[{
|
||||
"tenants_links": [
|
||||
{
|
||||
"rel": "next",
|
||||
"href": "http://identity.api.openstack.org/v2.0/tenants?limit=1&marker=3645"
|
||||
},
|
||||
|
@@ -1,12 +1,14 @@
|
||||
{
|
||||
"tenants":[{
|
||||
"tenants": [
|
||||
{
|
||||
"id": "9999",
|
||||
"name": "Bigz",
|
||||
"description": "A description ...",
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"tenants_links":[{
|
||||
"tenants_links": [
|
||||
{
|
||||
"rel": "previous",
|
||||
"href": "http://identity.api.openstack.org/v2.0/tenants?limit=1&marker=1234"
|
||||
}
|
||||
|
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"tenants":[{
|
||||
"tenants": [
|
||||
{
|
||||
"id": "1234",
|
||||
"name": "ACME Corp",
|
||||
"description": "A description ...",
|
||||
|
@@ -22,9 +22,7 @@
|
||||
"tenantId": "1"
|
||||
}
|
||||
],
|
||||
"roles_links":[
|
||||
|
||||
]
|
||||
"roles_links": []
|
||||
}
|
||||
}
|
||||
}
|
@@ -7,11 +7,13 @@
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://identity.api.openstack.org/v2.0/"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"rel": "describedby",
|
||||
"type": "application/pdf",
|
||||
"href": "http://docs.openstack.org/api/identity/api/v2.0/identity-latest.pdf"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"rel": "describedby",
|
||||
"type": "application/vnd.sun.wadl+xml",
|
||||
"href": "http://docs.openstack.org/identity/api/v2.0/identity.wadl"
|
||||
@@ -21,7 +23,8 @@
|
||||
{
|
||||
"base": "application/xml",
|
||||
"type": "application/vnd.openstack.identity+xml;version=2.0"
|
||||
}, {
|
||||
},
|
||||
{
|
||||
"base": "application/json",
|
||||
"type": "application/vnd.openstack.identity+json;version=2.0"
|
||||
}
|
||||
|
@@ -1,9 +1,11 @@
|
||||
{
|
||||
"versions":[{
|
||||
"versions": [
|
||||
{
|
||||
"id": "v1.0",
|
||||
"status": "DEPRECATED",
|
||||
"updated": "2009-10-09T11:30:00Z",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://identity.api.openstack.org/v1.0/"
|
||||
}
|
||||
@@ -13,7 +15,8 @@
|
||||
"id": "v1.1",
|
||||
"status": "CURRENT",
|
||||
"updated": "2010-12-12T18:30:02.25Z",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://identity.api.openstack.org/v1.1/"
|
||||
}
|
||||
@@ -23,7 +26,8 @@
|
||||
"id": "v2.0",
|
||||
"status": "BETA",
|
||||
"updated": "2011-05-27T20:22:02.25Z",
|
||||
"links":[{
|
||||
"links": [
|
||||
{
|
||||
"rel": "self",
|
||||
"href": "http://identity.api.openstack.org/v2.0/"
|
||||
}
|
||||
|
@@ -1,111 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--*******************************************************-->
|
||||
<!-- Import Common XML Entities -->
|
||||
<!-- -->
|
||||
<!-- You can resolve the entites with xmllint -->
|
||||
<!-- -->
|
||||
<!-- xmllint -noent HP-IDM-admin.wadl -->
|
||||
<!--*******************************************************-->
|
||||
<!DOCTYPE application [
|
||||
<!ENTITY % common SYSTEM "common.ent">
|
||||
%common;
|
||||
]>
|
||||
<application xmlns="http://wadl.dev.java.net/2009/02"
|
||||
xmlns:identity="http://docs.openstack.org/identity/api/v2.0"
|
||||
xmlns:HP-IDM="http://docs.openstack.org/identity/api/ext/HP-IDM/v1.0"
|
||||
xmlns:capi="http://docs.openstack.org/common/api/v1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:xsdxt="http://docs.rackspacecloud.com/xsd-ext/v1.0"
|
||||
xmlns:wadl="http://wadl.dev.java.net/2009/02">
|
||||
<grammars>
|
||||
<include href="../xsd/api.xsd"/>
|
||||
<include href="../xsd/api-common.xsd"/>
|
||||
</grammars>
|
||||
<!--*******************************************************-->
|
||||
<!-- All Resources -->
|
||||
<!--*******************************************************-->
|
||||
<!-- We should use SSL in production -->
|
||||
<resources base="http://localhost:35357" xml:id="HP-IDM-admin-v2.0">
|
||||
<resource id="version" path="v2.0">
|
||||
<resource id="tokens" path="tokens">
|
||||
<resource id="tokenById" path="{tokenId}">
|
||||
<param name="X-Auth-Token" style="header"
|
||||
type="xsd:string" required="true">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">A valid authentication
|
||||
token.</wadl:doc>
|
||||
</param>
|
||||
<param name="tokenId" style="template"
|
||||
type="xsd:string" required="true">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">The token ID.</wadl:doc>
|
||||
</param>
|
||||
<param name="belongsTo" style="query"
|
||||
required="false" type="xsd:string">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN"><para>Validates that a token
|
||||
has the specified tenant in scope, for
|
||||
performance. Valid tokens are in the
|
||||
<code>/tokens/{tokenId}</code>
|
||||
path. An itemNotFound
|
||||
(<code>404</code>) fault is
|
||||
returned for a token that is not
|
||||
valid.</para></wadl:doc>
|
||||
</param>
|
||||
<param name="HP-IDM-serviceId" style="query"
|
||||
type="xsd:string" required="false">
|
||||
<wadl:doc
|
||||
xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">A comma-separated string of
|
||||
service IDs. Checks the roles against the
|
||||
specified service IDs. If a service ID is
|
||||
not valid or if no roles are associated
|
||||
with a service ID, a 401 fault is
|
||||
returned.</wadl:doc>
|
||||
</param>
|
||||
<method href="#hp-idm-validateToken"/>
|
||||
<method href="#hp-idm-checkToken"/>
|
||||
</resource>
|
||||
</resource>
|
||||
</resource>
|
||||
</resources>
|
||||
<!--*******************************************************-->
|
||||
<!-- All Methods -->
|
||||
<!--*******************************************************-->
|
||||
<!-- Token Operations -->
|
||||
<method name="GET" id="hp-idm-validateToken">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
title="Validate Token">
|
||||
<para role="shortdesc">Validates a token and that it
|
||||
belongs to a specified tenant and services. Returns
|
||||
the permissions relevant to a particular client.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203">
|
||||
<representation mediaType="application/xml"
|
||||
element="identity:access">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<xsdxt:code href="../samples/validatetoken.xml"/>
|
||||
</wadl:doc>
|
||||
</representation>
|
||||
<representation mediaType="application/json">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
xml:lang="EN">
|
||||
<xsdxt:code href="../samples/validatetoken.json"/>
|
||||
</wadl:doc>
|
||||
</representation>
|
||||
</response> &commonFaults; &getFaults; </method>
|
||||
<method name="HEAD" id="hp-idm-checkToken">
|
||||
<wadl:doc xmlns="http://docbook.org/ns/docbook"
|
||||
title="Check Token">
|
||||
<para role="shortdesc">Validates a token and that it
|
||||
belongs to a specified tenant and services, for
|
||||
performance.</para>
|
||||
</wadl:doc>
|
||||
<response status="200 203"/> &commonFaults; &getFaults;
|
||||
</method>
|
||||
</application>
|
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user