Commit Graph

651 Commits

Author SHA1 Message Date
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
Hugo Duncan 6fa99d92a7 added properties to compute-service 2010-04-05 16:24:42 -04: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 5d68b3e820 fixed usage and added image name predicate 2010-04-02 13:47:20 -07:00
Hugo Duncan 3776354f59 fixed bug in as-compute-service when passed credentials 2010-04-02 15:04:44 -04:00
Hugo Duncan 4f7f644198 updated clojure compute binding 2010-03-30 15:41:06 -04:00
Adrian Cole b70da07b27 Issue 212: now all modules can run clojure tests, and the test clj files will end up in the test jars 2010-03-20 16:39:11 -07: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 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 e8b8aced8e vcloud: added error handling on tasks 2010-03-15 15:30:48 -07:00
Adrian Cole 1429edf69e fixed where image description doesn't match 2010-03-15 13:32:18 -07:00
Adrian Cole b221f8006f fixed gogrid test 2010-03-14 18:17:48 -07:00
Adrian Cole 529a0ad075 added better error handling for vcloud 2010-03-12 16:00:41 -08:00
Adrian Cole 40447696c7 added ttylinux 2010-03-11 23:00:51 -08:00
Alex Yarmula 265218e82f added exact matching to templateBuilderImpl. changed some test logic for gogrid compute service. 2010-03-11 12:10:53 -08:00
Adrian Cole 79c54e9f45 Issue 204: add template description, Issue 162: update to correct image and location details 2010-03-11 11:29:46 -08:00
Alex Yarmula b6fc347047 remove a local-only change. added test-output/ to .gitignore 2010-03-10 19:17:18 -08:00
Alex Yarmula c50541c845 fixed compute service functionality for gogrid 2010-03-10 14:27:52 -08:00
Adrian Cole f1f0596858 removed bad test 2010-03-09 10:39:44 -08:00
Hugo Duncan cb0928afae major update to blobstore clojure binding. factored out core.clj 2010-03-09 11:11:19 -05: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
Hugo Duncan fd066e02c1 Added resources directory back as a resource 2010-03-06 12:11:11 -08:00
Alex Yarmula eff1de764c added compute service support and a basic test. fixed template builder bug (see comment). 2010-03-06 10:34:12 -08:00
Alex Yarmula c76ebb43bb added compute service support. todo password service, tests 2010-03-04 19:45:41 -08:00
Adrian Cole 0bc94f517e corrected swank version 2010-03-04 15:35:41 -08:00
Hugo Duncan 88f992a53e Added clojure to tests and jar 2010-03-04 16:03:34 -05:00
Hugo Duncan 6ad07515c5 Removed static dependency on extension modules. Removed lein project.clj files. 2010-03-04 09:22:01 -05:00
Hugo Duncan 33a31c03ed import bindings from crane. Merge branch 'jclouds' of git://github.com/bradford/crane 2010-03-03 09:17:00 -05: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
Adrian Cole ea8bb3f454 Issue 176: initial bluelock support 2010-02-21 13:10:26 -08:00
Adrian Cole 118129714c updated javadoc wrt runscript 2010-02-17 21:59:10 -08:00
Adrian Cole df86359e65 Issue 156: refactored compute api classes and added reboot support 2010-02-08 22:09:07 -08:00
Adrian Cole 52e40c4651 normalized usage of null across compute apis, removed loop of recreating nodes, extracted BaseComputeService class 2010-02-08 01:32:53 -08:00
Adrian Cole 4582c57c72 fixed version numbers to SNAPSHOT 2010-02-04 21:30:22 -08:00
adrian.f.cole 2ed029764f beta-3 release
git-svn-id: http://jclouds.googlecode.com/svn/branches/1.0-beta-3@3054 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 11:34:05 +00:00
adrian.f.cole b217410ac0 Issue 9, Issue 127: updated javadoc, modified dist to not jarjar, changed dist to support profiles, tools, blobstore, and compute api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2754 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-02 08:31:30 +00:00
adrian.f.cole a268309c94 overhauled the blobstore api to work with pseudo directories and continuable lists. fixed connection errors in http executor. changed to return null on resource not found
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2745 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-02-01 10:09:45 +00:00
adrian.f.cole 24f1836f7a Issue 130 added rsa key options to compute api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2734 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-29 07:01:20 +00:00
adrian.f.cole d3b4383852 Issue 130: updated javadocs and tweaked ant task
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2732 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-28 09:02:37 +00:00
adrian.f.cole 99dd7c1638 Issue 130: clarified method names
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2731 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-28 08:21:10 +00:00
adrian.f.cole 3521c47029 Issue 130: added location and made compute service set-based
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2730 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-28 05:21:11 +00:00
adrian.f.cole 70aa7e4ef3 Issue 73, 130, 150: overhauled context builders, blobstore javadocs, setup http connection limiter, and otherwise readied the code for consumption
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2729 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-25 09:41:37 +00:00
ivan@ivan.net.nz 99f201f0f8 Fixed the compute service live tests for RimuHosting. An invalid name was being used for the server.
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2728 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-25 02:27:08 +00:00
adrian.f.cole 9d305c95a9 Issue 130: added rimu and vanilla vcloud, hardened state changes to delete with status checks, added example build.properties to ant samples
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2727 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-23 03:22:28 +00:00
adrian.f.cole c6de9196a1 Issue 130: added image to ant task
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2726 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 21:45:06 +00:00
adrian.f.cole 4b00bd9649 Issue 130: added retry logic for ssh runscript
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2724 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 21:35:45 +00:00
adrian.f.cole b7f9426a02 Issue 130: added size and image to ant config
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2723 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 21:15:19 +00:00
adrian.f.cole aa41f4512b Issue 130: added rackspace and cleaned up builder concepts
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2721 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 20:39:23 +00:00
adrian.f.cole 28aadccb49 Issue 130: fleshed out compute abstraction and hardened TemplateBuilder design
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2718 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 09:35:39 +00:00
adrian.f.cole a17da70588 support null; add AuthorizationException
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2717 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-22 00:30:07 +00:00
adrian.f.cole 56116204df Issue 129: tidied up ssh output for ant/compute commands
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2714 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-21 08:50:10 +00:00
adrian.f.cole cb906ded3c Issue 130: added options to runNode like openPorts and runScript; added ability to specify alternate endpoint in *ContextBuilderFactory; updated ant tasks to use new node features; Issue 112: normalized vcloud clients
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2712 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-21 06:22:42 +00:00
sharedocs1@gmail.com e486147c01 Updated license headers (no code changes).
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2703 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-20 11:52:59 +00:00
adrian.f.cole 2e213ae223 Issue 130: properly modeled node and templates
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2702 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-20 11:34:24 +00:00
adrian.f.cole 9b39988ad7 Issue 130, Issue 73: separated out provider context from abstraction. accessible via getProviderSpecificContext
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2684 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-20 00:32:04 +00:00
sharedocs1@gmail.com 826897ba9c Guess what...svn:ignore stuff ;-)
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2676 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-19 12:32:43 +00:00
adrian.f.cole f9fec120a7 Issue 130: separated out compute api
git-svn-id: http://jclouds.googlecode.com/svn/trunk@2668 3d8758e0-26b5-11de-8745-db77d3ebf521
2010-01-18 22:56:58 +00:00