You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jclouds.apache.org by Zack Shoylev <no...@github.com> on 2013/11/13 20:53:55 UTC
[jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
You can merge this Pull Request by running:
git pull https://github.com/rackerlabs/jclouds-site autoscale-docs
Or you can view, comment on it, or merge it online at:
https://github.com/jclouds/jclouds-site/pull/32
-- Commit Summary --
* JCLOUDS-215 Adds autoscale documentation.
-- File Changes --
M documentation/quickstart/rackspace.markdown (45)
-- Patch Links --
https://github.com/jclouds/jclouds-site/pull/32.patch
https://github.com/jclouds/jclouds-site/pull/32.diff
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
I think Rackspace Autoscale for now. Maybe they will rename it later.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-28510836
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> +1. You can find these APIs in the latest [Javadoc](http://demobox.github.com/jclouds-maven-site/latest/apidocs).
> +
> +### <a id="autoscale-source"></a>The Source Code
> +
> +1. Create the directory hierarchy org/jclouds/examples/rackspace/clouddatabases/ in your jclouds directory.
> +1. Create Java source files called CreateInstance.java and Constants.java in the directory above.
> +1. You should now have a directory with the following structure:
> + * `jclouds/`
> + * `pom.xml`
> + * `lib/`
> + * `*.jar`
> + * `org/jclouds/examples/rackspace/autoscale/`
> + * `CreatePolicy.java`
> + * `Constants.java`
> +1. Open CreatePolicy.java for editing.
> +1. Go to the example code [Createpolicy.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java), read it over, and copy the code into your file.
404 for https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java - expected?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654186
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
@demobox Numbering fixed here https://github.com/jclouds/jclouds-site/pull/36
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30368811
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> @@ -13,7 +13,8 @@ title: Getting Started - The Rackspace Cloud
> 1. [Your First Cloud Servers App](#servers)
> 1. [Working with Cloud Block Storage](#volumes)
> 1. [Working with Cloud Load Balancers](#loadbalancers)
> -1. [Working with Cloud Databases](#databases)
> +1. [Working with Cloud Databases](#databases)
> +1. [Working with Rackspace Autoscale](#autoscale)
[minor] Looking at the names of the others, should this be "Working with Autoscale"?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654066
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
General question throughout the new text: since it's e.g. "Cloud Load Balancers" and not "Rackspace Cloud Load Balancers", should it be "Autoscale" rather than "Rackspace Autoscale"?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-28471669
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
> Something weird going on with the numbering now:
I could not figure that out...
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30187210
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
> @@ -276,6 +277,48 @@ Note: When providing a java classpath in Windows, the path separator is ';' inst
>
> 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: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
>
> +## <a id="autoscale"></a>Working with Rackspace Autoscale
> +### <a id="autoscale-intro"></a>Introduction
> +
> +[Rackspace Autoscale](http://www.rackspace.com/cloud/autoscale/) 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 [here](http://developer.rackspace.com/blog/rackspace-autoscale-is-now-open-source.html).
> +
> +### <a id="autoscale-apis"></a>APIs
> +
> +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.
> +
> +1. 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 AutoscaleApi.
> +1. You can find these APIs in the latest [Javadoc](http://demobox.github.com/jclouds-maven-site/latest/apidocs).
This needs to be fixed for cloud databases too.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7666542
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-site-pull-requests #97](https://jclouds.ci.cloudbees.com/job/jclouds-site-pull-requests/97/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-28427861
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
> @@ -13,7 +13,8 @@ title: Getting Started - The Rackspace Cloud
> 1. [Your First Cloud Servers App](#servers)
> 1. [Working with Cloud Block Storage](#volumes)
> 1. [Working with Cloud Load Balancers](#loadbalancers)
> -1. [Working with Cloud Databases](#databases)
> +1. [Working with Cloud Databases](#databases)
> +1. [Working with Rackspace Autoscale](#autoscale)
Unsure. My logic was this: the dev team call it rackspace autoscale and not cloud autoscale. Eventually there will be a marketing page that has all the nomenclature done right - I am guessing.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7668139
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
Thanks for the updates! Something weird going on with the numbering now:
![image](https://f.cloud.github.com/assets/223702/1555039/26c02824-4e53-11e3-9772-34cee2691214.png)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-28613914
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-site-pull-requests #103](https://jclouds.ci.cloudbees.com/job/jclouds-site-pull-requests/103/) FAILURE
Looks like there's a problem with this pull request
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30187319
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
Half an hour of cleanup. I will have a look a bit later tonight.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30185978
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> @@ -276,6 +277,48 @@ Note: When providing a java classpath in Windows, the path separator is ';' inst
>
> 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: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
>
> +## <a id="autoscale"></a>Working with Rackspace Autoscale
> +### <a id="autoscale-intro"></a>Introduction
> +
> +[Rackspace Autoscale](http://www.rackspace.com/cloud/autoscale/) 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 [here](http://developer.rackspace.com/blog/rackspace-autoscale-is-now-open-source.html).
> +
> +### <a id="autoscale-apis"></a>APIs
> +
> +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.
> +
> +1. 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 AutoscaleApi.
> +1. You can find these APIs in the latest [Javadoc](http://demobox.github.com/jclouds-maven-site/latest/apidocs).
If this is in jclouds-labs-openstack, link to http://javadocs-labs-openstack.jclouds.cloudbees.net/ instead? The other link is for the jclouds "main" Javadoc, which doesn't include this, I think.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654135
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
> Also, one of the links seems broken:
Hmm, I expected this link to be up by now. I will have to double check if I had the wrong link for that.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30368945
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
> +1. Open Constants.java for editing.
> +1. Go to the example code [Constants.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/Constants.java), read it over, and copy the code into your file.
> +
> +### <a id="autoscale-compile"></a>Compile and Run
> +
> +Note: When providing a java classpath in Windows, the path separator is ';' instead of ':'
> +Note: This uses the API key, not the password.
> +
> + javac -classpath ".:lib/*" org/jclouds/examples/rackspace/autoscale/CreatePolicy.java
> +
> + java -classpath ".:lib/*" org.jclouds.examples.rackspace.autoscale.CreatePolicy myUsername myApiKey
> +
> +### <a id="autoscale-advanced"></a>Advanced work with Rackspace Autoscale
> +
> +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 here: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
> +
Of course... doh!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7706655
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> I am not sure what the process is for deploying. Is it automatic?
No, not as far as I know...see [the README](https://github.com/jclouds/jclouds-site/blob/master/README.md)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30335349
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> @@ -276,6 +277,48 @@ Note: When providing a java classpath in Windows, the path separator is ';' inst
>
> 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: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
>
> +## <a id="autoscale"></a>Working with Rackspace Autoscale
> +### <a id="autoscale-intro"></a>Introduction
> +
> +[Rackspace Autoscale](http://www.rackspace.com/cloud/autoscale/) 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 [here](http://developer.rackspace.com/blog/rackspace-autoscale-is-now-open-source.html).
> +
> +### <a id="autoscale-apis"></a>APIs
> +
> +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.
> +
> +1. 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 AutoscaleApi.
> +1. You can find these APIs in the latest [Javadoc](http://demobox.github.com/jclouds-maven-site/latest/apidocs).
> +
> +### <a id="autoscale-source"></a>The Source Code
> +
> +1. Create the directory hierarchy org/jclouds/examples/rackspace/clouddatabases/ in your jclouds directory.
clouddatabases -> autoscale
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654149
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> @@ -276,6 +277,48 @@ Note: When providing a java classpath in Windows, the path separator is ';' inst
>
> 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: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
>
> +## <a id="autoscale"></a>Working with Rackspace Autoscale
> +### <a id="autoscale-intro"></a>Introduction
> +
> +[Rackspace Autoscale](http://www.rackspace.com/cloud/autoscale/) 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 [here](http://developer.rackspace.com/blog/rackspace-autoscale-is-now-open-source.html).
> +
> +### <a id="autoscale-apis"></a>APIs
> +
> +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.
> +
> +1. 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 AutoscaleApi.
Add link to org.apache.jclouds.labs.rackspace-autoscale.AutoscaleApi?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654121
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
@zack-shoylev: this is merged but not deployed yet? Can't seem to find "autoscale" anywhere on [the rendered page](http://jclouds.apache.org/documentation/quickstart/rackspace/)?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30320094
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
Couple more points:
![image](https://f.cloud.github.com/assets/223702/1728238/66d1249c-62ab-11e3-81c7-5f98968ff697.png)
looks like the wrong package? And here:
![image](https://f.cloud.github.com/assets/223702/1728243/7a78e6ec-62ab-11e3-8143-018e3b57df09.png)
I'm guessing that should be "CreatePolicy" rather than "Createpolicy"?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30366094
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> +### <a id="autoscale-source"></a>The Source Code
> +
> +1. Create the directory hierarchy org/jclouds/examples/rackspace/clouddatabases/ in your jclouds directory.
> +1. Create Java source files called CreateInstance.java and Constants.java in the directory above.
> +1. You should now have a directory with the following structure:
> + * `jclouds/`
> + * `pom.xml`
> + * `lib/`
> + * `*.jar`
> + * `org/jclouds/examples/rackspace/autoscale/`
> + * `CreatePolicy.java`
> + * `Constants.java`
> +1. Open CreatePolicy.java for editing.
> +1. Go to the example code [Createpolicy.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java), read it over, and copy the code into your file.
> +1. Open Constants.java for editing.
> +1. Go to the example code [Constants.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/Constants.java), read it over, and copy the code into your file.
Also 404 - expected?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654197
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
I will try to deploy a bit later today then. Thanks!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30336345
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
Also, one of the links seems broken:
![image](https://f.cloud.github.com/assets/223702/1728196/a1eaae32-62aa-11e3-9c1e-e8915c1280cc.png)
results in a 404
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30365796
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
True... I am not sure what the process is for deploying. Is it automatic?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30333469
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> @@ -276,6 +277,48 @@ Note: When providing a java classpath in Windows, the path separator is ';' inst
>
> 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: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
>
> +## <a id="autoscale"></a>Working with Rackspace Autoscale
> +### <a id="autoscale-intro"></a>Introduction
> +
> +[Rackspace Autoscale](http://www.rackspace.com/cloud/autoscale/) 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 [here](http://developer.rackspace.com/blog/rackspace-autoscale-is-now-open-source.html).
> +
> +### <a id="autoscale-apis"></a>APIs
> +
> +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.
[minor] with the jclouds "rackspace-autoscale" API by specifying the Autoscale provider "rackspace-autoscale-us"
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654105
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
Closed #32.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-site-pull-requests #104](https://jclouds.ci.cloudbees.com/job/jclouds-site-pull-requests/104/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30248017
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> +1. Go to the example code [Createpolicy.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java), read it over, and copy the code into your file.
> +1. Open Constants.java for editing.
> +1. Go to the example code [Constants.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/Constants.java), read it over, and copy the code into your file.
> +
> +### <a id="autoscale-compile"></a>Compile and Run
> +
> +Note: When providing a java classpath in Windows, the path separator is ';' instead of ':'
> +Note: This uses the API key, not the password.
> +
> + javac -classpath ".:lib/*" org/jclouds/examples/rackspace/autoscale/CreatePolicy.java
> +
> + java -classpath ".:lib/*" org.jclouds.examples.rackspace.autoscale.CreatePolicy myUsername myApiKey
> +
> +### <a id="autoscale-advanced"></a>Advanced work with Rackspace Autoscale
> +
> +In addition to the create policy 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 here: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
[minor] In addition to the "create policy" example _or_ In addition to the CreatePolicy example
?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654225
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
> +1. You can find these APIs in the latest [Javadoc](http://demobox.github.com/jclouds-maven-site/latest/apidocs).
> +
> +### <a id="autoscale-source"></a>The Source Code
> +
> +1. Create the directory hierarchy org/jclouds/examples/rackspace/clouddatabases/ in your jclouds directory.
> +1. Create Java source files called CreateInstance.java and Constants.java in the directory above.
> +1. You should now have a directory with the following structure:
> + * `jclouds/`
> + * `pom.xml`
> + * `lib/`
> + * `*.jar`
> + * `org/jclouds/examples/rackspace/autoscale/`
> + * `CreatePolicy.java`
> + * `Constants.java`
> +1. Open CreatePolicy.java for editing.
> +1. Go to the example code [Createpolicy.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java), read it over, and copy the code into your file.
Yes.. examples not merged yet
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7668714
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> +1. You can find these APIs in the latest [Javadoc](http://demobox.github.com/jclouds-maven-site/latest/apidocs).
> +
> +### <a id="autoscale-source"></a>The Source Code
> +
> +1. Create the directory hierarchy org/jclouds/examples/rackspace/clouddatabases/ in your jclouds directory.
> +1. Create Java source files called CreateInstance.java and Constants.java in the directory above.
> +1. You should now have a directory with the following structure:
> + * `jclouds/`
> + * `pom.xml`
> + * `lib/`
> + * `*.jar`
> + * `org/jclouds/examples/rackspace/autoscale/`
> + * `CreatePolicy.java`
> + * `Constants.java`
> +1. Open CreatePolicy.java for editing.
> +1. Go to the example code [Createpolicy.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java), read it over, and copy the code into your file.
Should be `CreatePolicy.java` rather than `Createpolicy.java` in the link?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7706579
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-site-pull-requests #98](https://jclouds.ci.cloudbees.com/job/jclouds-site-pull-requests/98/) SUCCESS
This pull request looks good
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-28511233
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Zack Shoylev <no...@github.com>.
> +### <a id="autoscale-source"></a>The Source Code
> +
> +1. Create the directory hierarchy org/jclouds/examples/rackspace/clouddatabases/ in your jclouds directory.
> +1. Create Java source files called CreateInstance.java and Constants.java in the directory above.
> +1. You should now have a directory with the following structure:
> + * `jclouds/`
> + * `pom.xml`
> + * `lib/`
> + * `*.jar`
> + * `org/jclouds/examples/rackspace/autoscale/`
> + * `CreatePolicy.java`
> + * `Constants.java`
> +1. Open CreatePolicy.java for editing.
> +1. Go to the example code [Createpolicy.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/CreatePolicy.java), read it over, and copy the code into your file.
> +1. Open Constants.java for editing.
> +1. Go to the example code [Constants.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/Constants.java), read it over, and copy the code into your file.
Not merged yet
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7668727
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> +1. Open Constants.java for editing.
> +1. Go to the example code [Constants.java](https://github.com/jclouds/jclouds-examples/blob/master/rackspace/src/main/java/org/jclouds/examples/rackspace/autoscale/Constants.java), read it over, and copy the code into your file.
> +
> +### <a id="autoscale-compile"></a>Compile and Run
> +
> +Note: When providing a java classpath in Windows, the path separator is ';' instead of ':'
> +Note: This uses the API key, not the password.
> +
> + javac -classpath ".:lib/*" org/jclouds/examples/rackspace/autoscale/CreatePolicy.java
> +
> + java -classpath ".:lib/*" org.jclouds.examples.rackspace.autoscale.CreatePolicy myUsername myApiKey
> +
> +### <a id="autoscale-advanced"></a>Advanced work with Rackspace Autoscale
> +
> +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 here: [Examples Documentation](https://github.com/jclouds/jclouds-examples/tree/master/rackspace)
> +
Make "here" the link at the end of this sentence, or change to "you can find more information in the examples documentation", with the last two words being the link?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7706593
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> I think Rackspace Autoscale for now. Maybe they will rename it later.
OK, thanks for explaining, @zack-shoylev!
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-28513866
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
Thanks, @zack-shoylev! Numbering's gone a bit weird again..?
![image](https://f.cloud.github.com/assets/223702/1728185/60e326ee-62aa-11e3-8203-7e8147de8bfa.png)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30365345
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Andrew Phillips <no...@github.com>.
> +## <a id="autoscale"></a>Working with Rackspace Autoscale
> +### <a id="autoscale-intro"></a>Introduction
> +
> +[Rackspace Autoscale](http://www.rackspace.com/cloud/autoscale/) 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 [here](http://developer.rackspace.com/blog/rackspace-autoscale-is-now-open-source.html).
> +
> +### <a id="autoscale-apis"></a>APIs
> +
> +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.
> +
> +1. 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 AutoscaleApi.
> +1. You can find these APIs in the latest [Javadoc](http://demobox.github.com/jclouds-maven-site/latest/apidocs).
> +
> +### <a id="autoscale-source"></a>The Source Code
> +
> +1. Create the directory hierarchy org/jclouds/examples/rackspace/clouddatabases/ in your jclouds directory.
> +1. Create Java source files called CreateInstance.java and Constants.java in the directory above.
CreateInstance -> CreatePolicy
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32/files#r7654157
Re: [jclouds-site] JCLOUDS-215 Adds autoscale documentation. (#32)
Posted by Ignasi Barrera <no...@github.com>.
@zack-shoylev @demobox what is still pending to have this merged?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-site/pull/32#issuecomment-30184636