Commit Graph

574 Commits

Author SHA1 Message Date
Adrian Cole 1274a25e17 Issue 301: added Closeable to payload so that it works better in clojure 2010-07-13 18:27:45 -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 436037c7be Issue 191: updated chef to use new utilities 2010-07-12 14:38:14 -07:00
Adrian Cole 23c9bbe33c Issue 27: stopped setting availability zone state as an enum, as it isn't required to be by spec 2010-07-11 14:50:54 -07:00
Adrian Cole 41e3ec6709 Issue 27: got eucalyptus and walrus working, after refactoring error handling 2010-07-11 01:26:56 -07:00
Adrian Cole e8d0a11cda Issue 301: refactored http payload and rewrote crufty tests 2010-07-09 21:13:11 -07:00
Adrian Cole 31d2da3c6f Issue 301: removed encryption service dependency from blob and added helper methods to blobstore.clj 2010-07-08 10:42:18 -07:00
Adrian Cole da3baf523c Issue 301: refactored http payload data from blob -> core, added content length, type, md5; fixed length bug in ec2 and added more tests to ensure this doesn't happen again 2010-07-08 03:46:34 -07:00
Adrian Cole 204c093753 refactored encryption service and exposed sha256 routine 2010-07-06 18:21:11 -07:00
Adrian Cole f777592a83 fixed s3 regression wrt metadata 2010-07-06 13:32:38 -07:00
Adrian Cole c443309801 added special parameter: jclouds.identity/jclouds.credential for use when the factory is given no identity/credential parameters. fixed aws demo 2010-07-06 09:01:29 -07:00
Adrian Cole f29d003914 Issue 299: converted 409 -> IllegalStateException and mapped AWS and vCloud exceptions 2010-07-02 23:19:11 -07:00
Adrian Cole 85b5bd48f1 loosened dependency on the GeneratedHttpRequest class 2010-07-02 16:47:46 -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 5afc44b2b7 Issue 291: added test cases 2010-06-23 15:43:39 -07:00
Lili Nader 66eed877b1 added VPC support to EC2 ComputeService 2010-06-23 15:40:31 -04:00
Lili Nader 23179f03c1 added VPC support to EC2 ComputeService 2010-06-23 15:39:55 -04:00
Lili Nader 4bc6434234 added VPC support to EC2 ComputeService 2010-06-23 15:39:37 -04:00
Adrian Cole 3631c9c365 Issue 27: switch to hostname instead of ip address 2010-06-16 14:18:38 -04:00
Adrian Cole ca64722a0f Issue 27: adjusted for incorrect 0.0.0.0 ips and inconsistent timestamp formats in eucalyptus 2010-06-16 12:26:35 -04:00
Adrian Cole 4b91eb6046 Issue 27: timeout adjustments and fixed a subtle bug in listnodes 2010-06-16 00:40:48 -04:00
Adrian Cole 3cd0c2223d Issue 27: fixed some weirdness related to eucalyptus parsing 2010-06-15 23:47:34 -04:00
Adrian Cole 518b453c6d Issue 271 updated to support google storage 2010-06-15 17:04:01 -04:00
Adrian Cole cba3f660fb Issue 27: added 'walrus' blobstore and 'eucalyptus' compute providers 2010-06-15 15:22:32 -04:00
Adrian Cole 117bd1ba6b Issue 210: updated aws demo with timeouts 2010-06-15 00:26:59 -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 306bb0ebde Issue 191: started cookbook support; refactored multipart form code 2010-06-11 19:02:19 -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 7e12d36870 Issue 191: started on chef api support 2010-06-03 18:35:59 -07:00
Chas Emerick fd2eea6e7d fixed node.getId() usage in clojure elastic ip wrapper 2010-05-26 08:28:34 -04:00
Chas Emerick 667c3ed03e fixed node.getId() usage in clojure ebs wrapper 2010-05-26 00:04:30 -04:00
Chas Emerick 37aa405b0a fix elastic-ip clojure wrapper for INetAddress change 2010-05-25 12:41:47 -04:00
Adrian Cole 44d3a3131f fixed usage for IPSocket 2010-05-25 01:03:06 -07: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 6a7b9a0a86 fixed demos 2010-05-24 22:44:43 -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 dbd42ce7ac fixed where TemplateOptions was not permitted in ec2 2010-05-22 23:13:45 -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 8940e1cc03 worked around guice issue where auth failures were retried 2010-05-21 14:56:24 -07:00
Adrian Cole ca5312d849 added test for 5gb objects 2010-05-21 13:23:43 -07:00
Adrian Cole d1fd1600dd fixed overflow on it 2010-05-21 10:27:45 -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
Adrian Cole d3690c44f2 added southeast asia to sqs and added better region tests 2010-05-20 10:06:19 -07:00
Adrian Cole 570e6366a6 Issue 258 added missing methods and a unit test. fixed live test to test all regions 2010-05-20 00:26:38 -07:00
Lili Nader 596ca233e3 Elastic Load Balancer 2010-05-20 01:16:57 -04:00
Adrian Cole dfdbc44700 Issue 257 naming constraints on s3 buckets 2010-05-19 11:27:51 -07:00
Adrian Cole ef1dec6651 Issue 257 naming constraints on s3 buckets 2010-05-19 11:27:44 -07: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
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 25fd278ecf Issue 249: switch to use group, not key, for tag lookups; prefix jclouds created groups and keys with jclouds#tag so that we can differentiate what we've created from what the user has 2010-05-10 21:35:59 -07:00
Adrian Cole 6c14ae1831 Issue 244: fixed jsch bug and refactored ssh error handling 2010-05-10 17:41:36 -07:00
Alex Yarmula bb52dfd9a2 first attempt at fixing/refactoring destroyNodesWithTag for EC2 2010-05-07 12:51:11 -07:00
Adrian Cole 168af0a7f6 fixed missing param 2010-05-05 10:07:18 -07:00
Adrian Cole ccdefce626 southeast region for s3 2010-05-05 10:02:45 -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 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
Chas Emerick 0d5d9c21b5 added AWS Elastic IP Address clojure wrapper 2010-05-01 00:59:03 -04:00
Chas Emerick fb5d3067cf additional region-related fixes for clojure wrappers 2010-05-01 00:58:40 -04:00
Alex Yarmula 9c772c54aa changed AvailabilityZone to String (from enum) 2010-04-30 17:37:15 -07:00
Adrian Cole e8b77d2765 Issue 236: parameterize out runscript name 2010-04-30 14:17:36 -07:00
Alex Yarmula 6660228b55 for amazon web services, changed the Region to String format (from enum). clojure code for aws needs verification 2010-04-30 12:27:55 -07:00
Adrian Cole 2cc949ad49 changed InstanceType to string (from enum) 2010-04-29 14:29:59 -07:00
Adrian Cole bb681a8101 Issue 238 asia/pac ec2 2010-04-28 17:13:02 -07:00
Chas Emerick 56f6246d8c fix references to Region.DEFAULT, using nil as default region now 2010-04-27 17:02:37 -04:00
Adrian Cole e3a816e6cd switch to old google collections syntax to avoid conflict between guava and google collections 2010-04-26 23:46:22 -07:00
Chas Emerick 1af5fccb0c changed create-volume to accept a Snapshot instance for :snapshot 2010-04-26 13:28:43 -04:00
Adrian Cole 021e5e18e0 Issue 203 normalized location across blobstore and compute 2010-04-25 17:38:21 -07:00
Alex Yarmula 950776c0e9 Added a unit test for RunningInstanceToStorageMappingUnix.
Added DI for it in compute service.
Minor fixes for tests
2010-04-25 12:36:26 -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
Adrian Cole 1714051272 Issue 231:scrape vapptemplate description for password, and provide password for windows instances 2010-04-20 02:53:00 -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 f3a9fabf44 normalized usage with compute/blobstore style 2010-04-16 23:58:04 -07:00
Adrian Cole 4331f63265 added logging statement when errors occur applying options to nodes 2010-04-16 15:28:11 -07:00
Chas Emerick 8203857af4 tweak clojure ebs wrapper to eliminate superfluous :attach option to create-volume 2010-04-16 16:52:20 -04:00
Chas Emerick e1a5f58bd4 Issue 226: use jclouds-native objects (mostly) where ever
possible, including adding a single-step create-and-attach option for create-volume
2010-04-16 10:57:57 -04:00
Lili Nader 177a53b3db issue 225 2010-04-14 22:31:08 -04:00
Alex Yarmula 56eff0f10d fixed the method signature 2010-04-14 17:33:13 -07:00
Adrian Cole dedd8f8270 fixed templateBuilder logger and also fixed copyright headers 2010-04-13 23:40:56 -07:00
Adrian Cole 29f435eafd Merge branch 'master' of git://github.com/cemerick/jclouds
* 'master' of git://github.com/cemerick/jclouds:
  add copyright notice and attribution to clojure ebs wrapper
  added create- and delete-snapshot to clojure ebs wrapper
  First cut at a clojure wrapper of EBS interface
