Author: zachsh
Date: Wed Dec 11 18:24:47 2013
New Revision: 1550216

URL: http://svn.apache.org/r1550216
Log:
deploy jclouds site content

Modified:
    jclouds/site-content/documentation/quickstart/rackspace/index.html

Modified: jclouds/site-content/documentation/quickstart/rackspace/index.html
URL: 
http://svn.apache.org/viewvc/jclouds/site-content/documentation/quickstart/rackspace/index.html?rev=1550216&r1=1550215&r2=1550216&view=diff
==============================================================================
--- jclouds/site-content/documentation/quickstart/rackspace/index.html 
(original)
+++ jclouds/site-content/documentation/quickstart/rackspace/index.html Wed Dec 
11 18:24:47 2013
@@ -60,6 +60,7 @@
 <li><a href="#volumes">Working with Cloud Block Storage</a></li>
 <li><a href="#loadbalancers">Working with Cloud Load Balancers</a></li>
 <li><a href="#databases">Working with Cloud Databases</a></li>
+<li><a href="#autoscale">Working with Rackspace Autoscale</a></li>
 <li><a href="#next">Next Steps</a></li>
 <li><a href="#providers">Rackspace Cloud Providers</a></li>
 <li><a href="#support">Support and Feedback</a></li>
@@ -462,7 +463,7 @@ Create Cloud Load Balancer
 
 <ol>
 <li>The Rackspace compatible API for Cloud Databases is 
org.jclouds.openstack.trove.v1.TroveApi - All other APIs for working with Cloud 
Databases are accessible via the TroveApi.</li>
-<li>You can find these APIs in the latest <a 
href="http://demobox.github.com/jclouds-maven-site/latest/apidocs";>Javadoc</a>.</li>
+<li>You can find these APIs in the latest <a 
href="http://javadocs-labs-openstack.jclouds.cloudbees.net/";>Javadoc</a>.</li>
 </ol>
 
 
@@ -515,6 +516,72 @@ java -classpath ".:lib/*" org.jclouds.ex
 
 <p>In addition to the create database instance example, by going through the 
clouddatabases example code, you will learn to create instances, databases, and 
database users as well as delete and modify them. You will also learn how to 
set up and access a database from the public internet over JDBC. You can find 
the examples documentation here: <a 
href="https://github.com/jclouds/jclouds-examples/tree/master/rackspace";>Examples
 Documentation</a></p>
 
+<h2><a id="autoscale"></a>Working with Rackspace Autoscale</h2>
+
+<h3><a id="autoscale-intro"></a>Introduction</h3>
+
+<p><a href="http://www.rackspace.com/cloud/autoscale/";>Rackspace Autoscale</a> 
takes the work out of capacity planning, allowing Rackspace Cloud Monitoring 
alerts or scheduled events to create and delete servers. Through the use of 
webhooks, Autoscale can be integrated into countless deployment scenarios. Read 
the dev blog <a 
href="http://developer.rackspace.com/blog/rackspace-autoscale-is-now-open-source.html";>here</a>.</p>
+
+<h3><a id="autoscale-apis"></a>APIs</h3>
+
+<p>You can access Rackspace Autoscale with the jclouds rackspace-autoscale API 
by specifying the rackspace autoscale provider "rackspace-autoscale-us". There 
is no -uk provider at this time.</p>
+
+<ol>
+<li>The Rackspace compatible API for Autoscale is 
org.apache.jclouds.labs.rackspace-autoscale.AutoscaleApi - All other APIs for 
working with Autoscale are accessible via the <a 
href="http://javadocs-labs-openstack.jclouds.cloudbees.net/org/jclouds/rackspace/autoscale/v1/AutoscaleApi.html";>AutoscaleApi</a>.</li>
+<li>You can find these APIs in the latest <a 
href="http://javadocs-labs-openstack.jclouds.cloudbees.net/";>Javadoc</a>.</li>
+</ol>
+
+
+<h3><a id="autoscale-source"></a>The Source Code</h3>
+
+<ol>
+<li>Create the directory hierarchy org/jclouds/examples/rackspace/autoscale/ 
in your jclouds directory.</li>
+<li>Create Java source files called CreatePolicy.java and Constants.java in 
the directory above.</li>
+<li>You should now have a directory with the following structure:
+
+<ul>
+<li><code>jclouds/</code>
+
+<ul>
+<li><code>pom.xml</code></li>
+<li><code>lib/</code>
+
+<ul>
+<li><code>*.jar</code></li>
+</ul>
+</li>
+<li><code>org/jclouds/examples/rackspace/autoscale/</code>
+
+<ul>
+<li><code>CreatePolicy.java</code></li>
+<li><code>Constants.java</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li>Open CreatePolicy.java for editing.</li>
+<li>Go to the example code <a 
href="https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java";>Createpolicy.java</a>,
 read it over, and copy the code into your file.</li>
+<li>Open Constants.java for editing.</li>
+<li>Go to the example code <a 
href="https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/Constants.java";>Constants.java</a>,
 read it over, and copy the code into your file.</li>
+</ol>
+
+
+<h3><a id="autoscale-compile"></a>Compile and Run</h3>
+
+<p>Note: When providing a java classpath in Windows, the path separator is ';' 
instead of ':'
+Note: This uses the API key, not the password.</p>
+
+<pre><code>javac -classpath ".:lib/*" 
org/jclouds/examples/rackspace/autoscale/CreatePolicy.java
+
+java -classpath ".:lib/*" 
org.jclouds.examples.rackspace.autoscale.CreatePolicy myUsername myApiKey
+</code></pre>
+
+<h3><a id="autoscale-advanced"></a>Advanced work with Rackspace Autoscale</h3>
+
+<p>In addition to the CreatePolicy example, by going through the autoscale 
example code, you will learn to create and execute webhooks, and delete and 
modify groups, policies, and webhooks. You can find the examples documentation 
<a 
href="https://github.com/jclouds/jclouds-examples/tree/master/rackspace";>here</a>.</p>
+
 <h2><a id="jee"></a>jclouds in a Managed Container</h2>
 
 <p>Setting up jclouds to work in a managed container is easy. You simply need 
to ensure that jclouds won't spawn any of its own threads. You can do this by 
using the ExecutorServiceModule when building your Context.</p>


Reply via email to