Skip to content
Browse files

updated to 1.5.0-alpha.6

  • Loading branch information...
1 parent 76830ee commit 0a6e088b93f403b1a873e835345db7552f604ec7 Adrian Cole committed May 2, 2012
View
2 blobstore-clojure/project.clj
@@ -4,4 +4,4 @@
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/tools.logging "0.2.3"]
[org.clojure/core.incubator "0.1.0"]
- [org.jclouds/jclouds-allblobstore "1.5.0-alpha.5"]])
+ [org.jclouds/jclouds-allblobstore "1.5.0-alpha.6"]])
View
4 blobstore-karaf-shell/pom.xml
@@ -106,12 +106,12 @@
<dependency>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-blobstore</artifactId>
- <version>1.0.0</version>
+ <version>1.5.0-alpha.1</version>
</dependency>
<dependency>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-allblobstore</artifactId>
- <version>1.0.0</version>
+ <version>1.5.0-alpha.1</version>
</dependency>
</dependencies>
View
16 compute-basics/pom.xml
@@ -32,22 +32,22 @@
<dependency>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-compute</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-allcompute</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>org.jclouds.labs</groupId>
<artifactId>glesys</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>org.jclouds.labs</groupId>
<artifactId>virtualbox</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<!-- note that if you want a smaller distribution
remove the above dependency and place something
@@ -56,7 +56,7 @@
<dependency>
<groupId>org.jclouds.provider</groupId>
<artifactId>gogrid</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
-->
<dependency>
@@ -68,7 +68,7 @@
<dependency>
<groupId>org.jclouds.driver</groupId>
<artifactId>jclouds-bouncycastle</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
<exclusions>
<!-- bouncy castle is a provider, so
it must be signed and used as-is.
@@ -84,12 +84,12 @@
<dependency>
<groupId>org.jclouds.driver</groupId>
<artifactId>jclouds-sshj</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>org.jclouds.driver</groupId>
<artifactId>jclouds-enterprise</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
View
7 compute-clojure/project.clj
@@ -3,6 +3,7 @@
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/tools.logging "0.2.3"]
[org.clojure/core.incubator "0.1.0"]
- [org.jclouds/jclouds-allcompute "1.4.0-rc.2"]
- [org.jclouds/driver/jclouds-sshj "1.4.0-rc.2"]
- [org.jclouds/driver/jclouds-slf4j "1.4.0-rc.2"]])
+ [org.jclouds/jclouds-allcompute "1.5.0-alpha.5"]
+ [org.jclouds/driver/jclouds-sshj "1.5.0-alpha.5"]
+ [org.jclouds/driver/jclouds-slf4j "1.5.0-alpha.5"]
+ [ch.qos.logback/logback-classic "1.0.0"]])
View
18 compute-clojure/resources/logback.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<configuration>
+ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
+ <encoder>
+ <pattern>- %msg%n</pattern>
+ </encoder>
+ </appender>
+ <root level="info">
+ <appender-ref ref="STDOUT"/>
+ </root>
+ <logger name="jclouds.compute" level="debug"/>
+ <logger name="net.schmizz" level="warn"/>
+<!--
+ <logger name="jclouds.wire" level="debug"/>
+ <logger name="jclouds.headers" level="debug"/>
+ <logger name="jclouds.ssh" level="debug"/>
+-->
+</configuration>
View
12 compute-clojure/src/compute_clojure/compute_examples.clj
@@ -3,7 +3,7 @@
[org.jclouds.compute2]
[clojure.java.io])
(:import
- [org.jclouds.domain Credentials]
+ [org.jclouds.domain LoginCredentials]
[org.jclouds.scriptbuilder InitBuilder]
[org.jclouds.compute.options TemplateOptions$Builder]
[org.jclouds.scriptbuilder.domain Statement Statements]
@@ -14,12 +14,12 @@
(map #(println (format "<< node %s private ips:%s public-ips:%s%n" (.getId %) (private-ips %) (public-ips %))) nodes)))
(defn get-credentials []
- (Credentials.
- (System/getProperty "user.name")
- (slurp (str (System/getProperty "user.home") "/.ssh/id_rsa") :encoding "utf-8")))
+ (-> (LoginCredentials/builder)
+ (.user (System/getProperty "user.name"))
+ (.privateKey (slurp (str (System/getProperty "user.home") "/.ssh/id_rsa") :encoding "utf-8"))))
(defn options [login]
- (-> (TemplateOptions$Builder/overrideCredentialsWith login)
+ (-> (TemplateOptions$Builder/overrideLoginCredentials login)
(.runAsRoot false)
(.wrapInInitScript false)))
@@ -39,7 +39,7 @@
(defn exec [compute command group login]
"Execute command for the given group, using login"
(do
- (println (format ">> running [%s] on group %s as %s%n" command group (.identity login)))
+ (println (format ">> running [%s] on group %s as %s%n" command group (.getUser login)))
(let [responses (run-script-on-nodes-matching compute (in-group? group) (Statements/exec command) (options login))]
(map print-exec-response responses)
responses)))
View
16 minecraft-compute/pom.xml
@@ -33,17 +33,17 @@
<dependency>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-compute</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>org.jclouds</groupId>
<artifactId>jclouds-allcompute</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>org.jclouds.labs</groupId>
<artifactId>glesys</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<!-- note that if you want a smaller distribution
remove the above dependency and place something
@@ -52,7 +52,7 @@
<dependency>
<groupId>org.jclouds.provider</groupId>
<artifactId>gogrid</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
-->
<dependency>
@@ -64,7 +64,7 @@
<dependency>
<groupId>org.jclouds.driver</groupId>
<artifactId>jclouds-bouncycastle</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
<exclusions>
<!-- bouncy castle is a provider, so
it must be signed and used as-is.
@@ -80,17 +80,17 @@
<dependency>
<groupId>org.jclouds.driver</groupId>
<artifactId>jclouds-sshj</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>org.jclouds.driver</groupId>
<artifactId>jclouds-enterprise</artifactId>
- <version>1.5.0-alpha.5</version>
+ <version>1.5.0-alpha.6</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
- <version>0.9.29</version>
+ <version>1.0.0</version>
</dependency>
</dependencies>
<build>
View
7 play-compute/project/Build.scala
@@ -8,13 +8,12 @@ object ApplicationBuild extends Build {
val appVersion = "1.0-SNAPSHOT"
val appDependencies = Seq(
- "com.google.guava" % "guava" % "12.0-rc2",
- "org.jclouds" % "jclouds-compute" % "1.5.0-alpha.5",
- "org.reflections" % "reflections" % "0.9.7-SNAPSHOT"
+ "com.google.guava" % "guava" % "12.0",
+ "org.jclouds" % "jclouds-compute" % "1.5.0-alpha.6",
+ "org.reflections" % "reflections" % "0.9.7.RC1"
)
val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(
- resolvers += "Cloudsoft Artifactory Repository" at "http://ccweb.cloudsoftcorp.com/maven/cloudsoft-snapshot",
resolvers += "Maven central" at "http://repo1.maven.org/maven2/",
resolvers += "Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
)

0 comments on commit 0a6e088

Please sign in to comment.
Something went wrong with that request. Please try again.