Commit Graph

308 Commits

Author SHA1 Message Date
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
Adrian Cole 86fa8314ca Issue 230: moving to sandbox as we don't have an account to finish this 2010-09-06 16:52:17 -07:00
Adrian Cole a96471c9a8 added create file support to scriptbuilder 2010-09-02 01:34:40 -07:00
Adrian Cole 3ae7dfb1b7 changed default test so that they work with self-signed certs 2010-08-27 13:33:32 -07:00
Adrian Cole d502774eda Issue 280: milestone where vcloud 0.9+ passes compute service tests (bluelock) 2010-08-26 23:33:12 -07:00
Adrian Cole 0038733646 Issue 280: added operating system and started parsing ip addresses from api 2010-08-25 00:12:33 -07:00
Adrian Cole 53db05540b fixed ec2 templatebuilder 2010-08-24 21:08:21 -07:00
Adrian Cole 44c5fc714a fixed default template for ec2 to use osVersion to match default image. improved error messages in templateBuilder 2010-08-24 17:00:19 -07:00
Lili Nader ec1d97ec16 Merge branch 'master' of github.com:jclouds/jclouds 2010-08-23 11:44:57 -07:00
Lili Nader aeaf68aaf8 added ListLoadBalancer classes 2010-08-23 11:44:18 -07:00
Andrew Phillips 6b7cb6a166 Merge remote branch 'origin' 2010-08-23 17:19:32 +02:00
Andrew Phillips b8df9b9ec9 Line endings 2010-08-23 17:19:22 +02:00
Adrian Cole fd7aacf176 Issue 290: corrected CIM type ids 2010-08-22 23:27:07 -07:00
Adrian Cole a87747a6b2 Issue 343 removed buggy hosting.com vcloudexpress 2010-08-22 21:47:36 -07:00
Adrian Cole 3bce2e0d94 commented out code that references missing classes 2010-08-22 14:59:32 -07:00
Lili Nader 6b832c79cf minor improvements to elastic load balancer functionality 2010-08-20 18:20:58 -07:00
Adrian Cole 5413e12fcc Issue 296 make terremark ecloud and vcloudexpress work from mvn -Plive install 2010-08-19 01:43:26 -07:00
Adrian Cole f895756c65 Issue 333: added operatingsystem to nodemetatdata; Issue 327: completed vcloud conversion to ids; Issue 306; completed vcloud lookup by id; Issue 338: got rid architecture object 2010-08-18 21:04:17 -07:00
Adrian Cole 0394c29394 Issue 333: added OperatingSystem to Image 2010-08-17 21:41:48 -07:00
Adrian Cole 462a6e5617 Issue 335: took initialization code out of injection providers and into memoized suppliers, this will allow us to tune caching and speed up injection as guice is single-threaded; fixed broken windows along the way 2010-08-17 02:08:39 -07:00
Adrian Cole 6e09985659 normalized tag parsing code 2010-08-16 12:25:22 -07:00
Adrian Cole 5b215533f1 Issue 327: fixed terremark tag pattern and disk parsing 2010-08-15 12:50:03 -07:00
Adrian Cole 09e155bf0d Issue 327: completed conversion of vapp to use URIs for IDs consistently 2010-08-15 00:55:58 -07:00
Adrian Cole 420503d32e updated and corrected license headers 2010-08-12 16:04:26 -07:00
Adrian Cole 664644534a Issue 328: added blacklist for node commands using property jclouds.compute.blacklist.nodes with comma separated node names; note that this is only implemented in vcloud right now 2010-08-08 13:10:45 -07:00
Adrian Cole 6f180ddb4e Issu 301: refactored utilities that depend on guava. introduced Crypto, CryptoStreams, and more Payloads to help deal with encrypted payloads and headers 2010-08-01 02:07:53 -07:00
Adrian Cole 34518f54ba Issue 325: massive refactor in order to stop serializing native async http client requests 2010-07-30 01:26:55 -07:00
Adrian Cole 4ed2f2ec8a Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  Removed 1,000,000 redundant .gitignores (they're inherited)
2010-07-28 13:17:22 -07:00
Adrian Cole 503eb869f8 Issue 320: added utils().json() to access json parsing 2010-07-28 11:54:54 -07:00
Andrew Phillips e1f5369243 Removed 1,000,000 redundant .gitignores (they're inherited) 2010-07-28 14:38:28 +02:00
Adrian Cole ca247efaed Issue 324: added properties for (jclouds|provider).modules, (jclouds|provider).credential.resource, and (jclouds|provider).credential.file in order to support rewiring jclouds http and other components via properties files, and extract out where credentials are obtained from 2010-07-28 00:41:13 -07:00
Adrian Cole 0612e5e1ba Issue 165: added slicehost to the provider list 2010-07-26 02:44:26 -07:00
Adrian Cole 887bb7adfe Issue 316: refactored ssh to use Payload object; deprecated non-payload methods 2010-07-19 13:08:12 -07:00
Adrian Cole d626a9848e Issue 311: now supporting ec2 cluster instance sizes and placement groups 2010-07-17 21:47:37 -07:00
Adrian Cole cd5fddf1f4 normalized all list operations to Set<Thing> and on 404 they return an empty list 2010-07-17 19:46:43 -07:00
Adrian Cole 1d0949dec5 Issue 315: added auto-deserialization of json into java objects and new @Unwrap annotation; Issue 311: fixed template parsing for new cluster instance in ec2; Issue 191: started adding node support to chef 2010-07-17 01:30:37 -05:00
Adrian Cole 4098c4bd0a regression in last commit; guice child injector locks up under threading; also added new ec2 instance size 2010-07-13 16:56:38 -05:00
Adrian Cole e90857d7a4 added toString hashCode and equals to context objects 2010-07-06 13:32:13 -07:00
Adrian Cole 88d64ee76c Issue 286: normalized names trmk-vcloudexpress -> TerremarkVCloudExpressClient; tmrk-ecloud -> TerremarkECloudClient 2010-07-05 23:46:33 -07:00
Adrian Cole 9bac52d315 Issue 298: fixed regression on authorizationexception not propagating, and also missing gogrid file 2010-07-02 12:05:41 -07:00
Hugo Duncan 1e20ba3384 Added :any to template options 2010-07-01 18:27:32 -04:00
Adrian Cole 20f1a75606 Issue 297: made ssh optional in case we are in gae and we cannot invoke network sockets 2010-06-29 15:52:41 -07:00
Adrian Cole 714a459796 Issue 297: exposed utilities like encryption, logging, date, threads, and ssh to context objects 2010-06-29 15:45:59 -07:00
Adrian Cole 360af6f42c Issue 289: fixed template options classpath woes 2010-06-28 15:17:05 -07:00
Adrian Cole 7e28286dd0 Issue 293: normalized on provider vocab 2010-06-28 12:03:35 -07:00
Adrian Cole caceae90bd Issue 293: normalized on identity/credential vocab 2010-06-28 11:33:41 -07:00
Adrian Cole 27f4f69b4c Issue 293: refactored code to provide for api versions and coherent properties for authorization 2010-06-28 05:07:36 -07:00
Adrian Cole 055c56dc08 Issue 292: added simple http client 2010-06-25 10:45:15 -07:00
Adrian Cole 0b9772e910 more node predicates 2010-06-22 15:22:33 -07:00
Adrian Cole b2141b0d59 Issue 271 updated to support google storage and eucalyptus 2010-06-15 17:05:55 -04:00
Adrian Cole cba3f660fb Issue 27: added 'walrus' blobstore and 'eucalyptus' compute providers 2010-06-15 15:22:32 -04:00
Adrian Cole 55fa55a0dc corrected default shutdown timeout and chef key path 2010-06-15 11:27:57 -04:00
Adrian Cole aabaae2a51 Issue 283 added
client.templateOptions().blockUntilRunning(false) and Issue 284: consolidated timeout properties into ComputeServiceConstants
2010-06-14 23:51:11 -04:00
Adrian Cole f283b072e9 Issue 230: added configurationData entry to ibmdev support 2010-06-08 01:15:27 -07:00
Adrian Cole b87fcd4ee2 Issue 230: completed coding ibmdev support 2010-06-08 00:31:51 -07:00
Adrian Cole f624dbe3f8 fixed bug in computservice types and Issue 230: added instance support for ibm cloud. 2010-06-07 12:23:16 -07:00
Adrian Cole 84ad021268 added retry handler for io exceptions, created modular rest client, swapped generic type args on restcontext 2010-06-06 23:01:48 -07:00
Adrian Cole 8234c94f37 Issue 230: started on IBM dev cloud 2010-06-04 01:52:14 -07:00
Adrian Cole a1e680589c Issue 220: test-jar dependencies are not usable through either leiningen or clojure-maven-plugin 2010-06-03 18:40:03 -07:00
Adrian Cole 9fbc3068f2 Issue 220: changed test to use dummy credentials 2010-06-01 09:08:07 -06:00
Adrian Cole 14e16fbfa6 Issue 220: added stub compute provider 2010-06-01 04:13:27 -06:00
Adrian Cole a839369277 fixed nodes-with-tag 2010-05-25 15:48:50 -06:00
Hugo Duncan 84e6b78802 Fixed missed forwarding function 2010-05-25 16:52:53 -04:00
Hugo Duncan 86f8818ee8 Fixed nodes-with-tag. Added nodes-with-details. 2010-05-25 15:32:59 -04:00
Hugo Duncan 07653f6ed6 fix clojure interface for InetAddress change 2010-05-25 10:49:41 -04:00
Adrian Cole f297c9d7d5 Banned use of InetAddress and InetSocketAddress as these break google appengine. Introduced IPSocket class instead 2010-05-25 00:42:27 -07:00
Adrian Cole a5abb14d20 made nullcredentials default and refined usage changing the vcloud api version 2010-05-24 14:56:59 -07:00
Adrian Cole 237afa4ddc updated loadbalancer to backoff on unknownhost exception; made template match ubuntu 10.04 on rackspace, aws, and rimu 2010-05-24 09:16:10 -07:00
Adrian Cole c8cd0b0f2e Issue 260: fixed executors per kimchy's advice; also fixed regression in a lot of live tests 2010-05-23 22:26:14 -07:00
Adrian Cole 4fc5f3cf2e enhanced ec2 lb logic 2010-05-23 16:38:46 -07:00
Adrian Cole a4bdd433f4 Issue 260: fixed i/o threadpool to min=max; refactored session expiry logic. Issue 258 refactored load balancer code 2010-05-23 15:39:49 -07:00
Adrian Cole 5b300f87cc fixed a minor vcloud bug and toString statements 2010-05-23 00:26:50 -07:00
Adrian Cole 050af3c3f7 Issue 176: size can now test compatibility with images; refactored vcloud config logic; updated to support latest bluelock 2010-05-22 22:43:28 -07:00
Lili Nader 88d5f42da2 fine tuning load balancer API 2010-05-21 21:23:19 -04:00
Adrian Cole 0f30c81466 ensure setting options still uses the default template 2010-05-21 15:16:08 -07:00
Adrian Cole 3a1ff2e29c ensure setting options still uses the default template 2010-05-21 15:12:38 -07:00
Adrian Cole 8940e1cc03 worked around guice issue where auth failures were retried 2010-05-21 14:56:24 -07:00
Adrian Cole 5af9bdd34f Issue 254: correct docs 2010-05-20 20:05:14 -07:00
Adrian Cole efc47969d9 Issue 254: distinguish between id and providerId 2010-05-20 19:36:25 -07:00
Adrian Cole 467f815c17 revised load balancer code and implemented Issue 254: compute handle 2010-05-20 16:32:31 -07:00
Lili Nader 0d1d28a972 Load Balancer ComputeService API 2010-05-20 18:38:23 -04:00
Lili Nader 596ca233e3 Elastic Load Balancer 2010-05-20 01:16:57 -04:00
Adrian Cole 566aa9f0d0 Issue 255, 256: lazy parsing of images so you can specify imageId() that isn't in the default owner list 2010-05-18 16:28:44 -07:00
Adrian Cole d8e21ad8d0 Issue 252: created templateBuilder.any() which can be used to get the known bootable params of a template, as well helper functions 2010-05-17 17:22:22 -07:00
Hugo Duncan bf3e66a6b2 Removed extra parentheses 2010-05-17 18:14:25 -04:00
Chas Emerick 586367f6f2 restore no-arg compute/nodes overload 2010-05-14 13:15:10 -04:00
Adrian Cole 20c282c8bc Issue 243 revise compute api for better support of single nodes and flexible aggregate commands 2010-05-13 17:54:04 -07:00
Adrian Cole b6189457d5 Issue 249: new extended options for ec2, including securityGroups, keyPair, and noKeyPair 2010-05-11 21:24:27 -07:00
Adrian Cole 6c14ae1831 Issue 244: fixed jsch bug and refactored ssh error handling 2010-05-10 17:41:36 -07:00
Adrian Cole 7363ae6e87 Issue 247: loosened terremark constraints and tested vapp configuration 2010-05-10 10:53:38 -07:00
Adrian Cole d034a737b1 regression on jsch 2010-05-07 18:31:35 -07:00
Adrian Cole dcbcf698f0 Issue 244: made error handling more resilient to ssh connection problems by increasing scope of error retries and larger backoff delay 2010-05-07 17:13:17 -07:00
Alex Yarmula 7ccc18c0f8 added NodePredicates to simplify node filtering logic 2010-05-07 12:33:49 -07:00
Alex Yarmula dd4087982b added runScriptOnNodesMatching; removed runScriptOnNodesWithTag as it proved unflexible and the new method is a broader case; use runScriptOnNodesMatching instead 2010-05-06 15:53:59 -07:00
Adrian Cole 681582366a hardened ssh; fixed logging; fixed runscript test 2010-05-04 16:49:44 -07:00
Adrian Cole 0d9a1931f3 fixed exception string on runscript 2010-05-04 15:07:20 -07:00
Adrian Cole 239519c8ca added exceptions to ssh commands and changed interface to not index on id, since ids are not guaranteed unique 2010-05-04 15:01:01 -07:00
Adrian Cole b432bbbe8c fixed base computeservice test; fixed logging in runScript; fixed terremark to not use the unstable jeos and work around service unauthorized problems 2010-05-03 11:40:27 -07:00
Adrian Cole a1c7ccfd3f Issue 241:Add provider to the Location hierarchy and make getParent a Location object; also fixed compute services where broken and added ssh logging for runscript 2010-05-03 01:04:48 -07:00
Adrian Cole 453148e56f Merge branch 'master' of git@github.com:jclouds/jclouds
* 'master' of git@github.com:jclouds/jclouds:
  added AWS Elastic IP Address clojure wrapper
  additional region-related fixes for clojure wrappers
  changed AvailabilityZone to String (from enum)
2010-05-02 17:56:52 -07:00
Chas Emerick fb5d3067cf additional region-related fixes for clojure wrappers 2010-05-01 00:58:40 -04:00
Adrian Cole a72035c22b adjusted terremark tests to ensure disks work; updated minimum size to 25GB 2010-04-30 17:44:40 -07:00
Adrian Cole e8b77d2765 Issue 236: parameterize out runscript name 2010-04-30 14:17:36 -07:00
Adrian Cole f4f32e07e0 throw root exception for login failures, not provisioningexception 2010-04-30 13:27:55 -07:00
Adrian Cole be59ba5e5e added test to ensure that images cache properly 2010-04-30 11:20:23 -07:00
Alex Yarmula 9b366e255c Merge branch 'master' of github.com:jclouds/jclouds 2010-04-26 10:03:08 -07:00
Alex Yarmula a56f2225b7 issue 202. http://code.google.com/p/jclouds/issues/detail?id=202. added withMetadata to TemplateOptions 2010-04-26 10:03:03 -07:00
Ivan Meredith 82bdedf6f3 Merge branch 'master' of github.com:jclouds/jclouds 2010-04-26 22:57:19 +12:00
Ivan Meredith 47ed07d0d7 Added getSupportedProviders() 2010-04-26 22:56:41 +12:00
Adrian Cole 021e5e18e0 Issue 203 normalized location across blobstore and compute 2010-04-25 17:38:21 -07:00
Adrian Cole 10af8cdae8 Issues 203 234 235, add visibility to image from nodemetadata, update to stable version of guava, harden tests, normalize location 2010-04-25 00:46:54 -07:00
Adrian Cole 82bb9e98f7 updated ec2 to support instances without a keypair to exist and not break computeservice 2010-04-24 11:09:47 -07:00
Alex Yarmula dac0c67a50 Added size mapping for EC2 instances 2010-04-21 12:57:36 -07:00
Alex Yarmula 25c7345177 Added options to (node) function in compute.clj, currently a single option to show/fetch details.
Extended the doc in blobstore.clj.
2010-04-19 15:20:08 -07:00
Adrian Cole eda0eebfb5 corrected timeout in terremark; cleanup 2010-04-19 14:49:17 -04:00
Ivan Meredith 4b8b0e8770 Added getNodes withDetails() 2010-04-18 20:29:18 +12:00
Adrian Cole 31d2b08b71 fixed ec2 to create a new keypair on each time runNodesWithTag; added a test to ensure we can add nodes to a set in a different context than it was created in 2010-04-17 00:03:55 -07:00
Adrian Cole 8ce9f1565a removed JEOS os family 2010-04-17 00:00:49 -07:00
Adrian Cole 670c143cff Issue 227: blockOnPort option when starting up a node 2010-04-17 00:00:04 -07:00
Chas Emerick 82f6b1c777 refactor out clojure-contrib :require and :use declarations to provide clojure 1.1/1.2 compatibility 2010-04-16 11:20:04 -04:00
Adrian Cole da9847ab7f added more verbose info when dev environment isn't setup with a ssh key 2010-04-15 18:10:59 -07:00
Alex Yarmula 66538e4676 Merged files 2010-04-14 16:43:04 -07:00
Alex Yarmula 5ff12c4a73 Extended the support for running scripts as a part of Compute Service. Now scripts can be run as root. Also, credentials are optional and moved to RunScriptOptions.
TODO next: tests to verify non-root execution of the scripts
2010-04-14 15:00:26 -07:00
Adrian Cole dedd8f8270 fixed templateBuilder logger and also fixed copyright headers 2010-04-13 23:40:56 -07:00
Adrian Cole d08b359956 adjusted run-node to only return a single node, as its name doesn't imply sequence; added location 2010-04-13 15:37:09 -07:00
Alex Yarmula 882bf5f651 added runScriptOnNodesWithTag methods. theoretically it is supported for any cloud as a part of compute service. (issue 222) 2010-04-10 19:11:01 -07:00
Alex Yarmula 214aee6626 moved the default credentials to ImageImpl#defaultCredentials, issue 157 2010-04-08 12:44:19 -07:00
Alex Yarmula 1bdf5eda18 added resolve images functionality (currently supported are ec2 and gogrid). current implementations are only resolving the credentials/authentication 2010-04-07 16:10:37 -07:00