diff --git a/integration/.gitignore b/integration/.gitignore deleted file mode 100644 index 75bff19283..0000000000 --- a/integration/.gitignore +++ /dev/null @@ -1,25 +0,0 @@ -*.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/ diff --git a/integration/apidocs/pom.xml b/integration/apidocs/pom.xml deleted file mode 100644 index 9351619456..0000000000 --- a/integration/apidocs/pom.xml +++ /dev/null @@ -1,193 +0,0 @@ - - - 4.0.0 - - com.rackspace.cloud.dbaas - dbaas-docs - 1.0.0 - - Database Public API Spec - jar - - - - Rackspace Research Repositories - - true - - - - rackspace-research - Rackspace Research Repository - http://maven.research.rackspacecloud.com/content/groups/public/ - - - - - rackspace-research - Rackspace Research Repository - http://maven.research.rackspacecloud.com/content/groups/public/ - - - - - - UTF-8 - 1.5.0 - - - - src - - - ../xsd - - - - - com.rackspace.cloud.api - clouddocs-maven-plugin - - - ${doctools.version} - - - g1 - - generate-pdf - generate-webhelp - - generate-sources - - true - src/resources - false - - cdb-mgmt-devguide.xml - ../../cdb-mgmt-devguide-internal.pdf - intranet - mike.asthalter@rackspace.com - - - - - - - - g2 - - generate-pdf - generate-webhelp - - generate-sources - - true - src/resources - false - 2 - - - ../../../cdb-devguide-latest.pdf - 1 - UA-23102455-4 - cdb-devguide.xml - http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content - - - - - - - - - g3 - - generate-pdf - generate-webhelp - - generate-sources - - true - src/resources - false - - cdb-getting-started.xml - ../../../cdb-getting-started.pdf - 1 - UA-23102455-4 - http://docs.rackspace.com/cdb/api/v1.0/cdb-getting-started/content - - - - - - - - - - g4 - - generate-webhelp - generate-pdf - - generate-sources - - true - src/resources - false - ../../../cdb-releasenotes-latest.pdf - cdb-releasenotes.xml - 1 - mike.asthalter@rackspace.com - 1 - 0 - external - http://docs.rackspace.com/cdb/api/v1.0/cdb-releasenotes/content - - - - - - - - - - - g5 - - generate-pdf - generate-webhelp - - generate-sources - - true - src/resources - false - ../../../cdb-releasenotes-latest.pdf - cdb-releasenotes.xml - intranet - mike.asthalter@rackspace.com - 1 - 0 - internal - http://docs-internal.rackspace.com/cdb/api/v1.0/cdb-releasenotes/content - - - - - - - - - - - - 1 - mike.asthalter@rackspace.com - rackspace - - - - - diff --git a/integration/apidocs/src/resources/cdb-devguide.xml b/integration/apidocs/src/resources/cdb-devguide.xml deleted file mode 100644 index 5c2ae69b31..0000000000 --- a/integration/apidocs/src/resources/cdb-devguide.xml +++ /dev/null @@ -1,1675 +0,0 @@ - - - - - - - - GET'> - PUT'> - POST'> - DELETE'> - - - - - - - - - - - - '> - - - - - - '> -]> - - - - Rackspace Cloud Databases Developer Guide - Rackspace Cloud Databases Developer - Guide - - - - - - - - Rackspace Cloud - - - - 2010 - 2011 - 2012 - Rackspace US, Inc. - - API v1.0 - Rackspace Cloud Databases - 2012-09-04 - - - Copyright details are filled in by the template. - - - - This document is intended for software developers - interested in developing applications using the - Rackspace Cloud Databases Application Programming - Interface (API). - - - - - 2012-09-04 - - - - Added information for pricing and - service level (refer to ). - - - Updated maximum volume size for a - database instance (refer to ). - - - - - - 2012-08-21 - - - - Changed FAILED status for database - instance to ERROR instead (see ). - - - List reserved names that cannot be - used for creating databases (see ) and users (see ). - - - - - - 2012-08-01 - - - - Initial Unlimited Availability (UA) - release for Rackspace Cloud - Databases. - - - - - - - - this is a placeholder for the front cover - - - this is a placeholder for the back cover - - - cdb - 2 - - - - Overview - Rackspace Cloud Databases is an OpenStack-based MySQL - relational database service that allows Rackspace - customers to easily provision database instances of - varying virtual resource sizes without the need to - maintain and/or update MySQL. Interactions with Cloud - Databases occur programmatically via the Cloud Databases - API as described in this developer guide. - - Rackspace recommends that Cloud Databases users back - up their data using mysqldump until backups are supported - in Cloud Databases. - - The following figure shows an - overview of Cloud Databases Infrastructure: - - - - - - - - - - - Writer: need to get architecture diagram for DBaaS. - Emailed Daniel 5/1/12. - We welcome feedback, comments, and bug reports at http://feedback.rackspacecloud.com. - Writer: check whether following statement should be - added back in for public (not private) beta: Issues and - bug reports can be directed to your support team via - ticket, chat, email, or phone. - -
- Intended Audience - This Guide is intended to assist software - developers who want to develop applications using the - Cloud Databases API. It assumes the reader has a - general understanding of databases and is familiar - with: - - - ReSTful web services - - - HTTP/1.1 conventions - - - JSON and/or XML data serialization - formats - - - ATOM Syndication Format - - -
- -
- Document Change History - This version of the Developer Guide replaces and - obsoletes all previous versions. The most recent - changes are described in the table below: - -
-
- Additional Resources - Descriptive information about Cloud Databases is - also published in its Web Application Description - Language (WADL) and XML Schema Definition (XSD). You - are welcome to read this information here: - - - The WADL is . - - - The XSD is . - - - You can download the most current versions of other - API-related documents from http://docs.rackspace.com/. - For more details about Rackspace Cloud Databases, - refer to http://www.rackspace.com/cloud/cloud_hosting_products/databases/. - This site also offers links to Rackspace's official - support channels, including knowledge center articles, - forums, phone, chat, and email. - Using this API document, your Rackspace Cloud - account, and at least one Cloud Server, you can get - started whenever you'd like. See the - Getting Started with Rackspace Cloud - Databases and Servers at http://docs.rackspace.com/ for information - about getting started using the API. - Please visit our Product Feedback Forum and let us know - what you think about Cloud Databases! - You can also follow Rackspace updates and - announcements via twitter at: http://www.twitter.com/rackspace. - This API uses standard HTTP 1.1 response codes as - documented at: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html. -
- -
- Pricing and Service Level - Cloud Databases is part of the Rackspace Cloud and - your use through the API will be billed as per the - pricing schedule at http://www.rackspace.com/cloud/public/databases/pricing. - The Service Level Agreement (SLA) for Cloud - Databases is available at http://www.rackspace.com/cloud/legal/sla/#cloud_databases. -
-
- - - Concepts - - To use the Cloud Databases API effectively, you should - understand several key concepts: - Reviewer: Daniel Morris is asking Daniel Salinas to - do an initial write-up of this chapter. -
- Database Instance - A database instance is an isolated MySQL instance in - a single tenant environment on a shared physical host - machine. - Writer: once we support - MSSQL, we need to describe here what is used for MSSQL - in place of database instance. -
-
- Database - A MySQL database within a database instance. - Writer: once we support - MSSQL, we need to modify the wording here, such as: - The actual database, whether it is in MySQL or - MSSQL. -
-
- Flavor - A flavor is an available hardware configuration for - a database instance. Each flavor has a unique - combination of memory capacity and priority for CPU - time. -
-
- Volume - A volume is user-specified storage that contains the - MySQL data directory. Volumes are automatically - provisioned on shared Internet Small Computer System - Interface (iSCSI) storage area networks (SAN) that - provide for increased performance, scalability, - availability and manageability. Applications with high - I/O demands are performance optimized and data is - protected through both local and network RAID-10. - Additionally, network RAID provides synchronous - replication of volumes with automatic failover and - load balancing across available storage - clusters. -
-
- - General API Information - The Cloud Databases API is implemented using a ReSTful - web service interface. Like other products in the - Rackspace Cloud suite, the Database Service shares a - common token-based authentication system that allows - seamless access between products and services. - - All requests to authenticate against and operate the service are performed using - SSL over HTTP (HTTPS) on TCP port 443. - -
- Authentication - Every ReST request against the Database Service - requires the inclusion of a specific authorization - token, supplied by the X-Auth-Token HTTP - header. Customers obtain this token by first using the - Rackspace Cloud Authentication Service and supplying a - valid username and API access key. -
- Geographic Endpoints - The Rackspace Cloud Authentication Service - serves as the entry point to all Rackspace Cloud - APIs and is itself a ReSTful web service. - To access the Authentication Service, you must - know whether your account is US-based or UK-based: - - - US-based accounts authenticate through - &ENDPOINT-US-20;. - - - UK-based accounts authenticate through - &ENDPOINT-UK-20;. - - - Your account may be based in either the US or - the UK; this is not determined by your physical - location but by the location of the Rackspace - retail site which was used to create your account: - - - If your account was created via http://www.rackspacecloud.com, - it is a US-based account. - - - If your account was created via http://www.rackspace.co.uk, it - is a UK-based account. - - - If you are unsure how your account was created, - use the Rackspace contact information at either - site to ask for help. -
-
- Retrieving the Authentication Token - - - - &POST; - v2.0/tokens - Authenticate to receive a - token and a service catalog. - - - - Normal Response Code(s): - 200, - 203 - - Error Response Code(s): unauthorized - (401), userDisabled - (403), badRequest - (400), authFault - (500), - serviceUnavailable (503) - The authenticate operation provides clients - with an authentication token and a list of - regional cloud endpoints. The sample requests and - responses in this section illustrate a general - case. In your authentication request, use your own - credentials rather than the sample values shown - here for username and - apiKey. When you authenticate - successfully, the response to your authentication - request will include a catalog of the services to - which you have subscribed rather than the sample - values shown here. - - Auth Request: XML - - - - - - - - - - - - Auth Request: JSON - - - - - - - - - - - - - The username supplied here is your - common Rackspace Cloud username. - - - The key is your API access key. The key - can be obtained from the Rackspace Cloud - Control Panel in the <Your - Account>/API - Access section (login - here: Control Panel Login). - - - - Auth Response: XML - - - - - - - - - - - - - - - - - - - - Auth Response: JSON - - - - - - - - - - - - - - - - - - - The information shown in the Auth Response - examples is for US-based accounts. If you - authenticate against the UK-endpoint for auth, - you will see the service catalog information - for UK-based accounts. - - - - - In XML responses only, - a list of namespaces identifies API extensions that add functionality to the core API. - - - - - This token can be presented to a service as evidence of authentication. - Tokens are valid for a finite duration; a token's default lifespan is twenty-four hours. - - The token's expires attribute denotes the time - after which the token will automatically become - invalid. A token may be manually revoked before - the time identified by the expires - attribute; expires predicts a token's - maximum possible lifespan but does not guarantee - that it will reach that lifespan. Clients are - encouraged to cache a token until it expires. - - - - Users can be assigned multiple roles, - with each role providing specific - privileges. In this example, - jsmith is the - administrative user for the account, - holding the fully-privileged - identity:admin role. - Other users might hold other roles with - different privileges. Roles need not be - associated with actual job functions such - as Administrator, Operator, Developer, - Tester, or Trainer. - - - - The service catalog lists the services - this user can access. In this example, the - user can access one database service, one - loadbalancing service, two compute - services (Cloud Servers OpenStack and - Cloud Servers), two object storage - services (Cloud Files Content Distribution - Network (CDN), and Cloud Files), and one - DNS service. The catalog listing for each - service provides at least one endpoint URL - for that service. Other information, such - as regions, versions, and tenants, is - provided if it's relevant to this user's - access to this service. - - - - - The service type attribute identifies services that perform similar functions, whatever those services might be named. - In this example, the services named cloudServers and cloudServersOpenstack are both identified as type="compute", - identifying them as compute services even though the word "compute" does not appear in their names. - - - Use service type as the primary value for - locating a service. If multiple endpoints of the - same service type exist in the same region, use - service name as the tiebreaker. - - - - - - The service name attribute identifies each unique service in the catalog. - Once a service is created, its name does not change. However, new services of the same service type may be added to the catalog with new names. - - - If you are programmatically parsing an authentication - response, use service type rather than service name as - the basis for determining whether a user has access to - a particular kind of service. Service type is stable - across all releases; new service types may be developed, - but existing service types are not renamed. - In this example, - type="compute" identifies all the - available compute services, one of which is named - cloudServers and one of which is named - cloudServersOpenStack. New compute service names may be added - in future releases; whatever the compute services are - named, you can always - recognize them by parsing for - type="compute" in the authentication - response's service catalog. - - - - - A service may expose endpoints in different regions. - Regional endpoints allow clients to provision - resources in a manner that provides high - availability. - Some services are not region-specific. These services supply a single - non-regional endpoint and do not provide access to internal URLs. - - - - Some services recognize specification of a tenant. If a - service does recognize tenants, the format of the - tenant specification is defined only by the - service; for details about whether and how to - specify a tenant, check the documentation for the - service you are using. - - - - - An endpoint can be assigned public and internal URLs. A - public URL is accessible from anywhere. Access to a public - URL usually incurs traffic charges. Internal URLs are only - accessible to services within the same region. Access to - an internal URL is free of charge. - - - - - Authentication tokens are typically valid for 24 - hours. Applications should be designed to - re-authenticate after receiving a 401 - (Unauthorized) response from a service endpoint. - - If you are programmatically parsing an - authentication response, please be aware that - service names are stable for the life of the - particular service and can be used as keys. - You should also be aware that a user's service - catalog can include multiple uniquely-named - services which perform similar functions. For - example, cloudServersOpenStack is the - OpenStack version of compute whereas - cloudServers is the legacy version of compute; - the same user can have access to both - services. In Auth 2.0, the service type - attribute can be used as a key by which to - recognize similar services; see the tip - below. - - - Beginning with Auth 2.0, the service catalog - includes a service type attribute to identify - services that perform similar functions but - have different names; for example, - type="compute" identifies - compute services such as cloudServers and - cloudServersOpenStack. Some developers have - found the service type attribute to be useful - in parsing the service catalog. For additional - information on Auth 2.0 (also known as the - Cloud Identity Service), refer to the - Cloud Identity Client Developer - Guide at http://docs.rackspace.com/. - - Databases service endpoints are published in the - service catalog in the Auth response with the - account number, which is a required element of the - service endpoints. The examples shown here are for - authentication for US customers. Customers with - UK-based accounts will see different values in the - service catalog. Refer to the next section for - more information about service endpoints. -
-
-
- Service Access/Endpoints - The Database Service is a regionalized service. The - user of the service is therefore responsible for - appropriate replication, caching, and overall - maintenance of Cloud Databases data across regional - boundaries to other Cloud Databases servers. - You can find the available service access/endpoints - for Cloud Databases summarized in the table - below. - - - - - - - - - - - - - - - - - - - - - - - - -
Regionalized Service Endpoints
RegionEndpoint
Chicago (ORD)https://ord.databases.api.rackspacecloud.com/v1.0/1234/
Dallas/Ft. Worth (DFW)https://dfw.databases.api.rackspacecloud.com/v1.0/1234/
London (LON) - https://lon.databases.api.rackspacecloud.com/v1.0/1234/
-
- - Replace the sample account ID number, - 1234, with your actual - account number returned as part of the authentication - service response. - You will find the actual account number after the - final '/' in the publicURL field returned - by the authentication response. For example, in you can see - from the publicURL field for - cloudServers - ("https://servers.api.rackspacecloud.com/v1.0/1100111") that the account - number is 1100111. -
-
- Cloud Databases Service Versions - The Cloud Databases version defines the contract - and build information for the API. -
- Contract Version - The contract version denotes the data model and - behavior that the API supports. The requested - contract version is included in all request URLs. - Different contract versions of the API may be - available at any given time and are not guaranteed - to be compatible with one another. - - - Example Request URL (contract version - in <emphasis role="strong" - >bold</emphasis>) - https://ord.databases.api.rackspacecloud.com/v1.0/1234 - - - This document pertains to contract - version 1.0. - - -
-
- API Version - The API List Versions call is available to show - the current API version as well as information - about all versions of the API. Refer to for details. -
-
-
- Request/Response Types - The Cloud Databases API supports both the JSON and - XML data serialization formats. The request format is - specified using the Content-Type header - and is required for calls that - have a request body. The response format can be - specified in requests either by using the - Accept header or by adding an - .xml or .json extension - to the request URI. Note that it is possible for a - response to be serialized using a format different - from the request. If no response format is specified, - JSON is the default. If conflicting formats are - specified using both an Accept header and - a query extension, the query extension takes - precedence. - Some operations support an Atom representation that - can be used to efficiently determine when the state of - services has changed. - Reviewer: the previous sentence will be hidden - for the Private Beta, since it does not appear that - Atom will be supported yet. Correct? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Response Formats
FormatAccept HeaderQuery ExtensionDefault
JSONapplication/json.jsonYes
XMLapplication/xml.xmlNo
ATOMapplication/atom+xml.atomNo
- Reviewer: the ATOM row in the table above will be - hidden for the Private Beta, since it does not appear - that Atom will be supported yet. Correct? - In the request example below, notice that - Content-Type is set to - application/json, but - application/xml is - requested via the Accept - header: - - Request with Headers: JSON - - Missing code sample! - - Therefore an XML response format is returned: - - Response with Headers: XML - - Missing code sample! - -
-
- Synchronous and Asynchronous Responses - Reviewer: please give me the updated info for this - section. Need to replace info about callback URL, - etc. - All successful &GET; requests are - synchronous calls, since they - are always retrieving (reading) existing information. - With these requests, the caller waits until the call - returns with the specified code and response body. For - an example, see XXXX. - &PUT;, &POST;, and &DELETE; calls are asynchronous, however, - since they may take some time to process. Therefore they return 202 ACCEPTED - responses containing information with a callback URL, which allows the progress, - status, and/or response information of the call to be retrieved at a later point in - time. The asynchronous response body will look similar to the following examples, - depending on the format requested: - - 202 ACCEPTED Response: XML - - Reviewer: need code example - - - 202 ACCEPTED Response: JSON - - Reviewer: need code example - - The following table shows the attributes for asynchronous responses: - - - - - - - - - - - - - - - - - - - -
Attributes for Asynchronous Responses
AttributeDescription
jobIdAn identifier for the specific request.
callbackUrlResource locator for querying the status of the request.
- - The status for asynchronous calls is retained for up to 24 hours. - - - If a request body does not pass initial validation or an error condition - arises, you may receive an immediate error response from the request. - - When a request is made to the callback URL provided - and the job is still running, another - 202 ACCEPTED response - is returned with the same information as the previous - one. If the request is complete, the response will be - as if the original call returned as normal, without - waiting. For example, if a Create Database request was - issued and a 202 asynchronous response was returned, - the response from querying the callback URL for a - completed successful database creation would be a - 200 OK and contain the - information for the created database. See XXXX for a - specific example. - If an error occurs during the processing of the - create request, querying the callback URL will return - the details of the error, as if the original call - returned the error response. For example, if a - validation error occurs during the Create Database - request above, the response from querying the callback - URL would be a 400 BAD - REQUEST and contain details regarding the specific - validation error. - - If the response from querying a callback URL is a - 404 NOT FOUND, the details of the error in the - response body will contain information the caller may use to determine whether - the specified job itself was not found, or if the response from the original - request was a 404 NOT FOUND. - - The description of each &PUT;, &POST;, and &DELETE; - request identifies the response codes that can - indicate success or error for that request. For - example, see XXXX immediately below the table for a - list of the successful and error response codes for - the POST /xxxx call. -
-
- Content Compression - Reviewer: I am hiding this entire section for the - Private Beta, since I'm not sure that it applies. Is - that correct? - Request and response body data may be encoded with gzip compression to accelerate - interactive performance of API calls and responses. This is controlled using the - Accept-Encoding header on the request from the client and indicated - by the Content-Encoding header in the server response. Unless the - header is explicitly set, encoding defaults to disabled. - - - - - - - - - - - - - - - - - - - - - - -
Encoding Headers
Header TypeNameValue
HTTP/1.1 RequestAccept-Encodinggzip
HTTP/1.1 ResponseContent-Encodinggzip
-
-
- Persistent Connections - Reviewer: I am hiding this entire section for the - Private Beta, since I'm not sure that it applies. Is - that correct? - - By default, the API supports persistent connections - via HTTP/1.1 keepalives. All connections will be kept - alive unless the connection header is set to close. - - - To prevent abuse, HTTP sessions have a timeout of 20 - seconds before being closed. - - - - The server may close the connection at any time - and clients should not rely on this behavior. - - -
- -
- Limits - - All accounts, by default, have a preconfigured set of - thresholds (or limits) to manage capacity and prevent - abuse of the system. The system recognizes two kinds - of limits: rate limits and - absolute limits. Rate limits - are thresholds that are reset after a certain amount - of time passes. Absolute limits are fixed. - -
- Rate Limits - Rate limits are specified in terms of both a - human-readable wild-card URI and a - machine-processable regular expression. The - regular expression boundary matcher '^' takes - effect after the root URI path. For example, the - regular expression ^/v1.0/instances would match - the bolded portion of the following URI: - https://ord.databases.api.rackspacecloud.com/v1.0/instances. - The following table specifies the default rate - limits for all API operations for all &GET;, - &POST;, &PUT;, and &DELETE; calls for databases - and database instances: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Default Rate Limits
VerbURIRegExDefault
&GET; changes-since*/instances/*^/vd+.d+/instances.*3/minute
&POST;*/instances/*^/vd+.d+/instances.*10/minute
&POST; instances*/instances/*^/vd+.d+/instances.*50/day
&PUT;*/instances/*^/vd+.d+/instances.*10/minute
&DELETE;*/instances/*^/vd+.d+/instances.*100/minute
- Rate limits are applied in order relative to the - verb, going from least to most specific. For - example, although the threshold for &POST; to - /v1.0/* is 10 per minute, one cannot &POST; to - /v1.0/* more than 50 times within a single day. - If you exceed the thresholds established for - your account, a 413 (Rate - Control) HTTP response will be - returned with a Retry-After header to - notify the client when it can attempt to try - again. -
-
- Absolute Limits - Reviewer: Need to update this entire section. - Please give me your updates. - Refer to the following table for the absolute - limits that are set. - - - - - - - - - - - - - - - - - - - - - -
Absolute Limits
NameDescriptionLimit
InstancesMaximum number of instances allowed - for your account5
Volume SizeMaximum volume size per - instance in gigabytes (GB) for your - account50
-
-
-
- Date/Time Format - The Database Service uses an ISO-8601 compliant - date format for the display and consumption of - date/time values. - The system timezone is in UTC. MySQL converts TIMESTAMP values from - the current time zone to UTC for storage, and back - from UTC to the current time zone for retrieval. - This does not occur for other types, such as DATETIME. - - - DB Service Date/Time Format - yyyy-MM-dd'T'HH:mm:ss.SSSZ - See the table below for a description of the date/time format codes. - May 19th, 2011 at 8:07:08 AM, GMT-5 would have the following - format: - 2011-05-19T08:07:08-05:00 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Explanation of Date/Time Format Codes
CodeDescription
yyyyFour digit year
MMTwo digit month
ddTwo digit day of month
TSeparator for date/time
HHTwo digit hour of day (00-23)
mmTwo digit minutes of hour
ssTwo digit seconds of the minute
SSSThree digit milliseconds of the second
ZRFC-822 timezone
- -
-
- Pagination - To reduce load on the service, list operations - return a maximum of 20 items at a time. This is - referred to as pagination. Cloud - Databases has separate paging limits for instances, - databases, and users, which are currently all set to - 20. If a request supplies no limit or one that exceeds - the configured default limit, the default is used - instead. - Pagination provides the ability to limit the size - of the returned data as well as retrieve a specified - subset of a large data set. Pagination has two key - concepts: limit and marker. Limit - is the restriction on the maximum number of items for - that type that can be returned. - Marker is the ID of the last - item in the previous list returned. The ID is the UUID - in the case of instances, and the name in the case of - databases and users. For example, a query could - request the next 10 instances after the instance - "1234" as follows: - ?limit=10&marker=1234. Items are - displayed sorted by ID. - Pagination applies only to the calls listed in the - following table: - - - - Verb - URI - Description - - - - - &GET; - /instances/ - Lists the status and - information for all database - instances. - - - &GET; - - /instances/{instanceId}/databases - Lists databases for the - specified instance. - - - &GET; - /instances/{instanceId}/users - Lists the users in the - specified database instance. - - - - If the content returned by a call is paginated, the - response includes a structured link much like an - instance item's links, with the basic structure - {"href": "<url>", "rel": "next"}. - Any response that is truncated by pagination will have - a next link, which points to the - next item in the collection. If there are no more - items, no next link is - returned. - See the examples of paged List Instances calls that - follow. - - List Instances Paged Request: XML - - - - - - - List Instances Paged Request: JSON - - - - - - Notice that the paged request examples above set the - limit to 2 (?limit=2), so the responses - that follow each show 2 instances and return a - marker set to the UUID of the - last item in the returned list - (?marker=4137d6a4-03b7-4b66-b0ef-8c7c35c470d3). - Also a link is provided to retrieve the next 2 results - (limit=2) in the link element - identified by the attribute rel="next" - (XML) or "rel":"next" (JSON): - - List Instances Paged Response: XML - - - - - - - List Instances Paged Response: JSON - - - - - -
-
- Efficient Polling with the - <parameter>Changes-Since</parameter> - Parameter - Reviewer: I have hidden this section, since it - does not appear that it will be supported for Private - Beta. Correct? - The ReST API allows you to poll for the status of - certain operations by performing a &GET; on various - URIs. Rather than re-downloading and re-parsing the - full status at each polling interval, your ReST client - may use the changes-since - parameter to check for changes since a previous - request. The changes-since time - is specified as Unix time (the number of seconds since - January 1, 1970, 00:00:00 UTC, not counting leap - seconds). If nothing has changed since the - changes-since time, a - 304 (Not Modified) - response will be returned. If data has changed, only - the items changed since the specified time will be - returned in the response. - Reviewer: does the following sentence apply, and - should it be included? - For example, performing a &GET; against - https://api.servers.rackspacecloud.com/v1.0/224532/servers?changes-since=1244012982 - would list all servers that have changed since Wed, 03 - Jun 2009 07:09:42 UTC. -
-
- Faults - When an error occurs, the Database Service returns - a fault object containing an HTTP error response code - that denotes the type of error. In the body of the - response, the system will return additional - information about the fault. - The following table lists possible fault types with their associated error codes - and descriptions. - - - - Fault Type - Associated Error Code - Description - - - - - badRequest - 400 - There was one or more errors in the user request. - - - unauthorized - 401 - The supplied token is not authorized to access the resources, either it's expired or invalid. - - - forbidden - 403 - Access to the requested - resource was denied. - - - itemNotFound - 404 - The back-end services did not - find anything matching the - Request-URI. - - - badMethod - 405 - The request method is not allowed for this resource. - - - overLimit - 413 - Either the number of entities in the request is larger than - allowed limits, or the user has exceeded allowable request rate limits. - See the details element for more specifics. Contact support - if you think you need higher request rate limits. - - - badMediaType - 415 - The requested content type is not supported by this service. - - - unprocessableEntity - 422 - The requested resource could - not be processed on at the moment. - - - instanceFault - 500 - This is a generic server error and the message contains the reason for the error. This error could wrap several error messages and is a catch all. - - - notImplemented - 501 - The requested method or resource is not implemented. - - - serviceUnavailable - 503 - The Database Service is not - available. - - - - The following two instanceFault - examples show errors when the server has erred or - cannot perform the requested operation: - - - Example instanceFault Response: XML - - - - - - - Example Fault Response: JSON - - - - - - The error code (code) is returned in the body of the response for - convenience. The message element returns a human-readable message that - is appropriate for display to the end user. The details element is - optional and may contain information that is useful for tracking down an error, such - as a stack trace. The details element may or may not be appropriate for - display to an end user, depending on the role and experience of the end user. - The fault's root element (for example, - instanceFault) may change depending - on the type of error. - The following two badRequest examples - show errors when the volume size is invalid: - - Example badRequest Fault on Volume Size Errors: - XML - - - - - - - Example badRequest Fault on Volume Size Errors: - JSON - - - - - - The next two examples show - itemNotFound errors: - - Example itemNotFound Fault: XML - - - - - - - Example itemNotFound Fault: JSON - - - - - -
-
- Database Instance Status - When making an API call to create, list, or delete - database instance(s), the following database instance - status values are possible: - - - BUILD – The database instance is being provisioned. - - - REBOOT – The database instance is - rebooting. - - - ACTIVE – The database instance is - online and available to take requests. - - - BLOCKED – The database instance is - unresponsive at the moment. - - - RESIZE – The database instance is being - resized at the moment. - - - SHUTDOWN – The database instance is - terminating services. Also, SHUTDOWN is - returned if for any reason the MySQL instance - is shut down but not the actual server. - - - If MySQL has crashed (causing the - SHUTDOWN status), please call support - for assistance. - - - - - ERROR – The last operation for the - database instance failed due to an - error. - - -
-
- Database Instance Accessibility - Database instances are directly accessible only on - the internal ServiceNet network and using a Cloud - resource within the same regional datacenter. For - example, a database instance in DFW can only be - accessed by a Cloud Server in DFW. - Note that using a public Cloud Load Balancer allows - you to access your ServiceNet database instance from - the public network by performing the following steps: - - Using the Cloud Databases API, create a - database instance. For details see . - - - Using the Cloud Load Balancers API, - create a public load balancer and specify - your database instance hostname as a node, - or use the API to add your instance - hostname as a node to an existing public - load balancer. For details refer to the - Cloud Load Balancers - Developer Guide at http://docs.rackspace.com/api/. - - -
-
- - - API Operations - - Do not use trailing slashes (/) at the end of calls - to API operations, since this may cause the call to - fail. For example, do not use &GET; /instances/detail/ - (with the trailing slash at the end). Rather, use - &GET; /instances/detail instead. - - -
- API Versions - This section describes the versions that are - supported for the Cloud Databases API. - - - - - - - - - -
- -
- Database Instances - This section describes the operations that are supported for database instances. - - - - - - - - - - - - - - - -
- -
- Database Instance Actions - This section describes the actions that are supported for database instances. - - - - - - - -
- -
- Databases - This section describes the operations that are - supported for databases. - - - - - - - - - -
- -
- Users - This section describes the operations that are - supported for managing database users. - - - - - - - - - -
- -
- Flavors - This section describes the operations that are - supported for flavors. - - - - - - - - - -
-
- - Glossary - - database - - A MySQL database within a database instance. - - - - database instance - - A database instance is an isolated MySQL instance in a single tenant environment on a - shared physical host machine. Also referred to as instance. - - - - flavor - - A flavor is an available hardware configuration for a database instance. Each flavor has a unique combination of memory capacity and priority for CPU time. - - - - volume - - A volume is user-specified storage that contains the MySQL data directory. - Volumes are automatically provisioned on shared Internet Small Computer System Interface (iSCSI) - storage area networks (SAN) that provide for increased performance, scalability, availability - and manageability. Applications with high I/O demands are performance optimized and data is - protected through both local and network RAID-10. Additionally, network RAID provides synchronous - replication of volumes with automatic failover and load balancing across available storage clusters. - - - -
diff --git a/integration/apidocs/src/resources/cdb-getting-started.xml b/integration/apidocs/src/resources/cdb-getting-started.xml deleted file mode 100644 index ba3275b356..0000000000 --- a/integration/apidocs/src/resources/cdb-getting-started.xml +++ /dev/null @@ -1,1131 +0,0 @@ - - - - - - - - - GET'> - PUT'> - POST'> - DELETE'> - - - - - - - - - MAY'> - SHOULD'> - MUST'> - MUST NOT'> -]> - - - - - Rackspace Cloud Databases Getting Started Guide - Rackspace Cloud Databases and Servers Getting Started Guide - - - - - 2011 - 2012 - Rackspace US, Inc. - - API v1.0 - Rackspace Cloud Databases - 2012-09-04 - - - Copyright details are filled in by the template. - - - - - 2012-09-04 - - - - Added information for pricing and - service level (refer to ). - - - - - - 2012-08-02 - - - - Corrected request examples for - authentication (refer to ). - - - - - - 2012-08-01 - - - - Initial Unlimited Availability (UA) - release for Rackspace Cloud - Databases. - - - - - - - cdb - 1 - - - - Document Change History - This version of the Getting Started replaces and - obsoletes all previous versions. The most recent changes - are described in the table below: - - - - Overview - Follow the steps described in this guide to use the - Rackspace Cloud Databases API and the Cloud - Servers section of the Rackspace Cloud Control - Panel to create and access your database instances via - Rackspace Cloud Servers. - For details about using the Cloud Databases API, refer - to the Cloud Databases Developer - Guide at http://docs.rackspace.com/. - For more details about Rackspace Cloud Databases, refer - to http://www.rackspace.com/cloud/cloud_hosting_products/databases/. - This site also offers links to Rackspace's official - support channels, including knowledge center articles, - forums, phone, chat, and email. - Please visit our Product Feedback Forum and let us know what - you think about Cloud Databases! -
- Prerequisites for Running Examples - In order to run the examples in this guide, you must - have the following prerequisites: - - Rackspace Cloud account - - - Rackspace Cloud username and password, - as specified during registration - - -
-
- Pricing and Service Level - Cloud Databases is part of the Rackspace Cloud and - your use through the API will be billed as per the - pricing schedule at http://www.rackspace.com/cloud/public/databases/pricing. - Cloud Servers is also part of the Rackspace Cloud and - your use through the Control Panel will be billed as - per the pricing schedule at http://www.rackspace.com/cloud/public/servers/pricing. - The Service Level Agreements (SLAs) for Cloud - Databases and Cloud Servers are available at http://www.rackspace.com/cloud/legal/sla/#cloud_databases - and http://www.rackspace.com/cloud/legal/sla - respectively. -
-
- - Send Requests to the API - You have several options for sending requests through an - API: - - - Developers and testers may prefer to use cURL, - the command-line tool from http://curl.haxx.se/. - With cURL you can send HTTP requests and receive - responses back from the command line. - - - If you like to use a more graphical interface, - the ReST client for Firefox also works well for - testing and trying out commands, see https://addons.mozilla.org/en-US/firefox/addon/restclient/. - - - You can also download and install rest-client, a - Java application to test ReSTful web services, - from http://code.google.com/p/rest-client/. - - -
- Send API Requests Using cURL - cURL is a command-line tool that is available on - most UNIX®-like environments and Mac OS X® and can be - downloaded for Windows® in order to interact with the - ReST interfaces. For more information on cURL, visit - http://curl.haxx.se/. - cURL allows you to transmit and receive HTTP requests and responses from the - command-line or from within a shell script. This makes it possible to work with the ReST API - directly without using one of the client APIs. - The following cURL command-line options will be used - in this guide to run the examples: - - cURL Command-Line Options - - - - Sends the specified data in a post - request to the HTTP server. - - - - - - Includes the HTTP header in the - output. - - - - - - Specify an HTTP header in the request. - - - - - If you have the tools, you can run the cURL JSON - request examples with the following options to - format the output from cURL: <curl - JSON request example> | python - -mjson.tool. - -
-
- Copying and Pasting cURL Request Examples into a - Terminal Window - To run the cURL request examples shown in this guide - on Linux or Mac systems, copy and paste each example - from the HTML version of this guide into an ASCII - editor (for example vi or TextEdit). Then modify each example - with your required account information and so forth, - as detailed in this guide. - - The carriage returns in the cURL request - examples that are part of the cURL syntax are - escaped with a backslash ('\') in order to avoid - prematurely terminating the command. However you - should not escape carriage returns inside the xml - or json message within the command. - - Consider the following cURL Authenticate Request: - XML example that is described in detail in : - - cURL Authenticate Request: XML - - curl \ -'<?xml version="1.0" encoding="UTF-8"?> - <auth>    - <apiKeyCredentials      - xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"      - username="your_username"      - apiKey="your_api_key"/>    - </auth> \ -'https://identity.api.rackspacecloud.com/v2.0/tokens' - - You can see that the lines that are part of the cURL - command syntax have all been escaped with a backslash - ('\') to indicate that the command continues on the - next line: - curl \ - -    -(... lines within the xml portion of the message are not shown in this example) -(... the example only shows lines that are part of cURL syntax)      -      -     -    - </auth> \ -'https://identity.api.rackspacecloud.com/v2.0/tokens' - However the lines within the - xml portion of the message are - not escaped with a backslash - ('\') in order to avoid issues with the xml - processing: - '<?xml version="1.0" encoding="UTF-8"?> - <auth>    - <apiKeyCredentials      - xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0"      - username="your_username"      - apiKey="your_api_key"/>    - </auth> \ - - - The final line of the xml message is escaped - since the backslash lies - outside the xml message - and continues the cURL command to the next - line. - - After you are finished modifying the text for the - cURL request example with your information (for - example your_username and - your_api_key), paste it - into your terminal window. Then execute the cURL - command by pressing Enter. - If you have trouble copying and pasting the examples - as described, try typing the entire example on one - long line, removing all the backslash line - continuation characters. -
-
- - Generate an Authentication Token - You need to generate a token whether you use cURL or a - ReST client. - In order to use the ReST API, you will first need to - obtain an authentication token, which will need to be - passed in for each request using the - X-Auth-Token header. - The following example demonstrates how to use cURL to - obtain the authentication token and the account number. - You will need to supply the authentication token and - account number when making subsequent Cloud Databases API - calls. - Remember to replace the names in the Authenticate - Request examples below with their respective - values: - - your_username — The - username is your common Rackspace Cloud - username, as supplied during - registration. - - - your_api_key — The key - is your API access key. The key can be - obtained from the Rackspace Cloud Control - Panel in the <Your - Account> / API - Keys section (login here: - Control Panel Login). - - - To access the Authentication Service, you must know - whether your account is US-based or UK-based: - - - US-based accounts authenticate through &ENDPOINT-US-20;. - - - UK-based accounts authenticate through &ENDPOINT-UK-20;. - - - Your account may be based in either the US or the UK; - this is not determined by your physical location but by - the location of the Rackspace retail site which was used - to create your account: - - - If your account was created via http://www.rackspacecloud.com, it is a - US-based account. - - - If your account was created via http:/www.rackspace.co.uk, it is a - UK-based account. - - - If you are unsure how your account was created, use the - Rackspace contact information at either site to ask for - help. - Notice that you authenticate using a special URL for - Cloud authentication services. For example, for US-based - accounts, you use - https://identity.api.rackspacecloud.com/v2.0/tokens, - as shown in the following Authenticate Request examples. - Note that the v2.0 component in the URL - indicates that you are using version 2.0 of the Cloud Auth - API. - - cURL Authenticate Request: XML - - curl \ -'<?xml version="1.0" encoding="UTF-8"?> -<auth> - <apiKeyCredentials - xmlns="http://docs.rackspace.com/identity/api/ext/RAX-KSKEY/v1.0" - username="your_username" - apiKey="your_api_key"/> -</auth>' \ - \ - \ -'https://identity.api.rackspacecloud.com/v2.0/tokens' - - - cURL Authenticate Request: JSON - - curl \ -'{ - "auth": - { - "RAX-KSKEY:apiKeyCredentials": - { - "username": "your_username", - "apiKey": "your_api_key"} - } -}' \ - \ -'https://identity.api.rackspacecloud.com/v2.0/tokens' - - - For UK-based accounts, you would need to modify the - URL shown in the last line of each of the Authenticate - Request examples above to be - 'https://lon.identity.api.rackspacecloud.com/v2.0/tokens' - instead. - - - Authenticate Response: XML - Missing code sample! - - - Authenticate Response: JSON - Missing code sample! - - The authentication token id is returned - along with an expires attribute that - specifies when the token expires. - - Notes - - - For all response examples in this guide, the - field values you receive in your responses - will vary from those shown here since they - will be specific to your account. - - - The information shown in the Authenticate - Response examples above is for US-based - accounts. If you authenticate against the - UK-endpoint for auth, you will see the service - catalog information for UK-based - accounts. - - - The id attribute in the - Authenticate Response specifies the - authentication token. Tokens are valid for a - finite duration. - Remember to supply your authentication token - wherever you see the field your_auth_token in - the examples in this guide. - - - The expires attribute denotes - the time after which the token will - automatically become invalid. A token may be - manually revoked before the time identified by - the expires attribute; expires - predicts a token's maximum possible lifespan - but does not guarantee that it will reach that - lifespan. Clients are encouraged to cache a - token until it expires. - - - Applications should be designed to - re-authenticate after receiving a 401 - (Unauthorized) response from a service - endpoint. - - - - The publicURL endpoints for - cloudDatabases (for example - https://ord.databases.api.rackspacecloud.com/v1.0/1100111) - are also returned in the response. - You will find the actual account number after the final - '/' in the publicURL field. In this example, - you can see that the account number is 1100111. You need - to specify your account number on most of the Cloud - Databases API calls, wherever you see the field your_acct_id specified in the - examples in this guide. - After authentication, you can use cURL to perform &GET;, - &DELETE;, and &POST; requests for the Cloud Databases - API. - - - Service Access/Endpoints - The endpoints to use for your Cloud Databases API calls - are summarized in the table below. - - - - - - - - - - - - - - - - - - - - - - - - -
Regionalized Service Endpoints
RegionEndpoint
Chicago (ORD)https://ord.databases.api.rackspacecloud.com/v1.0/1234/ -
Dallas/Ft. Worth (DFW)https://dfw.databases.api.rackspacecloud.com/v1.0/1234/ -
London (LON) - https://lon.databases.api.rackspacecloud.com/v1.0/1234/ -
-
- - Notes: - - - Choose the endpoint from the table for the - datacenter where your Cloud resources are - located. - - - The Cloud Server that you use in must be - located in the same datacenter where your - database resides. - - - All examples in this guide assume that you - are operating against the ORD datacenter, - however if you are using a different - datacenter, be sure to use the associated - endpoint from the table above instead. - - - - Replace the sample account ID number, - 1234, with your actual account - number returned as part of the authentication response. - Use your actual account number wherever you see the field - your_acct_id - specified in this guide. Refer to . - When making a Cloud Databases API call, place the - endpoint at the beginning of the request URL, for example: - (https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/), - as you can see in the cURL List Flavors Details Request - examples in . -
- - List Flavors - A flavor is an available hardware configuration for a - database instance. Each flavor has a unique combination of - memory capacity and priority for CPU time. The larger the - flavor size you use, the larger the amount of RAM and - priority for CPU time your database instance will - receive. - You need to use the List Flavors API call - (/flavors) to find the available - configurations for your database instance, and then decide - which size you need. - This operation does not require a request body. - The following examples show the cURL requests for List - Flavors: - - cURL List Flavors Request: XML - curl -i \ --H 'X-Auth-Token: your_auth_token' \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/flavors' - - - cURL List Flavors Request: JSON - curl -i \ --H 'X-Auth-Token: your_auth_token' \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/flavors' - - Remember to replace the names in the examples above with - their actual respective values for all the cURL examples - that follow: - - your_auth_token — as - returned in your authentication response (see - the response examples in ) - - - your_acct_id — as - returned in your authentication response (must - be replaced in the request URL) - - - The following examples show the responses for List - Flavors: - - List Flavors Response: XML - Missing code sample! - - - List Flavors Response: JSON - Missing code sample! - - In the previous examples, you can see from the flavor - name that there are multiple flavors - available, including medium (with 1 virtual - CPU and 2 gigabytes of memory) and tiny (with - 1 virtual CPU and 0.5 gigabytes of memory). - In this example, assume that you decide to use the tiny - flavor (id 1) to provide the needed capacity for your - database instance. - Notice that there are two kinds of link relations - associated with flavor resources. A self link - contains a versioned link to the - flavor resource. These links should be used in cases where - the link will be followed immediately (as you will see in - the next section). A bookmark link provides a - permanent link to a flavor resource that is appropriate - for long term storage and works across API - versions. - - - - Create a Database Instance with a Database and a - User - A database instance is an isolated MySQL instance in - a single tenant environment on a shared physical host - machine. In the example below, you create a database - instance with a database and a user. The example instance - uses the tiny flavor and a volume size of 2 gigabytes - (GB). - Refer to Create Database in the Cloud - Databases Developer Guide for the - restrictions for choosing the database name. - The example creates a database instance - myrackinstance, with the following: - - the tiny flavor - - - volume size of 2 gigabytes (GB) - - - a database named sampledb with: - - utf8 character - set - - - utf8_general_ci - collation - - - - - a user simplestUser with - password password - - - - Notice that the request specifies the flavor reference - (flavorRef) to the tiny flavor (id 1) - that was returned by the List Flavors Details call: - "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1". - This is the self link that is the versioned - link to the flavor resource. Refer to the response - examples in . - The following examples show the cURL requests for Create - Instance: - - cURL Create Instance Request: XML - curl \ -'<?xml version="1.0" ?> -<instance xmlns="http://docs.openstack.org/database/api/v1.0" - name="myrackinstance" - flavorRef= - "https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/flavors/1"> - <databases> - <database name="sampledb" character_set="utf8" - collate="utf8_general_ci" /> - </databases> - <users> - <user name="simplestUser" password="password"> - <databases> - <database name="sampledb"/> - </databases> - </user> - </users> - <volume size="2" /> -</instance>' \ --H 'X-Auth-Token: your_auth_token' \ - \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/instances' - - - cURL Create Instance Request: JSON - curl \ -'{ - "instance": { - "databases": [ - { - "character_set": "utf8", - "collate": "utf8_general_ci", - "name": "sampledb" - } - ], - "flavorRef": "https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/flavors/1", - "name": "myrackinstance", - "users": [ - { - "databases": [ - { - "name": "sampledb" - } - ], - "name": "simplestUser", - "password": "password" - } - ], - "volume": - { - "size": 2 - } - } -}' \ --H 'X-Auth-Token: your_auth_token' \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/instances' - - Remember to replace the names in the examples above with - their actual respective values for all the cURL examples - that follow: - - your_auth_token — as - returned in your authentication response (see - the response examples in ) - - - your_acct_id — as - returned in your authentication response (must - be replaced in the request URL) - - - Remember to replace the account id shown in the - flavorRef property for the examples with - your actual account id: - "https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/flavors/1". - Rather than the flavor URI shown in the previous sentence, - you can also pass the flavor id (integer) as the value for - flavorRef. For example, the flavor id for the flavor URI - shown above is "1". - The following examples show the Create Instance - responses: - - - Create Instance Response: XML - Missing code sample! - - - - Create Instance Response: JSON - Missing code sample! - - You will need to specify the instance id returned (in - the response examples above: - id="d379ba5c-9a1f-4aa9-9a17-afe237d04c65") - on subsequent API calls that require it, for example List - Databases for Instance. - Note that the database and user are not listed in the - Create Instance responses. Next you will verify that both - were successfully created. - The operation of creating the database instance - may take up to several minutes. You will not be - able to perform the operations to List Databases - for Instance and List Users for Instance in the - sections that follow until the instance has ACTIVE - status. - - - - List Databases for Instance - In this section you will list the databases in the - specified database instance. - This operation does not require a request body. - The following - examples show the cURL requests for List Databases for - Instance: - - cURL List Databases for Instance Request: - XML - curl \ --H 'X-Auth-Token: your_auth_token' \ - \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/instances/instance_id/databases' - - - - cURL List Databases for Instance Request: - JSON - curl \ --H 'X-Auth-Token: your_auth_token' \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/instances/instance_id/databases' - - Remember to replace the names in the examples above with - their actual respective values: - - your_auth_token — as - returned in your authentication response (see - the examples in ) - - - your_acct_id — as - returned in your authentication response (see - the examples in ) - - - instance_id - — as returned in your create instance - response (see the examples in ) - - - The following examples show the responses for Create - User: - - List Databases for Instance Response: XML - HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 109 -Date: Thu, 05 Apr 2012 18:20:18 GMT - -<databases xmlns="http://docs.openstack.org/database/api/v1.0"> - <database name="sampledb"/> -</databases> - - - - List Databases for Instance Response: JSON - HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 37 -Date: Thu, 05 Apr 2012 18:13:53 GMT - -{ - "databases": [ - { - "name": "sampledb" - } - ] -} - - You can see that the database sampledb was - successfully created. Next you will list the users. - - - List Users in Database Instance - In this section you will list the users in the specified - database instance. - This operation does not require a request body. - The following examples show the cURL requests for List - Users in Database Instance: - - cURL List Users in Database Instance Request: - XML - curl \ --H 'X-Auth-Token: your_auth_token' \ - \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/instances/instance_id/users' - - - - cURL List Users in Database Instance Request: - JSON - curl \ --H 'X-Auth-Token: your_auth_token' \ - \ -'https://ord.databases.api.rackspacecloud.com/v1.0/your_acct_id/instances/instance_id/users' - - Remember to replace the names in the examples above with - their actual respective values: - - your_auth_token — as - returned in your authentication response (see - the examples in ) - - - your_acct_id — as - returned in your authentication response (see - the examples in ) - - - instance_id - — as returned in your create instance - response (see the examples in ) - - - The following examples show the responses for List - Users in Database Instance: - - List Users in Database Instance Response: - XML - HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 109 -Date: Thu, 05 Apr 2012 18:20:18 GMT - -<?xml version="1.0" ?> -<users xmlns="http://docs.openstack.org/database/api/v1.0"> - <user name="simplestUser"> - <databases> - <database> - <name> - sampledb - </name> - </database> - </databases> - </user> -</users> - - - - List Users in Database Instance Response: - JSON - HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 113 -Date: Thu, 05 Apr 2012 18:13:53 GMT - -{ - "users": [ - { - "databases": [ - { - "name": "sampledb" - } - ], - "name": "simplestUser" - } - ] -} - - You can see that the user simplestUser was - successfully created. - - - Create a New Cloud Server - Create a Cloud Server (or use an existing Cloud Server) - to access your database. - - If you are using an existing Cloud Server on your - account, skip this step and go directly to . - - Create a Cloud Server using the Cloud Servers section of - the Cloud Control Panel (login here: Control Panel Login). - - To create a Cloud Server using the Cloud Control - Panel: - - Click Servers to view - the Cloud Servers page. - - - Using the Region drop-down - menu, select the appropriate region, depending on - whether you want to create a first generation - Cloud Server or a next generation Cloud Server. - (The type of Cloud Server does not matter for this - exercise.) - - - Select an image from a list of different - operating systems, including Linux Distributions - and Windows Images: - - - - - - - - Specify the Server Name - and select a Size for your - Cloud Server, then click Create - Server. - - - - You can also create a Cloud Server using the Cloud - Servers API. Refer to the Next Generation Cloud - Servers Developer Guide for - details. - - - - Configuring an Application to Use Your Cloud - Database - If you are configuring an application to use your - database on a Cloud Server, you need to configure the - application with the hostname for the database instance - and user name / password for the database. Refer to the - response examples in - for the hostname returned and the request - examples for the user name and password you - specified. - - - MySQL GUI Administration - If you want to access your database using the command - line MySQL client, then you have now completed the - Getting Started. - Otherwise, you can use a GUI tool such as phpMyAdmin to - interact with your database instance. Common operations - include managing databases, tables, fields, relations, - indexes, users, and permissions. Included below is a - procedure to set up phpMyAdmin on an Ubuntu 11.04 Cloud - Server. - For more detailed installation configuration - instructions see the phpMyAdmin documentation at: http://www.phpmyadmin.net/documentation/. - Rackspace does not provide phpMyAdmin support, - and the user is responsible for any security - related configuration. - - - To install and configure phpMyAdmin on an Ubuntu - 11.04 Cloud Server: - - Install phpMyAdmin: - - sudo apt-get install - phpmyadmin - - - Set up a symbolic link to the phpmyadmin config - file: - sudo ln -s /etc/phpmyadmin/apache.conf - /etc/apache2/conf.d/phpmyadmin.conf - - - - Edit the - /etc/phpmyadmin/config-db.php - config file to point to your database - instance: - $dbserver='<cloud database - hostname>'; - - - - Restart apache: - sudo apachectl restart - - - Access phpMyAdmin at - http://<your_ipaddress>/phpMyAdmin: - - - - - - - - This concludes the Getting - Started. Thank you for using Rackspace Cloud - products. - -
diff --git a/integration/apidocs/src/resources/cdb-mgmt-devguide.xml b/integration/apidocs/src/resources/cdb-mgmt-devguide.xml deleted file mode 100644 index ea7d784cbb..0000000000 --- a/integration/apidocs/src/resources/cdb-mgmt-devguide.xml +++ /dev/null @@ -1,1267 +0,0 @@ - - - - - - - - GET'> - PUT'> - POST'> - DELETE'> - - - - - - '> - - - - - - '> -]> - - - - Rackspace Cloud Databases Developer Guide for Service - Management - - Rackspace Cloud Databases Management Developer - Guide - - - - - - - - Rackspace Cloud - - - - 2011 - 2012 - Rackspace US, Inc. - - API v1.0 - Rackspace Cloud Databases - 2012-10-04 - - - Copyright details are filled in by the template. - - - - This document is intended for software developers - interested in developing service management - applications using the Rackspace Cloud Databases - Application Programming Interface - (API). - - - - - 2012-10-04 - - - - Added new API call List All Active - Accounts (see ). - - - - - - 2012-10-02 - - - - Added new API calls Get Hardware - Info (see ) and Update All Instances on Host - (see ). - - - Added tenant_id field to sample - responses for List All Instances for a - Host API call (see ). - - - - - - 2012-08-21 - - - - Changed FAILED status for database - instance to ERROR instead (see ). - - - - - - 2012-08-01 - - - - Initial Unlimited Availability (UA) - release for Rackspace Cloud - Databases. - - - - - - - - this is a placeholder for the front cover - - - this is a placeholder for the back cover - - - - Overview - Rackspace Cloud Databases is a database available to - Rackspace Open Cloud customers. Interactions with Cloud - Databases occur programmatically via the Cloud Databases - API as described in this Cloud Databases - Developer Guide for Service - Management. - Writer: need to synch up Overview section with - marketing blurb for web. These should be - consistent. - The API operations described in this manual relate to - support of Cloud Databases service activities on behalf of - a specific customer. The scope of these operations is - narrow, relating to the needs of a single customer. A - customer might directly request these operations, however - only Rackers are authorized to perform them. - The following figure shows an - overview of Cloud Databases Infrastructure: - - - - - - - - - - - Writer: need to get architecture diagram for DBaaS. - Daniel emailed 11/17 that he would work on this during the - Private Beta and have it done for the Public - Beta. - We welcome feedback, comments, and bug reports at http://feedback.rackspacecloud.com. - Writer: check whether following statement should be - added back in for public (not private) beta: Issues and - bug reports can be directed to your support team via - ticket, chat, email, or phone. -
- Intended Audience - Two APIs provide access to Rackspace Cloud - Databases: - - - The management API, - available only to developers, Support - personnel, and Operations administrators - within Rackspace, depending on the granted - LDAP roles/permissions, is the subject of this - document. - - - The public API, - available to developers within Rackspace and - Rackspace customers, is the subject of a - companion document, the Cloud - Databases Developer - Guide. - - - To use the information provided here, you should - first have a general understanding of the Database - service. You should also be familiar with: - - - Database terminology - - - ReSTful web services - - - HTTP/1.1 conventions - - - JSON and/or XML data serialization - formats - - - ATOM Syndication Format - - -
- -
- Document Change History - This version of the Developer Guide replaces and - obsoletes all previous versions. The most recent - changes are described in the table below: - -
-
- Additional Resources - Descriptive information about Cloud Databases is - also published in its Web Application Description - Language (WADL) and XML Schema Definition (XSD). You - are welcome to read this information here: - - - The WADL is . - - - The XSD is . - - - You can download the most current versions of other - API-related documents from http://docs.rackspace.com/. - For information about getting started using Cloud - Databases and Cloud Servers, refer to - Getting Started with Rackspace Cloud - Databases and Servers. - For more details about Rackspace Cloud Databases, - refer to http://www.rackspace.com/cloud/cloud_hosting_products/databases/. - This site also offers links to Rackspace's official - support channels, including knowledge center articles, - forums, phone, chat, and email. - Please visit our Product Feedback Forum to find out what - customers think about Cloud Databases. - You can also follow Rackspace updates and - announcements via twitter at http://www.twitter.com/rackspace. - This API uses standard HTTP 1.1 response codes as - documented at http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html. - -
-
- - Concepts - - To use the Cloud Databases API effectively, you should - understand several key concepts: - Reviewer: Daniel Morris is asking Daniel Salinas to - do an initial write-up of this chapter. -
- Database Instance - A database instance is an isolated MySQL instance in - a single tenant environment on a shared physical host - machine. - Writer: once we support - MSSQL, we need to describe here what is used for MSSQL - in place of database instance. -
-
- Database - A MySQL database within a database instance. - Writer: once we support - MSSQL, we need to modify the wording here, such as: - The actual database, whether it is in MySQL or - MSSQL. -
-
- Flavor - A flavor is an available hardware configuration for - a database instance. Each flavor has a unique - combination of memory capacity and priority for CPU - time. -
-
- Volume - A volume is user-specified storage that contains the - MySQL data directory. Volumes are automatically - provisioned on dedicated Internet Small Computer - System Interface (iSCSI) storage area networks (SAN) - that provide for increased performance, scalability, - availability and manageability. Applications with high - I/O demands are performance optimized and data is - protected through both local and network RAID-10. - Additionally, network RAID provides synchronous - replication of volumes with automatic failover and - load balancing across available storage - clusters. -
-
- - General API Information - The Cloud Databases Management API is implemented using - a ReSTful web service interface. Most functions of the - customer-facing Cloud Databases API may be accessed on - behalf of a customer. The Cloud Databases Management API - also extends this functionality to include operations for - managing features of the public APIas well as - additional data fields not available to - customers. -
- Authentication - Every ReST request against the Cloud Databases - Management API requires that the caller be - authenticated with HTTP Basic Auth. - - If you cannot access the Cloud Databases - Management API, please email the Cloud DB team at - clouddb_all@rackspace.com to - request access. Access will be granted on an - as-needed basis until access to the Management API - is integrated with Global Auth. - -
-
- Service Access - The Database Service is a regionalized service. The - user of the service is therefore responsible for - appropriate replication, caching, and overall - maintenance of Cloud Databases data across regional - boundaries to other Cloud Databases servers. - - Replace the sample account ID number, - 1234, as shown in the URLs - in this guide, with your actual account number - returned as part of the authentication service - response. - You will find the actual account number after the - final '/' in the publicURL field returned - by the authentication response. In the following - example, you can see from the publicURL - field for cloudServers - (publicURL="https://servers.api.rackspacecloud.com/v1.0/322781") - that the account number is 322781. -
-
- Request/Response Types - The Cloud Databases API supports both the JSON and - XML data serialization formats. The request format is - specified using the Content-Type header - and is required for calls that - have a request body. The response format can be - specified in requests either by using the - Accept header or by adding an - .xml or .json extension - to the request URI. Note that it is possible for a - response to be serialized using a format different - from the request. If no response format is specified, - JSON is the default. If conflicting formats are - specified using both an Accept header and - a query extension, the query extension takes - precedence. - Some operations support an Atom representation that - can be used to efficiently determine when the state of - services has changed. - Reviewer: the previous sentence will be hidden - for the Private Beta, since it does not appear that - Atom will be supported yet. Correct? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Response Formats
FormatAccept HeaderQuery ExtensionDefault
JSONapplication/json.jsonYes
XMLapplication/xml.xmlNo
ATOMapplication/atom+xml.atomNo
- Reviewer: the ATOM row in the table above will be - hidden for the Private Beta, since it does not appear - that Atom will be supported yet. Correct? - In the request example below, notice that - Content-Type is set to - application/json, but - application/xml is - requested via the Accept - header: - - Request with Headers: JSON - - Missing code sample! - - Therefore an XML response format is returned: - - Response with Headers: XML - - Missing code sample! - -
-
- Synchronous and Asynchronous Responses - Reviewer: please give me the updated info for this - section. Need to replace info about callback URL, - etc. - All successful &GET; requests are - synchronous calls, since they - are always retrieving (reading) existing information. - With these requests, the caller waits until the call - returns with the specified code and response body. For - an example, see XXXX. - &PUT;, &POST;, and &DELETE; calls are asynchronous, however, - since they may take some time to process. Therefore they return 202 ACCEPTED - responses containing information with a callback URL, which allows the progress, - status, and/or response information of the call to be retrieved at a later point in - time. The asynchronous response body will look similar to the following examples, - depending on the format requested: - - 202 ACCEPTED Response: XML - - Reviewer: need code example - - - 202 ACCEPTED Response: JSON - - Reviewer: need code example - - The following table shows the attributes for asynchronous responses: - - - - - - - - - - - - - - - - - - - -
Attributes for Asynchronous Responses
AttributeDescription
jobIdAn identifier for the specific request.
callbackUrlResource locator for querying the status of the request.
- - The status for asynchronous calls is retained for up to 24 hours. - - - If a request body does not pass initial validation or an error condition - arises, you may receive an immediate error response from the request. - - When a request is made to the callback URL provided - and the job is still running, another - 202 ACCEPTED response - is returned with the same information as the previous - one. If the request is complete, the response will be - as if the original call returned as normal, without - waiting. For example, if a Create Database request was - issued and a 202 asynchronous response was returned, - the response from querying the callback URL for a - completed successful database creation would be a - 200 OK and contain the - information for the created database. See XXXX for a - specific example. - If an error occurs during the processing of the - create request, querying the callback URL will return - the details of the error, as if the original call - returned the error response. For example, if a - validation error occurs during the Create Database - request above, the response from querying the callback - URL would be a 400 BAD - REQUEST and contain details regarding the specific - validation error. - - If the response from querying a callback URL is a - 404 NOT FOUND, the details of the error in the - response body will contain information the caller may use to determine whether - the specified job itself was not found, or if the response from the original - request was a 404 NOT FOUND. - - The description of each &PUT;, &POST;, and &DELETE; - request identifies the response codes that can - indicate success or error for that request. For - example, see XXXX immediately below the table for a - list of the successful and error response codes for - the POST /xxxx call. -
-
- Content Compression - Request and response body data may be encoded with gzip compression to accelerate - interactive performance of API calls and responses. This is controlled using the - Accept-Encoding header on the request from the client and indicated - by the Content-Encoding header in the server response. Unless the - header is explicitly set, encoding defaults to disabled. - - - - - - - - - - - - - - - - - - - - - - -
Encoding Headers
Header TypeNameValue
HTTP/1.1 RequestAccept-Encodinggzip
HTTP/1.1 ResponseContent-Encodinggzip
-
-
- Persistent Connections - - By default, the API supports persistent connections - via HTTP/1.1 keepalives. All connections will be kept - alive unless the connection header is set to close. - - - To prevent abuse, HTTP sessions have a timeout of 20 - seconds before being closed. - - - - The server may close the connection at any time - and clients should not rely on this behavior. - - -
- -
- Limits - - All accounts, by default, have a preconfigured set of - thresholds (or limits) to manage capacity and prevent - abuse of the system. The system recognizes two kinds - of limits: rate limits and - absolute limits. Rate limits - are thresholds that are reset after a certain amount - of time passes. Absolute limits are fixed. - -
- Rate Limits - Rate limits are specified in terms of both a - human-readable wild-card URI and a - machine-processable regular expression. The - regular expression boundary matcher '^' takes - effect after the root URI path. For example, the - regular expression ^/v1.0/instances would match - the bolded portion of the following URI: - https://ord.databases.api.rackspacecloud.com/v1.0/instances. - The following table specifies the default rate - limits for all API operations for all &GET;, - &POST;, &PUT;, and &DELETE; calls for databases - and database instances: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Default Rate Limits
VerbURIRegExDefault
&GET; changes-since*/instances/*^/vd+.d+/instances.*3/minute
&POST;*/instances/*^/vd+.d+/instances.*10/minute
&POST; instances*/instances/*^/vd+.d+/instances.*50/day
&PUT;*/instances/*^/vd+.d+/instances.*10/minute
&DELETE;*/instances/*^/vd+.d+/instances.*100/minute
- Rate limits are applied in order relative to the - verb, going from least to most specific. For - example, although the threshold for &POST; to - /v1.0/* is 10 per minute, one cannot &POST; to - /v1.0/* more than 50 times within a single day. - If you exceed the thresholds established for - your account, a 413 (Rate - Control) HTTP response will be - returned with a Retry-After header to - notify the client when it can attempt to try - again. -
-
- Absolute Limits - Reviewer: Need to update this entire section. - Please give me your updates. - Refer to the following table for the absolute - limits that are set. - - - - - - - - - - - - - - - - - - - - - -
Absolute Limits
NameDescriptionLimit
InstancesMaximum number of instances allowed - for your account5
Volume SizeMaximum volume size per - instance in gigabytes (GB) for your - account25
-
-
-
- Date/Time Format - The Database Service uses an ISO-8601 compliant - date format for the display and consumption of - date/time values. - The system timezone is in UTC. MySQL converts - TIMESTAMP values from the current time zone to UTC for - storage, and back from UTC to the current time zone - for retrieval. This does not occur for other types, - such as DATETIME. - - DB Service Date/Time Format - yyyy-MM-dd'T'HH:mm:ss.SSSZ - See the table below for a description of the date/time format codes. - May 19th, 2011 at 8:07:08 AM, GMT-5 would have the following - format: - 2011-05-19T08:07:08-05:00 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Explanation of Date/Time Format Codes
CodeDescription
yyyyFour digit year
MMTwo digit month
ddTwo digit day of month
TSeparator for date/time
HHTwo digit hour of day (00-23)
mmTwo digit minutes of hour
ssTwo digit seconds of the minute
SSSThree digit milliseconds of the second
ZRFC-822 timezone
- -
-
- Pagination - Reviewer: please review and give me your updates - for this section. Dev needs to determine which API - calls support pagination and then supply examples. I - have hidden this entire section for now, since we do - not believe that it will be supported for Private - Beta. Correct? - To reduce load on the service, list operations will - return a maximum of 100 items at a time. This is - referred to as pagination. - Pagination is the ability to limit the size of the returned data as well as - retrieve a specified subset of a large data set. Pagination has two key concepts: - limit and offset. Limit is the restriction on the maximum - number of items for that type that can be returned. Offset is - the starting point for the return data. For example, an offset of 50 specifies that - the items that are returned should start with item number 51 (since the numbering is - one-based) in the collection. - It is important to note that offset must be a multiple of the - limit (or zero), otherwise a Bad Request Exception will be thrown. Both limit and - offset are specified via request parameters on the URI. The parameters are named - limit and offset respectively, and both apply only to - &GET; calls. If unspecified, they default to limit=100 and - offset=0. See the examples that follow. - - Examples of Limits and Offsets for Paging Calls - - Reviewer: Need code example. - - Pagination applies only to the calls listed in the following table: - Reviewer: need to update the table of paginated API - calls below: - - - - Verb - URI - Description - - - - - &GET; - /URI/ - List all databases manageable - by the account specified. - - - - &GET; - /URI/?name=Name - Filter databases. - - - - &GET; - /URI/ID - List details of the specified - database. - - - - &GET; - /URI/ID/xxx - List details xxx. - - - - &GET; - /URI/ID/yyy - List details yyy. - - - - - - - See the following section for examples of paged List - Databases calls. -
- Pagination Elements and Attributes - Reviewer: please review and give me your - updates for this section. - For any collection in a result, there is a totalEntries attribute - representing the total number of entries there are for this item type. If the - number of items requested in the &GET; call is less then the total number of - items for this type, then there will be pagination links previous - and/or next, specifying how to get to the previous and/or next set - of records. - - The previous and/or next link elements are - displayed only if there are items available in the corresponding link. See - the following examples for details. - - - List Databases Request with limit: - XML - - Reviewer: Need code example. - - - List Databases Request with limit: - JSON - - Reviewer: Need code example. - - - List Databases Response with totalEntries: - XML - - Reviewer: Need code example. - - - List Databases Response with totalEntries: - JSON - - Reviewer: Need code example. - - In the previous two response examples, note that - totalEntries=112 and that a link has been provided to retrieve - the next 3 results (limit=3) in the link element identified by the - attribute rel="next" (XML) or "rel":"next" (JSON). - The following example shows links to both previous and next results in the - responses, since the request specified to start with the fourth item in the - collection (offset=3): - - List Databases Request with limit and - offset: XML - - Reviewer: Need code example. - - - List Databases Request with limit and - offset: JSON - - Reviewer: Need code example. - - - List Databases Response with Links to - previous and next Results: XML - - Reviewer: Need code example. - - - List Databases Response with Links to - previous and next Results: JSON - - Reviewer: Need code example. - - - In the previous two response examples, note that - totalEntries=112 and two links have been provided to: - - Retrieve the next 3 results (limit=3) via the link - element identified by the attribute rel="next" (XML) or - "rel":"next" (JSON) - - - Retrieve the previous 3 results via the link element identified by - the attribute rel="previous" (XML) or - "rel":"previous" (JSON) - - -
-
-
- Efficient Polling with the - <parameter>Changes-Since</parameter> - Parameter - Reviewer: I have hidden this section, since it - does not appear that it will be supported for Private - Beta. Correct? - The ReST API allows you to poll for the status of - certain operations by performing a &GET; on various - URIs. Rather than re-downloading and re-parsing the - full status at each polling interval, your ReST client - may use the changes-since - parameter to check for changes since a previous - request. The changes-since time - is specified as Unix time (the number of seconds since - January 1, 1970, 00:00:00 UTC, not counting leap - seconds). If nothing has changed since the - changes-since time, a - 304 (Not Modified) - response will be returned. If data has changed, only - the items changed since the specified time will be - returned in the response. - Reviewer: does the following sentence apply, and - should it be included? - For example, performing a &GET; against - https://api.servers.rackspacecloud.com/v1.0/224532/servers?changes-since=1244012982 - would list all servers that have changed since Wed, 03 - Jun 2009 07:09:42 UTC. -
-
- Faults - Reviewer: need to update this section as needed - for Cloud Databases. - When an error occurs, the Database Service returns - a fault object containing an HTTP error response code - that denotes the type of error. In the body of the - response, the system will return additional - information about the fault. - The following table lists possible fault types with their associated error codes - and descriptions. - - - - Fault Type - Associated Error Code - Description - - - - - badRequest - 400 - There was one or more errors in the user request. - - - unauthorized - 401 - The supplied token is not authorized to access the resources, either it's expired or invalid. - - - forbidden - 403 - Access to the requested - resource was denied. - - - itemNotFound - 404 - The back-end services did not - find anything matching the - Request-URI. - - - badMethod - 405 - The request method is not allowed for this resource. - - - overLimit - 413 - Either the number of entities in the request is larger than - allowed limits, or the user has exceeded allowable request rate limits. - See the details element for more specifics. Contact support - if you think you need higher request rate limits. - - - badMediaType - 415 - The requested content type is not supported by this service. - - - unprocessableEntity - 422 - The requested resource could - not be processed on at the moment. - - - instanceFault - 500 - This is a generic server error and the message contains the reason for the error. This error could wrap several error messages and is a catch all. - - - notImplemented - 501 - The requested method or resource is not implemented. - - - serviceUnavailable - 503 - The Database Service is not - available. - - - - The following two instanceFault - examples show errors when the server has erred or - cannot perform the requested operation: - - - Example instanceFault Response: XML - - - - - - - Example instanceFault Response: JSON - - - - - - The error code (code) is returned in the body of the response for - convenience. The message element returns a human-readable message that - is appropriate for display to the end user. The details element is - optional and may contain information that is useful for tracking down an error, such - as a stack trace. The details element may or may not be appropriate for - display to an end user, depending on the role and experience of the end user. - The fault's root element (for example, - instanceFault) may change depending - on the type of error. - The following two badRequest examples - show errors when the volume size is invalid: - - Example badRequest Fault on Volume Size Errors: - XML - - - - - - - Example badRequest Fault on Volume Size Errors: - JSON - - - - - - The next two examples show - itemNotFound errors: - - Example itemNotFound Fault: XML - - - - - - - Example itemNotFound Fault: JSON - - - - - -
-
- Database Instance Status - When making an API call to create, list, or delete - database instance(s), the following database instance - status values are possible: - - - BUILD – The database instance is being provisioned. - - - REBOOT – The database instance is - rebooting. - - - ACTIVE – The database instance is - online and available to take requests. - - - BLOCKED – The database instance is - unresponsive at the moment. - - - RESIZE – The database instance is being - resized at the moment. - - - SHUTDOWN – The database instance is - terminating services. Also, SHUTDOWN is - returned if for any reason the MySQL instance - is shut down but not the actual server. - - - If MySQL has crashed (causing the - SHUTDOWN status), you can try - rebooting the database instance to see - if that corrects the problem. If the - instance still does not recover, you - can escalate the issue to - NebOps. - - - - - ERROR – The last operation for the - database instance failed due to an - error. - - -
-
- - - API Operations - -
- Database Instance Management - This section describes the operations that are supported for managing database instances. - - - - - - - - - - - - - - - - - -
- -
- Host Information - This section describes the operations that are supported for getting host information. - - - - - - - - - - - -
- -
- Management Instance Actions - This section describes the actions that are supported for database instances. - - - - - - -
- -
- Storage Management - This section describes the operations that are supported for getting information about storage devices. - - - - - -
- -
- Account Information - This section describes the operations that are - supported for accounts. - - - - - - - - -
- -
-
diff --git a/integration/apidocs/src/resources/cdb-releasenotes.xml b/integration/apidocs/src/resources/cdb-releasenotes.xml deleted file mode 100644 index 205ff6530e..0000000000 --- a/integration/apidocs/src/resources/cdb-releasenotes.xml +++ /dev/null @@ -1,711 +0,0 @@ - - - - - Rackspace Cloud Databases Release Notes - Rackspace Cloud DBs Rel Notes - - - - - - - - Rackspace Cloud - - - - 2010 - 2011 - 2012 - Rackspace US, Inc. - - API v1.0 - Rackspace Cloud Databases - 2012-10-02 - - - Copyright details are filled in by the template. - - - - This document is intended for software developers - interested in developing applications using the - Rackspace Cloud Databases Application Program - Interface (API). - - - - 2012-10-02 - - Updated for v1.0.13. - - - - 2012-09-17 - - Updated for v1.0.12. - - - - 2012-09-13 - - Updated for v1.0.11. - - - - 2012-08-21 - - Updated for v1.0.8. - - - - 2012-08-02 - - Updated for v1.0.7. - - - - 2012-08-01 - - Initial Unlimited Availability (UA) release - for Rackspace Cloud Databases. - - - - - cdb - 10 - - - - Document Change History - This version of the Release Notes replaces and obsoletes all - previous versions. The most recent changes are described - in the table below: - - - - v1.0.13, October 2, 2012 - - Bug Fixes - - D-08245: Formatted code to comply with - pep8 code style. - - - D-08357: Initialized and updated usage - data for instances that existed prior to billing - enablement. - - - D-08648: Fixed guest agent to properly - address lost connections with message bus. - - - - Resources - - Get started using the Cloud Databases API to - create databases in the Getting Started Guide at: http://docs.rackspace.com/api/. - - - Get reference information and examples in - the Cloud Databases - Developer Guide at: http://docs.rackspace.com/api/. - - - Support for Cloud Databases is available for US - and UK customers 24x7x365 via phone, chat, or you - may also File - a Ticket. - - - Please visit our Product Feedback Forum and let us know - what you think about Cloud Databases! - - - - - v1.0.12 (Hotfix), September 17, 2012 - - Bug Fixes - - D-08422: Fixed billing code to - properly send events to Yagi and fixed billing - timestamp format. - - - - Known Issues / Limitations - - List Versions API call does not work and returns - a "403 Forbidden" response. - - - Users' database privileges are not modifiable. - Users must be deleted and recreated to add - additional database privileges. - - - - Resources - - Get started using the Cloud Databases API to - create databases in the Getting Started Guide at: http://docs.rackspace.com/api/. - - - Get reference information and examples in - the Cloud Databases - Developer Guide at: http://docs.rackspace.com/api/. - - - Support for Cloud Databases is available for US - and UK customers 24x7x365 via phone, chat, or you - may also File - a Ticket. - - - Please visit our Product Feedback Forum and let us know - what you think about Cloud Databases! - - - - - v1.0.11, September 13, 2012 - - Bug Fixes - - D-08051: Fixed issue preventing users - from increasing/decreasing their instance flavor - size. - - - D-06654: Resizing instance using same - volume size no longer generates misleading error - message. - - - D-07897: Fixed issue where instance in - ERROR fails to delete. - - - D-07819: Fixed issue causing usage - information to be applied when instance goes into - error status after failed provisioning. - - - D-07213: Fixed guest update Mgmt API - call. - - - - Maintenance - - D-08217: Corrected yagi logrotate - configuration to prevent log file handle from - disappearing. - - - B-27788: Updated usage modify events - (resize volume/flavor). - - - B-29438: Added Environment Variable to - usage event. - - - - Known Issues / Limitations - - List Versions API call does not work and returns - a "403 Forbidden" response. - - - Users' database privileges are not modifiable. Users must be - deleted and recreated to add additional database - privileges. - - - - Resources - - Get started using the Cloud Databases API to - create databases in the Getting Started Guide at: http://docs.rackspace.com/api/. - - - Get reference information and examples in - the Cloud Databases - Developer Guide at: http://docs.rackspace.com/api/. - - - Support for Cloud Databases is available for US - and UK customers 24x7x365 via phone, chat, or you - may also File - a Ticket. - - - Please visit our Product Feedback Forum and let us know - what you think about Cloud Databases! - - - - - v1.0.8, August 21, 2012 - - What's New - - Added reserved database names that cannot be used for - creating databases (see http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content/POST_createDatabase__version___accountId__instances__instanceId__databases_.html - for details). - - - Added reserved user names that cannot be used for creating - users (see http://docs.rackspace.com/cdb/api/v1.0/cdb-devguide/content/POST_createUser__version___accountId__instances__instanceId__users_.html - for details). - - - Added support for the InnoDB plugin. - - - - Bug Fixes - - D-07436: Added updated - attribute to the response from the List Versions - API call. - - - D-07488: Increased - max_allowed_packet default to 16 - MB. - - - D-07278: Fixed - open_files_limit based on flavor - size. - - - D-06636: Fixed issue where rabbit - restart causes delete_queue to fail. - - - D-07273: Added check for account id in - Mgmt API calls. - - - D-07644: Fixed the issue where the - Usage events for "Exists" do not have a "T" in the - date/time format. - - - D-06783: Split usage events of over 24 - hours into "exists" events. - - - D-07366: Simplified ioprio - calculation. - - - Story:317533: Added cpulimit - overcommit multiplier. - - - Fixed the trove-api issues with rabbit - connections. Using openstack-common rpc. - - - Updated the usage event with - the environment set to STAGE instead of - STAGING. - - - 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. - - - - Known Issues / Limitations - - List Versions API call does not work and returns - a "403 Forbidden" response. - - - Users' database privileges are not modifiable. -  Users must be deleted and recreated to add - additional database privileges. - - - - Resources - - Get started using the Cloud Databases API to - create databases in the Getting Started Guide at: http://docs.rackspace.com/api/. - - - Get reference information and examples in - the Cloud Databases - Developer Guide at: http://docs.rackspace.com/api/. - - - Support for Cloud Databases is available for US - and UK customers 24x7x365 via phone, chat, or you - may also File - a Ticket. - - - Please visit our Product Feedback Forum and let us know - what you think about Cloud Databases! - - - - - v1.0.7, August 2, 2012 - - What's New - - Multi-cab scheduler. - - - - Bug Fixes - - Fixed usage bug with httplib2. - - - - Resources - - Get started using the Cloud Databases API to - create databases in the Getting Started Guide at: http://docs.rackspace.com/api/. - - - Get reference information and examples in - the Cloud Databases - Developer Guide at: http://docs.rackspace.com/api/. - - - Support for Cloud Databases is available for US - and UK customers 24x7x365 via phone, chat, or you - may also File - a Ticket. - - - Please visit our Product Feedback Forum and let us know - what you think about Cloud Databases! - - - - - v1.0.6, August 1, 2012 - 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. - - Product Features - - - Performance Optimized MySQL - Instances - - 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. - - - - - High-performance block level - storage - - 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. - - - - - Storage - Management - - Increase storage allocation seamlessly without - downtime as your dataset size increases. - - - - - Database Instance - Management - - Increase or decrease flavor (RAM) size as - database input/output (I/O) demands - increase. - - - - - Database - Management - - Create, list, and delete databases on your MySQL - database instance. - - - - - User Management - - Control database access by adding and removing - MySQL users. Optionally enable root user access - for additional control. - - - - What's New - - Performance improvements. - - - Documentation updates to the CDB Developer Guide. - - - - Bug Fixes - - Removed root user from the users list. - - - List users no longer shows root (or any other - specified users we define). - - - XML Pagination works for list instances. - - - Kernel openvz updates. - - - Added Environment field to usage payload - xml. - - - Separate the modify event into modify - volume/flavor types. - - - Added categories searching for atom hopper - billing. - - - - Known Issues / Limitations - - Users' database privileges are not modifiable. -  Users must be deleted and recreated to add - additional database privileges. - - - - Resources - - Get started using the Cloud Databases API to create - databases in the Getting - Started Guide at: http://docs.rackspace.com/api/. - - - Get reference information and examples in the Cloud Databases Developer - Guide at: http://docs.rackspace.com/api/. - - - Support for Cloud Databases is available for US and UK - customers 24x7x365 via phone, chat, or you may - also File a Ticket. - - - Please visit our Product Feedback Forum and let us know - what you think about Cloud Databases! - - - - - diff --git a/integration/apidocs/src/resources/images/Choose_CS_Image.png b/integration/apidocs/src/resources/images/Choose_CS_Image.png deleted file mode 100644 index b60a9df8a9..0000000000 Binary files a/integration/apidocs/src/resources/images/Choose_CS_Image.png and /dev/null differ diff --git a/integration/apidocs/src/resources/images/Choose_CS_Image_CCP.png b/integration/apidocs/src/resources/images/Choose_CS_Image_CCP.png deleted file mode 100644 index 2e6f23ebea..0000000000 Binary files a/integration/apidocs/src/resources/images/Choose_CS_Image_CCP.png and /dev/null differ diff --git a/integration/apidocs/src/resources/images/Choose_Image_CCP.png b/integration/apidocs/src/resources/images/Choose_Image_CCP.png deleted file mode 100644 index 14a555722b..0000000000 Binary files a/integration/apidocs/src/resources/images/Choose_Image_CCP.png and /dev/null differ diff --git a/integration/apidocs/src/resources/images/Choose_Image_CCP.tiff b/integration/apidocs/src/resources/images/Choose_Image_CCP.tiff deleted file mode 100644 index 79d5a45faf..0000000000 Binary files a/integration/apidocs/src/resources/images/Choose_Image_CCP.tiff and /dev/null differ diff --git a/integration/apidocs/src/resources/images/Cloud_DB_Infographic-1.png b/integration/apidocs/src/resources/images/Cloud_DB_Infographic-1.png deleted file mode 100644 index 7a00ae001b..0000000000 Binary files a/integration/apidocs/src/resources/images/Cloud_DB_Infographic-1.png and /dev/null differ diff --git a/integration/apidocs/src/resources/images/Cloud_DB_Infographic-1.svg b/integration/apidocs/src/resources/images/Cloud_DB_Infographic-1.svg deleted file mode 100644 index 4a3f125abb..0000000000 --- a/integration/apidocs/src/resources/images/Cloud_DB_Infographic-1.svg +++ /dev/null @@ -1,4533 +0,0 @@ - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/images/Create_CS.png b/integration/apidocs/src/resources/images/Create_CS.png deleted file mode 100644 index 32c291b347..0000000000 Binary files a/integration/apidocs/src/resources/images/Create_CS.png and /dev/null differ diff --git a/integration/apidocs/src/resources/images/phpMyAdmin.png b/integration/apidocs/src/resources/images/phpMyAdmin.png deleted file mode 100644 index 80f909f99f..0000000000 Binary files a/integration/apidocs/src/resources/images/phpMyAdmin.png and /dev/null differ diff --git a/integration/apidocs/src/resources/samples/db-auth-20.json b/integration/apidocs/src/resources/samples/db-auth-20.json deleted file mode 100644 index 43a99e1f46..0000000000 --- a/integration/apidocs/src/resources/samples/db-auth-20.json +++ /dev/null @@ -1,128 +0,0 @@ -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" - } - ] - } -} diff --git a/integration/apidocs/src/resources/samples/db-auth-20.xml b/integration/apidocs/src/resources/samples/db-auth-20.xml deleted file mode 100644 index e0bc3b8c3e..0000000000 --- a/integration/apidocs/src/resources/samples/db-auth-20.xml +++ /dev/null @@ -1,63 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml; charset=UTF-8 -Content-Length: 477 -Date: Thu, 12 Apr 2012 18:50:20 GMT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-auth.json b/integration/apidocs/src/resources/samples/db-auth.json deleted file mode 100644 index 583b584c0b..0000000000 --- a/integration/apidocs/src/resources/samples/db-auth.json +++ /dev/null @@ -1,72 +0,0 @@ -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" - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-auth.xml b/integration/apidocs/src/resources/samples/db-auth.xml deleted file mode 100644 index de97e59a0b..0000000000 --- a/integration/apidocs/src/resources/samples/db-auth.xml +++ /dev/null @@ -1,50 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml; charset=UTF-8 -Content-Length: 477 -Date: Thu, 12 Apr 2012 18:50:20 GMT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-check-root-user-request.json b/integration/apidocs/src/resources/samples/db-check-root-user-request.json deleted file mode 100644 index 79a6d18e1e..0000000000 --- a/integration/apidocs/src/resources/samples/db-check-root-user-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-check-root-user-request.xml b/integration/apidocs/src/resources/samples/db-check-root-user-request.xml deleted file mode 100644 index 46f2cf2918..0000000000 --- a/integration/apidocs/src/resources/samples/db-check-root-user-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-check-root-user-response.json b/integration/apidocs/src/resources/samples/db-check-root-user-response.json deleted file mode 100644 index 3e121e4e76..0000000000 --- a/integration/apidocs/src/resources/samples/db-check-root-user-response.json +++ /dev/null @@ -1,8 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 21 -Date: Wed, 25 Jan 2012 21:58:13 GMT - -{ - "rootEnabled": true -} diff --git a/integration/apidocs/src/resources/samples/db-check-root-user-response.xml b/integration/apidocs/src/resources/samples/db-check-root-user-response.xml deleted file mode 100644 index fd75a745f2..0000000000 --- a/integration/apidocs/src/resources/samples/db-check-root-user-response.xml +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 90 -Date: Wed, 25 Jan 2012 21:58:14 GMT - -True diff --git a/integration/apidocs/src/resources/samples/db-create-database-instance-response.json b/integration/apidocs/src/resources/samples/db-create-database-instance-response.json deleted file mode 100644 index 78b1743243..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-database-instance-response.json +++ /dev/null @@ -1,41 +0,0 @@ -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" - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-create-database-instance-response.xml b/integration/apidocs/src/resources/samples/db-create-database-instance-response.xml deleted file mode 100644 index 9f0cc3550f..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-database-instance-response.xml +++ /dev/null @@ -1,24 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 639 -Date: Mon, 28 Nov 2011 16:19:34 GMT - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-create-databases-request.json b/integration/apidocs/src/resources/samples/db-create-databases-request.json deleted file mode 100644 index 1ef2bab6b5..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-databases-request.json +++ /dev/null @@ -1,19 +0,0 @@ -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" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-create-databases-request.xml b/integration/apidocs/src/resources/samples/db-create-databases-request.xml deleted file mode 100644 index a8e584d0d1..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-databases-request.xml +++ /dev/null @@ -1,13 +0,0 @@ -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 - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-create-databases-response.json b/integration/apidocs/src/resources/samples/db-create-databases-response.json deleted file mode 100644 index 6a83f7fcb1..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-databases-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:18 GMT diff --git a/integration/apidocs/src/resources/samples/db-create-databases-response.xml b/integration/apidocs/src/resources/samples/db-create-databases-response.xml deleted file mode 100644 index 3a2ce5f652..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-databases-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:18 GMT diff --git a/integration/apidocs/src/resources/samples/db-create-instance-request.json b/integration/apidocs/src/resources/samples/db-create-instance-request.json deleted file mode 100644 index cbcfc90dc9..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-instance-request.json +++ /dev/null @@ -1,37 +0,0 @@ -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 - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-create-instance-request.xml b/integration/apidocs/src/resources/samples/db-create-instance-request.xml deleted file mode 100644 index 7f19a4e748..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-instance-request.xml +++ /dev/null @@ -1,23 +0,0 @@ -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 - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-create-instance-response.json b/integration/apidocs/src/resources/samples/db-create-instance-response.json deleted file mode 100644 index f5383ce2fd..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-instance-response.json +++ /dev/null @@ -1,41 +0,0 @@ -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 - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-create-instance-response.xml b/integration/apidocs/src/resources/samples/db-create-instance-response.xml deleted file mode 100644 index 8ed9e306ec..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-instance-response.xml +++ /dev/null @@ -1,19 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 748 -Date: Wed, 25 Jan 2012 21:53:23 GMT - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-create-users-request.json b/integration/apidocs/src/resources/samples/db-create-users-request.json deleted file mode 100644 index 022a12b2d1..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-users-request.json +++ /dev/null @@ -1,32 +0,0 @@ -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" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-create-users-request.xml b/integration/apidocs/src/resources/samples/db-create-users-request.xml deleted file mode 100644 index 2f24166560..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-users-request.xml +++ /dev/null @@ -1,21 +0,0 @@ -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 - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-create-users-response.json b/integration/apidocs/src/resources/samples/db-create-users-response.json deleted file mode 100644 index 6a83f7fcb1..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-users-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:18 GMT diff --git a/integration/apidocs/src/resources/samples/db-create-users-response.xml b/integration/apidocs/src/resources/samples/db-create-users-response.xml deleted file mode 100644 index 9b6fa1dc90..0000000000 --- a/integration/apidocs/src/resources/samples/db-create-users-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:19 GMT diff --git a/integration/apidocs/src/resources/samples/db-credentials-20.json b/integration/apidocs/src/resources/samples/db-credentials-20.json deleted file mode 100644 index 1ae90cd4a3..0000000000 --- a/integration/apidocs/src/resources/samples/db-credentials-20.json +++ /dev/null @@ -1,18 +0,0 @@ -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" - } - } -} - diff --git a/integration/apidocs/src/resources/samples/db-credentials-20.xml b/integration/apidocs/src/resources/samples/db-credentials-20.xml deleted file mode 100644 index cd3298b4d0..0000000000 --- a/integration/apidocs/src/resources/samples/db-credentials-20.xml +++ /dev/null @@ -1,14 +0,0 @@ -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 - - - - - diff --git a/integration/apidocs/src/resources/samples/db-credentials.json b/integration/apidocs/src/resources/samples/db-credentials.json deleted file mode 100644 index bf15936f9c..0000000000 --- a/integration/apidocs/src/resources/samples/db-credentials.json +++ /dev/null @@ -1,13 +0,0 @@ -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" - } -} diff --git a/integration/apidocs/src/resources/samples/db-credentials.xml b/integration/apidocs/src/resources/samples/db-credentials.xml deleted file mode 100644 index ae7f8971e1..0000000000 --- a/integration/apidocs/src/resources/samples/db-credentials.xml +++ /dev/null @@ -1,11 +0,0 @@ -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 - - - diff --git a/integration/apidocs/src/resources/samples/db-delete-databases-request.json b/integration/apidocs/src/resources/samples/db-delete-databases-request.json deleted file mode 100644 index eb958e9549..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-databases-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-delete-databases-request.xml b/integration/apidocs/src/resources/samples/db-delete-databases-request.xml deleted file mode 100644 index 94cfc0bd96..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-databases-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-delete-databases-response.json b/integration/apidocs/src/resources/samples/db-delete-databases-response.json deleted file mode 100644 index 6a83f7fcb1..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-databases-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:18 GMT diff --git a/integration/apidocs/src/resources/samples/db-delete-databases-response.xml b/integration/apidocs/src/resources/samples/db-delete-databases-response.xml deleted file mode 100644 index 3a2ce5f652..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-databases-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:18 GMT diff --git a/integration/apidocs/src/resources/samples/db-delete-instance-request.json b/integration/apidocs/src/resources/samples/db-delete-instance-request.json deleted file mode 100644 index fdf11e6494..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-instance-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-delete-instance-request.xml b/integration/apidocs/src/resources/samples/db-delete-instance-request.xml deleted file mode 100644 index b960fbf927..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-instance-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-delete-instance-response.json b/integration/apidocs/src/resources/samples/db-delete-instance-response.json deleted file mode 100644 index a1ecb28dac..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-instance-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:15:51 GMT diff --git a/integration/apidocs/src/resources/samples/db-delete-instance-response.xml b/integration/apidocs/src/resources/samples/db-delete-instance-response.xml deleted file mode 100644 index 3dcda464bf..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-instance-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:15:51 GMT diff --git a/integration/apidocs/src/resources/samples/db-delete-users-request.json b/integration/apidocs/src/resources/samples/db-delete-users-request.json deleted file mode 100644 index 76ba9a600d..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-users-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-delete-users-request.xml b/integration/apidocs/src/resources/samples/db-delete-users-request.xml deleted file mode 100644 index 3be87be7ea..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-users-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-delete-users-response.json b/integration/apidocs/src/resources/samples/db-delete-users-response.json deleted file mode 100644 index e5f311463d..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-users-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:19 GMT diff --git a/integration/apidocs/src/resources/samples/db-delete-users-response.xml b/integration/apidocs/src/resources/samples/db-delete-users-response.xml deleted file mode 100644 index 9b6fa1dc90..0000000000 --- a/integration/apidocs/src/resources/samples/db-delete-users-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:19 GMT diff --git a/integration/apidocs/src/resources/samples/db-enable-root-user-request.json b/integration/apidocs/src/resources/samples/db-enable-root-user-request.json deleted file mode 100644 index 85ba63792a..0000000000 --- a/integration/apidocs/src/resources/samples/db-enable-root-user-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-enable-root-user-request.xml b/integration/apidocs/src/resources/samples/db-enable-root-user-request.xml deleted file mode 100644 index 66485f815f..0000000000 --- a/integration/apidocs/src/resources/samples/db-enable-root-user-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-enable-root-user-response.json b/integration/apidocs/src/resources/samples/db-enable-root-user-response.json deleted file mode 100644 index a7868ee712..0000000000 --- a/integration/apidocs/src/resources/samples/db-enable-root-user-response.json +++ /dev/null @@ -1,11 +0,0 @@ -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" - } -} diff --git a/integration/apidocs/src/resources/samples/db-enable-root-user-response.xml b/integration/apidocs/src/resources/samples/db-enable-root-user-response.xml deleted file mode 100644 index c2f99a9784..0000000000 --- a/integration/apidocs/src/resources/samples/db-enable-root-user-response.xml +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 120 -Date: Wed, 25 Jan 2012 21:58:12 GMT - - - diff --git a/integration/apidocs/src/resources/samples/db-faults-badRequest.json b/integration/apidocs/src/resources/samples/db-faults-badRequest.json deleted file mode 100644 index fcb4571afc..0000000000 --- a/integration/apidocs/src/resources/samples/db-faults-badRequest.json +++ /dev/null @@ -1,11 +0,0 @@ -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." - } -} diff --git a/integration/apidocs/src/resources/samples/db-faults-badRequest.xml b/integration/apidocs/src/resources/samples/db-faults-badRequest.xml deleted file mode 100644 index 6067a4d9b9..0000000000 --- a/integration/apidocs/src/resources/samples/db-faults-badRequest.xml +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 400 None -Content-Type: application/xml -Content-Length: 121 -Date: Mon, 28 Nov 2011 18:19:37 GMT - - - - Volume 'size' needs to be a positive integer value, -1.0 cannot be accepted. - - diff --git a/integration/apidocs/src/resources/samples/db-faults-instanceFault.json b/integration/apidocs/src/resources/samples/db-faults-instanceFault.json deleted file mode 100644 index 97299fc4fd..0000000000 --- a/integration/apidocs/src/resources/samples/db-faults-instanceFault.json +++ /dev/null @@ -1,11 +0,0 @@ -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." - } -} diff --git a/integration/apidocs/src/resources/samples/db-faults-instanceFault.xml b/integration/apidocs/src/resources/samples/db-faults-instanceFault.xml deleted file mode 100644 index 4864b0b483..0000000000 --- a/integration/apidocs/src/resources/samples/db-faults-instanceFault.xml +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 500 Internal Server Error -Content-Type: application/xml -Content-Length: 121 -Date: Mon, 28 Nov 2011 18:19:37 GMT - - - - The server has either erred or is incapable of performing the requested operation. - - diff --git a/integration/apidocs/src/resources/samples/db-faults-itemNotFound.json b/integration/apidocs/src/resources/samples/db-faults-itemNotFound.json deleted file mode 100644 index 866329b5e5..0000000000 --- a/integration/apidocs/src/resources/samples/db-faults-itemNotFound.json +++ /dev/null @@ -1,11 +0,0 @@ -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." - } -} diff --git a/integration/apidocs/src/resources/samples/db-faults-itemNotFound.xml b/integration/apidocs/src/resources/samples/db-faults-itemNotFound.xml deleted file mode 100644 index 806bc2c7cb..0000000000 --- a/integration/apidocs/src/resources/samples/db-faults-itemNotFound.xml +++ /dev/null @@ -1,10 +0,0 @@ -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 - - - - The resource could not be found. - - diff --git a/integration/apidocs/src/resources/samples/db-flavors-by-id-request.json b/integration/apidocs/src/resources/samples/db-flavors-by-id-request.json deleted file mode 100644 index 1944f3ae66..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-by-id-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-flavors-by-id-request.xml b/integration/apidocs/src/resources/samples/db-flavors-by-id-request.xml deleted file mode 100644 index d2beb31de8..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-by-id-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-flavors-by-id-response.json b/integration/apidocs/src/resources/samples/db-flavors-by-id-response.json deleted file mode 100644 index 685d02ca41..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-by-id-response.json +++ /dev/null @@ -1,22 +0,0 @@ -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 - } -} diff --git a/integration/apidocs/src/resources/samples/db-flavors-by-id-response.xml b/integration/apidocs/src/resources/samples/db-flavors-by-id-response.xml deleted file mode 100644 index d1d5fec0a8..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-by-id-response.xml +++ /dev/null @@ -1,11 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 284 -Date: Wed, 25 Jan 2012 21:53:05 GMT - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-flavors-request.json b/integration/apidocs/src/resources/samples/db-flavors-request.json deleted file mode 100644 index 0d6817a504..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-flavors-request.xml b/integration/apidocs/src/resources/samples/db-flavors-request.xml deleted file mode 100644 index 7981dd7577..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-flavors-response.json b/integration/apidocs/src/resources/samples/db-flavors-response.json deleted file mode 100644 index 901d65ab6c..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-response.json +++ /dev/null @@ -1,69 +0,0 @@ -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 - }, - ] -} diff --git a/integration/apidocs/src/resources/samples/db-flavors-response.xml b/integration/apidocs/src/resources/samples/db-flavors-response.xml deleted file mode 100644 index 516da13703..0000000000 --- a/integration/apidocs/src/resources/samples/db-flavors-response.xml +++ /dev/null @@ -1,32 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 2300 -Date: Tue, 19 Jun 2012 19:52:45 GMT - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-gs-create-database-instance-response.json b/integration/apidocs/src/resources/samples/db-gs-create-database-instance-response.json deleted file mode 100644 index 69f69b4107..0000000000 --- a/integration/apidocs/src/resources/samples/db-gs-create-database-instance-response.json +++ /dev/null @@ -1,41 +0,0 @@ -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" - } -} - diff --git a/integration/apidocs/src/resources/samples/db-gs-create-database-instance-response.xml b/integration/apidocs/src/resources/samples/db-gs-create-database-instance-response.xml deleted file mode 100644 index 967a5dd8e6..0000000000 --- a/integration/apidocs/src/resources/samples/db-gs-create-database-instance-response.xml +++ /dev/null @@ -1,22 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 870 -Date: Thu, 05 Apr 2012 16:17:29 GMT - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-guest-update-request.json b/integration/apidocs/src/resources/samples/db-guest-update-request.json deleted file mode 100644 index 9d03d2bad6..0000000000 --- a/integration/apidocs/src/resources/samples/db-guest-update-request.json +++ /dev/null @@ -1,10 +0,0 @@ -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": {} -} diff --git a/integration/apidocs/src/resources/samples/db-guest-update-request.xml b/integration/apidocs/src/resources/samples/db-guest-update-request.xml deleted file mode 100644 index 7d64bdda04..0000000000 --- a/integration/apidocs/src/resources/samples/db-guest-update-request.xml +++ /dev/null @@ -1,10 +0,0 @@ -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 - - - - diff --git a/integration/apidocs/src/resources/samples/db-guest-update-response.json b/integration/apidocs/src/resources/samples/db-guest-update-response.json deleted file mode 100644 index 1b029992e4..0000000000 --- a/integration/apidocs/src/resources/samples/db-guest-update-response.json +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Mon, 05 Mar 2012 23:48:46 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-guest-update-response.xml b/integration/apidocs/src/resources/samples/db-guest-update-response.xml deleted file mode 100644 index 99f5908ace..0000000000 --- a/integration/apidocs/src/resources/samples/db-guest-update-response.xml +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Mon, 05 Mar 2012 23:48:47 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-instance-reboot-request.json b/integration/apidocs/src/resources/samples/db-instance-reboot-request.json deleted file mode 100644 index 892243ae58..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-reboot-request.json +++ /dev/null @@ -1,10 +0,0 @@ -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": {} -} diff --git a/integration/apidocs/src/resources/samples/db-instance-reboot-request.xml b/integration/apidocs/src/resources/samples/db-instance-reboot-request.xml deleted file mode 100644 index b93a9f9eca..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-reboot-request.xml +++ /dev/null @@ -1,10 +0,0 @@ -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 - - - - diff --git a/integration/apidocs/src/resources/samples/db-instance-reboot-response.json b/integration/apidocs/src/resources/samples/db-instance-reboot-response.json deleted file mode 100644 index 2308734cac..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-reboot-response.json +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Tue, 07 Feb 2012 23:56:52 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-instance-reboot-response.xml b/integration/apidocs/src/resources/samples/db-instance-reboot-response.xml deleted file mode 100644 index b8ad7430da..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-reboot-response.xml +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Tue, 07 Feb 2012 23:56:55 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-request.json b/integration/apidocs/src/resources/samples/db-instance-resize-flavor-request.json deleted file mode 100644 index c80b418c34..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-request.json +++ /dev/null @@ -1,12 +0,0 @@ -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" - } -} diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-request.xml b/integration/apidocs/src/resources/samples/db-instance-resize-flavor-request.xml deleted file mode 100644 index 274ef34fdf..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-request.xml +++ /dev/null @@ -1,10 +0,0 @@ -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 - - - - diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-response.json b/integration/apidocs/src/resources/samples/db-instance-resize-flavor-response.json deleted file mode 100644 index fe14f4dd49..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:14:20 GMT diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-response.xml b/integration/apidocs/src/resources/samples/db-instance-resize-flavor-response.xml deleted file mode 100644 index 6271164b1f..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-flavor-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:14:20 GMT diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-instance-request.json b/integration/apidocs/src/resources/samples/db-instance-resize-instance-request.json deleted file mode 100644 index ec1ef6d5e1..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-instance-request.json +++ /dev/null @@ -1,12 +0,0 @@ -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" - } -} diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-instance-request.xml b/integration/apidocs/src/resources/samples/db-instance-resize-instance-request.xml deleted file mode 100644 index fd51dc85cd..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-instance-request.xml +++ /dev/null @@ -1,12 +0,0 @@ -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 - - - - https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/2 - - diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-instance-response.json b/integration/apidocs/src/resources/samples/db-instance-resize-instance-response.json deleted file mode 100644 index 48a2e91a0a..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-instance-response.json +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Mon, 06 Feb 2012 21:28:10 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-instance-response.xml b/integration/apidocs/src/resources/samples/db-instance-resize-instance-response.xml deleted file mode 100644 index 549a5f80ed..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-instance-response.xml +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Mon, 06 Feb 2012 21:28:11 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-volume-request.json b/integration/apidocs/src/resources/samples/db-instance-resize-volume-request.json deleted file mode 100644 index 7cec8fd88c..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-volume-request.json +++ /dev/null @@ -1,14 +0,0 @@ -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 - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-volume-request.xml b/integration/apidocs/src/resources/samples/db-instance-resize-volume-request.xml deleted file mode 100644 index fe567b353e..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-volume-request.xml +++ /dev/null @@ -1,12 +0,0 @@ -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 - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-volume-response.json b/integration/apidocs/src/resources/samples/db-instance-resize-volume-response.json deleted file mode 100644 index 319bbadbbd..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-volume-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:12:20 GMT diff --git a/integration/apidocs/src/resources/samples/db-instance-resize-volume-response.xml b/integration/apidocs/src/resources/samples/db-instance-resize-volume-response.xml deleted file mode 100644 index e7c611031d..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-resize-volume-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:12:20 GMT diff --git a/integration/apidocs/src/resources/samples/db-instance-restart-request.json b/integration/apidocs/src/resources/samples/db-instance-restart-request.json deleted file mode 100644 index ee27681a34..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-restart-request.json +++ /dev/null @@ -1,10 +0,0 @@ -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": {} -} diff --git a/integration/apidocs/src/resources/samples/db-instance-restart-request.xml b/integration/apidocs/src/resources/samples/db-instance-restart-request.xml deleted file mode 100644 index 1f2165afc0..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-restart-request.xml +++ /dev/null @@ -1,9 +0,0 @@ -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 - - - diff --git a/integration/apidocs/src/resources/samples/db-instance-restart-response.json b/integration/apidocs/src/resources/samples/db-instance-restart-response.json deleted file mode 100644 index e5f311463d..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-restart-response.json +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/json -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:19 GMT diff --git a/integration/apidocs/src/resources/samples/db-instance-restart-response.xml b/integration/apidocs/src/resources/samples/db-instance-restart-response.xml deleted file mode 100644 index 9b6fa1dc90..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-restart-response.xml +++ /dev/null @@ -1,4 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: application/xml -Content-Length: 0 -Date: Wed, 27 Jun 2012 23:11:19 GMT diff --git a/integration/apidocs/src/resources/samples/db-instance-status-detail-request.json b/integration/apidocs/src/resources/samples/db-instance-status-detail-request.json deleted file mode 100644 index b76d404463..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-status-detail-request.json +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-instance-status-detail-request.xml b/integration/apidocs/src/resources/samples/db-instance-status-detail-request.xml deleted file mode 100644 index 08090d3348..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-status-detail-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -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 - - diff --git a/integration/apidocs/src/resources/samples/db-instance-status-detail-response.json b/integration/apidocs/src/resources/samples/db-instance-status-detail-response.json deleted file mode 100644 index e4e2de53fa..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-status-detail-response.json +++ /dev/null @@ -1,42 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 685 -Date: Wed, 28 Mar 2012 21:37:29 GMT - -{ - "instance": { - "created": "2012-03-28T21:31:02Z", - "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": "2450c73f-7805-4afe-a42c-4094ab42666b", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/2450c73f-7805-4afe-a42c-4094ab42666b", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/2450c73f-7805-4afe-a42c-4094ab42666b", - "rel": "bookmark" - } - ], - "name": "xml_rack_instance", - "status": "ACTIVE", - "updated": "2012-03-28T21:34:25Z", - "volume": { - "size": 2, - "used": 0.124542236328125 - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-instance-status-detail-response.xml b/integration/apidocs/src/resources/samples/db-instance-status-detail-response.xml deleted file mode 100644 index 2b839e2e2b..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-status-detail-response.xml +++ /dev/null @@ -1,20 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 796 -Date: Wed, 28 Mar 2012 21:37:31 GMT - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-instance-update-guest-request.json b/integration/apidocs/src/resources/samples/db-instance-update-guest-request.json deleted file mode 100644 index c73ff9f200..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-update-guest-request.json +++ /dev/null @@ -1,11 +0,0 @@ -GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/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 - -{ - "update": { - } -} diff --git a/integration/apidocs/src/resources/samples/db-instance-update-guest-request.xml b/integration/apidocs/src/resources/samples/db-instance-update-guest-request.xml deleted file mode 100644 index a146f7887c..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-update-guest-request.xml +++ /dev/null @@ -1,10 +0,0 @@ -GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/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 - - - - diff --git a/integration/apidocs/src/resources/samples/db-instance-update-guest-response.json b/integration/apidocs/src/resources/samples/db-instance-update-guest-response.json deleted file mode 100644 index 23bd9c1201..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-update-guest-response.json +++ /dev/null @@ -1,8 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Wed, 29 Feb 2012 23:53:42 GMT - -202 Accepted - -The request is accepted for processing. diff --git a/integration/apidocs/src/resources/samples/db-instance-update-guest-response.xml b/integration/apidocs/src/resources/samples/db-instance-update-guest-response.xml deleted file mode 100644 index 23bd9c1201..0000000000 --- a/integration/apidocs/src/resources/samples/db-instance-update-guest-response.xml +++ /dev/null @@ -1,8 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Wed, 29 Feb 2012 23:53:42 GMT - -202 Accepted - -The request is accepted for processing. diff --git a/integration/apidocs/src/resources/samples/db-instances-index-pagination-request.json b/integration/apidocs/src/resources/samples/db-instances-index-pagination-request.json deleted file mode 100644 index 4a55cfb7e0..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-pagination-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances?limit=2 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 - - diff --git a/integration/apidocs/src/resources/samples/db-instances-index-pagination-request.xml b/integration/apidocs/src/resources/samples/db-instances-index-pagination-request.xml deleted file mode 100644 index bd9a930c1e..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-pagination-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances?limit=2 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 - - diff --git a/integration/apidocs/src/resources/samples/db-instances-index-pagination-response.json b/integration/apidocs/src/resources/samples/db-instances-index-pagination-response.json deleted file mode 100644 index bdaf6b4f91..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-pagination-response.json +++ /dev/null @@ -1,45 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 868 -Date: Tue, 19 Jun 2012 15:44:54 GMT - -{ - "instances": [ - { - "id": "13d940c4-70bb-4ff4-8866-6ee9ab5e5cae", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/13d940c4-70bb-4ff4-8866-6ee9ab5e5cae", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/13d940c4-70bb-4ff4-8866-6ee9ab5e5cae", - "rel": "bookmark" - } - ], - "name": "xml_rack_instance", - "status": "ACTIVE" - }, - { - "id": "4137d6a4-03b7-4b66-b0ef-8c7c35c470d3", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/4137d6a4-03b7-4b66-b0ef-8c7c35c470d3", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/4137d6a4-03b7-4b66-b0ef-8c7c35c470d3", - "rel": "bookmark" - } - ], - "name": "xml_rack_instance", - "status": "ACTIVE" - } - ], - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances?marker=4137d6a4-03b7-4b66-b0ef-8c7c35c470d3&limit=2", - "rel": "next" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-instances-index-pagination-response.xml b/integration/apidocs/src/resources/samples/db-instances-index-pagination-response.xml deleted file mode 100644 index 4aab91cc97..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-pagination-response.xml +++ /dev/null @@ -1,23 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 887 -Date: Tue, 19 Jun 2012 15:44:54 GMT - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-instances-index-request.json b/integration/apidocs/src/resources/samples/db-instances-index-request.json deleted file mode 100644 index ef941e56bf..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances 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 - - diff --git a/integration/apidocs/src/resources/samples/db-instances-index-request.xml b/integration/apidocs/src/resources/samples/db-instances-index-request.xml deleted file mode 100644 index f03169746c..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances 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 - - diff --git a/integration/apidocs/src/resources/samples/db-instances-index-response.json b/integration/apidocs/src/resources/samples/db-instances-index-response.json deleted file mode 100644 index 5a885c741a..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-response.json +++ /dev/null @@ -1,71 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 1150 -Date: Tue, 19 Jun 2012 19:53:04 GMT - -{ - "instances": [ - { - "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" - } - ] - }, - "id": "28d1b8f3-172a-4f6d-983d-36021508444a", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/28d1b8f3-172a-4f6d-983d-36021508444a", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/28d1b8f3-172a-4f6d-983d-36021508444a", - "rel": "bookmark" - } - ], - "name": "json_rack_instance", - "status": "ACTIVE", - "volume": { - "size": 2 - } - }, - { - "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" - } - ] - }, - "id": "8fb081af-f237-44f5-80cc-b46be1840ca9", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/8fb081af-f237-44f5-80cc-b46be1840ca9", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/8fb081af-f237-44f5-80cc-b46be1840ca9", - "rel": "bookmark" - } - ], - "name": "xml_rack_instance", - "status": "ACTIVE", - "volume": { - "size": 2 - } - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-instances-index-response.xml b/integration/apidocs/src/resources/samples/db-instances-index-response.xml deleted file mode 100644 index c5e3ea129d..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-index-response.xml +++ /dev/null @@ -1,34 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 1492 -Date: Tue, 19 Jun 2012 19:53:04 GMT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-instances-paged-index-request.json b/integration/apidocs/src/resources/samples/db-instances-paged-index-request.json deleted file mode 100644 index d74ea74cea..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-paged-index-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances?marker=369018b0-30de-2775-ab39-a19bd20006e9&limit=5 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 - - diff --git a/integration/apidocs/src/resources/samples/db-instances-paged-index-request.xml b/integration/apidocs/src/resources/samples/db-instances-paged-index-request.xml deleted file mode 100644 index d7fd876308..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-paged-index-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances?marker=369018b0-30de-2775-ab39-a19bd20006e9&limit=5 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 - - diff --git a/integration/apidocs/src/resources/samples/db-instances-paged-index-response.json b/integration/apidocs/src/resources/samples/db-instances-paged-index-response.json deleted file mode 100644 index d8de6465e8..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-paged-index-response.json +++ /dev/null @@ -1,90 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 648 -Date: Wed, 25 Jan 2012 21:58:14 GMT - -{ - "instances": [ - { - "id": "28290db6-2f47-80d4-1b62-92bde6ff1a6e", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/28290db6-2f47-80d4-1b62-92bde6ff1a6e", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/28290db6-2f47-80d4-1b62-92bde6ff1a6e", - "rel": "bookmark" - } - ], - "name": "example_rack_instance", - "status": "ACTIVE" - }, - { - "id": "ae939ae2-3827-d005-4de6-0028a5f438d0", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/ae939ae2-3827-d005-4de6-0028a5f438d0", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/ae939ae2-3827-d005-4de6-0028a5f438d0", - "rel": "bookmark" - } - ], - "name": "example_rack_instance", - "status": "ACTIVE" - }, - { - "id": "006e4db2-5729-3f8e-77b0-075a1723ad37", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/006e4db2-5729-3f8e-77b0-075a1723ad37", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/006e4db2-5729-3f8e-77b0-075a1723ad37", - "rel": "bookmark" - } - ], - "name": "example_rack_instance", - "status": "ACTIVE" - }, - { - "id": "2806d85e-d363-2a27-f7fd-4e9911ebd8a9", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/2806d85e-d363-2a27-f7fd-4e9911ebd8a9", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/2806d85e-d363-2a27-f7fd-4e9911ebd8a9", - "rel": "bookmark" - } - ], - "name": "example_rack_instance", - "status": "ACTIVE" - }, - { - "id": "e0846e3b-3df4-398f-1e9a-d53650573dd1", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/e0846e3b-3df4-398f-1e9a-d53650573dd1", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/e0846e3b-3df4-398f-1e9a-d53650573dd1", - "rel": "bookmark" - } - ], - "name": "example_rack_instance", - "status": "ACTIVE" - } - ], - "links": [ - { - "rel": "next", - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances?marker=e0846e3b-3df4-398f-1e9a-d53650573dd1&limit=5" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-instances-paged-index-response.xml b/integration/apidocs/src/resources/samples/db-instances-paged-index-response.xml deleted file mode 100644 index 05dc5261fb..0000000000 --- a/integration/apidocs/src/resources/samples/db-instances-paged-index-response.xml +++ /dev/null @@ -1,41 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 828 -Date: Wed, 25 Jan 2012 21:58:14 GMT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-list-databases-request.json b/integration/apidocs/src/resources/samples/db-list-databases-request.json deleted file mode 100644 index b7a3db2fa5..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-databases-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /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 - - diff --git a/integration/apidocs/src/resources/samples/db-list-databases-request.xml b/integration/apidocs/src/resources/samples/db-list-databases-request.xml deleted file mode 100644 index d0e2bb86ce..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-databases-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /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 - - diff --git a/integration/apidocs/src/resources/samples/db-list-databases-response.json b/integration/apidocs/src/resources/samples/db-list-databases-response.json deleted file mode 100644 index 879da3d0ab..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-databases-response.json +++ /dev/null @@ -1,24 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 136 -Date: Wed, 25 Jan 2012 21:58:01 GMT - -{ - "databases": [ - { - "name": "anotherexampledb" - }, - { - "name": "exampledb" - }, - { - "name": "nextround" - }, - { - "name": "sampledb" - }, - { - "name": "testingdb" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-list-databases-response.xml b/integration/apidocs/src/resources/samples/db-list-databases-response.xml deleted file mode 100644 index d6643d6be4..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-databases-response.xml +++ /dev/null @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 248 -Date: Wed, 25 Jan 2012 21:58:02 GMT - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-list-users-request.json b/integration/apidocs/src/resources/samples/db-list-users-request.json deleted file mode 100644 index 43c813d086..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-users-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users 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 - - diff --git a/integration/apidocs/src/resources/samples/db-list-users-request.xml b/integration/apidocs/src/resources/samples/db-list-users-request.xml deleted file mode 100644 index 0b9a2bb583..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-users-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/instances/692d8418-7a8f-47f1-8060-59846c6e024f/users 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 - - diff --git a/integration/apidocs/src/resources/samples/db-list-users-response.json b/integration/apidocs/src/resources/samples/db-list-users-response.json deleted file mode 100644 index e2a94c60f9..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-users-response.json +++ /dev/null @@ -1,28 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 152 -Date: Wed, 21 Mar 2012 17:46:46 GMT - -{ - "users": [ - { - "databases": [ - { - "name": "databaseA" - } - ], - "name": "dbuser3" - }, - { - "databases": [ - { - "name": "databaseB" - }, - { - "name": "databaseC" - } - ], - "name": "dbuser4" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-list-users-response.xml b/integration/apidocs/src/resources/samples/db-list-users-response.xml deleted file mode 100644 index 69a60eded7..0000000000 --- a/integration/apidocs/src/resources/samples/db-list-users-response.xml +++ /dev/null @@ -1,24 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 501 -Date: Wed, 27 Jun 2012 21:56:06 GMT - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-request.json b/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-request.json deleted file mode 100644 index fc35c39785..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/accounts/1234 HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-request.xml deleted file mode 100644 index 467501c28c..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/accounts/1234 HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-response.json b/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-response.json deleted file mode 100644 index 8080f2e8de..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-response.json +++ /dev/null @@ -1,24 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 280 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "account": { - "id": "1234", - "instances": [ - { - "host": "hostname", - "id": "6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "name": "json_rack_instance", - "status": "ACTIVE" - }, - { - "host": "hostname", - "id": "72eed896-134e-4212-9f25-f81b4e0795e2", - "name": "xml_rack_instance", - "status": "ACTIVE" - } - ] - } -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-response.xml deleted file mode 100644 index ae735efee6..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-account-details-response.xml +++ /dev/null @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 358 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-request.json b/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-request.json deleted file mode 100644 index b30ee85b15..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/hosts/hostname HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-request.xml deleted file mode 100644 index d2b20fd825..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/hosts/hostname HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-response.json b/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-response.json deleted file mode 100644 index 6466a5efef..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-response.json +++ /dev/null @@ -1,29 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 411 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "host": { - "instances": [ - { - "id": "6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "name": "json_rack_instance", - "server_id": "64438fb6-4b98-4bd8-975e-222bc11daf74", - "status": "ACTIVE", - "tenant_id": "1234" - }, - { - "id": "72eed896-134e-4212-9f25-f81b4e0795e2", - "name": "xml_rack_instance", - "server_id": "6d93bc48-f736-41db-9ad7-c8594aac25fb", - "status": "ACTIVE", - "tenant_id": "1234" - } - ], - "name": "hostname", - "percentUsed": 51, - "totalRAM": 2004, - "usedRAM": 1024 - } -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-response.xml deleted file mode 100644 index c12da22a1d..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-host-detail-response.xml +++ /dev/null @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 480 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-request.json b/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-request.json deleted file mode 100644 index b0de95071d..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-request.xml deleted file mode 100644 index dd2ff53caf..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/72eed896-134e-4212-9f25-f81b4e0795e2 HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-response.json b/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-response.json deleted file mode 100644 index 3843ad8323..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-response.json +++ /dev/null @@ -1,51 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 903 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "instance": { - "created": "2012-07-24T19:48:27", - "deleted": false, - "deleted_at": null, - "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" - } - ] - }, - "guest_status": { - "state_description": "running" - }, - "host": "hostname", - "id": "6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "rel": "bookmark" - } - ], - "local_id": 0, - "name": "json_rack_instance", - "server_id": "64438fb6-4b98-4bd8-975e-222bc11daf74", - "status": "ACTIVE", - "task_description": "No tasks for the instance.", - "tenant_id": "1234", - "updated": "2012-07-24T19:48:29", - "volume": { - "id": "VOL_0fb3073c-15de-483b-bb85-376a8997dc8a", - "size": 2 - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-response.xml deleted file mode 100644 index eaa95339cb..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-instance-details-response.xml +++ /dev/null @@ -1,20 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 1008 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-request.json b/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-request.json deleted file mode 100644 index 551d6f0808..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b/root HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-request.xml deleted file mode 100644 index 72f4c15661..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/72eed896-134e-4212-9f25-f81b4e0795e2/root HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-response.json b/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-response.json deleted file mode 100644 index 3c5d815037..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-response.json +++ /dev/null @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 102 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "root_history": { - "enabled": "Never", - "id": "6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "user": "Nobody" - } -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-response.xml deleted file mode 100644 index 87458a104c..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-root-details-response.xml +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 140 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-request.json b/integration/apidocs/src/resources/samples/db-mgmt-get-storage-request.json deleted file mode 100644 index 28a7a894e5..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/storage HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-storage-request.xml deleted file mode 100644 index 6b8ba36065..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/storage HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-response.json b/integration/apidocs/src/resources/samples/db-mgmt-get-storage-response.json deleted file mode 100644 index 3f5e7e7d16..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-response.json +++ /dev/null @@ -1,23 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 177 -Date: Tue, 24 Jul 2012 19:48:35 GMT - -{ - "devices": [ - { - "capacity": { - "available": 90, - "total": 100 - }, - "name": "fake_storage", - "provision": { - "available": 40, - "percent": 10, - "total": 50 - }, - "type": "test_type", - "used": 10 - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-get-storage-response.xml deleted file mode 100644 index e154a26940..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-get-storage-response.xml +++ /dev/null @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 254 -Date: Tue, 24 Jul 2012 19:48:35 GMT - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-host-update-request.json b/integration/apidocs/src/resources/samples/db-mgmt-host-update-request.json deleted file mode 100644 index 56f6ce432d..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-host-update-request.json +++ /dev/null @@ -1,12 +0,0 @@ -POST /v1.0/1234/mgmt/hosts/hostname/instances/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 - -{ - "update": {} -} - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-host-update-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-host-update-request.xml deleted file mode 100644 index 2662bd28a7..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-host-update-request.xml +++ /dev/null @@ -1,10 +0,0 @@ -POST /v1.0/1234/mgmt/hosts/hostname/instances/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 - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-host-update-response.json b/integration/apidocs/src/resources/samples/db-mgmt-host-update-response.json deleted file mode 100644 index 0574b12a5b..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-host-update-response.json +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Tue, 07 Feb 2012 23:56:52 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-host-update-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-host-update-response.xml deleted file mode 100644 index bcea5bff07..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-host-update-response.xml +++ /dev/null @@ -1,6 +0,0 @@ -HTTP/1.1 202 Accepted -Content-Type: text/plain; charset=UTF-8 -Content-Length: 58 -Date: Tue, 07 Feb 2012 23:56:55 GMT - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-request.json b/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-request.json deleted file mode 100644 index 89ba631133..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b/diagnostics HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-request.xml deleted file mode 100644 index cfaa3ea029..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/72eed896-134e-4212-9f25-f81b4e0795e2/diagnostics HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-response.json b/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-response.json deleted file mode 100644 index 2755708db5..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-response.json +++ /dev/null @@ -1,16 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 125 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "diagnostics": { - "fdSize": 64, - "threads": 2, - "version": "1", - "vmHwm": 2872, - "vmPeak": 29160, - "vmRss": 2872, - "vmSize": 29096 - } -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-response.xml deleted file mode 100644 index edd8f0e1e9..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-diagnostics-response.xml +++ /dev/null @@ -1,7 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 159 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-request.json b/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-request.json deleted file mode 100644 index c879a96d00..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b/hwinfo HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-request.xml deleted file mode 100644 index 18243538ff..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances/72eed896-134e-4212-9f25-f81b4e0795e2/hwinfo HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-response.json b/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-response.json deleted file mode 100644 index 613f82c83f..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-response.json +++ /dev/null @@ -1,13 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 48 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "hwinfo": { - "mem_total": 524288, - "num_cpus": 1 - } -} - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-response.xml deleted file mode 100644 index 129d41f0ff..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-hwinfo-response.xml +++ /dev/null @@ -1,15 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 160 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - - 1 - - - 524288 - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-request.json b/integration/apidocs/src/resources/samples/db-mgmt-instance-index-request.json deleted file mode 100644 index 0b8e59ebb6..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances?deleted=false HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-instance-index-request.xml deleted file mode 100644 index 0de1eb4cf7..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/instances?deleted=false HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-response.json b/integration/apidocs/src/resources/samples/db-mgmt-instance-index-response.json deleted file mode 100644 index 9486f6bbd8..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-response.json +++ /dev/null @@ -1,89 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 1586 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "instances": [ - { - "created": "2012-07-24T19:48:27", - "deleted": false, - "deleted_at": null, - "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" - } - ] - }, - "host": "hostname", - "id": "6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/6e038c18-902f-4a41-b2a2-5f46fa62fc1b", - "rel": "bookmark" - } - ], - "local_id": 0, - "name": "json_rack_instance", - "server_id": "64438fb6-4b98-4bd8-975e-222bc11daf74", - "status": "ACTIVE", - "task_description": "No tasks for the instance.", - "tenant_id": "1234", - "updated": "2012-07-24T19:48:29", - "volume": { - "size": 2 - } - }, - { - "created": "2012-07-24T19:48:27", - "deleted": false, - "deleted_at": null, - "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" - } - ] - }, - "host": "hostname", - "id": "72eed896-134e-4212-9f25-f81b4e0795e2", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/instances/72eed896-134e-4212-9f25-f81b4e0795e2", - "rel": "self" - }, - { - "href": "https://ord.databases.api.rackspacecloud.com/instances/72eed896-134e-4212-9f25-f81b4e0795e2", - "rel": "bookmark" - } - ], - "local_id": 0, - "name": "xml_rack_instance", - "server_id": "6d93bc48-f736-41db-9ad7-c8594aac25fb", - "status": "ACTIVE", - "task_description": "No tasks for the instance.", - "tenant_id": "1234", - "updated": "2012-07-24T19:48:30", - "volume": { - "size": 2 - } - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-instance-index-response.xml deleted file mode 100644 index c607012d5c..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-instance-index-response.xml +++ /dev/null @@ -1,34 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 1896 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-request.json b/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-request.json deleted file mode 100644 index 6d253741cf..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/accounts HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-request.xml deleted file mode 100644 index 08641a9eb1..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/accounts HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-response.json b/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-response.json deleted file mode 100644 index d65c4e2056..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-response.json +++ /dev/null @@ -1,13 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 51 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "accounts": [ - { - "id": "1234", - "num_instances": 2 - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-response.xml deleted file mode 100644 index 99dded2c5d..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-accounts-response.xml +++ /dev/null @@ -1,9 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 119 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-request.json b/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-request.json deleted file mode 100644 index a8f7b2c200..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/hosts HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/json -Content-Type: application/json - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-request.xml b/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-request.xml deleted file mode 100644 index a7c26dd586..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/1234/mgmt/hosts HTTP/1.1 -User-Agent: python-troveclient -Host: ord.databases.api.rackspacecloud.com -X-Auth-Token: 87c6033c-9ff6-405f-943e-2deb73f278b7 -Accept: application/xml -Content-Type: application/xml - - diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-response.json b/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-response.json deleted file mode 100644 index db62c38114..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-response.json +++ /dev/null @@ -1,13 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 54 -Date: Tue, 24 Jul 2012 19:48:33 GMT - -{ - "hosts": [ - { - "instanceCount": 2, - "name": "hostname" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-response.xml b/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-response.xml deleted file mode 100644 index 42af1c3f2d..0000000000 --- a/integration/apidocs/src/resources/samples/db-mgmt-list-hosts-response.xml +++ /dev/null @@ -1,9 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 116 -Date: Tue, 24 Jul 2012 19:48:33 GMT - - - - - diff --git a/integration/apidocs/src/resources/samples/db-request-types.json b/integration/apidocs/src/resources/samples/db-request-types.json deleted file mode 100644 index 44bd6d67ac..0000000000 --- a/integration/apidocs/src/resources/samples/db-request-types.json +++ /dev/null @@ -1,15 +0,0 @@ -POST /v1.0/1234/instances HTTP/1.1 -Host: ord.databases.api.rackspacecloud.com -Content-Type: application/json -Accept: application/xml -X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb - -{ - "instance": { - "name": "'my_instance_name'", - "flavorRef": "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1", - "volume": { - "size": "2" - } - } -} diff --git a/integration/apidocs/src/resources/samples/db-response-types.xml b/integration/apidocs/src/resources/samples/db-response-types.xml deleted file mode 100644 index 957b65c197..0000000000 --- a/integration/apidocs/src/resources/samples/db-response-types.xml +++ /dev/null @@ -1,24 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 380 -Date: Thu, 17 Nov 2011 02:37:37 GMT - - - - - - - - - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-version-request.json b/integration/apidocs/src/resources/samples/db-version-request.json deleted file mode 100644 index 45e1b1b6ff..0000000000 --- a/integration/apidocs/src/resources/samples/db-version-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/ 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 - - diff --git a/integration/apidocs/src/resources/samples/db-version-request.xml b/integration/apidocs/src/resources/samples/db-version-request.xml deleted file mode 100644 index eb4ce6c716..0000000000 --- a/integration/apidocs/src/resources/samples/db-version-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET /v1.0/ 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 - - diff --git a/integration/apidocs/src/resources/samples/db-version-response.json b/integration/apidocs/src/resources/samples/db-version-response.json deleted file mode 100644 index d5618703af..0000000000 --- a/integration/apidocs/src/resources/samples/db-version-response.json +++ /dev/null @@ -1,18 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 150 -Date: Wed, 25 Jan 2012 21:53:04 GMT - -{ - "version": { - "id": "v1.0", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/", - "rel": "self" - } - ], - "status": "CURRENT", - "updated": "2012-01-01T00:00:00Z" - } -} diff --git a/integration/apidocs/src/resources/samples/db-version-response.xml b/integration/apidocs/src/resources/samples/db-version-response.xml deleted file mode 100644 index d978f23295..0000000000 --- a/integration/apidocs/src/resources/samples/db-version-response.xml +++ /dev/null @@ -1,10 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 218 -Date: Wed, 25 Jan 2012 21:53:04 GMT - - - - - - diff --git a/integration/apidocs/src/resources/samples/db-versions-request.json b/integration/apidocs/src/resources/samples/db-versions-request.json deleted file mode 100644 index 719a55667b..0000000000 --- a/integration/apidocs/src/resources/samples/db-versions-request.json +++ /dev/null @@ -1,8 +0,0 @@ -GET / 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 - - diff --git a/integration/apidocs/src/resources/samples/db-versions-request.xml b/integration/apidocs/src/resources/samples/db-versions-request.xml deleted file mode 100644 index 0b9d413a0b..0000000000 --- a/integration/apidocs/src/resources/samples/db-versions-request.xml +++ /dev/null @@ -1,8 +0,0 @@ -GET / 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 - - diff --git a/integration/apidocs/src/resources/samples/db-versions-response.json b/integration/apidocs/src/resources/samples/db-versions-response.json deleted file mode 100644 index 0028b4e4b1..0000000000 --- a/integration/apidocs/src/resources/samples/db-versions-response.json +++ /dev/null @@ -1,20 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 153 -Date: Wed, 25 Jan 2012 21:53:04 GMT - -{ - "versions": [ - { - "id": "v1.0", - "links": [ - { - "href": "https://ord.databases.api.rackspacecloud.com/v1.0/", - "rel": "self" - } - ], - "status": "CURRENT", - "updated": "2012-01-01T00:00:00Z" - } - ] -} diff --git a/integration/apidocs/src/resources/samples/db-versions-response.xml b/integration/apidocs/src/resources/samples/db-versions-response.xml deleted file mode 100644 index 6ec42452ae..0000000000 --- a/integration/apidocs/src/resources/samples/db-versions-response.xml +++ /dev/null @@ -1,12 +0,0 @@ -HTTP/1.1 200 OK -Content-Type: application/xml -Content-Length: 261 -Date: Wed, 25 Jan 2012 21:53:04 GMT - - - - - - - - diff --git a/integration/xsd/common.ent b/integration/xsd/common.ent deleted file mode 100644 index b8972274d6..0000000000 --- a/integration/xsd/common.ent +++ /dev/null @@ -1,72 +0,0 @@ - - - - -GET'> -PUT'> -POST'> -DELETE'> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - '> - - - - - - '> - - - - - - '> diff --git a/integration/xsd/dbaas.wadl b/integration/xsd/dbaas.wadl deleted file mode 100644 index 91953198a9..0000000000 --- a/integration/xsd/dbaas.wadl +++ /dev/null @@ -1,1177 +0,0 @@ - - - %common; - - -]> - - - - - - - - - - - - - - - The account ID of the owner of the specified instance. - - - - - - - The instance ID for the specified database instance. - - - - - - - - - - - - - The name for the specified database. - - - - - - - - - The name for the specified user. - - - - - - - - - - - - - - - The flavor ID for the specified flavor. - - - - - - - - - - - - - Returns detailed information about the specified version of the API. - - Reviewer: in the DNS project, we have been requested by the customer to provide a table of parameters (should be pulled automatically if parms defined in wadl) and a table of attributes (for calls that allow detailed info about the object created to be specified. No doubt our DB customers will want this too. - Reviewer: These tables probably need 4 columns: name; parameter type: e.g. template, query, etc.; data type: string, etc.; required?; description. - This operation returns detailed information about the specified version of the API. - - - - - The following examples show the List Version Details requests: - - - - - - - - - - - - - The following examples show the List Version Details responses: - - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Lists information about all versions of the API. - - This operation lists information about all versions of the API. - - - - - The following examples show the List Versions requests: - - - - - - - - - - - - - The following examples show the List Versions responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Creates a new database instance. - This operation asynchronously provisions a new database instance. This call requires the user to specify a flavor and a volume size. The service then provisions the instance with the requested flavor and sets up a volume of the specified size, which is the storage for the database instance. - Notes - - You can create only one database instance per POST request. - - - You can create a database instance with one or more databases, and users associated to those databases. - - - The default binding for the MySQL instance is port 3306. - - - Database instances are directly accessible only on the internal ServiceNet network and using a Cloud resource within the same regional datacenter. For example, a database instance in DFW can only be accessed by a Cloud Server in DFW. For details and information about using a public Cloud Load Balancer to allow access to your database instance, refer to - for details. - - - The following table lists the required and optional attributes for Create Instance: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Required and Optional Attributes for Create Instance
Applies To Name DescriptionRequired
InstanceflavorRefReference (href) to a flavor as specified in the response from the List Flavors API call. - This is the actual URI as specified by the href field in the link. For example, in the following List Flavors response, the link to flavor id 1 is specified as - "https://ord.databases.api.rackspacecloud.com/v1.0/1234/flavors/1". - Rather than the flavor URI, you can also pass the flavor id (integer) as the value for flavorRef. For example, the flavor id for the flavor URI shown above is "1". - Refer to for details.Yes
(volume) sizeSpecifies the volume size in gigabytes (GB). The value specified must be between 1 and 50.Yes
nameName of the instance to create. The length of the name is limited to 255 characters and any characters are permitted.No
DatabasenameSpecifies database names for creating databases on instance creation. Refer to for the required xml/json format.No
character_setSet of symbols and encodings. The default character set is utf8.No
collateSet of rules for comparing characters in a character set. The default value for collate is utf8_general_ci.No
UsernameSpecifies user name for the database on instance creation. Refer to for the required xml/json format.No
passwordSpecifies password for those users on instance creation. Refer to for the required xml/json format.No
(database) nameSpecifies names of databases that those users can access on instance creation. Refer to for the required xml/json format.No
- - Refer to for a list of possible database instance statuses that may be returned. -
- - - - The following examples show the Create Database Instance requests and responses: - - - - - - - - - - - - - - - - - - - For convenience, notice in the response examples above that resources contain links to themselves. This allows a client to easily obtain - resource URIs rather than to construct them. There are two kinds of link relations - associated with resources. A self link contains a versioned link to the resource. These - links should be used in cases where the link will be followed immediately. A bookmark - link provides a permanent link to a resource that is appropriate for long term storage. - - - - &commonFaults; - &getFaults; -
- - - - Deletes the specified database instance. - This operation deletes the specified database instance, including any associated data. - Refer to for a list of possible database instance statuses that may be returned. - This operation does not delete any read slaves. - Reviewer: please provide a description of read slaves that I can add to the previous note. - This operation is not allowed when the instance state is either REBUILDING or BUILDING. - - - - - The following examples show the Delete Database Instance requests: - - - - - - - - - - - &commonFaults; - - - - The following examples show the Delete Database Instance responses: - - - - - - - - - - &getFaults; - - - - - Lists the status and information for all database instances. - This operation lists the status and information for all database instances. - Refer to for a list of possible database instance statuses that may be returned. - - - - - The following examples show the List All Database Instances Detail requests: - - - - - - - - - - - - - - The following examples show the List All Database Instances responses: - - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Lists status and details for a specified database instance. - This operation lists the status and details of the specified database instance. - This operation lists the volume size in gigabytes (GB) and the approximate GB used. - After instance creation, the used size of your volume will be - greater than 0. This is expected and due to the automatic creation of - non-empty transaction logs for mysql optimization. The used attribute is not returned - in the response when the status for the instance is BUILD, REBOOT, or RESIZE. - Refer to for a list of possible database instance statuses that may be returned. - The list operations return a DNS-resolvable hostname associated with the database instance instead of an IP address. Since the hostname always resolves to the correct IP address of the database instance, this relieves the user from the task of maintaining the mapping. Note that although the IP address may likely change on resizing, migrating, and so forth, the hostname always resolves to the correct database instance. - - - - - The following examples show the List Database Instance Status and Details requests: - - - - - - - - - - - - - The following examples show the List Database Instance Status and Details responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Restart the database service on the instance. - The restart operation will restart only the MySQL Instance. Restarting MySQL will erase any dynamic configuration settings that you have made within MySQL. - The MySQL service will be unavailable until the instance restarts. - This operation returns a 202 Accepted response. - - - - - The following examples show the Restart Instance requests: - - - - - - - - - - - - - The following examples show the Restart Instance responses: - - - - - - - - - - &commonFaults; - &getFaults; - &postPutFaults; - - - - - Resize the memory of the instance. - This operation changes the memory size of the instance, assuming a valid flavorRef is provided. Restarts MySQL in the process. - - - - - The following examples show the Resize Instance requests: - - - - - - - - - - - - - The following examples show the Resize Instance responses: - - - - - - - - - - &commonFaults; - &getFaults; - &postPutFaults; - - - - - Resize the volume attached to the Instance. - This operation supports resizing the attached volume for an instance. It supports only increasing the volume size and does not support decreasing the size. - The volume size is in gigabytes (GB) and must be an integer. - You cannot increase the volume to a size larger than the API volume size limit specifies. - This operation returns a 202 Accepted response. - - - - - The following examples show the Resize Instance Volume requests: - - - - - - - - - - - - - The following examples show the Resize Instance Volume responses: - - - - - - - - - - &commonFaults; - &getFaults; - &postPutFaults; - - - - - - Creates a new database within the specified instance. - This operation creates a new database within the specified instance. - The name of the database is a required attribute. - The following additional attributes can be specified for each database: collate and character_set. - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Required and Optional Attributes for Create Database
Name DescriptionRequired
nameSpecifies the database name for creating the database. Refer to the request examples for the required xml/json format.Yes
character_setSet of symbols and encodings. The default character set is utf8.No
collateSet of rules for comparing characters in a character set. The default value for collate is utf8_general_ci.No
- - See the MySQL documentation for information about supported character sets and collations at http://dev.mysql.com/doc/refman/5.1/en/charset-mysql.html. - - - The following database names are reserved and cannot be used for creating databases: lost+found, information_schema, and mysql. - Refer to the following tables for information about characters that are valid/invalid for creating database names. - - - - - - - - - - - - - - - - - - - - - - - -
Valid Characters That Can Be Used in a Database Name
Character
Letters (upper and lower cases allowed)
Numbers
'@', '?', '#', and spaces are allowed, but not at the beginning and end of the database name
'_' is allowed anywhere in the database name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Characters That Cannot Be Used in a Database Name
Character
Single quotes
Double quotes
Back quotes
Semicolons
Commas
Backslashes
Forwardslashes
- - - - - - - - - - - - - - - -
Length Restrictions for Database Name
RestrictionValue
Database-name maximum length64
-
- - - - The following examples show the Create Database requests: - - - - - - - - - - - - - The following examples show the Create Database responses: - - - - - - - - - - &commonFaults; - &getFaults; -
- - - - - Lists databases for the specified instance. - This operation lists the databases for the specified instance. - This operation returns only the user-defined databases, not the system databases. The system databases (mysql, information_schema, lost+found) can only be viewed by a database administrator. - - - - - The following examples show the List Databases for Instance requests: - - - - - - - - - - - - - The following examples show the List Databases for Instance responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - Deletes the specified database. - This operation deletes the requested database within the specified database instance. Note that all data associated with the database is also deleted. - - - - - The following examples show the Delete Database requests: - - - - - - - - - - - - - The following examples show the Delete Database responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Creates a user for the specified database instance. - This operation asynchronously provisions a new user for the specified database instance based on the configuration defined in the request object. Once the request is validated and progress has started on the provisioning process, a 202 Accepted response object is returned. - Writer: please add the following note back into the doc once the List User Details call is added back into the API: Using the identifier, the caller can check on the progress of the operation by performing a GET on users/name (for more details on this operation see the "List User Details" section of this document). - If the corresponding request cannot be fulfilled due to insufficient or invalid data, an HTTP 400 "Bad Request" error response is returned with information regarding the nature of the failure. Failures in the validation process are non-recoverable and require the caller to correct the cause of the failure and POST the request again. - - The following table lists the required attributes for Create User. Refer to the request examples for the required xml/json format: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Required Attributes for Create User
Applies ToName DescriptionRequired
UsernameName of the user for the - database.Yes
passwordUser password for database - access.Yes
(database) nameName of the database that the user can access. One or more database names must be specified.No
- - Notes - - A user is granted all privileges on the specified databases. - - - The following user name is reserved and cannot be used for creating users: root. - - - - Refer to the following tables for information about characters that are valid/invalid for creating database names, user names, and passwords. - - - - - - - - - - - - - - - - - - - - - - - -
Valid Characters That Can Be Used in a Database Name, User Name, and Password
Character
Letters (upper and lower cases allowed)
Numbers
'@', '?', '#', and spaces are allowed, but not at the beginning and end of the database name, user name, and password
"_" is allowed anywhere in the database name, user name, and password
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Characters That Cannot Be Used in a Database Name, User Name, and Password
Character
Single quotes
Double quotes
Back quotes
Semicolons
Commas
Backslashes
Forwardslashes
Spaces at the front or end of the user name or password
- - - - - - - - - - - - - - - - - - - - - - - -
Length Restrictions for Database Name, User Name, and Password
RestrictionValue
Database name maximum length64
User name maximum length16
Password maximum lengthunlimited (no restrictions)
-
- - - - The following examples show the Create User requests: - - - - - - - - - - - - - The following examples show the Create User responses: - - - - - - - - - - &commonFaults; - &getFaults; -
- - - - - Lists the users in the specified database instance. - This operation lists the users in the specified database instance, along with the associated databases for that user. - This operation does not return the system users (database administrators that administer the health of the database). Also, this operation returns the "root" user only if "root" user has been enabled. - - The following notes apply to MySQL users: - - - User names can be up to 16 characters long. - - - When you create accounts with INSERT, you must use FLUSH PRIVILEGES to tell the server to reload the grant tables. - - - For additional information, refer to: http://dev.mysql.com/doc/refman/5.1/en/user-account-management.html - - - - - - - The following examples show the List Users in Database Instance requests: - - - - - - - - - - - - - - The following examples show the List Users in Database Instance responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - Deletes the user identified by {name} for the specified database instance. - This operation deletes the specified user for the specified database instance. - There is a bug in a python library that Rackspace is using that may cause incorrect user deletions to occur - if a period (.) is used in the user name. In this case, the user name is truncated to remove the portion of the - name from the period to the end, leaving only the portion from the beginning up to the period. For example, for a - user named "my.userA", the bug would truncate the user name to "my", and if the user "my" exists, that user will - be incorrectly deleted. To avoid the problem, do not use periods in user names. - - - - - The following examples show the Delete User requests: - - - - - - - - - - - - - The following examples show the Delete User responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Enables the root user for the specified database instance and returns the root password. - This operation enables login from any host for the root user and provides the user with a generated root password. - Changes you make as a root user may cause detrimental effects to the database instance and unpredictable behavior for API operations. When you enable the root user, you accept the possibility that we will not be able to support your database instance. While enabling root does not prevent us from a “best effort” approach to helping you if something goes wrong with your instance, we cannot ensure that we will be able to assist you if you change core MySQL settings. These changes can be (but are not limited to) turning off binlogs, removing users that we use to access your instance, and so forth. - - - - - The following examples show the Enable Root User requests: - - - - - - - - - - - - - The following examples show the Enable Root User responses: - - - - - - - - - - - &commonFaults; - &getFaults; - - - - - Returns true if root user is enabled for the specified database instance or false otherwise. - This operation checks an active specified database instance to see if root access is enabled. It returns True if root user is enabled for the specified database instance or False otherwise. - - - - - The following examples show the Check Root User Access requests: - - - - - - - - - - - - - The following examples show the Check Root User Access responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Lists information for all available flavors. - This operation lists information for all available flavors. - This resource is identical to the flavors found in the OpenStack Nova API, but without the disk property. - Reviewer: please check that the xml example below is now correct. Previously it was reported to be incorrect. - - - - - The following examples show the List Flavors requests: - - - - - - - - - - - - - The following examples show the List Flavors responses: - - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - - Lists all flavor information about the specified flavor ID. - This operation lists all information for the specified flavor ID with details of the RAM. - This resource is identical to the flavors found in the OpenStack Nova API, but without the disk property. - The flavorId parameter should be an integer. If a floating point value is used for the flavorId parameter, the decimal portion is truncated and the integer portion is used as the value of the flavorId. - Writer: need to confirm that this behavior is not changed in subsequent releases, and if it is prevented, remove the Note above. - - - - - The following examples show the List Flavor By ID requests: - - - - - - - - - - - - - The following examples show the List Flavor By ID responses: - - - - - - - - - - &commonFaults; - &getFaults; - - -
diff --git a/integration/xsd/dbaas.xsd b/integration/xsd/dbaas.xsd deleted file mode 100644 index 3e1876a538..0000000000 --- a/integration/xsd/dbaas.xsd +++ /dev/null @@ -1,613 +0,0 @@ - - - - - - DBaaS - - -

- This is the main index XML Schema document - for DBaaS API Schema Types Version 1.0. -

-
-
- - - - -

A MySQL User.

-
-
-
- - - -

A MySQL User.

-
-
-
- - - -

A Database Instance.

-
-
-
- - - -

Database Instances.

-
-
-
- - - -

Settings such as memory used to create a database instance.

-
-
-
- - - -

A list of flavors.

-
-
-
- - - -

A Database.

-
-
-
- - - -

List of Databases.

-
-
-
- - - -

Restart the Database

-
-
-
- - - -

Resize an Instance

-
-
-
- - - - - - - -

A list of database user names.

-
-
-
-
-
- - - - - - -

A list of databases.

-
-
-
-
- - - -

The name for the user.

-
-
-
- - - -

The password for the user.

-
-
-
- - - -

The status of the user.

-
-
-
-
- - - - - - -

A list of database instances.

-
-
-
-
-
- - - - - - -

A list of optional databases.

-
-
-
- - - -

A list of optional users.

-
-
-
- - - -

The links for the type of instance.

-
-
-
- - - -

The volume attached to the instance.

-
-
-
-
- - - -

A unique database instance id.

-
-
-
- - - -

Date/Time the instance was created.

-
-
-
- - - -

Date/Time the instance was last updated.

-
-
-
- - - -

The name for the instance.

-
-
-
- - - -

The flavor reference of the instance.

-
-
-
- - - -

The status of the instance.

-
-
-
- - - -

The hostname attached to the instance.

-
-
-
- - - -

Whether or not root is enabled for the instance.

-
-
-
-
- - - - - -

The type of link.

-
-
-
- - - -

The URL.

-
-
-
- - - -

The type of link.

-
-
-
-
- - - - - - -

A list of flavors.

-
-
-
-
-
- - - - - - -

A list of links.

-
-
-
-
- - - -

A unique flavor id.

-
-
-
- - - -

The name for the instance.

-
-
-
- - - -

The RAM in megabytes.

-
-
-
-
- - - - - - -

A list of links.

-
-
-
-
-
- - - - - - -

A list of databases.

-
-
-
-
-
- - - - - -

The Database character set.

-
-
-
- - - -

The name for the instance.

-
-
-
- - - -

The Collation type of the database.

-
-
-
-
- - - - - -

Whether or not root is enabled for the given instance.

-
-
-
-
- - - - - -

Size of the volume in GBs.

-
-
-
- - - -

Used space on the attached volume in GBs.

-
-
-
-
- - - - - -

A unique flavor id.

-
-
-
-
- - - - - - -

The volume attached to the instance.

-
-
-
- - - -

New flavorRef to size the instance.

-
-
-
-
-
- - - - - -

The instance status.

-
-
- - - - -

Healthy status.

-
-
-
- - - -

Down status.

-
-
-
- - - -

unavailable status.

-
-
-
-
-
- - - - -

The mysql user status.

-
-
- - - - -

Enabled status.

-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - -

- A human readable message that is appropriate for display - to the end user. -

-
-
-
- - - -

- The optional <details> element may contain useful - information for tracking down errors (e.g a stack - trace). This information may or may not be appropriate - for display to an end user. -

-
-
-
- -
- - - -

- The HTTP status code associated with the current fault. -

-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- An optional dateTime denoting when an operation should - be retried. -

-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/integration/xsd/management.wadl b/integration/xsd/management.wadl deleted file mode 100644 index 2271219252..0000000000 --- a/integration/xsd/management.wadl +++ /dev/null @@ -1,625 +0,0 @@ - - - %common; -]> - - - - - - - - - - - - - - The host ID for the specified host. - - - - - - - - - - - - - The instance ID for the specified database instance. - - - - - - - - - - - - - - - - - - - - - - - The account ID for the specified account. - - - - - - - - - - - - Lists all of the accounts owning at least one instance that is not deleted. - - This operation returns a list of all the accounts across all locations that own at least one instance that has not been deleted, that is, all accounts of current users. - - - - - The following examples show the List All Active Accounts requests: - - - - - - - - - - - - - The following examples show the List All Active Accounts responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Lists all of the compute hosts. - - Reviewer: in the DNS project, we have been requested by the customer to provide a table of parameters (should be pulled automatically if parms defined in wadl) and a table of attributes (for calls that allow detailed info about the object created to be specified. No doubt our DB customers will want this too. - Reviewer: These tables probably need 4 columns: name; parameter type: e.g. template, query, etc.; data type: string, etc.; required?; description. - This operation returns a list of all the hosts from the database that are running the binary 'nova-compute'. - - - - - The following examples show the List All Compute Hosts requests: - - - - - - - - - - - - - The following examples show the List All Compute Hosts responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Lists all of the instances for the specified host. - - Reviewer: in the DNS project, we have been requested by the customer to provide a table of parameters (should be pulled automatically if parms defined in wadl) and a table of attributes (for calls that allow detailed info about the object created to be specified. No doubt our DB customers will want this too. - Reviewer: These tables probably need 4 columns: name; parameter type: e.g. template, query, etc.; data type: string, etc.; required?; description. - This operation returns the following information: - - - host name - - - percent of RAM used - - - total RAM on host - - - used RAM on host - - - a list of the compute instances running on the given host - - - If the host name does not exist, a 404 not found error is returned. - - - - - The following examples show the List All Instances for a Host requests: - - - - - - - - - - - - - The following examples show the List All Instances for a Host responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Lists all of the database instances, optionally filtered by deleted status. - - - - - - This query parameter specifies whether or not to list deleted instances. - If true, deleted instances are listed. If false, deleted instances are not listed. - - - - - - The following examples show the List All Instances requests: - - - - - - - - - - - - - The following examples show the List All Instances response: - - - - - - - By default, all instances (both deleted and not deleted) are displayed. - Use the deleted query parameter to list only the deleted or not deleted instances. - - - - &commonFaults; - &getFaults; - - - - - - Returns detailed information for the specified Database Instance. - - Reviewer: in the DNS project, we have been requested by the customer to provide a table of parameters (should be pulled automatically if parms defined in wadl) and a table of attributes (for calls that allow detailed info about the object created to be specified. No doubt our DB customers will want this too. - Reviewer: These tables probably need 4 columns: name; parameter type: e.g. template, query, etc.; data type: string, etc.; required?; description. - This operation returns detailed information about the status and details for the specified database instance. - - - - - The following examples show the List Database Instance Status and Details requests: - - - - - - - - - - - - - The following examples show the List Database Instance Status and Details responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Perform a reboot of the instance. - This operation will reboot the underlying OS along with the mysql instance. - This operation returns a 202 Accepted response. - - - - - The following examples show the Reboot Instance requests: - - - - - - - - - - - - - The following examples show the Reboot Instance responses: - - - - - - - - - - &commonFaults; - &getFaults; - &postPutFaults; - - - - - Update all instances on a specified host. - This operation will call on all guest agents in a specified host to install new versions of itself. - This operation returns a 202 Accepted response. - - - - - The following examples show the Update all Instances on Host requests: - - - - - - - - - - - - - The following examples show the Update all Instances on Host responses: - - - - - - - - - - &commonFaults; - &getFaults; - &postPutFaults; - - - - - - Returns detailed information for the storage device. - - Reviewer: in the DNS project, we have been requested by the customer to provide a table of parameters (should be pulled automatically if parms defined in wadl) and a table of attributes (for calls that allow detailed info about the object created to be specified. No doubt our DB customers will want this too. - Reviewer: These tables probably need 4 columns: name; parameter type: e.g. template, query, etc.; data type: string, etc.; required?; description. - This operation returns detailed information about the details for the storage device. - - - - - The following examples show the List Storage Device Details requests: - - - - - - - - - - - - - The following examples show the List Storage Device Details responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Returns detailed information for the specified account. - - Reviewer: This section needs examples. - This operation returns: - - - account name - - - id - - - list of hosts that have the id - - - instance name - - - status of each instance on the hosts - - - - - - - The following examples show the List Account Details requests: - - - - - - - - - - - - - The following examples show the List Account Details responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Gets the root flag details for the specified instance. - - Reviewer: Need the description for the summary table above and the detailed description for the next paragraph. - This operation shows the root flag details for the specified instance. - - - - - The following examples show the Get Root Details requests: - - - - - - - - - - - - - The following examples show the Get Root Details responses: - - - - - - - - - - &commonFaults; - &getFaults; - - - - - - Get the instance agent and other instance diagnostics info. - - This operation provides the following info for the guest agent managing the specified instance. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Return Attributes for Get Diagnostics Info
NameDescription
versionThe version of the guest installed on the instance.
fdSizeNumber of file descriptor slots currently allocated.
vmSizeVirtual memory size.
vmPeakPeak virtual memory size.
vmRssResident set size.
vmHwmPeak resident set size ("high water mark").
threadsNumber of threads in process containing this thread.
-
- - - - The following examples show the Get Diagnostics Info requests: - - - - - - - - - - - - - The following examples show the Get Diagnostics Info requests: - - - - - - - - - - &commonFaults; - &getFaults; -
- - - - - Get the instance hardware info from the guest agent. - - This operation provides the following info from the guest agent managing the specified instance. - - - - - - - - - - - - - - - - - - -
Return Attributes for Get Hardware Info
NameDescription
mem_totalTotal memory an instance sees.
num_cpusNumber of CPUs an instance sees.
-
- - - - The following examples show the Get Hardware Info requests: - - - - - - - - - - - - - The following examples show the Get Hardware Info responses: - - - - - - - - - - &commonFaults; - &getFaults; -
-
diff --git a/integration/xsd/management.xsd b/integration/xsd/management.xsd deleted file mode 100644 index 4b69123f5b..0000000000 --- a/integration/xsd/management.xsd +++ /dev/null @@ -1,398 +0,0 @@ - - - - - - - - Dbaas Management - - -

This schema defines entity contains entities related to the dbaas Management API.

-
-
- - - - -

Information about a Host.

-
-
-
- - - -

List of Hosts.

-
-
-
- - - - -

Information about storage devices.

-
-
-
- - - - -

Information about Account.

-
-
-
- - - -

Details of a configuration item

-
-
-
- - - -

List of Configs.

-
-
-
- - - - -

Details of a configuration item

-
-
-
- - - - -

Diagnostic details of a guest.

-
-
-
- - - - -

Reboot an Instance

-
-
-
- - - - - - - -

A list of Host names.

-
-
-
-
-
- - - - - - -

Timestamp of the first time MySQL root was enabled for the instance.

-
-
-
- - - -

ID of the first user to enable MySQL root for the instance.

-
-
-
-
-
- - - - - -

A list of database instances, with additional management information.

-
-
- - -
-
- - - - - - - - - - - - - - - - -

A single database instance, with some additional management information.

-
- - - - - - - - - -
-
-
- - - - - -

A list of database index instances, with some additional management information.

-
- - -
-
-
- - - - - -

A list of database instances on the Host.

-
-
- -
- - - -

The name of the Host.

-
-
-
- - - -

The percent of the used RAM on the Host.

-
-
-
- - - -

The total amount of RAM on the Host.

-
-
-
- - - -

The used amount of RAM on the Host.

-
-
-
-
- - - - - - -

A storage device on the Host.

-
-
-
-
-
- - - - - -

The id of the storage device.

-
-
-
- - - -

The name of the storage device.

-
-
-
- - - -

The type of the storage device.

-
-
-
- - - -

The available size of the storage device.

-
-
-
- - - -

The total size of the storage device.

-
-
-
-
- - - - - -

The name of the account.

-
-
-
- - - - -

List of hosts that the Account has instances running on.

-
-
-
-
-
- - - - - - -

A configuration entry

-
-
-
-
-
- - - - - -

The configuration entry key

-
-
-
- - - -

The value of the configuration entry

-
-
-
- - - -

The description of the configuration entry

-
-
-
-
- - - - - -

The instance id of that is checked by the call.

-
-
-
- - - -

The date timestamp that a user enabled root on the instance.

-
-
-
- - - -

The user that enabled root on the instance.

-
-
-
-
- - - - - -

The version of the guest installed on the instance.

-
-
-
- - - -

Number of file descriptor slots currently allocated.

-
-
-
- - - -

Virtual memory size.

-
-
-
- - - -

Peak virtual memory size.

-
-
-
- - - -

Resident set size.

-
-
-
- - - -

Peak resident set size ("high water mark").

-
-
-
- - - -

Number of threads in process containing this thread.

-
-
-
-
- -