2010-04-13 11:05:37 -07:00
Chas Emerick b74a203401 add copyright notice and attribution to clojure ebs wrapper 2010-04-13 13:52:18 -04: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 d4d9d76388 fixed the tests 2010-04-08 13:49:50 -07:00
Alex Yarmula 214aee6626 moved the default credentials to ImageImpl#defaultCredentials, issue 157 2010-04-08 12:44:19 -07:00
Chas Emerick 5f842ebb6d added create- and delete-snapshot to clojure ebs wrapper 2010-04-08 08:14:22 -04:00
Chas Emerick bc7a92fae1 First cut at a clojure wrapper of EBS interface 2010-04-08 08:14:21 -04: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
Alex Yarmula 7d4d1b3b4a fixed the missing dependency on the demo that was moved 2010-04-07 15:17:00 -07:00
Alex Yarmula de2ed9558a Merge branch 'master' of github.com:jclouds/jclouds 2010-04-07 15:11:52 -07:00
Adrian Cole 89958f93d1 normalized image parsing across canonical and alestic; added tests to kickout non-amis and test images 2010-04-07 12:47:49 -07:00
Adrian Cole fab4a0fb4d tuned runscript to use herefile syntax so that it is easier to troubleshoot and works without needing to escape characters 2010-04-06 15:13:08 -07:00
Alex Yarmula 9eb73a8544 Merge branch 'master' of github.com:jclouds/jclouds 2010-04-06 11:01:07 -07:00
Alex Yarmula 63c5f8b85c Merge branch 'master' of github.com:jclouds/jclouds 2010-04-06 09:45:49 -07:00
Chas Emerick c352f408a2 fix ec2 to work with canonical AMIs 2010-04-06 08:24:55 -04:00
Adrian Cole 736e85da6b fixed ec2 to work with alestic amis 2010-04-05 20:06:57 -07:00
Alex Yarmula 2ccbc8e40a resize-ebs is moved to clouddemo repository 2010-04-05 15:21:25 -07:00
Adrian Cole 190c768d02 Issue 221: made sure default template always works on all cloud providers 2010-04-04 22:57:03 -07:00
Adrian Cole 4ee4bb8764 Issue 210: ec2 content length header was bad. corrected and also updated default appengine test app to allow more time to startup 2010-04-04 19:48:02 -07:00
Adrian Cole 68080daee3 Issue 211:update to latest appengine sdk 1.3.2 2010-03-31 19:04:37 -07:00
Adrian Cole ebcaae325f Issue 215: removed RuntimeDelegate.setInstance and turned to dependency injection for UriBuilder 2010-03-22 22:33:26 -07:00
Adrian Cole 614cbb24c6 Issue 207: increased ferocity of tests to do concurrent 5MB downloads w/checksum on both http and blobstore level. 2010-03-21 16:48:16 -07:00
Adrian Cole 38b2bef023 Issue 211: added gae, but waiting for service to go live 2010-03-20 16:22:17 -07:00
Adrian Cole 72da36bf33 switched aws demo to use s3 and ec2 2010-03-20 12:40:52 -07:00
Andrew Phillips 83d0b24e53 Line endings. 2010-03-19 12:11:31 +01:00
Andrew Phillips 3b9e961268 Merge remote branch 'origin' 2010-03-19 11:33:57 +01:00
Andrew Phillips 64b68d73db Housekeeping: renamed all .svnignore files to .gitignore, and some line endings. 2010-03-19 11:30:13 +01:00
Andrew Phillips 43788298f8 Merge branch 'master' of C:\Users\aphillips\Workspaces\Personal\jclouds 2010-03-19 09:03:35 +01:00
Andrew Phillips 550384bd22 Line ending changes and POM formatting. 2010-03-19 09:02:17 +01:00
Adrian Cole 92cc6d6a21 Refactored AMI parsing 2010-03-18 18:29:39 -07:00
Adrian Cole b47c6114c0 alestic changed naming convention to not include manifest.xml 2010-03-17 21:32:14 -07:00
Alex Yarmula e1903f9473 Merge branch 'issue174' 2010-03-16 20:34:29 -07:00
Alex Yarmula f959db6546 fixed the aws tests 2010-03-16 17:03:08 -07:00
Alex Yarmula b9a5dc0d0b fix for multiple security groups in ec2 2010-03-16 16:56:09 -07:00
Alex Yarmula a7d73a2d64 fix for multiple security groups in ec2 2010-03-16 16:55:19 -07:00
Adrian Cole dc512e8bae Issue 202: withDetails support for BlobStore.list(String,ListContainerOptions) 2010-03-14 23:34:47 -07:00
Adrian Cole e04784373e Issue 154: added Transient blobstore 2010-03-09 09:17:33 -08:00
Adrian Cole b190651247 refactored configuration module so that Issue 201 could occur. linked context with objects created from it 2010-03-09 00:10:27 -08:00
Adrian Cole 8ad3955e36 example of testing request signing 2010-02-25 13:32:34 -08:00
Alex Yarmula d71b439981 Changed the instance Size to support floating-point type of # of cores (ex, 6.5 cores). Propogated the change to template builder and related ComputeService usages. 2010-02-23 13:24:57 -08:00
Alex Yarmula c0b5d832b5 added support for m2.xlarge instance type in ec2. added tests in EC2ComputeServiceTest 2010-02-23 11:54:46 -08:00
Adrian Cole f2fb83abaf Merge branch 'master' of git@github.com:jclouds/jclouds
* 'master' of git@github.com:jclouds/jclouds:
  Changed the way device name is passed
