Commit Graph

541 Commits

Author SHA1 Message Date
Adrian Cole 8569771712 fixed aws-ec2 template tests 2011-11-13 13:28:28 +02:00
Adrian Cole ae92c8005b authorization test failing on guice errors on apis module 2011-11-13 12:57:10 +02:00
Adrian Cole c08a7884bd Issue 750:property to set the image id for the default template 2011-11-11 19:48:28 +02:00
Adrian Cole 1cf2be9b09 Merge pull request #127 from jsonking/master
Issue 695: Updated test url and refactored credentials code into singe location.
2011-11-10 00:52:53 -08:00
Adrian Cole 281c92a581 roughed in cloudstack compute service adapter 2011-11-10 02:11:10 +01:00
Jason King 98e7c6047c Refactored frequently repeated service config (provider,credential etc) into new class BaseVersionedServiceLiveTest and used it in BaseCompute, BaseTerremarkClient and BaseVCloudClient live tests 2011-11-09 15:27:46 +00:00
Adrian Cole 0f8a2eec17 Issue 740:update tests to use JDK7 2011-11-01 04:23:59 +00:00
Adrian Cole 29ee165de2 Issue 741:UserAdd doesn't copy skeleton directory 2011-11-01 04:23:47 +00:00
Andrew Phillips 39dbc592b5 Using OS-dependent file separators in asserts (instead of assuming UNIX '/') 2011-10-29 11:53:28 -04:00
Adrian Cole 7d35ec47ee ensuring we parse os versions, by adding tests 2011-10-22 17:49:58 +02:00
Adrian Cole a1568c4779 fixed package declaration in callable tests 2011-10-17 20:04:15 -07:00
Adrian Cole a197facf1e Issue 728:Permission denied executing scripts 2011-10-17 20:03:48 -07:00
Adrian Cole 5ce3288c2f fixed package declaration in callable tests 2011-10-17 20:02:44 -07:00
Adrian Cole a56a0fb334 Issue 728:Permission denied executing scripts 2011-10-17 20:00:48 -07:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Adrian Cole 5a898d7f97 missing commit for precise 2011-10-16 03:27:35 -07:00
Adrian Cole 0c14365399 Harder tests relating to installing admin user 2011-10-16 03:08:36 -07:00
Adrian Cole 7491f764f3 Issue 197: smarter forget.sh 2011-10-16 03:07:58 -07:00
Adrian Cole f9e34a7caf precise 2011-10-16 03:06:35 -07:00
Adrian Cole 1668a708f4 hardening script running 2011-10-16 03:05:53 -07:00
Adrian Cole 2d704bde59 Issue 724:add ubuntu precise to the supported versions 2011-10-16 02:50:45 -07:00
Adrian Cole b85b861d8b reduced verbosity of status commands 2011-10-15 00:25:37 -07:00
Adrian Cole 9e0aaa949b Issue 723:Allow for asynchronous script execution and client script execution handling 2011-10-14 22:34:57 -07:00
Allen Rohner fe50ae36bc Issue 716: fix :map-ebs-snapshot-to-device-name 2011-10-12 11:30:18 -05:00
Adrian Cole cd710a2a94 Issue 715:Unable to resolve symbol: -?> in this context 2011-10-11 09:23:07 -07:00
Adrian Cole 842da34982 Issue 713:support userMetadata in createNodesInGroup in byon, cloudservers, and aws-ec2 2011-10-07 00:34:44 -07:00
Alasdair Hodge fb0c571a50 #631 Avoid confusion over time units, in particular don't mistake millisecond values (in injected Timeouts) for seconds. Bonus unit test included. 2011-10-05 16:51:17 +01:00
Adrian Cole a0f0b7d4f3 Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  issue 704, clojure 1.3 compatibility:  removed uses of clojure-contrib, bringing in preferred modular dependencies where needed (tools.logging and core.incubator), adding the map-str function (that is all that was missing from clojure-contrib string), changing uses of "condition" to be java.lang.Exception, and changing the reference to private type byte-array-type to be the class directly in its own extend-protocol block since private type isn't liked under clojure 1.3; also removed clojure 1.1 build profile
2011-10-04 00:56:22 -07:00
Adrian Cole d44ef35ecf added details when assertions fail 2011-10-04 00:54:40 -07:00
Adrian Cole 04a5aa8f71 Merge pull request #91 from ahgittin/704-clojure13
Issue 704: clojure13
2011-10-04 00:49:43 -07:00
Adrian Cole b2e1da711a Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  Issue 158: Removed location override
  Mark a live test as not enabled (needs investigation), change comment line
  Issue 158: Fixing unit/live tests
  Better error message - print node details
  Issue 158: Updated comment
  Issue 158: Get prices via orderTemplateCall. Use this to build hardware/image/os
