This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{:type {:annotations #{{:instance #object[com.sun.proxy.$Proxy1 | |
0x5d7c3c23 | |
"@javax.jws.WebService(name=Service, wsdlLocation=, portName=, endpointInterface=, serviceName=, targetNamespace=http://example.com)"], | |
:type javax.jws.WebService, | |
:elements #{{:name targetNamespace, | |
:value "http://example.com"} | |
{:name name, :value "Service"} | |
{:name serviceName, :value ""} | |
{:name endpointInterface, :value ""} | |
{:name portName, :value ""} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Code/premier/forecasting (master) → ./gradlew | |
:cleanInfra UP-TO-DATE | |
:clean | |
:compileJava | |
:processResources | |
:classes | |
:compileTestJava | |
:processTestResources | |
:testClasses | |
:test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://docs.google.com/a/thoughtworks.com/spreadsheet/ccc?key=0AixaM89NsaQUdGZlVnl4VnI2aEdtaUo3QWJmZ0hGZGc&usp=sharing#gid=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Map<String, Integer> orderedMap = mapBuilderWithKeyValuePair("first", 1) | |
.withKeyValuePair("second", 2) | |
.withKeyValuePair("third", 3) | |
.build(LinkedHashMap.class); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ARealService[ARealServiceConfiguration] extends Service[T] { | |
def initialize(bootstrap: Bootstrap[ARealServiceConfiguration]) { | |
// Initialize bundles here | |
} | |
def run(configuration: ARealServiceConfiguration, environment: Environment) { | |
// Here's where DBI gets constructed | |
// Wire up resources and configure object mapper here | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns rosettajvm.deployment.provision | |
(:require [pallet.api :as api] | |
[pallet.configure :as configure]) | |
(:use [pallet.crate.automated-admin-user :only [with-automated-admin-user]] | |
[rosettajvm.deployment.crate.openjdk-7-jre :only [with-openjdk-7-jre]] | |
[rosettajvm.deployment.crate.rosetta-jvm :only [with-rosetta-jvm]]) | |
(:gen-class :name "rosettajvm.deployment.Provisioner")) | |
(def ubuntu-node | |
(api/node-spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/tclemson/Code/rosetta-jvm/deployer/build/classes/main | |
/Users/tclemson/Code/rosetta-jvm/deployer/build/resources/main | |
/Users/tclemson/.gradle/caches/artifacts-23/filestore/org.clojure/clojure/1.4.0/jar/867288bc07a6514e2e0b471c5be0bccd6c3a51f9/clojure-1.4.0.jar | |
/Users/tclemson/.gradle/caches/artifacts-23/filestore/org.clojure/tools.cli/0.2.2/jar/6c07e48ff3bcbf4ab2230b3f20548e113610e5f3/tools.cli-0.2.2.jar | |
/Users/tclemson/.gradle/caches/artifacts-23/filestore/org.clojure/tools.logging/0.2.6/jar/14cffbc90633f458c35aa216e6300f062da4a56a/tools.logging-0.2.6.jar | |
/Users/tclemson/.gradle/caches/artifacts-23/filestore/clj-time/clj-time/0.4.4/jar/4d4c24dd48f9d4459314d59936a933e767f9b666/clj-time-0.4.4.jar | |
/Users/tclemson/.gradle/caches/artifacts-23/filestore/compojure/compojure/1.1.5/jar/fb17e5a41caa5e38fcb173f47e8ba21e9f6a2a33/compojure-1.1.5.jar | |
/Users/tclemson/.gradle/caches/artifacts-23/filestore/ring/ring-jetty-adapter/1.1.7/jar/80caf4fee53dbf0008ffbf27d27ac5cee054cd36/ring-jetty-adapter-1.1.7.jar | |
/Users/tcl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-02-24 15:43:48.836 [operate-19] DEBUG pallet.core.primitives - execute-phase-with-image-user on 0 target(s) | |
2013-02-24 15:43:48.838 [operate-19] DEBUG pallet.algo.fsm.event-machine - fsm :dofsm-execute-phase-with-image-user - is using locking | |
2013-02-24 15:43:48.839 [operate-21] DEBUG pallet.algo.fsm.event-machine - Locking transition | |
2013-02-24 15:43:48.839 [operate-21] DEBUG pallet.algo.fsm.event-machine - :dofsm-execute-phase-with-image-user - in state :init fire :start | |
2013-02-24 15:43:48.839 [operate-21] DEBUG pallet.algo.fsmop - seq-init on :start event | |
2013-02-24 15:43:48.840 [operate-21] DEBUG pallet.core.primitives - build-and-execute-phase :bootstrap on 0 target(s) | |
2013-02-24 15:43:48.842 [operate-21] DEBUG pallet.algo.fsm.event-machine - fsm :dofsm-execute-action-plans - is using locking | |
2013-02-24 15:43:48.842 [operate-19] DEBUG pallet.algo.fsm.event-machine - Locking transition | |
2013-02-24 15:43:48.842 [operate-19] DEBUG pallet.algo.fsm.event-machine - :dofsm-execute-action-plans - in state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:27:59.318 [main] DEBUG org.eclipse.jetty.util.log - Logging to Logger[org.eclipse.jetty.util.log] via org.eclipse.jetty.util.log.Slf4jLog | |
:deployer:compileJava UP-TO-DATE | |
:deployer:processResources | |
:deployer:classes | |
:deployer:provision | |
2013-02-24 15:28:18.207 [main] DEBUG pallet.configure - compute-service-properties service: :aws available: (:s3 :aws) | |
2013-02-24 15:28:19.786 [main] DEBUG pallet.compute.vmfest.properties - The vbox.home system property guessed as /Applications/VirtualBox.app/Contents/MacOS | |
2013-02-24 15:28:24.287 [main] DEBUG pallet.compute.jclouds - Found jclouds sshj driver | |
2013-02-24 15:28:24.292 [main] DEBUG pallet.compute.jclouds - extensions (:log4j :slf4j :sshj) | |
2013-02-24 15:28:24.757 [main] WARN org.jclouds.core - Could not find org.jclouds.logging.log4j.config.Log4JLoggingModule module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns rosettajvm.deployment.crate.rosetta-jvm | |
(:require [pallet.configure :as configure]) | |
(:use [pallet.api :only [plan-fn server-spec]] | |
[pallet.crate :only [defplan]] | |
[pallet.actions :only [remote-file]])) | |
(defplan fetch-service-artifact | |
"Fetch the RosettaJVM service artifact for the provided commit SHA" | |
[commit-sha] | |
(clojure.tools.logging/debugf "Fetching RosettaJVM service artifact with SHA %s" commit-sha) |
NewerOlder