Merge trove-integration into trove
This commit will merge into trove, the trove-integration tree as of commit 9f92ca853f8aa2f72921e54682c918941a8f0919. This is in preparation for making trove-integration go away. In addition, it supresses any consideration of the integration directory in the trove tox tests as it is understandably a small pile of pooh and in need of much cleanup. Change-Id: Ib7f2655c4c5ed86b5454708c04371ee55e37ec2d Partially-Implements-Blueprint: eliminate-trove-integration-and-redstack
25
integration/.gitignore
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
scripts/.screenrc
|
||||
scripts/test-def.conf
|
||||
.tox
|
||||
*.pyc
|
||||
*.coverage
|
||||
tests/integration/Reddwarf_Integration_Tests.egg-info/*
|
||||
apidocs/target
|
||||
scripts/.cache/
|
||||
scripts/.cinderclient/
|
||||
scripts/.mysql_history
|
||||
scripts/.troveclient/
|
||||
conf.json
|
||||
Vagrantfile
|
||||
.my.cnf
|
||||
.vagrant
|
||||
.bash_history
|
||||
.rnd
|
||||
options.rc
|
||||
.novaclient
|
||||
*.log
|
||||
.local.conf
|
||||
scripts/local.conf.d/local.conf.d
|
||||
*.config/
|
4
integration/.gitreview
Normal file
@ -0,0 +1,4 @@
|
||||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=openstack/trove-integration.git
|
210
integration/README.md
Normal file
@ -0,0 +1,210 @@
|
||||
## Integration dev scripts, tests and docs for Trove.
|
||||
|
||||
***
|
||||
|
||||
### Steps to setup this environment:
|
||||
|
||||
Install a fresh Ubuntu 14.04 (Trusty Tahr) image ( _We suggest creating a development virtual machine using the image_ )
|
||||
|
||||
#### Login to the machine as root
|
||||
|
||||
#### Make sure we have git installed:
|
||||
|
||||
# apt-get update
|
||||
# apt-get install git-core -y
|
||||
|
||||
#### Add a user named ubuntu if you do not already have one:
|
||||
|
||||
# adduser ubuntu
|
||||
# visudo
|
||||
|
||||
add this line to the file below the root user
|
||||
|
||||
ubuntu ALL=(ALL:ALL) ALL
|
||||
|
||||
**OR use this if you dont want to type your password to sudo a command**
|
||||
|
||||
ubuntu ALL=(ALL) NOPASSWD: ALL
|
||||
|
||||
if /dev/pts/0 does not have read/write for your user
|
||||
|
||||
# chmod 666 /dev/pts/0
|
||||
|
||||
*Note that this number can change and if you can not connect to the screen session then the /dev/pts/# needs modding like above.*
|
||||
|
||||
#### Login with ubuntu:
|
||||
|
||||
# su ubuntu
|
||||
$ cd ~
|
||||
|
||||
#### Clone this repo:
|
||||
|
||||
$ git clone https://github.com/openstack/trove-integration.git
|
||||
|
||||
#### Go into the scripts directory:
|
||||
|
||||
$ cd trove-integration/scripts/
|
||||
|
||||
#### Running redstack is the core script:
|
||||
*Run this to get the command list with a short description of each*
|
||||
|
||||
$ ./redstack
|
||||
|
||||
#### Install all the dependencies and then install trove via redstack.
|
||||
*This brings up trove (rd-api rd-tmgr) and initializes the trove database.*
|
||||
|
||||
$ ./redstack install
|
||||
|
||||
***
|
||||
|
||||
#### Connecting to the screen session
|
||||
|
||||
$ screen -x stack
|
||||
|
||||
*If that command fails with the error*
|
||||
|
||||
Cannot open your terminal '/dev/pts/1'
|
||||
|
||||
*If that command fails with the error chmod the corresponding /dev/pts/#*
|
||||
|
||||
$ chmod 660 /dev/pts/1
|
||||
|
||||
#### Navigate the log screens
|
||||
To produce the list of screens that you can scroll through and select
|
||||
|
||||
ctrl+a then "
|
||||
|
||||
Num Name
|
||||
|
||||
..... (full list ommitted)
|
||||
|
||||
20 c-vol
|
||||
21 h-eng
|
||||
22 h-api
|
||||
23 h-api-cfn
|
||||
24 h-api-cw
|
||||
25 tr-api
|
||||
26 tr-tmgr
|
||||
27 tr-cond
|
||||
|
||||
Alternatively, to go directly to a specific screen window
|
||||
|
||||
ctrl+a then '
|
||||
|
||||
then enter a number (like 25) or name (like tr-api)
|
||||
|
||||
#### Detach from the screen session
|
||||
Allows the services to continue running in the background
|
||||
|
||||
ctrl+a then d
|
||||
|
||||
***
|
||||
|
||||
#### Kick start the build/test-init/build-image commands
|
||||
*Add mysql as a parameter to set build and add the mysql guest image. This will also populate /etc/trove/test.conf with appropriate values for running the integration tests.*
|
||||
|
||||
$ ./redstack kick-start mysql
|
||||
|
||||
*Optional commands if you did not run kick-start*
|
||||
|
||||
#### Initialize the test configuration and set up test users (overwrites /etc/trove/test.conf)
|
||||
|
||||
$ ./redstack test-init
|
||||
|
||||
#### Build the image and add it to glance
|
||||
|
||||
$ ./redstack build-image mysql
|
||||
|
||||
***
|
||||
|
||||
### Reset your environment
|
||||
|
||||
#### Stop all the services running in the screens and refresh the environment:
|
||||
|
||||
$ killall -9 screen
|
||||
$ screen -wipe
|
||||
$ RECLONE=yes ./redstack install
|
||||
$ ./redstack kick-start mysql
|
||||
|
||||
or
|
||||
|
||||
$ RECLONE=yes ./redstack install
|
||||
$ ./redstack test-init
|
||||
$ ./redstack build-image mysql
|
||||
|
||||
***
|
||||
|
||||
### Recover after reboot
|
||||
If the VM was restarted, then the process for bringing up Openstack and Trove is quite simple
|
||||
|
||||
$./redstack start-deps
|
||||
$./redstack start
|
||||
|
||||
Use screen to ensure all modules have started without error
|
||||
|
||||
$screen -r stack
|
||||
|
||||
***
|
||||
|
||||
### Running Integration Tests
|
||||
Check the values in /etc/trove/test.conf in case it has been re-initialized prior to running the tests. For example, from the previous mysql steps:
|
||||
|
||||
"dbaas_datastore": "%datastore_type%",
|
||||
"dbaas_datastore_version": "%datastore_version%",
|
||||
|
||||
should be:
|
||||
|
||||
"dbaas_datastore": "mysql",
|
||||
"dbaas_datastore_version": "5.5",
|
||||
|
||||
Once Trove is running on DevStack, you can use the dev scripts to run the integration tests locally.
|
||||
|
||||
$./redstack int-tests
|
||||
|
||||
This will runs all of the blackbox tests by default. Use the --group option to run a different group:
|
||||
|
||||
$./redstack int-tests --group=simple_blackbox
|
||||
|
||||
You can also specify the TESTS_USE_INSTANCE_ID environment variable to have the integration tests use an existing instance for the tests rather than creating a new one.
|
||||
|
||||
$./TESTS_DO_NOT_DELETE_INSTANCE=True TESTS_USE_INSTANCE_ID=INSTANCE_UUID ./redstack int-tests --group=simple_blackbox
|
||||
|
||||
***
|
||||
|
||||
### VMware Fusion 5 speed improvement
|
||||
Running Ubuntu with KVM or Qemu can be extremely slow without certain optimizations. The following are some VMware settings that can improve performance and may also apply to other virtualization platforms.
|
||||
|
||||
1. Shutdown the Ubuntu VM.
|
||||
|
||||
2. Go to VM Settings -> Processors & Memory -> Advanced Options.
|
||||
Check the "Enable hypervisor applications in this virtual machine"
|
||||
|
||||
3. Go to VM Settings -> Advanced.
|
||||
Set the "Troubleshooting" option to "None"
|
||||
|
||||
4. After setting these create a snapshot so that in cases where things break down you can revert to a clean snapshot.
|
||||
|
||||
5. Boot up the VM and run the `./redstack install`
|
||||
|
||||
6. To verify that KVM is setup properly after the devstack installation you can run these commands.
|
||||
```
|
||||
ubuntu@ubuntu:~$ kvm-ok
|
||||
INFO: /dev/kvm exists
|
||||
KVM acceleration can be used
|
||||
```
|
||||
|
||||
### VMware Workstation performance improvements
|
||||
|
||||
In recent versions of VMWare, you can get much better performance if you enable the right virtualization options. For example, in VMWare Workstation (found in version 10.0.2), click on VM->Settings->Processor.
|
||||
|
||||
You should see a box of "Virtualization Engine" options that can be changed only when the VM is shutdown.
|
||||
|
||||
Make sure you check "Virtualize Intel VT-x/EPT or AMD-V/RVI" and "Virtualize CPU performance counters". Set the preferred mode to "Automatic".
|
||||
|
||||
Then boot the VM and ensure that the proper virtualization is enabled.
|
||||
|
||||
```
|
||||
ubuntu@ubuntu:~$ kvm-ok
|
||||
INFO: /dev/kvm exists
|
||||
KVM acceleration can be used
|
||||
```
|
193
integration/apidocs/pom.xml
Normal file
@ -0,0 +1,193 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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.cloud.dbaas</groupId>
|
||||
<artifactId>dbaas-docs</artifactId>
|
||||
<version>1.0.0</version>
|
||||
|
||||
<name>Database Public API Spec</name>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<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>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<doctools.version>1.5.0</doctools.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<sourceDirectory>src</sourceDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>../xsd</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>com.rackspace.cloud.api</groupId>
|
||||
<artifactId>clouddocs-maven-plugin</artifactId>
|
||||
<!-- this <version> relates only to the *plugin* used for document formatting -->
|
||||
<!-- the version of the *API* that is the subject of the document is indicated within each document -->
|
||||
<version>${doctools.version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>g1</id>
|
||||
<goals>
|
||||
<goal>generate-pdf</goal>
|
||||
<goal>generate-webhelp</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<xincludeSupported>true</xincludeSupported>
|
||||
<sourceDirectory>src/resources</sourceDirectory>
|
||||
<highlightSource>false</highlightSource>
|
||||
<!-- this is the Rackspace-internal service developer guide formerly known as ManagementAPISpec.xml -->
|
||||
<includes>cdb-mgmt-devguide.xml</includes>
|
||||
<pdfUrl>../../cdb-mgmt-devguide-internal.pdf</pdfUrl>
|
||||
<enableDisqus>intranet</enableDisqus>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail><postProcess>
|
||||
<copy todir="target/docbkx/webhelp/cdb-mgmt-devguide/content/images">
|
||||
<fileset dir="src/resources/images" includes="**/*.png"/>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>g2</id>
|
||||
<goals>
|
||||
<goal>generate-pdf</goal>
|
||||
<goal>generate-webhelp</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<xincludeSupported>true</xincludeSupported>
|
||||
<sourceDirectory>src/resources</sourceDirectory>
|
||||
<highlightSource>false</highlightSource>
|
||||
<trimWadlUriCount>2</trimWadlUriCount>
|
||||
<!-- this is the public-facing client developer guide formerly known as PublicAPISpec.xml -->
|
||||
<!-- this document that will be published as cdb-devguide-latest.pdf at http://docs.rackspacecloud.com/api/ -->
|
||||
<pdfUrl>../../../cdb-devguide-latest.pdf</pdfUrl>
|
||||
<enableDisqus>1</enableDisqus>
|
||||
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
||||
<includes>cdb-devguide.xml</includes>
|
||||
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content</canonicalUrlBase>
|
||||
<postProcess>
|
||||
<copy todir="target/docbkx/webhelp/cdb-devguide/content/images">
|
||||
<fileset dir="src/resources/images" includes="**/*.png"/>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>g3</id>
|
||||
<goals>
|
||||
<goal>generate-pdf</goal>
|
||||
<goal>generate-webhelp</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<xincludeSupported>true</xincludeSupported>
|
||||
<sourceDirectory>src/resources</sourceDirectory>
|
||||
<highlightSource>false</highlightSource>
|
||||
<!-- this is the Rackspace Getting Started guide -->
|
||||
<includes>cdb-getting-started.xml</includes>
|
||||
<pdfUrl>../../../cdb-getting-started.pdf</pdfUrl>
|
||||
<enableDisqus>1</enableDisqus>
|
||||
<googleAnalyticsId>UA-23102455-4</googleAnalyticsId>
|
||||
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-getting-started/content</canonicalUrlBase>
|
||||
<postProcess>
|
||||
<copy todir="target/docbkx/webhelp/cdb-getting-started/content/images">
|
||||
<fileset dir="src/resources/images" includes="**/*.png"/>
|
||||
</copy>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<!-- MA: added this to generate public release notes -->
|
||||
<execution>
|
||||
<id>g4</id>
|
||||
<goals>
|
||||
<goal>generate-webhelp</goal>
|
||||
<goal>generate-pdf</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<xincludeSupported>true</xincludeSupported>
|
||||
<sourceDirectory>src/resources</sourceDirectory>
|
||||
<highlightSource>false</highlightSource>
|
||||
<pdfUrl>../../../cdb-releasenotes-latest.pdf</pdfUrl>
|
||||
<includes>cdb-releasenotes.xml</includes>
|
||||
<enableDisqus>1</enableDisqus>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||
<enableGoogleAnalytics>1</enableGoogleAnalytics>
|
||||
<chapterAutolabel>0</chapterAutolabel>
|
||||
<security>external</security>
|
||||
<canonicalUrlBase>http://docs.rackspace.com/cdb/api/v1.0/cdb-releasenotes/content</canonicalUrlBase>
|
||||
<postProcess>
|
||||
<move todir="target/docbkx/webhelp/cdb-releasenotes-external" failonerror="false">
|
||||
<fileset dir="target/docbkx/webhelp/cdb-releasenotes"/>
|
||||
</move>
|
||||
<move file="target/docbkx/pdf/cdb-releasenotes.pdf" tofile="target/docbkx/pdf/cdb-releasenotes-YYYYMMDD.pdf" failonerror="false"/>
|
||||
<delete file="target/docbkx/pdf/cdb-releasenotes.fo" failonerror="false"/>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>g5</id>
|
||||
<goals>
|
||||
<goal>generate-pdf</goal>
|
||||
<goal>generate-webhelp</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<xincludeSupported>true</xincludeSupported>
|
||||
<sourceDirectory>src/resources</sourceDirectory>
|
||||
<highlightSource>false</highlightSource>
|
||||
<pdfUrl>../../../cdb-releasenotes-latest.pdf</pdfUrl>
|
||||
<includes>cdb-releasenotes.xml</includes>
|
||||
<enableDisqus>intranet</enableDisqus>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||
<enableGoogleAnalytics>1</enableGoogleAnalytics>
|
||||
<chapterAutolabel>0</chapterAutolabel>
|
||||
<security>internal</security>
|
||||
<canonicalUrlBase>http://docs-internal.rackspace.com/cdb/api/v1.0/cdb-releasenotes/content</canonicalUrlBase>
|
||||
<postProcess>
|
||||
<move todir="target/docbkx/webhelp/cdb-releasenotes-internal" failonerror="false">
|
||||
<fileset dir="target/docbkx/webhelp/cdb-releasenotes"/>
|
||||
</move>
|
||||
<move file="target/docbkx/pdf/cdb-releasenotes.pdf" tofile="target/docbkx/pdf/cdb-releasenotes-internal.pdf" failonerror="false"/>
|
||||
<delete file="target/docbkx/pdf/cdb-releasenotes.fo" failonerror="false"/>
|
||||
</postProcess>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<socialIcons>1</socialIcons>
|
||||
<feedbackEmail>mike.asthalter@rackspace.com</feedbackEmail>
|
||||
<branding>rackspace</branding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
1675
integration/apidocs/src/resources/cdb-devguide.xml
Normal file
1131
integration/apidocs/src/resources/cdb-getting-started.xml
Normal file
1267
integration/apidocs/src/resources/cdb-mgmt-devguide.xml
Normal file
711
integration/apidocs/src/resources/cdb-releasenotes.xml
Normal file
@ -0,0 +1,711 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<book xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xml:id="cdb-releasenotes"
|
||||
version="5.0">
|
||||
|
||||
<?rax title.font.size="35px" subtitle.font.size="20px"?>
|
||||
<title>Rackspace Cloud Databases Release Notes</title>
|
||||
<titleabbrev>Rackspace Cloud DBs Rel Notes</titleabbrev>
|
||||
<info>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname/>
|
||||
<surname/>
|
||||
</personname>
|
||||
<affiliation>
|
||||
<orgname>Rackspace Cloud</orgname>
|
||||
</affiliation>
|
||||
</author>
|
||||
<copyright>
|
||||
<year>2010</year>
|
||||
<year>2011</year>
|
||||
<year>2012</year>
|
||||
<holder>Rackspace US, Inc.</holder>
|
||||
</copyright>
|
||||
<releaseinfo>API v1.0</releaseinfo>
|
||||
<productname>Rackspace Cloud Databases</productname>
|
||||
<pubdate>2012-10-02</pubdate>
|
||||
<legalnotice role="rs-api">
|
||||
<annotation>
|
||||
<remark>Copyright details are filled in by the template.</remark>
|
||||
</annotation>
|
||||
</legalnotice>
|
||||
<abstract>
|
||||
<para>This document is intended for software developers
|
||||
interested in developing applications using the
|
||||
Rackspace Cloud Databases Application Program
|
||||
Interface (<abbrev>API</abbrev>). </para>
|
||||
</abstract>
|
||||
<revhistory>
|
||||
<revision security="internal">
|
||||
<date>2012-10-02</date>
|
||||
<revdescription>
|
||||
<para xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>Updated for v1.0.13.</para>
|
||||
</revdescription>
|
||||
</revision>
|
||||
<revision security="internal">
|
||||
<date>2012-09-17</date>
|
||||
<revdescription>
|
||||
<para xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>Updated for v1.0.12.</para>
|
||||
</revdescription>
|
||||
</revision>
|
||||
<revision>
|
||||
<date>2012-09-13</date>
|
||||
<revdescription>
|
||||
<para xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>Updated for v1.0.11.</para>
|
||||
</revdescription>
|
||||
</revision>
|
||||
<revision>
|
||||
<date>2012-08-21</date>
|
||||
<revdescription>
|
||||
<para xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>Updated for v1.0.8.</para>
|
||||
</revdescription>
|
||||
</revision>
|
||||
<revision security="internal">
|
||||
<date>2012-08-02</date>
|
||||
<revdescription>
|
||||
<para xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>Updated for v1.0.7.</para>
|
||||
</revdescription>
|
||||
</revision>
|
||||
<revision>
|
||||
<date>2012-08-01</date>
|
||||
<revdescription>
|
||||
<para xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>Initial Unlimited Availability (UA) release
|
||||
for Rackspace Cloud Databases.</para>
|
||||
</revdescription>
|
||||
</revision>
|
||||
</revhistory>
|
||||
<raxm:metadata xmlns:raxm="http://docs.rackspace.com/api/metadata">
|
||||
<raxm:product version="v1.0">cdb</raxm:product>
|
||||
<raxm:priority>10</raxm:priority>
|
||||
</raxm:metadata>
|
||||
</info>
|
||||
<chapter xml:id="doc_change_history">
|
||||
<title>Document Change History</title>
|
||||
<para>This version of the Release Notes replaces and obsoletes all
|
||||
previous versions. The most recent changes are described
|
||||
in the table below:</para>
|
||||
<?rax revhistory?>
|
||||
</chapter>
|
||||
<chapter xml:id="cdbv1.0.13" security="internal">
|
||||
<title>v1.0.13, October 2, 2012 </title>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Bug Fixes</title>
|
||||
<listitem security="internal">
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/Search.mvc/advanced?q=D-08245"
|
||||
>D-08245: </link>Formatted code to comply with
|
||||
pep8 code style.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/Search.mvc/Advanced?q=D-08357"
|
||||
>D-08357: </link>Initialized and updated usage
|
||||
data for instances that existed prior to billing
|
||||
enablement.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/Search.mvc/Advanced?q=D-08648"
|
||||
>D-08648: </link>Fixed guest agent to properly
|
||||
address lost connections with message bus.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Resources</title>
|
||||
<listitem>
|
||||
<para> Get started using the Cloud Databases API to
|
||||
create databases in the <emphasis role="italic"
|
||||
>Getting Started Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Get reference information and examples in
|
||||
the <emphasis role="italic">Cloud Databases
|
||||
Developer Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Support for Cloud Databases is available for US
|
||||
and UK customers 24x7x365 via phone, chat, or you
|
||||
may also <link
|
||||
xlink:href="https://manage.rackspacecloud.com/Tickets/YourTickets.do"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">File
|
||||
a Ticket</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Please visit our <link
|
||||
xlink:href="http://feedback.rackspacecloud.com/forums/71021-product-feedback/category/42449-cloud-databases"
|
||||
>Product Feedback Forum</link> and let us know
|
||||
what you think about Cloud Databases! </para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</chapter>
|
||||
<chapter xml:id="cdbv1.0.12" security="internal">
|
||||
<title>v1.0.12 (Hotfix), September 17, 2012 </title>
|
||||
<itemizedlist spacing="compact" security="internal">
|
||||
<title>Bug Fixes</title>
|
||||
<listitem security="internal">
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A378774"
|
||||
>D-08422: </link>Fixed billing code to
|
||||
properly send events to Yagi and fixed billing
|
||||
timestamp format.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Known Issues / Limitations</title>
|
||||
<listitem>
|
||||
<para>List Versions API call does not work and returns
|
||||
a "403 Forbidden" response.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Users' database privileges are not modifiable.
|
||||
Users must be deleted and recreated to add
|
||||
additional database privileges.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Resources</title>
|
||||
<listitem>
|
||||
<para> Get started using the Cloud Databases API to
|
||||
create databases in the <emphasis role="italic"
|
||||
>Getting Started Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Get reference information and examples in
|
||||
the <emphasis role="italic">Cloud Databases
|
||||
Developer Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Support for Cloud Databases is available for US
|
||||
and UK customers 24x7x365 via phone, chat, or you
|
||||
may also <link
|
||||
xlink:href="https://manage.rackspacecloud.com/Tickets/YourTickets.do"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">File
|
||||
a Ticket</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Please visit our <link
|
||||
xlink:href="http://feedback.rackspacecloud.com/forums/71021-product-feedback/category/42449-cloud-databases"
|
||||
>Product Feedback Forum</link> and let us know
|
||||
what you think about Cloud Databases! </para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</chapter>
|
||||
<chapter xml:id="cdbv1.0.11">
|
||||
<title>v1.0.11, September 13, 2012 </title>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Bug Fixes</title>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A355524"
|
||||
>D-08051: </link>Fixed issue preventing users
|
||||
from increasing/decreasing their instance flavor
|
||||
size.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A271288"
|
||||
>D-06654: </link>Resizing instance using same
|
||||
volume size no longer generates misleading error
|
||||
message.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A348396"
|
||||
>D-07897: </link>Fixed issue where instance in
|
||||
ERROR fails to delete.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A344970"
|
||||
>D-07819: </link>Fixed issue causing usage
|
||||
information to be applied when instance goes into
|
||||
error status after failed provisioning.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A303374"
|
||||
>D-07213: </link>Fixed guest update Mgmt API
|
||||
call.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact" security="internal">
|
||||
<title>Maintenance</title>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A367019"
|
||||
>D-08217: </link>Corrected yagi logrotate
|
||||
configuration to prevent log file handle from
|
||||
disappearing.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/story.mvc/Summary?oidToken=Story%3A273769"
|
||||
>B-27788: </link>Updated usage modify events
|
||||
(resize volume/flavor).</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/story.mvc/Summary?oidToken=Story%3A304905"
|
||||
>B-29438: </link>Added Environment Variable to
|
||||
usage event.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Known Issues / Limitations</title>
|
||||
<listitem>
|
||||
<para>List Versions API call does not work and returns
|
||||
a "403 Forbidden" response.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Users' database privileges are not modifiable. Users must be
|
||||
deleted and recreated to add additional database
|
||||
privileges.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Resources</title>
|
||||
<listitem>
|
||||
<para> Get started using the Cloud Databases API to
|
||||
create databases in the <emphasis role="italic"
|
||||
>Getting Started Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Get reference information and examples in
|
||||
the <emphasis role="italic">Cloud Databases
|
||||
Developer Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Support for Cloud Databases is available for US
|
||||
and UK customers 24x7x365 via phone, chat, or you
|
||||
may also <link
|
||||
xlink:href="https://manage.rackspacecloud.com/Tickets/YourTickets.do"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">File
|
||||
a Ticket</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Please visit our <link
|
||||
xlink:href="http://feedback.rackspacecloud.com/forums/71021-product-feedback/category/42449-cloud-databases"
|
||||
>Product Feedback Forum</link> and let us know
|
||||
what you think about Cloud Databases! </para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</chapter>
|
||||
<chapter xml:id="cdbv1.0.8">
|
||||
<title>v1.0.8, August 21, 2012 </title>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>What's New</title>
|
||||
<listitem>
|
||||
<para>Added reserved database names that cannot be used for
|
||||
creating databases (see <link
|
||||
xlink:href="http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content/POST_createDatabase__version___accountId__instances__instanceId__databases_.html"
|
||||
>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content/POST_createDatabase__version___accountId__instances__instanceId__databases_.html</link>
|
||||
for details).</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Added reserved user names that cannot be used for creating
|
||||
users (see <link
|
||||
xlink:href="http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content/POST_createUser__version___accountId__instances__instanceId__users_.html"
|
||||
>http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content/POST_createUser__version___accountId__instances__instanceId__users_.html</link>
|
||||
for details).</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Added support for the InnoDB plugin.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Bug Fixes</title>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect:315404"
|
||||
>D-07436: </link>Added <code>updated</code>
|
||||
attribute to the response from the List Versions
|
||||
API call.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect:317427"
|
||||
>D-07488: </link>Increased
|
||||
<code>max_allowed_packet</code> default to 16
|
||||
MB.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><link security="internal"
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect:306892"
|
||||
>D-07278: </link>Fixed
|
||||
<code>open_files_limit</code> based on flavor
|
||||
size.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect:270656"
|
||||
>D-06636: </link>Fixed issue where rabbit
|
||||
restart causes delete_queue to fail.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect:306364"
|
||||
>D-07273: </link>Added check for account id in
|
||||
Mgmt API calls.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A331826#!/sKH/assetstream/baseAssetStream/Defect:331826"
|
||||
>D-07644: </link>Fixed the issue where the
|
||||
Usage events for "Exists" do not have a "T" in the
|
||||
date/time format.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect%3A276083#!/sKD/assetstream/baseAssetStream/Defect:276083"
|
||||
>D-06783: </link>Split usage events of over 24
|
||||
hours into "exists" events.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/defect.mvc/Summary?oidToken=Defect:312544"
|
||||
>D-07366: </link>Simplified ioprio
|
||||
calculation.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para><link
|
||||
xlink:href="https://www15.v1host.com/RACKSPCE/story.mvc/Summary?oidToken=Story:317533#!/sAXI/assetstream/baseAssetStream/Story:317533"
|
||||
>Story:317533: </link>Added cpulimit
|
||||
overcommit multiplier.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>Fixed the trove-api issues with rabbit
|
||||
connections. Using openstack-common rpc.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>Updated the usage event with
|
||||
the environment set to STAGE instead of
|
||||
STAGING.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>Changed set_cpus to not use a multiplier so that values in
|
||||
the flavors database have the correct vcpus that
|
||||
are then applied to the containers.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Known Issues / Limitations</title>
|
||||
<listitem>
|
||||
<para>List Versions API call does not work and returns
|
||||
a "403 Forbidden" response.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Users' database privileges are not modifiable.
|
||||
Users must be deleted and recreated to add
|
||||
additional database privileges.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Resources</title>
|
||||
<listitem>
|
||||
<para> Get started using the Cloud Databases API to
|
||||
create databases in the <emphasis role="italic"
|
||||
>Getting Started Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Get reference information and examples in
|
||||
the <emphasis role="italic">Cloud Databases
|
||||
Developer Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Support for Cloud Databases is available for US
|
||||
and UK customers 24x7x365 via phone, chat, or you
|
||||
may also <link
|
||||
xlink:href="https://manage.rackspacecloud.com/Tickets/YourTickets.do"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">File
|
||||
a Ticket</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Please visit our <link
|
||||
xlink:href="http://feedback.rackspacecloud.com/forums/71021-product-feedback/category/42449-cloud-databases"
|
||||
>Product Feedback Forum</link> and let us know
|
||||
what you think about Cloud Databases! </para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</chapter>
|
||||
<chapter xml:id="cdbv1.0.7" security="internal">
|
||||
<title>v1.0.7, August 2, 2012 </title>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>What's New</title>
|
||||
<listitem>
|
||||
<para>Multi-cab scheduler.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Bug Fixes</title>
|
||||
<listitem>
|
||||
<para>Fixed usage bug with httplib2.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Resources</title>
|
||||
<listitem>
|
||||
<para> Get started using the Cloud Databases API to
|
||||
create databases in the <emphasis role="italic"
|
||||
>Getting Started Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Get reference information and examples in
|
||||
the <emphasis role="italic">Cloud Databases
|
||||
Developer Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Support for Cloud Databases is available for US
|
||||
and UK customers 24x7x365 via phone, chat, or you
|
||||
may also <link
|
||||
xlink:href="https://manage.rackspacecloud.com/Tickets/YourTickets.do"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml">File
|
||||
a Ticket</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Please visit our <link
|
||||
xlink:href="http://feedback.rackspacecloud.com/forums/71021-product-feedback/category/42449-cloud-databases"
|
||||
>Product Feedback Forum</link> and let us know
|
||||
what you think about Cloud Databases! </para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</chapter>
|
||||
<chapter xml:id="cdbv1.0.6">
|
||||
<title>v1.0.6, August 1, 2012 </title>
|
||||
<para>We’re pleased to announce the availability of Rackspace Cloud
|
||||
Databases to all US and UK Open Cloud customers. These
|
||||
release notes cover the Unlimited Availability (UA)
|
||||
release of Rackspace Cloud Databases.</para>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Product Features</title>
|
||||
<listitem>
|
||||
<para>
|
||||
<emphasis role="bold">Performance Optimized MySQL
|
||||
Instances</emphasis>
|
||||
</para>
|
||||
<para>Provision MySQL database instances of varying
|
||||
flavor (RAM) sizes without the need to maintain
|
||||
and/or update MySQL. Optionally create users and
|
||||
databases during instance creation for quick
|
||||
deployment.</para>
|
||||
<para> </para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<emphasis role="bold">High-performance block level
|
||||
storage</emphasis>
|
||||
</para>
|
||||
<para>Critical loads with high I/O demands are
|
||||
performance-optimized and protected with local
|
||||
RAID 10 and network RAID 10. Additionally, network
|
||||
RAID provides synchronous replication of volumes
|
||||
with automatic failover and load balancing across
|
||||
available storage clusters.</para>
|
||||
<para> </para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<emphasis role="bold">Storage
|
||||
Management</emphasis>
|
||||
</para>
|
||||
<para>Increase storage allocation seamlessly without
|
||||
downtime as your dataset size increases.</para>
|
||||
<para> </para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<emphasis role="bold">Database Instance
|
||||
Management</emphasis>
|
||||
</para>
|
||||
<para>Increase or decrease flavor (RAM) size as
|
||||
database input/output (I/O) demands
|
||||
increase.</para>
|
||||
<para> </para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<emphasis role="bold">Database
|
||||
Management</emphasis>
|
||||
</para>
|
||||
<para>Create, list, and delete databases on your MySQL
|
||||
database instance.</para>
|
||||
<para> </para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<emphasis role="bold">User Management</emphasis>
|
||||
</para>
|
||||
<para>Control database access by adding and removing
|
||||
MySQL users. Optionally enable root user access
|
||||
for additional control.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>What's New</title>
|
||||
<listitem>
|
||||
<para>Performance improvements.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Documentation updates to the <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
>CDB Developer Guide</link>.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Bug Fixes</title>
|
||||
<listitem>
|
||||
<para>Removed root user from the users list.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>List users no longer shows root (or any other
|
||||
specified users we define).</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>XML Pagination works for list instances.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>Kernel openvz updates.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>Added Environment field to usage payload
|
||||
xml.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>Separate the modify event into modify
|
||||
volume/flavor types.</para>
|
||||
</listitem>
|
||||
<listitem security="internal">
|
||||
<para>Added categories searching for atom hopper
|
||||
billing.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Known Issues / Limitations</title>
|
||||
<listitem>
|
||||
<para>Users' database privileges are not modifiable.
|
||||
Users must be deleted and recreated to add
|
||||
additional database privileges.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<itemizedlist spacing="compact">
|
||||
<title>Resources</title>
|
||||
<listitem>
|
||||
<para> Get started using the Cloud Databases API to create
|
||||
databases in the <emphasis role="italic">Getting
|
||||
Started Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Get reference information and examples in the <emphasis
|
||||
role="italic">Cloud Databases Developer
|
||||
Guide</emphasis> at: <link
|
||||
xlink:href="http://docs.rackspace.com/api/"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>http://docs.rackspace.com/api/</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Support for Cloud Databases is available for US and UK
|
||||
customers 24x7x365 via phone, chat, or you may
|
||||
also <link
|
||||
xlink:href="https://manage.rackspacecloud.com/Tickets/YourTickets.do"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:m="http://www.w3.org/1998/Math/MathML"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
>File a Ticket</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para> Please visit our <link
|
||||
xlink:href="http://feedback.rackspacecloud.com/forums/71021-product-feedback/category/42449-cloud-databases"
|
||||
>Product Feedback Forum</link> and let us know
|
||||
what you think about Cloud Databases! </para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</chapter>
|
||||
|
||||
</book>
|
BIN
integration/apidocs/src/resources/images/Choose_CS_Image.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
integration/apidocs/src/resources/images/Choose_CS_Image_CCP.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
integration/apidocs/src/resources/images/Choose_Image_CCP.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
integration/apidocs/src/resources/images/Choose_Image_CCP.tiff
Normal file
After Width: | Height: | Size: 65 KiB |
4533
integration/apidocs/src/resources/images/Cloud_DB_Infographic-1.svg
Normal file
After Width: | Height: | Size: 369 KiB |
BIN
integration/apidocs/src/resources/images/Create_CS.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
integration/apidocs/src/resources/images/phpMyAdmin.png
Normal file
After Width: | Height: | Size: 252 KiB |
128
integration/apidocs/src/resources/samples/db-auth-20.json
Normal file
@ -0,0 +1,128 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
Content-Length: 477
|
||||
Date: Thu, 12 Apr 2012 18:45:13 GMT
|
||||
|
||||
{
|
||||
"access": {
|
||||
|
||||
"token": {
|
||||
"expires": "2011-12-08T22:51:02.000-06:00",
|
||||
"id": "vvvvvvvv-wwww-xxxx-yyyy-zzzzzzzzzzzz"
|
||||
},
|
||||
"user": {
|
||||
"id": "123456",
|
||||
"name": "jsmith",
|
||||
"roles": [
|
||||
{
|
||||
"description": "Admin Role.",
|
||||
"id": "identity:admin",
|
||||
"name": "identity:admin"
|
||||
},
|
||||
{
|
||||
"description": "Default Role.",
|
||||
"id": "identity:default",
|
||||
"name": "identity:default"
|
||||
}
|
||||
]
|
||||
},
|
||||
"serviceCatalog": [
|
||||
{
|
||||
"endpoints": [
|
||||
{
|
||||
"publicURL": "https://ord.databases.api.rackspacecloud.com/v1.0/1100111",
|
||||
"region": "ORD",
|
||||
"tenantId": "1100111"
|
||||
},
|
||||
{
|
||||
"publicURL": "https://dfw.databases.api.rackspacecloud.com/v1.0/1100111",
|
||||
"region": "DFW",
|
||||
"tenantId": "1100111"
|
||||
}
|
||||
],
|
||||
"name": "cloudDatabases",
|
||||
"type": "rax:database"
|
||||
},
|
||||
{
|
||||
"endpoints": [
|
||||
{
|
||||
"publicURL": "https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1100111",
|
||||
"region": "DFW",
|
||||
"tenantId": "1100111"
|
||||
},
|
||||
{
|
||||
"publicURL": "https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1100111",
|
||||
"region": "ORD",
|
||||
"tenantId": "1100111"
|
||||
}
|
||||
],
|
||||
"name": "cloudLoadBalancers",
|
||||
"type": "rax:load-balancer"
|
||||
},
|
||||
{
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "1100111",
|
||||
"publicURL": "https://servers.api.rackspacecloud.com/v1.0/1100111",
|
||||
"versionId": "1.0",
|
||||
"versionInfo": "https://servers.api.rackspacecloud.com/v1.0/",
|
||||
"versionList": "https://servers.api.rackspacecloud.com/"
|
||||
}
|
||||
],
|
||||
"name": "cloudServersOpenStack",
|
||||
"type": "compute"
|
||||
},
|
||||
{
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "1100111",
|
||||
"publicURL": "https://servers.api.rackspacecloud.com/v1.0/1100111",
|
||||
"versionId": "1.0",
|
||||
"versionInfo": "https://servers.api.rackspacecloud.com/v1.0/",
|
||||
"versionList": "https://servers.api.rackspacecloud.com/"
|
||||
}
|
||||
],
|
||||
"name": "cloudServers",
|
||||
"type": "compute"
|
||||
},
|
||||
{
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
||||
"publicURL": "https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
||||
"internalURL": "https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
||||
"region": "ORD",
|
||||
"versionId": "1",
|
||||
"versionInfo": "https://cdn2.clouddrive.com/v1/",
|
||||
"versionList": "https://cdn2.clouddrive.com/"
|
||||
|
||||
}
|
||||
],
|
||||
"name": "cloudFiles",
|
||||
"type": "object-store"
|
||||
},
|
||||
{
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
||||
"publicURL": "https://cdn2.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",
|
||||
"region": "ORD"
|
||||
}
|
||||
],
|
||||
"name": "cloudFilesCDN",
|
||||
"type": "rax:object-cdn"
|
||||
},
|
||||
{
|
||||
|
||||
"endpoints": [
|
||||
{
|
||||
"tenantId": "1100111",
|
||||
"publicURL": "https://dns.api.rackspacecloud.com/v1.0/1100111"
|
||||
}
|
||||
],
|
||||
"name": "cloudDNS",
|
||||
"type": "rax:dns"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
63
integration/apidocs/src/resources/samples/db-auth-20.xml
Normal file
@ -0,0 +1,63 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml; charset=UTF-8
|
||||
Content-Length: 477
|
||||
Date: Thu, 12 Apr 2012 18:50:20 GMT
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<access xmlns="http://docs.openstack.org/identity/api/v2.0"
|
||||
xmlns:ns2="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
||||
xmlns:ns3="http://docs.rackspace.com/identity/api/ext/RAX-KSGRP/v1.0"
|
||||
xmlns:ns4="http://docs.openstack.org/common/api/v1.0"
|
||||
xmlns:ns5="http://www.w3.org/2005/Atom">
|
||||
<token id="vvvvvvvv-wwww-xxxx-yyyy-zzzzzzzzzzzz" expires="2011-12-08T22:51:02.000-06:00"/>
|
||||
<user id="123456" name="jsmith">
|
||||
<roles>
|
||||
<role id="identity:admin" name="identity:admin" description="Admin Role."/>
|
||||
<role id="identity:default" name="identity:default" description="Default Role."/>
|
||||
</roles>
|
||||
</user>
|
||||
<serviceCatalog>
|
||||
<service type="rax:database" name="cloudDatabases">
|
||||
<endpoint region="ORD" tenantId="1100111" publicURL="https://ord.databases.api.rackspacecloud.com/v1.0/1100111"/>
|
||||
<endpoint region="DFW" tenantId="1100111" publicURL="https://dfw.databases.api.rackspacecloud.com/v1.0/1100111"/>
|
||||
</service>
|
||||
<service type="rax:load-balancer" name="cloudLoadBalancers">
|
||||
<endpoint region="ORD" tenantId="1100111" publicURL="https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1100111"/>
|
||||
<endpoint region="DFW" tenantId="1100111" publicURL="https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1100111"/>
|
||||
</service>
|
||||
<service type="compute" name="cloudServersOpenStack">
|
||||
<endpoint region="DFW" tenantId="1100111"
|
||||
publicURL="https://dfw.servers.api.rackspacecloud.com/v2/1100111">
|
||||
<version id="2" info="https://dfw.servers.api.rackspacecloud.com/v2/"
|
||||
list="https://dfw.servers.api.rackspacecloud.com/" />
|
||||
</endpoint>
|
||||
</service>
|
||||
<service type="compute" name="cloudServers">
|
||||
<endpoint tenantId="1100111"
|
||||
publicURL="https://servers.api.rackspacecloud.com/v1.0/1100111">
|
||||
<version id="1.0"
|
||||
info="https://servers.api.rackspacecloud.com/v1.0/"
|
||||
list="https://servers.api.rackspacecloud.com/"/>
|
||||
</endpoint>
|
||||
</service>
|
||||
<service type="object-store" name="cloudFiles">
|
||||
<endpoint region="ORD"
|
||||
tenantId="MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
||||
publicURL="https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
||||
internalURL="https://snet-storage101.ord1.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"/>
|
||||
</service>
|
||||
<service type="rax:object-cdn" name="cloudFilesCDN">
|
||||
<endpoint region="ORD"
|
||||
tenantId="MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee"
|
||||
publicURL="https://cdn2.clouddrive.com/v1/MossoCloudFS_aaaaaaaa-bbbb-cccc-dddd-eeeeeeee">
|
||||
<version id="1"
|
||||
info="https://cdn2.clouddrive.com/v1/"
|
||||
list="https://cdn2.clouddrive.com/"/>
|
||||
</endpoint>
|
||||
</service>
|
||||
<service type="rax:dns" name="cloudDNS">
|
||||
<endpoint tenantId="1100111"
|
||||
publicURL="https://dns.api.rackspacecloud.com/v1.0/1100111"/>
|
||||
</service>
|
||||
</serviceCatalog>
|
||||
</access>
|
72
integration/apidocs/src/resources/samples/db-auth.json
Normal file
@ -0,0 +1,72 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
Content-Length: 477
|
||||
Date: Thu, 12 Apr 2012 18:45:13 GMT
|
||||
|
||||
{
|
||||
"auth": {
|
||||
"serviceCatalog": {
|
||||
"cloudDNS": [
|
||||
{
|
||||
"publicURL": "https://dns.api.rackspacecloud.com/v1.0/1234"
|
||||
}
|
||||
],
|
||||
"cloudDatabases": [
|
||||
{
|
||||
"publicURL": "https://dfw.databases.api.rackspacecloud.com/v1.0/1234",
|
||||
"region": "DFW"
|
||||
},
|
||||
{
|
||||
"publicURL": "https://ord.databases.api.rackspacecloud.com/v1.0/1234",
|
||||
"region": "ORD"
|
||||
}
|
||||
],
|
||||
"cloudFiles": [
|
||||
{
|
||||
"internalURL": "https://snet-storage101.dfw1.clouddrive.com/v1/ MossoCloudFS_aaaa-bbbbb-cccc-ddddd ",
|
||||
"publicURL": "https://storage101.dfw1.clouddrive.com/v1/ MossoCloudFS_aaaa-bbbbb-cccc-ddddd ",
|
||||
"region": "DFW",
|
||||
"v1Default": true
|
||||
}
|
||||
],
|
||||
"cloudFilesCDN": [
|
||||
{
|
||||
"publicURL": "https://cdn1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbb-cccc-ddddd",
|
||||
"region": "DFW",
|
||||
"v1Default": true
|
||||
}
|
||||
],
|
||||
"cloudLoadBalancers": [
|
||||
{
|
||||
"publicURL": "https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1234",
|
||||
"region": "ORD"
|
||||
},
|
||||
{
|
||||
"publicURL": "https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1234",
|
||||
"region": "DFW"
|
||||
}
|
||||
],
|
||||
"cloudMonitoring": [
|
||||
{
|
||||
"publicURL": "https://monitoring.api.rackspacecloud.com/v1.0/1234"
|
||||
}
|
||||
],
|
||||
"cloudServers": [
|
||||
{
|
||||
"publicURL": "https://servers.api.rackspacecloud.com/v1.0/1234",
|
||||
"v1Default": true
|
||||
}
|
||||
],
|
||||
"cloudServersOpenStack": [
|
||||
{
|
||||
"publicURL": "https://dfw.servers.api.rackspacecloud.com/v2/1234",
|
||||
"region": "DFW"
|
||||
}
|
||||
]
|
||||
},
|
||||
"token": {
|
||||
"expires": "2012-04-12T13:15:52.000-05:00",
|
||||
"id": "aaaaa-bbbbbb-cccccc-ddddd"
|
||||
}
|
||||
}
|
||||
}
|
50
integration/apidocs/src/resources/samples/db-auth.xml
Normal file
@ -0,0 +1,50 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml; charset=UTF-8
|
||||
Content-Length: 477
|
||||
Date: Thu, 12 Apr 2012 18:50:20 GMT
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<auth xmlns="http://docs.rackspacecloud.com/auth/api/v1.1">
|
||||
<token id="aaaaa-bbbbbb-cccccc-ddddd"
|
||||
expires="2012-04-12T13:15:52.000-05:00" />
|
||||
<serviceCatalog>
|
||||
<service name="cloudDatabases">
|
||||
<endpoint region="ORD" v1Default="false"
|
||||
publicURL="https://ord.databases.api.rackspacecloud.com/v1.0/1234"/>
|
||||
<endpoint region="DFW" v1Default="false"
|
||||
publicURL="https://dfw.databases.api.rackspacecloud.com/v1.0/1234"/>
|
||||
</service>
|
||||
<service name="cloudDNS">
|
||||
<endpoint v1Default="false" publicURL="https://dns.api.rackspacecloud.com/v1.0/1234"/>
|
||||
</service>
|
||||
<service name="cloudServers">
|
||||
<endpoint v1Default="true"
|
||||
publicURL="https://servers.api.rackspacecloud.com/v1.0/1234"/>
|
||||
</service>
|
||||
<service name="cloudLoadBalancers">
|
||||
<endpoint region="DFW" v1Default="false"
|
||||
publicURL="https://dfw.loadbalancers.api.rackspacecloud.com/v1.0/1234"/>
|
||||
<endpoint region="ORD" v1Default="false"
|
||||
publicURL="https://ord.loadbalancers.api.rackspacecloud.com/v1.0/1234"/>
|
||||
</service>
|
||||
<service name="cloudMonitoring">
|
||||
<endpoint v1Default="false"
|
||||
publicURL="https://monitoring.api.rackspacecloud.com/v1.0/1234"/>
|
||||
</service>
|
||||
<service name="cloudServersOpenStack">
|
||||
<endpoint region="DFW" v1Default="false"
|
||||
publicURL="https://dfw.servers.api.rackspacecloud.com/v2/1234"/>
|
||||
</service>
|
||||
<service name="cloudFiles">
|
||||
<endpoint region="DFW" v1Default="true"
|
||||
publicURL="https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbbb-ccccc-ddddd"
|
||||
internalURL="https://snet-storage101.dfw1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbbb-ccccc-ddddd"
|
||||
/>
|
||||
</service>
|
||||
<service name="cloudFilesCDN">
|
||||
<endpoint region="DFW" v1Default="true"
|
||||
publicURL="https://cdn1.clouddrive.com/v1/MossoCloudFS_aaaa-bbbbbb-ccccc-ddddd"
|
||||
/>
|
||||
</service>
|
||||
</serviceCatalog>
|
||||
</auth>
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/root HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/root HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 21
|
||||
Date: Wed, 25 Jan 2012 21:58:13 GMT
|
||||
|
||||
{
|
||||
"rootEnabled": true
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 90
|
||||
Date: Wed, 25 Jan 2012 21:58:14 GMT
|
||||
|
||||
<rootEnabled xmlns="http://docs.openstack.org/database/api/v1.0">True</rootEnabled>
|
@ -0,0 +1,41 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 632
|
||||
Date: Mon, 28 Nov 2011 21:35:41 GMT
|
||||
|
||||
{
|
||||
"instance": {
|
||||
"created": "2011-11-03T15:55:26Z",
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hostname": "d735f61b985bb003a61dc72948dbf4e7174da12c.rackspaceclouddb.com",
|
||||
"id": "00ff11ee-22dd-33cc-44bb-55aa66007799",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/00ff11ee-22dd-33cc-44bb-55aa66007799",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/00ff11ee-22dd-33cc-44bb-55aa66007799",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "myrackinstance",
|
||||
"status": "BUILD",
|
||||
"updated": "2011-11-03T15:55:27Z",
|
||||
"volume": {
|
||||
"size": "2"
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 639
|
||||
Date: Mon, 28 Nov 2011 16:19:34 GMT
|
||||
|
||||
<instance created="2011-11-03T15:57:52Z"
|
||||
hostname="d735f61b985bb003a61dc72948dbf4e7174da12c.rackspaceclouddb.com"
|
||||
id="00ff11ee-22dd-33cc-44bb-55aa66007799" name="myrackinstance" status="BUILD" updated="2011-11-03T15:57:55Z"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/00ff11ee-22dd-33cc-44bb-55aa66007799" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/00ff11ee-22dd-33cc-44bb-55aa66007799" rel="bookmark"
|
||||
/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1"
|
||||
rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1"
|
||||
rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
@ -0,0 +1,19 @@
|
||||
POST /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/databases HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"databases": [
|
||||
{
|
||||
"character_set": "utf8",
|
||||
"collate": "utf8_general_ci",
|
||||
"name": "testingdb"
|
||||
},
|
||||
{
|
||||
"name": "sampledb"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
POST /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/databases HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<databases xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<database name="exampledb" character_set="utf8" collate="utf8_general_ci" />
|
||||
<database name="anotherexampledb" />
|
||||
<database name="oneMoreExampledb" />
|
||||
</databases>
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:18 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:18 GMT
|
@ -0,0 +1,37 @@
|
||||
POST /v1.0/1234/instances HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: d6cafa5b-e0c7-4ab8-948e-7c95f2acd031
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"instance": {
|
||||
"databases": [
|
||||
{
|
||||
"character_set": "utf8",
|
||||
"collate": "utf8_general_ci",
|
||||
"name": "sampledb"
|
||||
},
|
||||
{
|
||||
"name": "nextround"
|
||||
}
|
||||
],
|
||||
"flavorRef": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
||||
"name": "json_rack_instance",
|
||||
"users": [
|
||||
{
|
||||
"databases": [
|
||||
{
|
||||
"name": "sampledb"
|
||||
}
|
||||
],
|
||||
"name": "demouser",
|
||||
"password": "demopassword"
|
||||
}
|
||||
],
|
||||
"volume": {
|
||||
"size": 2
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
POST /v1.0/1234/instances HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: d6cafa5b-e0c7-4ab8-948e-7c95f2acd031
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<instance flavorRef="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" name="xml_rack_instance" xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<databases>
|
||||
<database character_set="utf8" collate="utf8_general_ci" name="sampledb"/>
|
||||
<database name="nextround"/>
|
||||
</databases>
|
||||
<users>
|
||||
<user name="demouser" password="demopassword">
|
||||
<databases>
|
||||
<database name="sampledb"/>
|
||||
</databases>
|
||||
</user>
|
||||
</users>
|
||||
<volume size="2"/>
|
||||
</instance>
|
||||
|
@ -0,0 +1,41 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 636
|
||||
Date: Wed, 25 Jan 2012 21:53:10 GMT
|
||||
|
||||
{
|
||||
"instance": {
|
||||
"created": "2012-01-25T21:53:09Z",
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hostname": "e09ad9a3f73309469cf1f43d11e79549caf9acf2.rackspaceclouddb.com",
|
||||
"id": "dea5a2f7-3ec7-4496-adab-0abb5a42d635",
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/dea5a2f7-3ec7-4496-adab-0abb5a42d635",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/instances/dea5a2f7-3ec7-4496-adab-0abb5a42d635",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "json_rack_instance",
|
||||
"status": "BUILD",
|
||||
"updated": "2012-01-25T21:53:10Z",
|
||||
"volume": {
|
||||
"size": 2
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 748
|
||||
Date: Wed, 25 Jan 2012 21:53:23 GMT
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<instance created="2012-01-25T21:53:18Z" hostname="e09ad9a3f73309469cf1f43d11e79549caf9acf2.rackspaceclouddb.com" id="692d8418-7a8f-47f1-8060-59846c6e024f" name="xml_rack_instance" status="BUILD" updated="2012-01-25T21:53:22Z" xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/instances/692d8418-7a8f-47f1-8060-59846c6e024f" rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
@ -0,0 +1,32 @@
|
||||
POST /v1.0/1234/instances/1c59bdb8-03b6-4079-a7db-ba92d23a98b3/users HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: bb64d788-2dec-4a6b-a670-7151d108cacf
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"users": [
|
||||
{
|
||||
"databases": [
|
||||
{
|
||||
"name": "databaseA"
|
||||
}
|
||||
],
|
||||
"name": "dbuser3",
|
||||
"password": "password"
|
||||
},
|
||||
{
|
||||
"databases": [
|
||||
{
|
||||
"name": "databaseB"
|
||||
},
|
||||
{
|
||||
"name": "databaseC"
|
||||
}
|
||||
],
|
||||
"name": "dbuser4",
|
||||
"password": "password"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
POST /v1.0/1234/instances/1f19ee9e-6124-46b3-a6c6-fc46a5756814/users HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: bb64d788-2dec-4a6b-a670-7151d108cacf
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<users xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<user name="testuser" password="password">
|
||||
<databases>
|
||||
<database name="databaseC"/>
|
||||
</databases>
|
||||
</user>
|
||||
<user name="userwith2dbs" password="password">
|
||||
<databases>
|
||||
<database name="databaseA"/>
|
||||
<database name="databaseB"/>
|
||||
</databases>
|
||||
</user>
|
||||
</users>
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:18 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -0,0 +1,18 @@
|
||||
POST /v2.0/tokens HTTP/1.1
|
||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
||||
Host: identity.api.rackspacecloud.com
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
Content-Length: 54
|
||||
|
||||
{
|
||||
"auth":
|
||||
{
|
||||
"RAX-KSKEY:apiKeyCredentials":
|
||||
{
|
||||
"username": "jsmith",
|
||||
"apiKey": "aaaaa-bbbbb-ccccc-12345678"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,14 @@
|
||||
POST /v2.0/tokens HTTP/1.1
|
||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
||||
Host: identity.api.rackspacecloud.com
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
Content-Length: 88
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<auth>
|
||||
<apiKeyCredentials
|
||||
xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"
|
||||
username="jsmith"
|
||||
apiKey="aaaaa-bbbbb-ccccc-12345678"/>
|
||||
</auth>
|
@ -0,0 +1,13 @@
|
||||
POST /v1.1/auth HTTP/1.1
|
||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
||||
Host: auth.api.rackspacecloud.com
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
Content-Length: 54
|
||||
|
||||
{
|
||||
"credentials" : {
|
||||
"username" : "hub_cap",
|
||||
"key" : "a86850deb2742ec3cb41518e26aa2d89"
|
||||
}
|
||||
}
|
11
integration/apidocs/src/resources/samples/db-credentials.xml
Normal file
@ -0,0 +1,11 @@
|
||||
POST /v1.1/auth HTTP/1.1
|
||||
User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
|
||||
Host: auth.api.rackspacecloud.com
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
Content-Length: 88
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<credentials xmlns="http://docs.rackspacecloud.com/auth/api/v1.1"
|
||||
username="hub_cap"
|
||||
key="a86850deb2742ec3cb41518e26aa2d89"/>
|
@ -0,0 +1,8 @@
|
||||
DELETE /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/databases/exampledb HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
DELETE /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/databases/exampledb HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:18 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:18 GMT
|
@ -0,0 +1,8 @@
|
||||
DELETE /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
DELETE /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:15:51 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:15:51 GMT
|
@ -0,0 +1,8 @@
|
||||
DELETE /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users/testuser HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
DELETE /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users/testuser HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -0,0 +1,8 @@
|
||||
POST /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/root HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
POST /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/root HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -0,0 +1,11 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 78
|
||||
Date: Wed, 25 Jan 2012 21:58:11 GMT
|
||||
|
||||
{
|
||||
"user": {
|
||||
"name": "root",
|
||||
"password": "d4311cb1-d912-45be-8517-e8a46f54df66"
|
||||
}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 120
|
||||
Date: Wed, 25 Jan 2012 21:58:12 GMT
|
||||
|
||||
<user name="root" password="7dbfe27c-789f-4880-967c-7c6e601c4166" xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
||||
|
@ -0,0 +1,11 @@
|
||||
HTTP/1.1 400 None
|
||||
Content-Length: 120
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
Date: Tue, 29 Nov 2011 00:33:48 GMT
|
||||
|
||||
{
|
||||
"badRequest": {
|
||||
"code": 400,
|
||||
"message": "Volume 'size' needs to be a positive integer value, -1.0 cannot be accepted."
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
HTTP/1.1 400 None
|
||||
Content-Type: application/xml
|
||||
Content-Length: 121
|
||||
Date: Mon, 28 Nov 2011 18:19:37 GMT
|
||||
|
||||
<badRequest code="400" xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<message>
|
||||
Volume 'size' needs to be a positive integer value, -1.0 cannot be accepted.
|
||||
</message>
|
||||
</badRequest>
|
@ -0,0 +1,11 @@
|
||||
HTTP/1.1 500 Internal Server Error
|
||||
Content-Length: 120
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
Date: Tue, 29 Nov 2011 00:33:48 GMT
|
||||
|
||||
{
|
||||
"instanceFault": {
|
||||
"code": 500,
|
||||
"message": "The server has either erred or is incapable of performing the requested operation."
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
HTTP/1.1 500 Internal Server Error
|
||||
Content-Type: application/xml
|
||||
Content-Length: 121
|
||||
Date: Mon, 28 Nov 2011 18:19:37 GMT
|
||||
|
||||
<instanceFault code="500" xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<message>
|
||||
The server has either erred or is incapable of performing the requested operation.
|
||||
</message>
|
||||
</instanceFault>
|
@ -0,0 +1,11 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Content-Length: 78
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
Date: Tue, 29 Nov 2011 00:35:24 GMT
|
||||
|
||||
{
|
||||
"itemNotFound": {
|
||||
"code": 404,
|
||||
"message": "The resource could not be found."
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
HTTP/1.1 404 Not Found
|
||||
Content-Length: 147
|
||||
Content-Type: application/xml; charset=UTF-8
|
||||
Date: Mon, 28 Nov 2011 19:50:15 GMT
|
||||
|
||||
<itemNotFound code="404" xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<message>
|
||||
The resource could not be found.
|
||||
</message>
|
||||
</itemNotFound>
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/flavors/1 HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/flavors/1 HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -0,0 +1,22 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 209
|
||||
Date: Wed, 25 Jan 2012 21:53:05 GMT
|
||||
|
||||
{
|
||||
"flavor": {
|
||||
"id": 1,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.tiny",
|
||||
"ram": 512
|
||||
}
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 284
|
||||
Date: Wed, 25 Jan 2012 21:53:05 GMT
|
||||
|
||||
<flavor id="1" name="m1.tiny" ram="512" xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/flavors HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/flavors HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|
@ -0,0 +1,69 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 1768
|
||||
Date: Tue, 19 Jun 2012 19:52:45 GMT
|
||||
|
||||
{
|
||||
"flavors": [
|
||||
{
|
||||
"id": 1,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.tiny",
|
||||
"ram": 512
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/2",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.small",
|
||||
"ram": 1024
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/3",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.medium",
|
||||
"ram": 2048
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"links": [
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "https://ord.databases.api.rackspacecloud.com/flavors/4",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"name": "m1.large",
|
||||
"ram": 4096
|
||||
},
|
||||
]
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 2300
|
||||
Date: Tue, 19 Jun 2012 19:52:45 GMT
|
||||
|
||||
<flavors xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<flavor id="1" name="m1.tiny" ram="512">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="2" name="m1.small" ram="1024">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/2" rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="3" name="m1.medium" ram="2048">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/3" rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
<flavor id="4" name="m1.large" ram="4096">
|
||||
<links>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/4" rel="self"/>
|
||||
<link href="https://ord.databases.api.rackspacecloud.com/flavors/4" rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</flavors>
|
||||
|
@ -0,0 +1,41 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
Content-Length: 756
|
||||
Date: Thu, 05 Apr 2012 16:48:44 GMT
|
||||
|
||||
{
|
||||
"instance": {
|
||||
"status": "BUILD",
|
||||
"updated": "2012-04-05T16:48:44Z",
|
||||
"name": "myrackinstance",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65",
|
||||
"rel": "self"
|
||||
},
|
||||
{
|
||||
"href": "http://ord.databases.api.rackspacecloud.com/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
],
|
||||
"created": "2012-04-05T16:48:44Z",
|
||||
"hostname": "ca9fa2985e47b351915c75f1a8e95d0729068892.rackspaceclouddb.com",
|
||||
"volume": {
|
||||
"size": 2
|
||||
},
|
||||
"flavor": {
|
||||
"id": "1",
|
||||
"links": [
|
||||
{
|
||||
"href": "http://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1",
|
||||
"rel": "self"
|
||||
},
|
||||
{ "href": "http://ord.databases.api.rackspacecloud.com/flavors/1",
|
||||
"rel": "bookmark"
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": "d379ba5c-9a1f-4aa9-9a17-afe237d04c65"
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,22 @@
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/xml
|
||||
Content-Length: 870
|
||||
Date: Thu, 05 Apr 2012 16:17:29 GMT
|
||||
|
||||
<instance created="2012-04-05T16:17:29Z"
|
||||
hostname="8ba52fad9ec4aab5d75eabd1136c9750f64233ba.rackspaceclouddb.com"
|
||||
id="d379ba5c-9a1f-4aa9-9a17-afe237d04c65" name="myrackinstance" status="BUILD" updated="2012-04-05T16:17:29Z"
|
||||
xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<links>
|
||||
<link href="http://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65" rel="self"/>
|
||||
<link href="http://ord.databases.api.rackspacecloud.com/instances/d379ba5c-9a1f-4aa9-9a17-afe237d04c65" rel="bookmark"/>
|
||||
</links>
|
||||
<volume size="2"/>
|
||||
<flavor id="1">
|
||||
<links>
|
||||
<link href="http://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1" rel="self"/>
|
||||
<link href="http://ord.databases.api.rackspacecloud.com/flavors/1" rel="bookmark"/>
|
||||
</links>
|
||||
</flavor>
|
||||
</instance>
|
||||
|
@ -0,0 +1,10 @@
|
||||
POST /v1.0/1234/mgmt/instances/3b16f448-4387-44f5-b464-45111dd7a934/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 570ef429-78eb-43ec-ad69-de9456cd88c9
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"update": {}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
POST /v1.0/1234/mgmt/instances/f3a9e303-1542-4663-9dca-bfdcd7abe095/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 570ef429-78eb-43ec-ad69-de9456cd88c9
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<update xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
||||
|
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Length: 58
|
||||
Date: Mon, 05 Mar 2012 23:48:46 GMT
|
||||
|
||||
|
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Length: 58
|
||||
Date: Mon, 05 Mar 2012 23:48:47 GMT
|
||||
|
||||
|
@ -0,0 +1,10 @@
|
||||
POST /v1.0/1234/mgmt/instances/0617673d-a280-40c3-8151-29800a8f9d70/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 73d60021-96e1-4d06-843d-72d20fa5377b
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"reboot": {}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
POST /v1.0/1234/mgmt/instances/475baf88-53b8-4ebb-932a-a2518227a6c6/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 73d60021-96e1-4d06-843d-72d20fa5377b
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<reboot xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
||||
|
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Length: 58
|
||||
Date: Tue, 07 Feb 2012 23:56:52 GMT
|
||||
|
||||
|
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Length: 58
|
||||
Date: Tue, 07 Feb 2012 23:56:55 GMT
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
POST /v1.0/1234/instances/aeb0b280-7c21-42cc-938f-275c0cc83c08/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: d45346d7-b313-41fb-a29b-e8f5f7c59de2
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"resize": {
|
||||
"flavorRef": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3"
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
POST /v1.0/1234/instances/51a5576d-c2cb-449b-b2be-176d65566ac3/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: d45346d7-b313-41fb-a29b-e8f5f7c59de2
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<resize flavorRef="https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/3" xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
||||
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:14:20 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:14:20 GMT
|
@ -0,0 +1,12 @@
|
||||
POST /v1.0/1234/instances/23a3d4fb-3731-497b-afd4-bf25bde2b5fc/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 2eeb3252-0164-40f5-8fb7-85df5faa2698
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"resize": {
|
||||
"flavorRef": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2"
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
POST /v1.0/1234/instances/5d891bb6-6c61-4b0a-8b85-26f4ee461c9d/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 2eeb3252-0164-40f5-8fb7-85df5faa2698
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<resize xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<flavorRef>https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2</flavorRef>
|
||||
</resize>
|
||||
|
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Length: 58
|
||||
Date: Mon, 06 Feb 2012 21:28:10 GMT
|
||||
|
||||
|
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Length: 58
|
||||
Date: Mon, 06 Feb 2012 21:28:11 GMT
|
||||
|
||||
|
@ -0,0 +1,14 @@
|
||||
POST /v1.0/1234/instances/23a3d4fb-3731-497b-afd4-bf25bde2b5fc/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 2eeb3252-0164-40f5-8fb7-85df5faa2698
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"resize": {
|
||||
"volume": {
|
||||
"size": 4
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
POST /v1.0/1234/instances/5d891bb6-6c61-4b0a-8b85-26f4ee461c9d/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 2eeb3252-0164-40f5-8fb7-85df5faa2698
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" ?>
|
||||
<resize xmlns="http://docs.openstack.org/database/api/v1.0">
|
||||
<volume size="4"/>
|
||||
</resize>
|
||||
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:12:20 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:12:20 GMT
|
@ -0,0 +1,10 @@
|
||||
POST /v1.0/1234/instances/13d940c4-70bb-4ff4-8866-6ee9ab5e5cae/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"restart": {}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
POST /v1.0/1234/instances/ab585bea-2b42-4f95-8655-4afdd5037966/action HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<restart xmlns="http://docs.openstack.org/database/api/v1.0"/>
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/json
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -0,0 +1,4 @@
|
||||
HTTP/1.1 202 Accepted
|
||||
Content-Type: application/xml
|
||||
Content-Length: 0
|
||||
Date: Wed, 27 Jun 2012 23:11:19 GMT
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f HTTP/1.1
|
||||
User-Agent: python-example-client
|
||||
Host: ord.databases.api.rackspacecloud.com
|
||||
X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7
|
||||
Accept: application/xml
|
||||
Content-Type: application/xml
|
||||
|
||||
|