Commit Graph

435 Commits

Author SHA1 Message Date
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
Adrian Cole d7814821a3 Issue 500: added options overrideLoginUserWith and overrideLoginCredentialWith 2011-03-06 15:33:22 -05:00
Adrian Cole 2c5e97627d removed deprecated usage 2011-03-05 21:08:55 -05:00
Adrian Cole d494c8a9f3 Issue 494:vCloud director 1.0.1 fixes guest customization bug 2011-03-05 17:06:05 -05:00
Adrian Cole 59c0dbb6cd Issue 497:revise template options on a per-provider basis 2011-03-05 17:03:54 -05:00
Adrian Cole 7eef59db02 allowed overriding of rest.properties during testing 2011-03-05 16:50:48 -05:00
Adrian Cole ad0acb56fa fixed auth error when using an ssl site via ip and not hostname 2011-03-05 16:35:37 -05:00
Adrian Cole b40c8ccb1b expose statement being executed in runscript 2011-03-01 16:46:30 -05:00
Adrian Cole d09ede92b1 Issue 479:update to log4j 1.2.16 2011-02-15 23:03:02 +01:00
Adrian Cole f38c8d5e56 Issue 475: removed builtin providers for ec2, s3, cloudservers, cloudfiles, and vcloudexpress 2011-02-15 17:51:40 +01:00
Adrian Cole 70f765be59 Issue 457: redirected old clj syntax to new 2011-01-31 19:44:14 -08:00
Adrian Cole 4a52218565 Issue 457: rename tag -> group 2011-01-31 18:02:54 -08:00
Adrian Cole 26638192da promoted byon 2011-01-31 10:45:00 -08:00
Adrian Cole 675563c96a Issue 418: updated location object to include metadata and iso3166codes 2011-01-31 01:00:20 -08:00
Adrian Cole c8d4008c98 fixed pattern to id windows 2008 2011-01-29 21:06:22 -08:00
Adrian Cole b351223f5e removed provider-specific image parsing from base classes 2011-01-29 20:58:51 -08:00
Adrian Cole 2d888fb18e template test predicate refactor 2011-01-29 20:55:31 -08:00
Adrian Cole 81796fafb0 scope ec2 image parsing to providers 2011-01-26 16:30:44 -08:00
Adrian Cole bb90123914 Issue 455:rename org.jclouds.ssh.ExecResponse -> org.jclouds.compute.domain.ExecResponse 2011-01-26 11:16:27 -08:00
Adrian Cole 2796048643 trmk vcloudexpress regression 2011-01-26 10:24:59 -08:00
Adrian Cole d56bc68d1c Issue 454: added wrapInInitScript option for running scripts on nodes 2011-01-25 20:00:30 -08:00
Adrian Cole 01da7ce80f switched to cloudfront for test distribution 2011-01-25 12:00:07 -08:00
Adrian Cole 0a769ca6f5 Issue 419 rename cloudsigma to cloudsigma-zrh 2011-01-25 08:44:55 -08:00
Adrian Cole 85d05bdb91 fixed javadoc typo 2011-01-24 08:55:00 -08:00
Adrian Cole a5211f523e switched to use eucalyptus partnercloud as community cloud hasn't enough resources to complete testing 2011-01-24 08:12:14 -08:00
Adrian Cole 90bf1b3d07 revised error handling on slicehost 2011-01-24 07:32:02 -08:00
Adrian Cole 5ba249ae46 tuning logs 2011-01-23 23:18:39 -08:00
Adrian Cole 0b2994a155 runscript bulletproofing 2011-01-23 17:27:11 -08:00
Adrian Cole 0455e0f509 refactored runScript logic 2011-01-23 12:19:28 -08:00
Adrian Cole c34b973af3 Issue 450: fixed parsing of tags 2011-01-20 17:13:02 -08:00
Adrian Cole f7576dfc69 Issue 450: removed hyphen naming constraint for tags 2011-01-18 17:56:24 -08:00
Adrian Cole 93b488f52d Issue 448: merged in ebs functionality 2011-01-18 14:32:22 -08:00
Adrian Cole 2bc2e23d9c Issue 440: moved all extensions into group id org.jclouds.driver 2011-01-15 20:58:57 -08:00
Adrian Cole cfcee554b3 created new providers that run the elasticstack api:
org.jclouds.api/elasticstack
org.jclouds.provider/elastichosts-lon-b
org.jclouds.provider/elastichosts-lon-p
org.jclouds.provider/elastichosts-sat-p
org.jclouds.provider/openhosting-east1
org.jclouds.provider/serverlove-z1-man
org.jclouds.provider/skalicloud-sdg-my
2011-01-09 22:24:41 -08:00
Adrian Cole 3d9a4070fb Issue 440: decoupled vcloudexpress from vcloud 2011-01-09 15:32:17 -08:00
Adrian Cole 3ca278723d Issue 440: added cloudservers and cloudfiles us and uk providers 2011-01-08 15:59:48 -08:00
Adrian Cole 2168a6982f Issue 440: added apis/eucalyptus and providers/ecc-ec2 2011-01-06 14:35:10 -08:00
Adrian Cole ada49c2b3b refactored common location logic in aws and moved elb to its own module 2011-01-03 20:20:42 +01:00
Adrian Cole 90c5c40fbd moved provider agnostic location code to core 2011-01-02 12:58:35 +01:00
Adrian Cole 96610a4ede moved rimuhosting into the sandbox, under the providers group 2011-01-02 10:58:30 +01:00
Adrian Cole 417cb3acf0 moved loadbalancerservice into its own module 2011-01-01 20:28:52 +01:00
Adrian Cole 60b6b68556 code cleanup: http request immutability (except payload), builders, test backfill 2010-12-30 23:40:23 +01:00
Adrian Cole 413900bac0 cloudsigma as a top-level provider 2010-12-20 15:16:04 +01:00
Adrian Cole 2760345bd3 promoted os version bundle object to be accessible outside tests 2010-12-20 14:36:04 +01:00
Adrian Cole de04e9ec9d Issue 412: elasticstack/hosts is now a top-level provider 2010-12-20 01:35:18 +01:00
Adrian Cole 337ea7d4aa allowed provider to be the default location 2010-12-19 23:51:37 +01:00
Adrian Cole 033277d31c Issue 385: exposed way to access synch and asynch classes within skeleton compute provider 2010-12-19 18:18:01 +01:00
Adrian Cole c1f6eab2c4 refactored test logic 2010-12-17 19:15:35 +01:00
Lili Nader a1bf070c7a Merge branch 'master' of github.com:jclouds/jclouds 2010-12-13 14:27:05 -08:00
Adrian Cole 73c27dce6d Issue 385: exposed underlying client and means to test 2010-12-05 12:46:34 +00:00
Adrian Cole 989500ded6 shortened test tag names to try and workaround a character limitation 2010-12-01 15:59:37 +00:00
Lili Nader 8b716a06d8 Merge branch 'master' of github.com:jclouds/jclouds 2010-11-22 12:44:15 -08:00
Adrian Cole f70f822e64 fixed npe 2010-11-09 04:36:04 +01:00
Adrian Cole 2f00ab22e4 Issue 392: standardized operating system version parsing 2010-11-08 06:48:32 +01:00
Adrian Cole 1347165118 ec2 suspend nodes may take up to 2 minutes 2010-11-07 22:42:34 +01:00
Adrian Cole d94ca19941 Issue 397: updated default image to 64bit ubuntu 10.04, noting ecloud, eucalyptus, and gogrid only have working centos images, trmk-vcloudexpress doesn't have 10.4, vcloud doesn't have the ability to natively lookup versions, and amazon linux is preferred on ec2. 2010-11-07 01:57:17 +01:00
Lili Nader 9717198284 Merge branch 'master' of github.com:jclouds/jclouds 2010-11-01 13:02:56 -07:00
Adrian Cole 1eda57537b Issue 383: started to resolve eCloud compatibility problems 2010-10-31 18:41:26 -07:00
Adrian Cole 5385374ddb fixed terremark error handling 2010-10-31 14:41:08 -07:00
Adrian Cole fc596fb5ce suspend/resume 2010-10-31 11:38:01 -07:00
Adrian Cole a45532f05c Issue 282: added suspend/resume 2010-10-30 21:53:32 -07:00
Adrian Cole 12d359f4bd Issue 381: fixed incorrect widening of scope 2010-10-28 23:44:04 -07:00
Adrian Cole b1d84c15c8 Issue 393: added iptables rules 2010-10-28 15:07:19 -07:00
Adrian Cole c50b8a5dbd Issue 393: updated to prove gogrid workaround to inboundPorts is effective 2010-10-28 12:31:43 -07:00
Adrian Cole 39361c9cbd fixed credentials so that node creds are prefixed consistently with node#; normalized os version parsing 2010-10-27 23:45:30 -07:00
Lili Nader 9b28ed54ab Merge branch 'master' of github.com:jclouds/jclouds 2010-10-27 12:34:41 -07:00
Adrian Cole b4ad8fed1f Issue 388: added adminPassword to Image and NodeMetadata, and corrected runScript process to use them 2010-10-26 20:19:34 -07:00
Adrian Cole e2a8185c10 removed last commit 2010-10-26 13:16:42 -07:00
Adrian Cole 48fdaaf21a added pool code adapted from arquillian 2010-10-26 11:38:23 -07:00
Adrian Cole b08abc6745 refactored ssh connections so that they can be shared across views 2010-10-26 11:37:13 -07:00
Adrian Cole c7c6e9eae1 adapted ssh factory to accept credentials arg 2010-10-26 11:35:23 -07:00
Adrian Cole 26eb27fdd0 added loginPort to nodeMetadata, defaulting to port 22 2010-10-26 10:24:49 -05:00
Adrian Cole e5315d3348 Issue 385: started on javadoc and renamed methods to correspond to jclouds compute service 2010-10-25 15:19:46 -05:00
Adrian Cole fb93e81301 refactored to create typed contextspec objects 2010-10-24 22:59:01 -05:00
Adrian Cole ed6c6e2605 added missing toString on anonymous predicates 2010-10-24 19:21:47 -05:00
Adrian Cole 61c9583136 Issue 385 made jclouds stub implement the correct interface 2010-10-22 21:39:20 -05:00
Adrian Cole 46938731a5 Issue 385: refactored internals so that creating new compute providers is much easier 2010-10-22 21:36:08 -05:00
Lili Nader 3b89b8bcd7 bug fix in load balancer 2010-10-22 17:42:39 -07:00
Adrian Cole 464bca0ec1 Issue 385: started work on example compute provider that is backed by library, not http 2010-10-19 17:08:11 -05:00
Adrian Cole ae3a9e4f64 added missing location spec 2010-10-17 19:41:32 -07:00
Adrian Cole 176f528572 Issue 312: introductory support for clojure native compute provider 2010-10-17 19:35:07 -07:00
Adrian Cole 49b88183d2 refactored compute provider implementation 2010-10-17 18:17:24 -07:00
Adrian Cole a9de959146 Issue 377: refactored value classes and tests so that we could test and implement credential storage 2010-10-16 22:24:22 -07:00
Adrian Cole 17e4b779b4 cleaned up test cases and allowed basic auth to be instantiated via new 2010-10-01 16:08:15 +01:00
Adrian Cole 546535340f refactored boot script to check if java is installed first, and also stream jboss so that it works with small vms 2010-09-28 23:56:05 +01:00
Adrian Cole 47697d6f7e fixed copy on template as it was missing parameters 2010-09-26 14:02:31 +01:00
Adrian Cole f425a28b80 fixed jboss port binding 2010-09-24 17:59:05 -07:00
Adrian Cole 0738d1cd5a added example of how to start a service 2010-09-24 16:07:51 -07:00
Adrian Cole 4dec489d42 Issue 339: refactor so that scripts can be named 2010-09-24 11:39:45 -07:00
Adrian Cole 12d944692e fixed template builder problem where imageDescription wasn't matching 2010-09-21 16:01:03 -07:00
Adrian Cole 8d728ecd4d Issue 363: set prty so that sudo works when requiretty exists 2010-09-19 22:58:56 -07:00
Adrian Cole 1981b15837 regressions for beta-7 2010-09-19 19:12:44 -07:00
Adrian Cole 53f4bec356 Issue 361: normalize test properties 2010-09-19 13:30:11 -07:00
Adrian Cole 3639af0f12 Issue 353: refactored payload/blob so that contentMetadata is a type. 2010-09-19 02:15:03 -07:00
Adrian Cole e94ee94cd4 Issue 358: changed to enum.UNRECOGNIZED for all values that could arrive from a server 2010-09-18 10:04:43 -07:00
Hugo Duncan 16d14e82cc Add test for vararg options 2010-09-17 15:57:50 -04:00
Adrian Cole 5b16a80d2d fixed live tests 2010-09-16 07:05:07 -07:00
Adrian Cole 6f3b20d9c9 Issue 355: initial cut of nova support 2010-09-15 19:12:21 -07:00
Adrian Cole ccbe1c56f1 Issue 354: new amazon linux is default for ec2; 64bit and uses yum packaging 2010-09-15 16:29:01 -07:00
Adrian Cole 7b360cad41 fixed ebs volume parsing 2010-09-15 09:25:47 -07:00
Adrian Cole 0d7d2fe778 Issue 27: portability of error handling in eucalyptus where errors are text/plain on 400; changed euc m1.small to accept 64bit 2010-09-14 17:32:26 -07:00
Hugo Duncan 9a3b8e151f Change clojure template builder to take a map. Issue 272. 2010-09-12 21:23:48 -04:00
Adrian Cole 00361f859b added statements for extracting targzs and running commands from a http request 2010-09-12 17:35:51 -07:00
Hugo Duncan da5c0d03f8 Normalised comments, whitespace and line lengths. Updated user and password to provider-identity and provider-credential 2010-09-12 11:41:11 -04:00
Adrian Cole 198eeec3d9 added volume to hardware object, added signed blob support, added example of how to use signed blobs with computeservice 2010-09-12 02:27:42 -07:00
Adrian Cole 59aea16b07 Issue 350: changed from Size to Hardware and added Processor model 2010-09-11 15:39:27 -07:00
Adrian Cole 2b682c5dbb Issue 345: added t1 micro instance and made it the default instance size in ec2 2010-09-09 12:44:42 -07:00