2010-02-21 10:58:36 -08:00
Adrian Cole a72efaea6d Issue 177: support scheme-only redirects 2010-02-21 10:43:00 -08:00
Alex Yarmula db31695940 Changed the way device name is passed 2010-02-20 15:55:03 -08:00
Alex Yarmula 55c8ce03ad Improved #equals for RunningInstance.EbsBlockDevice
Added the header to BlockDeviceMapping
2010-02-20 12:54:07 -08:00
Alex Yarmula a607d3573f Removed the class that's no longer used 2010-02-20 12:43:32 -08:00
Alex Yarmula 7133a0b2ad Fixed wrong dependency 2010-02-20 12:35:05 -08:00
Alex Yarmula 0097a2ded6 Replaced string representation of BlockDeviceMapping with the class for Instance(Async)Client#setBlockDeviceMappingForInstanceInRegion, getBlockDeviceMappingForInstanceInRegion
Fixed the tests and some logic for BlockDeviceMapping. NOTE: Now it receives and returns instances of RunningInstance.EbsBlockDevice
2010-02-20 12:23:16 -08:00
Alex Yarmula cec1a92bb4 Added root volume deletion after the test ends 2010-02-19 12:33:07 -08:00
Alex Yarmula 6786db2738 code refactoring for the test 2010-02-19 10:47:52 -08:00
Alex Yarmula 14d9862853 Added a new live test (InstanceVolumeManagerLiveTest.java).
Changed the snapshot taking behavior: snapshot is deleted when it's no longer needed.
Exposed some of the object on InstanceVolumeManager for tests
2010-02-18 16:56:36 -08:00
Alex Yarmula 1b09ebb041 Cleaned up SshExecutor 2010-02-17 10:51:32 -08:00
Alex Yarmula 543af26e92 Added SocketOpen retryable predicate for connecting to ssh
Some refactoring, including use of guava's checkState and more precise method parameters
2010-02-17 10:40:35 -08:00
Alex Yarmula a46542ee91 removed incorrect path to key 2010-02-17 00:51:14 -08:00
Alex Yarmula 4d8050105a added new demos in .pom
added proper headers
2010-02-17 00:48:21 -08:00
Alex Yarmula f83dce9469 added aws demo that resizes volume size for EBS-backed instances
it includes main classes and Java launcher in /resize-ebs-java,
as well as JRuby launcher for the same Java classes
2010-02-17 00:31:36 -08:00