Merge branch 'master' of github.com:khussein/keystone

This commit is contained in:
Khaled Hussein 2011-04-14 18:39:29 -05:00
commit 8dfdb43fb1
194 changed files with 5982 additions and 0 deletions

99
docs/guide/pom.xml Normal file
View File

@ -0,0 +1,99 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.rackspace.idm</groupId>
<artifactId>docs</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>docs</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.1.12</version>
</dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>org.codehaus.jettison</groupId>
<artifactId>jettison</artifactId>
<version>1.1</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>target/docbkx/pdf</directory>
<excludes>
<exclude>**/*.fo</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.rackspace.cloud.api</groupId>
<artifactId>clouddocs-maven-plugin</artifactId>
<version>1.0.4-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>generate-pdf</goal>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-sources</phase>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<xincludeSupported>true</xincludeSupported>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>Rackspace Research Repositories</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>rackspace-research</id>
<name>Rackspace Research Repository</name>
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>rackspace-research</id>
<name>Rackspace Research Repository</name>
<url>http://maven.research.rackspacecloud.com/content/groups/public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="19.21315"
height="18.294994"
id="svg2"
sodipodi:version="0.32"
inkscape:version="0.45"
sodipodi:modified="true"
version="1.0">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
gridtolerance="10000"
guidetolerance="10"
objecttolerance="10"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="7.9195959"
inkscape:cx="17.757032"
inkscape:cy="7.298821"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:window-width="984"
inkscape:window-height="852"
inkscape:window-x="148"
inkscape:window-y="66" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-192.905,-516.02064)">
<path
style="fill:#000000"
d="M 197.67968,534.31563 C 197.40468,534.31208 196.21788,532.53719 195.04234,530.37143 L 192.905,526.43368 L 193.45901,525.87968 C 193.76371,525.57497 194.58269,525.32567 195.27896,525.32567 L 196.5449,525.32567 L 197.18129,527.33076 L 197.81768,529.33584 L 202.88215,523.79451 C 205.66761,520.74678 208.88522,517.75085 210.03239,517.13691 L 212.11815,516.02064 L 207.90871,520.80282 C 205.59351,523.43302 202.45735,527.55085 200.93947,529.95355 C 199.42159,532.35625 197.95468,534.31919 197.67968,534.31563 z "
id="path2223" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<baseURL xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
id="111114"
userType="NAST"
serviceName="cloudFiles"
region="DFW"
publicURL="https://storage.clouddrive.com/v1"
internalURL="https://storage-snet.clouddrive.com/v1"
adminURL="https://storage-snet.clouddrive.com/v1"
default="true"/>

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<baseURLRef xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
id="111114"
href="https://storage-snet.clouddrive.com/v1"
v1Default="true"/>

View File

@ -0,0 +1,4 @@
{
"customerId": "RCN-000-000-000",
"name": "Test Application2"
}

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<client xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
name="Test Application2"
customerId="RCN-000-000-000">
</client>

View File

@ -0,0 +1,12 @@
{
"credentials": {
"clientSecret": "3af738fbeiwu23"
},
"clientId": "ab4820dhcb39347",
"customerId": "RCN-000-000-000",
"name": "Test Application2",
"inum": "@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0001",
"status": "ACTIVE",
"locked": false,
"softDeleted": false
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<client xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
softDeleted="false"
locked="false"
status="ACTIVE"
inum="@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0001"
name="Test Application2"
customerId="RCN-000-000-000"
clientId="ab4820dhcb39347">
<credentials clientSecret="3af738fbeiwu23" />
</client>

View File

@ -0,0 +1,9 @@
{"user":
{
"password": "P@ssword1",
"id": "jqsmith",
"tenantId": "12234",
"email": "john.smith@example.org",
"enabled" : true
}
}

View File

@ -0,0 +1,7 @@
{
"password": "P@ssword1",
"username": "jqsmith",
"tenantId": "12234",
"email": "john.smith@example.org",
"enabled" : true
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
email="john.smith@example.org"
tenantId="1234"
username="jqsmith"
enabled="true"
password="C@n+f001me!" />

View File

@ -0,0 +1,8 @@
{"user":
{
"password": "P@ssword1",
"id": "jqsmith",
"tenantId": "12234",
"email": "john.smith@example.org"
}
}

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/idm/api/v1.0"
email="john.smith@example.org" tenantId="1234"
id="jqsmith" password="C@n+f001me!"/>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/idm/api/v1.0"
email="john.smith@example.org"
tenantId="1234" id="jqsmith"
enabled="true" password="C@n+f001me!"/>

View File

@ -0,0 +1,48 @@
{
"auth" : {
"token": {
"id": "ab48a9efdfedb23ty3494",
"expires": "2010-11-01T03:32:15-05:00"
},
"user" : {
"groups": {
"group": [
{
"tenantId" : "1234",
"name": "Admin"
}
]},
"username": "jqsmith",
"tenantId": "1234",
}
"serviceCatalog" : {
"cloudFiles" : [
{
"region" : "DFW",
"publicURL" : "https://storage.clouddrive.com/v1/MossoCloudFS_blah-blah",
"internalURL" : "https://storage-snet.clouddrive.com/v1/MossoCloudFS_blah-blah"
},
{
"region" : "ORD",
"publicURL" : "https://otherstorage.clouddrive.com/v1/MossoCloudFS_blah-blah",
"internalURL" : "https://otherstorage-snet.clouddrive.com/v1/MossoCloudFS_blah-blah"
}
],
"cloudFilesCDN" : [
{
"region" : "DFW",
"publicURL" : "https://cdn.clouddrive.com/v1/MossoCloudFS_blah-blah"
},
{
"region" : "ORD",
"publicURL" : "https://othercdn.clouddrive.com/v1/MossoCloudFS_blah-blah"
}
],
"cloudServers" : [
{
"publicURL" : "https://servers.api.rackspacecloud.com/v1.0/322781"
}
]
}
}
}

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<auth xmlns="http://docs.openstack.org/idm/api/v1.0">
<token expires="2010-11-01T03:32:15-05:00"
id="ab48a9efdfedb23ty3494"/>
<user tenantId="1245" username="jqsmith">
<groups>
<group tenantId="1245" name="Admin"/>
</groups>
</user>
<serviceCatalog>
<service name="cloudFiles">
<endpoint
region="DFW"
publicURL="https://storage.clouddrive.com/v1/MossoCloudFS_blah-blah"
internalURL="https://storage-snet.clouddrive.com/v1/MossoCloudFS_blah-blah"/>
<endpoint
region="ORD"
publicURL="https://otherstorage.clouddrive.com/v1/MossoCloudFS_blah-blah"
internalURL="https://otherstorage-snet.clouddrive.com/v1/MossoCloudFS_blah-blah"/>
</service>
<service name="cloudFilesCDN">
<endpoint
region="DFW"
publicURL="https://cdn.clouddrive.com/v1/MossoCloudFS_blah-blah"/>
<endpoint
region="ORD"
publicURL="https://othercdn.clouddrive.com/v1/MossoCloudFS_blah-blah"/>
</service>
<service name="cloudServers">
<endpoint
publicURL="https://servers.api.rackspacecloud.com/v1.0/322781"/>
</service>
</serviceCatalog>
</auth>

View File

@ -0,0 +1,7 @@
{
"passwordCredentials" : {
"username" : "test_user",
"password" : "a86850deb2742ec3cb41518e26aa2d89",
"tenantId" : "77654"
}
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<passwordCredentials
xmlns="http://docs.openstack.org/idm/api/v1.0"
password="P@ssword1" username="testuser"
tenantId="77654"/>

View File

@ -0,0 +1,5 @@
{
"message": "Bad Request!",
"details": "Error Details...",
"code": 400
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<badRequest xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
code="400">
<message>Bad Request!</message>
<details>Error Details...</details>
</badRequest>

View File

@ -0,0 +1,27 @@
{
"baseURLRefs" : [
{
"id" : 1,
"href" : "https://auth.api.rackspacecloud.com/v1.1/baseURLs/1",
"v1Default" : true
},
{
"id" : 2,
"href" : "https://auth.api.rackspacecloud.com/v1.1/baseURLs/2"
},
{
"id" : 3,
"href" : "https://auth.api.rackspacecloud.com/v1.1/baseURLs/3",
"v1Default" : true
},
{
"id" : 4,
"href" : "https://auth.api.rackspacecloud.com/v1.1/baseURLs/4"
},
{
"id" : 5,
"href" : "https://auth.api.rackspacecloud.com/v1.1/baseURLs/5",
"v1Default" : true
}
]
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<baseURLRefs xmlns="http://docs.rackspacecloud.com/auth/api/v1.1">
<baseURLRef
href="https://auth.api.rackspacecloud.com/v1.1/baseURLs/1"
id="1"
v1Default="true" />
<baseURLRef
href="https://auth.api.rackspacecloud.com/v1.1/baseURLs/2"
id="2" />
<baseURLRef
href="https://auth.api.rackspacecloud.com/v1.1/baseURLs/3"
id="3"
v1Default="true" />
<baseURLRef
href="https://auth.api.rackspacecloud.com/v1.1/baseURLs/4"
id="4" />
<baseURLRef
href="https://auth.api.rackspacecloud.com/v1.1/baseURLs/5"
id="5"
v1Default="true" />
</baseURLRefs>

View File

@ -0,0 +1,5 @@
{
"id": 111111,
"href": "https://idm.rackspace.com/v1.0/baseurls/111111",
"v1Default": true
}

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<baseURLRef xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
id="111111"
href="https://idm.rackspace.com/v1.0/baseurls/111111"
v1Default="true" />

View File

@ -0,0 +1,10 @@
{
"id": 111111,
"userType": "NAST",
"serviceName": "cloudFiles",
"region": "DFW",
"publicURL": "https://storage.clouddrive.com/v1",
"internalURL": "https://storage-snet.clouddrive.com/v1",
"adminURL": null,
"default": true
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<Response xmlns="http://10.127.7.164/v1.0/baseurls/111111"
adminURL="https://storage-snet.clouddrive.com/v1"
default="true"
id="111111"
internalURL="https://storage-snet.clouddrive.com/v1"
publicURL="https://storage.clouddrive.com/v1"
region="DFW"
serviceName="cloudFiles"
userType="NAST"/>

View File

@ -0,0 +1,22 @@
{"baseURL": [
{
"id": 111111,
"userType": "NAST",
"serviceName": "cloudFiles",
"region": "DFW",
"publicURL": "https://storage.clouddrive.com/v1",
"internalURL": "https://storage-snet.clouddrive.com/v1",
"adminURL": null,
"default": true
},
{
"id": 222222,
"userType": "MOSSO",
"serviceName": "cloudServers",
"region": null,
"publicURL": "https://servers.api.rackspacecloud.com/v1.0",
"internalURL": null,
"adminURL": null,
"default": true
}
]}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<baseURLs xmlns="http://docs.rackspacecloud.com/idm/api/v1.0">
<baseURL
id="111111"
userType="NAST"
serviceName="cloudFiles"
region="DFW"
publicURL="https://storage.clouddrive.com/v1"
internalURL="https://storage-snet.clouddrive.com/v1"
default="true"/>
<baseURL
id="222222"
userType="MOSSO"
serviceName="cloudServers"
publicURL="https://servers.api.rackspacecloud.com/v1.0"
default="true"/>
</baseURLs>

View File

@ -0,0 +1,50 @@
{
"choices" : {
"values" : [
{
"id" : "v1.0",
"status" : "DEPRECATED",
"links": [
{
"rel" : "self",
"href" : "http://idm.api.openstack.org/v1.0/tenants/12"
}
],
"media-types": {
"values" : [
{
"base" : "application/xml",
"type" : "application/vnd.openstack.idm-v1.0+xml"
},
{
"base" : "application/json",
"type" : "application/vnd.openstack.idm-v1.0+json"
}
]
}
},
{
"id" : "v1.1",
"status" : "CURRENT",
"links": [
{
"rel" : "self",
"href" : "http://idm.api.openstack.org/v1.1/tenants/12"
}
],
"media-types": {
"values" : [
{
"base" : "application/xml",
"type" : "application/vnd.openstack.idm-v1.1+xml"
},
{
"base" : "application/json",
"type" : "application/vnd.openstack.idm-v1.1+json"
}
]
}
}
]
}
}

View File

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<choices xmlns="http://docs.openstack.org/common/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom">
<version id="v1.0" status="DEPRECATED">
<media-types>
<media-type base="application/xml"
type="application/vnd.openstack.idm-v1.0+xml"/>
<media-type base="application/json"
type="application/vnd.openstack.idm-v1.0+json"/>
</media-types>
<atom:link rel="self"
href="http://idm.api.openstack.org/v1.0/tenants/12"/>
</version>
<version id="v1.1" status="CURRENT">
<media-types>
<media-type base="application/xml"
type="application/vnd.openstack.idm-v1.1+xml"/>
<media-type base="application/json"
type="application/vnd.openstack.idm-v1.1+json"/>
</media-types>
<atom:link rel="self"
href="http://idm.api.openstack.org/v1.1/tenants/12"/>
</version>
</choices>

View File

@ -0,0 +1,3 @@
{
"clientSecret" : "eca2d413a1790dc6473842ab5a49387a29996757"
}

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<clientCredentials xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
clientSecret="c582fe94dda4c0da19bf234c504db0b63df96daa" />

View File

@ -0,0 +1,16 @@
{ "permissions": {
"permission": [
{
"resourceId": "addCustomer",
"customerId": "RCN-000-000-000",
"clientId": "IDM"
}
]},
"clientId": "ab4820dhcb39347",
"customerId": "RCN-000-000-000",
"name": "Test Application2",
"inum": "@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0001",
"status": "ACTIVE",
"locked": false,
"softDeleted": false
}

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<client xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
softDeleted="false"
locked="false"
status="ACTIVE"
iname="@Rackspace*Rackspace*ControlPanel"
inum="@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0001"
name="Test Application2"
customerId="RCN-000-000-000"
clientId="ab4820dhcb39347">
<permissions>
<permission clientId="IDM"
customerId="RCN-000-000-000"
resourceId="addCustomer" />
</permissions>
</client>

View File

@ -0,0 +1,4 @@
{
"tenantId" : "1234",
"name" : "Admin"
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<group xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
tenantId="1234"
name="Admin" />

View File

@ -0,0 +1,6 @@
{"group": [
{
"tenantId" : "1234",
"name" : "Admin"
}]
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<groups xmlns="http://docs.rackspacecloud.com/idm/api/v1.0">
<group xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
tenantId="1234"
name="Admin" />
</groups>

View File

@ -0,0 +1,3 @@
{
"softDeleted": "true"
}

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<client xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
softDeleted="true" />

View File

@ -0,0 +1,3 @@
{
"clientSecret": "cncv9823823bfb"
}

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<clientCredentials xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
clientSecret="cncv9823823bfb" />

View File

@ -0,0 +1,5 @@
{
"message": "Clientname already taken.",
"details": "Error Details...",
"code": 409
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<clientnameConflict xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
code="409">
<message>Clientname already taken.</message>
<details>Error Details...</details>
</clientnameConflict>

View File

@ -0,0 +1,22 @@
{
"client": [
{
"clientId": "ab4820dhcb39347",
"customerId": "RCN-000-000-000",
"name": "Test Application2",
"inum": "@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0001",
"status": "ACTIVE",
"locked": false,
"softDeleted": false
},
{
"clientId": "632h389cv902bde",
"customerId": "RCN-000-000-000",
"name": "Test Application2",
"inum": "@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0002",
"status": "ACTIVE",
"locked": false,
"softDeleted": false
}
]
}

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<clients xmlns="http://docs.rackspacecloud.com/idm/api/v1.0">
<client
softDeleted="false"
locked="false"
status="ACTIVE"
inum="@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0001"
name="Test Application2"
customerId="RCN-000-000-000"
clientId="ab4820dhcb39347">
</client>
<client
softDeleted="false"
locked="false"
status="ACTIVE"
inum="@FFFF.FFFF.FFFF.FFFF!EEEE.EEEE!0002"
name="Test Application2"
customerId="RCN-000-000-000"
clientId="632h389cv902bde">
</client>
</clients>

View File

@ -0,0 +1,7 @@
{"tenant":
{
"id": "1234",
"description": "A description ...",
"enabled": true
}
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/idm/api/v1.0"
enabled="true" id="1234">
<description>A description...</description>
</tenant>

View File

@ -0,0 +1,5 @@
{
"message": "CustomerId already taken.",
"details": "Error Details...",
"code": 409
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<customerIdConflict xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
code="409">
<message>CustomerId already taken.</message>
<details>Error Details...</details>
</customerIdConflict>

View File

@ -0,0 +1,5 @@
{"tenant":
{
"description": "A NEW description..."
}
}

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<tenant xmlns="http://docs.openstack.org/idm/api/v1.0">
<description>A NEW description...</description>
</tenant>

View File

@ -0,0 +1,15 @@
{"tenants": {
"values" : [
{
"id": "1234",
"description": "A description ...",
"enabled": true
},
{
"id": "3456",
"description": "A description ...",
"enabled": true
}
]
}
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<tenants xmlns="http://docs.openstack.org/idm/api/v1.0">
<tenant enabled="true" id="1234">
<description>A description...</description>
</tenant>
<tenant enabled="true" id="3645">
<description>A description...</description>
</tenant>
</tenants>

View File

@ -0,0 +1,16 @@
{
"defined": {
"permission": [
{
"permissionId": "addCustomer",
"customerId": "RCN-000-000-000",
"clientId": "IDM"
},
{
"permissionId": "getCustomer",
"customerId": "RCN-000-000-000",
"clientId": "IDM"
}
]
}
}

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<permissions xmlns="http://docs.rackspacecloud.com/idm/api/v1.0">
<defined>
<permission
clientId="IDM"
customerId="RCN-000-000-000"
permissionId="addCustomer"/>
<permission
clientId="IDM"
customerId="RCN-000-000-000"
permissionId="getCustomer"/>
</defined>
</permissions>

View File

@ -0,0 +1,5 @@
{
"message": "Email Address already taken.",
"details": "Error Details...",
"code": 409
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<emailConflict xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
code="409">
<message>Email Address already taken.</message>
<details>Error Details...</details>
</emailConflict>

View File

@ -0,0 +1,21 @@
{"user":
{
"groups": {
"values": [
{
"tenantId" : "1234",
"id": "Admin"
}
]},
"id": "jqsmith",
"tenantId": "1234",
"email": "john.smith@example.org",
"enabled": true,
"RS-META:metadata" : {
"values" : {
"MetaKey1" : "MetaValue1",
"MetaKey2" : "MetaValue2"
}
},
}
}

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/idm/api/v1.0"
enabled="true" email="john.smith@example.org"
tenantId="1234" id="jqsmith">
<groups>
<group tenantId="1234" id="Admin"/>
</groups>
<metadata
xmlns="http://docs.rackspacecloud.com/idm/api/ext/meta/v1.0">
<meta key="MetaKey1">MetaValue1</meta>
<meta key="MetaKey2">MetaValue2</meta>
</metadata>
</user>

View File

@ -0,0 +1,21 @@
{
"extension" : {
"name" : "User Metadata Extension",
"namespace" : "http://docs.rackspacecloud.com/idm/api/ext/meta/v1.0",
"alias" : "RS-META",
"updated" : "2011-01-12T11:22:33-06:00",
"description" : "Allows associating arbritrary metadata with a user.",
"links" : [
{
"rel" : "describedby",
"type" : "application/pdf",
"href" : "http://docs.rackspacecloud.com/idm/api/ext/idm-meta-20111201.pdf"
},
{
"rel" : "describedby",
"type" : "application/vnd.sun.wadl+xml",
"href" : "http://docs.rackspacecloud.com/idm/api/ext/idm-cbs.wadl"
}
]
}
}

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<extension xmlns="http://docs.openstack.org/common/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom"
name="User Metadata Extension"
namespace="http://docs.rackspacecloud.com/idm/api/ext/meta/v1.0"
alias="RS-META"
updated="2011-01-12T11:22:33-06:00">
<description>
Allows associating arbritrary metadata with a user.
</description>
<atom:link rel="describedby"
type="application/pdf"
href="http://docs.rackspacecloud.com/idm/api/ext/idm-meta-20111201.pdf"/>
<atom:link rel="describedby"
type="application/vnd.sun.wadl+xml"
href="http://docs.rackspacecloud.com/idm/api/ext/idm-meta.wadl"/>
</extension>

View File

@ -0,0 +1,42 @@
{
"extensions" : [
{
"name" : "Reset Password Extension",
"namespace" : "http://docs.rackspacecloud.com/idm/api/ext/rpe/v1.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" : [
{
"rel" : "describedby",
"type" : "application/pdf",
"href" : "http://docs.rackspacecloud.com/idm/api/ext/idm-rpe-20111111.pdf"
},
{
"rel" : "describedby",
"type" : "application/vnd.sun.wadl+xml",
"href" : "http://docs.rackspacecloud.com/idm/api/ext/idm-rpe.wadl"
}
]
},
{
"name" : "User Metadata Extension",
"namespace" : "http://docs.rackspacecloud.com/idm/api/ext/meta/v1.0",
"alias" : "RS-META",
"updated" : "2011-01-12T11:22:33-06:00",
"description" : "Allows associating arbritrary metadata with a user.",
"links" : [
{
"rel" : "describedby",
"type" : "application/pdf",
"href" : "http://docs.rackspacecloud.com/idm/api/ext/idm-meta-20111201.pdf"
},
{
"rel" : "describedby",
"type" : "application/vnd.sun.wadl+xml",
"href" : "http://docs.rackspacecloud.com/idm/api/ext/idm-cbs.wadl"
}
]
}
]
}

View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions xmlns="http://docs.openstack.org/common/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom">
<extension
name="Reset Password Extension"
namespace="http://docs.rackspacecloud.com/idm/api/ext/rpe/v1.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.
</description>
<atom:link rel="describedby"
type="application/pdf"
href="http://docs.rackspacecloud.com/idm/api/ext/idm-rpe-20111111.pdf"/>
<atom:link rel="describedby"
type="application/vnd.sun.wadl+xml"
href="http://docs.rackspacecloud.com/idm/api/ext/idm-rpe.wadl"/>
</extension>
<extension
name="User Metadata Extension"
namespace="http://docs.rackspacecloud.com/idm/api/ext/meta/v1.0"
alias="RS-META"
updated="2011-01-12T11:22:33-06:00">
<description>
Allows associating arbritrary metadata with a user.
</description>
<atom:link rel="describedby"
type="application/pdf"
href="http://docs.rackspacecloud.com/idm/api/ext/idm-meta-20111201.pdf"/>
<atom:link rel="describedby"
type="application/vnd.sun.wadl+xml"
href="http://docs.rackspacecloud.com/idm/api/ext/idm-meta.wadl"/>
</extension>
</extensions>

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xml:lang="en-US">
<entry>
 <title>User, "mkovacs" was modified.</title>
 <summary>User, "mkovacs" was modified.</summary>
 <link rel="actual"
href="/customers/RCN-000-000-000/users/mkovacs" />
 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
 <updated>2003-12-13T18:30:02Z</updated>
</entry>
<entry>
 <title>User, "hueyly" was created.</title>
 <summary>User, "hueyly" was created.</summary>
 <link rel="actual"
href="/customers/RCN-000-000-000/users/hueyly" />
 <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-920474efa234</id>
 <updated>2003-12-13T18:29:20Z</updated>
</entry>
</feed>

View File

@ -0,0 +1,5 @@
{
"message": "Forbidden",
"details": "Error Details...",
"code": 403
}

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<forbidden xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
code="403">
<message>Forbidden</message>
<details>Error Details...</details>
</forbidden>

View File

@ -0,0 +1,17 @@
{
"customParams" : [
{
"name": "%%FirstName%%",
"value": "Steve"
},
{
"name": "%%LastName%%",
"value": "Smith"
}
],
"templateUrl": "http://cp.rackspace.com/files/passwordRecovery.txt",
"callbackUrl": "http://cp.rackspace.com/passwordRecovery.html",
"from": "Rackspace Control Panel",
"replyTo": "cpsupport@rackspace.com",
"subject": "Rackspace Password Reset"
}

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<passwordRecovery xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
templateUrl="http://cp.rackspace.com/files/passwordRecovery.txt"
callbackUrl="http://cp.rackspace.com/passwordRecovery.html"
from="Rackspace Control Panel"
replyTo="cpsupport@rackspace.com"
subject="Rackspace Password Reset">
<customParams>
<customParam name="%%FirstName%%" value="Steve" />
<customParam name="%%LastName%%" value="Smith" />
</customParams>
</passwordRecovery>

View File

@ -0,0 +1,29 @@
{"user":
{
"groups": {
"values": [
{
"tenantId" : "1234",
"id": "Admin"
},
{
"tenantId" : "1234",
"id" : "DBUser"
},
{
"id" : "Super"
}
],
"links" : [
{
"rel" : "next",
"href" : "http://idm.api.openstack.org/v1.0/1234/tenants/1234/users/jqsmith/groups?marker=Super"
}
]
},
"id": "jqsmith",
"tenantId": "1234",
"email": "john.smith@example.org",
"enabled": true
}
}

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/idm/api/v1.0"
xmlns:atom="http://www.w3.org/2005/Atom"
enabled="true" email="john.smith@example.org"
tenantId="1234" id="jqsmith">
<groups>
<group tenantId="1234" id="Admin"/>
<group tenantId="1234" id="DBUser"/>
<group id="Super"/>
<atom:link
rel="next"
href="http://idm.api.openstack.org/v1.0/1234/tenants/1234/users/jqsmith/groups?marker=Super"/>
</groups>
</user>

View File

@ -0,0 +1,20 @@
{
"username": "qauser",
"customerId": "RCN-QATestingCustomer",
"customerInum": "@!FFFF.FFFF.FFFF.FFFF!EEEE.999",
"email": "quauser@example.com",
"personId": "RPN-qauser-000-10001",
"firstName": "qauser",
"middleName": "none",
"lastName": "Tester",
"displayName": "qauser",
"prefLanguage": "en-us",
"inum": "@!FFFF.FFFF.FFFF.FFFF!EEEE.999!10001",
"status": "ACTIVE",
"locked": false,
"softDeleted": false,
"country": "USA",
"timeZone": "America/Chicago",
"mossoId": 999112358,
"nastId": "nastid-qauser"
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
username="qauser"
customerId="RCN-QATestingCustomer"
customerInum="@!FFFF.FFFF.FFFF.FFFF!EEEE.999"
email="quauser@example.com"
personId="RPN-qauser-000-10001"
firstName="qauser"
middleName="none"
lastName="Tester"
displayName="qauser"
prefLanguage="en-us"
inum="@!FFFF.FFFF.FFFF.FFFF!EEEE.999!10001"
status="ACTIVE"
locked="false"
softDeleted="false"
country="USA"
timeZone="America/Chicago"
mossoId="999112358"
nastId="nastid-qauser"/>

View File

@ -0,0 +1,20 @@
{
"username": "qauser",
"customerId": "RCN-QATestingCustomer",
"customerInum": "@!FFFF.FFFF.FFFF.FFFF!EEEE.999",
"email": "quauser@example.com",
"personId": "RPN-qauser-000-10001",
"firstName": "qauser",
"middleName": "none",
"lastName": "Tester",
"displayName": "qauser",
"prefLanguage": "en-us",
"inum": "@!FFFF.FFFF.FFFF.FFFF!EEEE.999!10001",
"status": "ACTIVE",
"locked": false,
"softDeleted": false,
"country": "USA",
"timeZone": "America/Chicago",
"mossoId": 999112358,
"nastId": "nastid-qauser"
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
username="qauser"
customerId="RCN-QATestingCustomer"
customerInum="@!FFFF.FFFF.FFFF.FFFF!EEEE.999"
email="quauser@example.com"
personId="RPN-qauser-000-10001"
firstName="qauser"
middleName="none"
lastName="Tester"
displayName="qauser"
prefLanguage="en-us"
inum="@!FFFF.FFFF.FFFF.FFFF!EEEE.999!10001"
status="ACTIVE"
locked="false"
softDeleted="false"
country="USA"
timeZone="America/Chicago"
mossoId="999112358"
nastId="nastid-qauser"/>

View File

@ -0,0 +1,20 @@
{
"username": "qauser",
"customerId": "RCN-QATestingCustomer",
"customerInum": "@!FFFF.FFFF.FFFF.FFFF!EEEE.999",
"email": "quauser@example.com",
"personId": "RPN-qauser-000-10001",
"firstName": "qauser",
"middleName": "none",
"lastName": "Tester",
"displayName": "qauser",
"prefLanguage": "en-us",
"inum": "@!FFFF.FFFF.FFFF.FFFF!EEEE.999!10001",
"status": "ACTIVE",
"locked": false,
"softDeleted": false,
"country": "USA",
"timeZone": "America/Chicago",
"mossoId": 999112358,
"nastId": "nastid-qauser"
}

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
username="qauser"
customerId="RCN-QATestingCustomer"
customerInum="@!FFFF.FFFF.FFFF.FFFF!EEEE.999"
email="quauser@example.com"
personId="RPN-qauser-000-10001"
firstName="qauser"
middleName="none"
lastName="Tester"
displayName="qauser"
prefLanguage="en-us"
inum="@!FFFF.FFFF.FFFF.FFFF!EEEE.999!10001"
status="ACTIVE"
locked="false"
softDeleted="false"
country="USA"
timeZone="America/Chicago"
mossoId="999112358"
nastId="nastid-qauser"/>

View File

@ -0,0 +1,15 @@
{"user":
{
"groups": {
"values": [
{
"tenantId" : "1234",
"id": "Admin"
}
]},
"id": "jqsmith",
"tenantId": "1234",
"email": "john.smith@example.org",
"enabled": true
}
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<user xmlns="http://docs.openstack.org/idm/api/v1.0"
enabled="true" email="john.smith@example.org"
tenantId="1234" id="jqsmith">
<groups>
<group tenantId="1234" id="Admin"/>
</groups>
</user>

View File

@ -0,0 +1,6 @@
{"group":
{
"name" : "Admin",
"description" : "A description ..."
}
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<group xmlns="http://docs.rackspacecloud.com/idm/api/v1.0"
name="Admin"
description="A description..." />

View File

@ -0,0 +1,10 @@
{"groups": [
{
"name" : "Admin",
"description" : "A description ..."
},
{
"name" : "Technical",
"description" : "Another description ..."
}]
}

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<groups xmlns="http://docs.rackspacecloud.com/idm/api/v1.0">
<group
name="Admin"
description="A description..."/>
<group
name="Technical"
description="Another description..."/>
</groups>

View File

@ -0,0 +1,16 @@
{
"granted": {
"permission": [
{
"permissionId": "addCustomer",
"customerId": "RCN-000-000-000",
"clientId": "IDM"
},
{
"permissionId": "getCustomer",
"customerId": "RCN-000-000-000",
"clientId": "IDM"
}
]
}
}

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<permissions xmlns="http://docs.rackspacecloud.com/idm/api/v1.0">
<granted>
<permission
clientId="IDM"
customerId="RCN-000-000-000"
permissionId="addCustomer"/>
<permission
clientId="IDM"
customerId="RCN-000-000-000"
permissionId="getCustomer"/>
</granted>
</permissions>

View File

@ -0,0 +1,6 @@
{"group":
{
"id" : "Admin",
"description" : "A Description of the group..."
}
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<group xmlns="http://docs.openstack.org/idm/api/v1.0"
id="Admin">
<description>A Description of the group...</description>
</group>

View File

@ -0,0 +1,6 @@
{"group":
{
"id" : "Admin",
"description" : "A New description of the group..."
}
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<group xmlns="http://docs.openstack.org/idm/api/v1.0"
id="Admin">
<description>A New description of the group...</description>
</group>

View File

@ -0,0 +1,7 @@
{"group":
{
"tenantId" : "1234",
"id" : "Admin",
"description" : "A New description of the group..."
}
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<group xmlns="http://docs.openstack.org/idm/api/v1.0"
tenantId="1234" id="Admin">
<description>A New description of the group...</description>
</group>

View File

@ -0,0 +1,7 @@
{"group":
{
"tenantId" : "1234",
"id" : "Admin",
"description" : "A Description of the group..."
}
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<group xmlns="http://docs.openstack.org/idm/api/v1.0"
tenantId="1234" id="Admin">
<description>A Description of the group...</description>
</group>

View File

@ -0,0 +1,12 @@
{"groups": {
"values" : [
{
"id" : "Admin",
"description" : "A description ..."
},
{
"id" : "Technical",
"description" : "Another description ..."
}]
}
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<groups xmlns="http://docs.openstack.org/idm/api/v1.0">
<group id="Admin">
<description>A Description of the group...</description>
</group>
<group id="Technical">
<description>Another description...</description>
</group>
</groups>

View File

@ -0,0 +1,15 @@
{"groups": {
"values" : [
{
"tenantId" : "1234",
"id" : "Admin",
"description" : "A description ..."
},
{
"tenantId" : "1234",
"id" : "Technical",
"description" : "Another description ..."
}
]
}
}

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<groups xmlns="http://docs.openstack.org/idm/api/v1.0">
<group tenantId="1234" id="Admin">
<description>A Description of the group...</description>
</group>
<group tenantId="1234" id="Technical">
<description>Another description...</description>
</group>
</groups>

View File

@ -0,0 +1,7 @@
{"idmFault":
{
"message": "Fault",
"details": "Error Details...",
"code": 500
}
}

Some files were not shown because too many files have changed in this diff Show More