2011-10-03 15:38:47 -07:00
Jason King 5b6b4da3f9 Better error message - print node details 2011-10-03 22:03:50 +01:00
Adrian Cole 9f24f68fd2 added comment to base test 2011-10-03 13:31:42 -07:00
Alex Heneveld 9d30fde375 issue 704, clojure 1.3 compatibility: removed uses of clojure-contrib, bringing in preferred modular dependencies where needed (tools.logging and core.incubator), adding the map-str function (that is all that was missing from clojure-contrib string), changing uses of "condition" to be java.lang.Exception, and changing the reference to private type byte-array-type to be the class directly in its own extend-protocol block since private type isn't liked under clojure 1.3; also removed clojure 1.1 build profile 2011-10-03 11:17:16 +01:00
Adrian Cole b599b30f99 Issue 158: Added retryable predicate to check that login information is available. 2011-09-30 22:35:54 -07:00
Mattias Holmqvist e2997539e5 Fixed @Nullable annotation to from javax.annotation to org.jclouds.annotation 2011-09-30 20:57:46 +01:00
Adam Lowe 001c58cba7 Issue 694: Correcting unit test to run it single-threaded 2011-09-30 20:57:46 +01:00
Adrian Cole f26413d8d7 formatting 2011-09-30 20:57:46 +01:00
Adrian Cole bd8d02d1d5 fixed unit test to be single-threaded as mocks aren't threadsafe 2011-09-30 20:57:45 +01:00
Adam Lowe 08fd5cd1eb Issue 694: Adjusting RunScriptOnNodeUsingSsh to use '\n's and adding RunScriptOnNodeUsingSshTest 2011-09-30 20:57:45 +01:00
Aled Sage 6fdc30e2e1 issue 702: NodeRunning predicate throws IllegalStateException when state is terminated 2011-09-30 20:57:45 +01:00
Adam Lowe 466072c811 Issue 694: Using "here-document" redirection to wrap commands being passed into sudo 2011-09-30 20:57:44 +01:00
Adam Lowe 029bbd1ad3 Issue 694: Correcting imports 2011-09-30 20:45:59 +01:00
Adam Lowe 2a2af9b322 Merge branch 'master' of git://github.com/jclouds/jclouds 2011-09-30 19:08:44 +01:00
Adam Lowe c1b6e18fd3 Issue 694: Correcting unit test to run it single-threaded 2011-09-30 19:08:06 +01:00
Adrian Cole 90037fb656 formatting 2011-09-30 10:49:58 -07:00
Adrian Cole 557445db57 fixed unit test to be single-threaded as mocks aren't threadsafe 2011-09-30 10:49:25 -07:00
Adam Lowe e6ecb286f7 Issue 694: Adjusting RunScriptOnNodeUsingSsh to use '\n's and adding RunScriptOnNodeUsingSshTest 2011-09-30 18:28:30 +01:00
Aled Sage 3cd242502d issue 702: NodeRunning predicate throws IllegalStateException when state is terminated 2011-09-30 17:57:42 +01:00
Adam Lowe 0a289e9dd4 Issue 694: Using "here-document" redirection to wrap commands being passed into sudo 2011-09-27 22:02:33 +01:00
Adrian Cole 5b12880405 updated tests to use jboss 7.0.2 2011-09-25 15:22:28 -07:00
Adrian Cole 4cd94489c9 Issue 690:Update to guava 10.0rc2 and change from MapMaker to CacheBuilder 2011-09-22 00:23:29 -07:00
Guillaume Nodet 87dd23551c Avoid using a non official jsr and use our own annotations 2011-09-16 17:52:12 +02:00
Adrian Cole d86fa45fb6 fixed stub to work with override credential template options 2011-09-06 18:49:35 +02:00
Hugo Duncan 9a17a48b7b Add override-login-user-with and override-login-credential-with to clojure apis
The tests for these currently fail.
2011-09-02 17:04:09 -04:00
Hugo Duncan d97a5a9f0c Add override-credentials-with template optio to clojure api 2011-09-02 07:10:16 -04:00
Adrian Cole 960bfe709f Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file 2011-08-16 18:14:30 -07:00
Adrian Cole 69e7b101bb cleared up javadoc on blockUntilRunning and blockOnComplete 2011-08-11 15:55:44 +01:00
Adrian Cole 0a8f38b90e bumped snapshot version to 1.2.0-SNAPSHOT 2011-08-05 04:09:23 +01:00
Adrian Cole 2b28c04c0f Issue 539:expose templatebuilder parameter to prefer s3-backed images 2011-08-04 11:25:49 +02:00
Adrian Cole e2397d6302 stabilize vcloud-based providers for 1.1.0 release 2011-08-03 10:13:54 -07:00
Adrian Cole c322281bfc updated integration tests to use jdk7 (if present) and final version of jbossas7 2011-07-28 12:01:39 -07:00
Adrian Cole 46c147d43b toned down logging and corrected logback version 2011-07-26 22:16:52 -07:00
Adrian Cole edc1b10610 Issue 637: moved to sshj and tested on aws-ec2 gogrid cloudservers elastichosts-lon-p trmk-* 2011-07-25 03:59:01 -07:00
Adrian Cole 732491fe17 Issue 636: hone ssh code config + tests to make it easier to isolate cause of stderr hang 2011-07-25 03:10:55 -07:00
Adrian Cole f42b550015 Issue 487: terremark hostnames are predictable 2011-07-24 00:06:38 +10:00
Adrian Cole 0a73d5a22a updated to allow services a bit longer to start jboss 2011-07-23 17:51:43 +10:00
Adrian Cole 6928082674 Issue 487:Add hostname property to nodemetadata 2011-07-22 21:21:33 +10:00
Adrian Cole acd4b4a628 clean up style warnings 2011-07-22 12:48:59 +10:00
Adrian Cole ee797da004 Issue 632:enhance and automatically work around nodes with sftp problems 2011-07-22 10:43:19 +10:00
Adrian Cole f3a0e6d0bd Issue 632:enhance and automatically work around nodes with sftp problems 2011-07-22 10:41:43 +10:00
Adrian Cole f81bb95ab0 Issue 542: updated terremark eCloud implementation to 2.8 version of Org and added Tag and DataCenter queries 2011-07-17 18:44:44 +10:00
Adrian Cole 5f54110a47 Issue 623:clean up exception messages when templateBuilder fails to match an image 2011-07-12 00:16:02 -07:00
Adrian Cole b4e3bec644 changed builders to accept iterable as it is easier in guava than sets 2011-07-08 02:13:12 -07:00
Adrian Cole c58dba41e9 Issue 621:don't start test instances with http-accessible services running as root 2011-07-07 01:23:01 -07:00
Adrian Cole 32e4065bb7 fix runScriptOnNode which wasn't processing options 2011-07-07 01:14:27 -07:00
Adrian Cole bc103209db bug where an init script ran without root privs finds the wrong path 2011-07-07 01:13:20 -07:00
Adrian Cole c4c40eaff5 Issue 619:support parsing ubuntu oneiric 2011-07-05 22:52:45 -07:00
Adrian Cole f42d2bdb31 added test to ensure we can create a node in the same location as an existing node 2011-07-05 13:58:42 -07:00
Adrian Cole 88c1f50a33 Issue 616: moved tests to use OpenJDK and better java args 2011-07-04 00:26:33 -07:00
Adrian Cole ceaffbf103 Issue 616:move integration tests to jboss as7 2011-07-01 18:01:40 -07:00
Adrian Cole b56f08b9a5 Issue 614:Add Visitor pattern support for scriptbuilder Statements 2011-07-01 17:40:20 -07:00
Adrian Cole 5f00612929 Issue 615:enhance curl arg defaults 2011-07-01 17:37:33 -07:00
Andrew Phillips 7d2fb23119 Master version is now 1.1.0-SNAPSHOT (= next feature version) now that 1.0.0 is out 2011-06-05 11:17:43 +04:00
Dmitri Babaev e1f0cdcfa5 Merge commit '6d187ed9baaad1e00dbe65b36ea2989c951a5a28', ssh client patch is reverted due to massive changes in code
Conflicts:
	drivers/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java
2011-06-03 03:50:47 +04:00
Adrian Cole ac56adc2e1 Issue 592:templateBuilder.fromTemplate loses location when more narrow than region 2011-06-02 13:47:57 -07:00
Adrian Cole 11884540a6 test size comparison when testing templates 2011-06-02 13:00:18 -07:00
Mattias Holmqvist 4b761c790a Renamed Predicate protocol to Coercions 2011-06-02 12:08:00 +02:00
Adrian Cole 5655e197b2 Issue 589:deprecate bluelock-vcdirector for bluelock-vcloud-vcenterprise; add bluelock-vcloud-zone01 2011-06-01 22:56:21 -07:00
Adrian Cole 86129df416 stabilized bluelock 2011-06-01 20:30:30 -07:00
Adrian Cole 69a1b7a6aa added usage statement to select all nodes 2011-06-01 12:06:02 -07:00
Adrian Cole e1b8110b12 Issue 587:workaround clouds who do not have sftp enabled 2011-06-01 12:03:19 -07:00
Dmitri Babaev 0fedf6e467 Merge commit '7d0248c5dd972287e51ad1971d61a6ddc8bdcdf5' 2011-06-01 20:37:49 +04:00
Adrian Cole 3526cdc4c5 Issue 568:support ubuntu 11.04 2011-05-31 11:12:39 -07:00
Adrian Cole fca0e3d093 Issue 564:parse debian images 2011-05-30 17:08:10 -07:00
Adrian Cole b14626b4cf trmk stabilization 2011-05-29 20:46:42 -07:00
Adrian Cole e9cf646a75 Issue 580:split vcloud into feature-based apis 2011-05-29 15:41:26 -07:00
Mattias Holmqvist 94c8f3707f Moved in-group? to compute2.clj from test 2011-05-26 23:05:01 +02:00
Adrian Cole 9f1f61d3b4 fixed builders on vcloud classes 2011-05-25 00:31:02 -06:00
Adrian Cole f27b959bd5 Issue 42: applied pom fixes from Ioannis 2011-05-22 17:40:55 -07:00
Gustavo Morozowski 5f77164a55 prevent jclouds-compute bundle to import itself 2011-05-17 19:37:49 -03:00
Adrian Cole c621d53799 Issue 565: run script on a distinct node 2011-05-16 16:56:14 -07:00
Gustavo Morozowski 557c0d75fe moved maven-bundle-plugin instructions to top project pom 2011-05-16 09:14:12 -03:00
Adrian Cole 08ee5d5c8d added tags to nodemetadata, revised byon to be persistable to blobstore 2011-05-16 00:46:02 -07:00
Adrian Cole ddc514d602 Issue 42: added osgi fragment plugin to poms 2011-05-15 12:08:53 -07:00
Adrian Cole 5b8ee87a4d major overhaul to ibm smartcloud 2011-05-14 00:44:54 -07:00
Mattias Holmqvist 91cb237c8a Renamed predicate in-group to in-group? 2011-05-13 00:10:34 +02:00
Mattias Holmqvist 484f2dd7e2 Merged from upstream 2011-05-13 00:07:33 +02:00
Mattias Holmqvist e71c88a1a4 First version of run-script-on-nodes-matching. Added some missing code to ssh_test to stub out ssh in test. 2011-05-12 23:10:45 +02:00
Mattias Holmqvist 73deebebbf Removing one more unecessary check in nodes-test 2011-05-12 02:06:46 +02:00
Mattias Holmqvist 19672715e0 Added example test for compound predicates with and macro 2011-05-12 01:41:48 +02:00
Mattias Holmqvist cd87342800 Removed unecessary check for empty? in nodes-test 2011-05-12 01:40:43 +02:00
Mattias Holmqvist f8b4f3e23e Fixed one more issue with clean-stub-fixture 2011-05-11 01:47:19 +02:00
Mattias Holmqvist 6c4294ed1c Changed the order of args for some fns in compute2.clj. ComputeService should be the first arg 2011-05-11 00:55:21 +02:00
Mattias Holmqvist cb5f8ab0e0 Inlined the in-group predicate in test 2011-05-11 00:48:28 +02:00
Mattias Holmqvist 14f372be3b Fixing clean-stub-fixture to call destroy-node correctly 2011-05-11 00:42:32 +02:00
Adrian Cole 9e4cb6a758 made options for selecting nodes explicit in clj test 2011-05-06 15:49:18 -07:00
Adrian Cole 3a0f6a62d8 Merge pull request #25 from mattiasholmqvist/master
First version of compute2 Clojure API.
2011-05-06 00:39:46 -07:00
Adrian Cole a925d704f4 Issue 543, 473: new AdminAccess statement, which locks down compute nodes and creates a default admin account 2011-05-06 00:35:50 -07:00
Mattias Holmqvist 4191df74a8 Removed nil extension from Predicate protocol and added com.google.common.base.Predicate extension. 2011-05-03 00:09:12 +02:00
Mattias Holmqvist 6708106626 Support for regular Clojure fns as predicates to ..-matching fns in compute2.clj 2011-05-02 21:44:54 +02:00
Mattias Holmqvist a542e85dad Changed deprecated call to .getTag to .getGroup 2011-05-02 00:17:41 +02:00
Mattias Holmqvist b129d17de3 Putting the ComputeService argument as the first argument, where it should be 2011-05-01 23:32:41 +02:00
Mattias Holmqvist fbe02ae4d8 More doc for compute2.clj. Added example to ns-doc. 2011-04-29 11:12:41 +02:00
Mattias Holmqvist a70c672d6a Cleaned up fn docs for create-node and create-nodes. Removing references to implicit compute service since it's been removed. 2011-04-29 10:59:05 +02:00
Mattias Holmqvist 4deb91b877 Fixed bug in create-node for single-argument call 2011-04-29 10:34:34 +02:00
Mattias Holmqvist c499990366 First version of compute2 Clojure API with tests. 2011-04-29 08:24:52 +02:00
Adrian Cole b6bbb9c1c6 fixed typo 2011-04-28 17:24:36 -07:00
Adrian Cole c638f9f317 moved nova out of sandbox so that others can test 2011-04-27 08:24:03 -07:00
Adrian Cole 83bed07d79 Issue 534:IndexOutOfBoundsException on problem applying options to node 2011-04-19 09:04:28 -07:00
Adrian Cole 7127e5f322 fixed node predicate 2011-04-14 17:21:43 +01:00
Adrian Cole 9e94fc6fc9 updated license headers 2011-04-09 03:20:17 -07:00
Adrian Cole 95310ba680 Issue 527:update to official build of jetty 2011-04-09 03:18:42 -07:00
Adrian Cole a3fc778035 Issue 512: locked virtualization type down 2011-04-07 16:25:17 -07:00
Adrian Cole d169658c65 Issue 427:support deltacloud endpoints 2011-04-04 03:09:36 -07:00
Adrian Cole 72e93e96d4 moved interim version of savvis out of sandbox 2011-03-27 17:34:08 -07:00
Adrian Cole 26a3a2f9de labeled unparsed ovf sections 2011-03-22 02:41:08 -07:00
Adrian Cole da29745ac2 fixed OVF where we didn't match relationships in spec 2011-03-22 02:07:46 -07:00
Adrian Cole 5ae1ba44d2 added default operating system types to savvis 2011-03-21 18:23:36 -07:00
Adrian Cole fff61b8b4d Issue 508: promoted OVF and CIM to jclouds-compute so that they can be reused across vcloud, trmk, and savvis 2011-03-20 22:15:08 -07:00
Adrian Cole f952b4df8c added log config for compute 2011-03-20 09:44:22 -07:00
Adrian Cole f5fa2d983b added toString to common functions so that they are easier to see when debugging 2011-03-14 01:39:59 -07:00
Hugo Duncan d9cb934feb Add clojure interface for spot instances
Add clojure template-builder keywords for spot instances introduced
for issue #308.  Add a builder for spot-options.
2011-03-12 16:30:36 -05:00
Adrian Cole b0c4b9be9a Issue 308: added compute service hooks for spot instances 2011-03-08 13:48:04 -08:00
Adrian Cole af0cff189c Issue 501: raise illegalstateexception when node dies before customization occurs 2011-03-08 09:15:55 -08:00
Adrian Cole 8ed7dcde82 Issue 501: break retry loop on timeout or illegal state 2011-03-08 08:47:55 -08:00
Adrian Cole 79a5edd1e2 Merge branch 'master' of git@github.com:jclouds/jclouds
* 'master' of git@github.com:jclouds/jclouds:
  changed single instance spot syntax to only return a single value
  fix for duplicate key exception
  Issue 308 finished provider api and testing of ec2 spot instances
  started code for ec2 spot instances
2011-03-08 07:44:29 -08:00
Adrian Cole 03e4c27457 fixed error message on node timeout 2011-03-08 07:44:21 -08:00
Adrian Cole 46a214b54b Issue 308 finished provider api and testing of ec2 spot instances 2011-03-08 00:03:40 -08:00
Adrian Cole ebd4d1e432 Issue 499:add and use import key support to aws-ec2 2011-03-06 15:35:06 -05:00