Commit Graph

316 Commits

Author SHA1 Message Date
Adrian Cole 2332662a90 move to using AtomicReference for retryable predicates saves at least one network call on re-fetch 2012-02-14 23:22:24 +01:00
Adrian Cole 0058c3a5eb updated test expectations to lastest amis 2012-02-04 13:10:53 -08:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Andrei Savu 4ed8f8f85e Renamed getPasswordData to getPasswordDataInRegion & fixed broken unit tests 2012-02-04 20:18:50 +02:00
Aled Sage ef8a2cc01d Issue #445: testing is fixed as side-effect of #364 and #365 work 2012-02-04 15:53:29 +00:00
Aled Sage ab568f0a09 Issues 364 and #365: destroyNode cleans up incidental resources 2012-02-04 15:40:31 +00:00
Adrian Cole 3a9d660b8e refactored ec2 options test, especially to use known image id (it was selecting centos since we changed the location id) 2012-02-03 00:29:42 -08:00
Adrian Cole 3e9c566edc aws related changes for issue 826 2012-02-03 00:29:41 -08:00
Andrei Savu 2b7bb53d20 Changed testTemplateBuilderWithLessRegions to query eu-west-1 2012-02-02 17:41:17 +02:00
Adrian Cole abeffc1119 Issue 824:add field for hypervisor 2012-01-30 22:52:35 -08:00
Adrian Cole 55975af60d Issue 820:Move off PropertiesBuilder for rocoto 2012-01-29 23:11:37 +08:00
Ioannis Canellos 62624e29c7 Added org.jclouds.aws to the imported packages of aws-ec2 bundle. 2012-01-19 02:05:09 +02:00
Ioannis Canellos cfe88031a2 Updated OSGi package imports for compute providers & apis. 2012-01-18 15:02:16 +02:00
Adrian Cole 3df052565f updated current version to 1.4.0-SNAPSHOT 2012-01-16 13:08:32 -08:00
Adrian Cole 9791a51039 better exception message
remoced unused import

removed hokey test
2012-01-15 02:08:14 -08:00
Adrian Cole c151e5bdd7 Issue 730: last deprecated methods scheduled for removal in 1.3 2012-01-10 18:10:55 -08:00
Richard Downer 48c2d21149 Use ImagePredicates.idEquals, instead of writing idEquals from scratch 2012-01-09 19:48:49 +02:00
Richard Downer 3f6997361d Change test now that computeService.listImages() returns a set that refreshes itself - record the before set *size*, rather than the set itself, because the set's contents and size may change 2012-01-09 10:38:47 +02:00
Richard Downer 0ab8ea1bee Change AWSEC2ImageSupplier to return a ForwardingSet, instead of an ImmutableSet. This means the set returned by the Image supplier will reflect changes in the underlying cache. 2012-01-09 10:38:47 +02:00
Richard Downer 5c2e2576bf After registering a new image, computeService.listImages() does not show the new image (because it is cached). Add a live test that demonstrates this behaviour. 2012-01-09 10:38:46 +02:00
Adrian Cole f06e6982eb Issue 800:introduce property for build version 2012-01-05 17:51:55 -08:00
Adrian Cole 99fb37f6cf refactored LiveTest code to share property initialization 2012-01-05 17:51:03 -08:00
Adrian Cole 42137677da Issue 801:fix inconsistency in test property test.provider.apiversion set in pom.xml -> api-version 2012-01-05 13:09:45 -08:00
andreisavu b5228d2299 Allow user to specify the Unit on CloudWatch queries 2011-12-22 17:30:33 +02:00
Adrian Cole 3a8ea09fb9 missing commits 2011-12-22 02:23:20 -08:00
andreisavu 548068c7ff Allow user to specify instance ID as an option for CloudWatch 2011-12-21 23:59:50 -08:00
Adrian Cole f9b38f646c Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible 2011-12-20 23:19:45 -08:00
Adrian Cole 906171c42a aws quick fixies 2011-12-19 14:06:37 -08:00
andreisavu b15db13574 Updated CloudWatchClient code to latest version
See
http://docs.amazonwebservices.com/AmazonCloudWatch/latest/APIReference/i
ndex.html?API_GetMetricStatistics.html
2011-12-19 13:25:06 +02:00
Adrian Cole 6bac1db9fb typos 2011-12-19 01:52:42 -08:00
Adrian Cole bf99fb10a0 Issue 757: refactor elastic ip auto-allocation approach and backfill related tests 2011-12-19 01:46:19 -08:00
Adrian Cole 468ad69c94 missing commit for issue 757 2011-12-18 16:09:19 -08:00
Adrian Cole e942d58fa7 Merge pull request #254 from grkvlt/master
Issue 779: Fix password/privateKey override issues with providers
2011-12-18 13:37:09 -08:00
Andrew Donald Kennedy 31d3fe483f Issue 769: Make password and privateKey optional for LoginCredentials 2011-12-17 14:08:49 +00:00
Adrian Cole beb87a2131 Issue 781:update to guava 11.0-rc1 2011-12-14 23:56:50 -08:00
Adrian Cole 40d2abbac5 Issue 780:add new sa-east-1 region 2011-12-14 22:42:32 -08:00
Aled Sage f140688077 Issue 763: added EC2TemplateBuilderLiveTest to assert httpCommands don't fetch all images 2011-12-13 22:42:13 +00:00
Aled Sage dc181287f6 Extract TrackingJavaUrlHttpCommandExecutorService, so usable by other tests 2011-12-13 22:42:13 +00:00
Adrian Cole a6d6b48c26 example of how to trace http requests made in live tests 2011-12-09 09:28:56 -08:00
Aled Sage 094e537488 Issue 763: cache loader does not reload after AuthorizationException 2011-12-08 10:22:26 -08:00
Aled Sage dad5356991 Issue 763: Supplier<Set<Image>> for EC2 returns set backed by on-demand cache if ami-owners is empty 2011-12-08 10:22:26 -08:00
Aled Sage 741773f9ab Issue 763: set image cache expiry using PROPERTY_SESSION_INTERVAL 2011-12-08 10:22:26 -08:00
Aled Sage a45e16ebb3 Issue 763: code tidy, to use new ImagesToRegionAndIdMap.imagesToMap(Set<Image>) 2011-12-08 10:22:26 -08:00
Aled Sage 1fb371497b Issue 763: image cache loader: wrap in retry logic; don't memoize cache 2011-12-08 10:22:26 -08:00
Aled Sage 635c420a92 Issue 763: don't retrieve all images when template.imageId supplied 2011-12-08 10:22:26 -08:00
Adrian Cole 4a5af1e7a5 Issue 441: added new type: LoginCredentials, and (jclouds|provider).image.(login-user|authenticate-sudo) context properties 2011-11-21 11:00:12 +02:00
Adrian Cole 1b2a221744 rightscale now supports rhel 2011-11-21 11:00:01 +02:00
Adrian Cole 85a0cdfa9c Issue 755:support new cc2.8xlarge instance size 2011-11-16 10:47:44 +02:00
Adrian Cole 4329129c25 Issue 750:property to set the image id for the default template 2011-11-14 19:25:46 +02:00
Adrian Cole 69467b04e3 Issue 752:move off deprecated systemProperties to systemPropertyVariables in surefire 2011-11-14 19:25:45 +02:00
Adrian Cole 4719d3d52b updated comments 2011-11-13 13:29:54 +02:00
Adrian Cole 8569771712 fixed aws-ec2 template tests 2011-11-13 13:28:28 +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 e9cff5e17c Issue 747:add new us-west-2 region 2011-11-09 11:19:40 +01:00
Adrian Cole 03da9402b8 test that we match ubuntu precise in aws-ec2 2011-10-17 21:39:53 -07:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Adrian Cole 2d704bde59 Issue 724:add ubuntu precise to the supported versions 2011-10-16 02:50:45 -07:00
Adrian Cole ed47d255b0 Issue 612: added Name support to aws-ec2 2011-10-15 00:26:54 -07:00
Adrian Cole 921dae7395 moved ec2 image parsing notices out of the compute logger 2011-10-15 00:25:01 -07:00
Adrian Cole 921ca628f7 Issue 722: added specific tests to help troubleshoot GoGrid api issues 2011-10-14 15:50:38 -07:00
Adrian Cole 9018bdafa2 ec2 test stabilization 2011-10-14 10:40:01 -07:00
Adrian Cole a6d481f88a changed to use spot instances in us-west-1 due to connect failures trying to ssh across the atlantic 2011-10-14 02:36:28 -07:00
Adrian Cole 9104eca282 Issue 717: corrected keyPair state logic which was redundantly creating keys 2011-10-14 01:49:18 -07:00
Adrian Cole 7e5a6e68cf Issue 719: add sha1 support to SshKeys 2011-10-13 23:57:46 -07:00
Adrian Cole 7278582730 log more details when creating keys 2011-10-13 02:09:13 -07:00
Adrian Cole c28a2e38c3 Issue 719: added some logging for ssh fingerprints 2011-10-13 01:49:49 -07:00
Adrian Cole 2642882f03 Issue 718:update to latest amazon linux 2011-10-11 17:52:58 -07:00
Adrian Cole 326328b71b spot requests are not opening in us-east-1 or us-west-1: switching to eu-west-1 2011-10-11 17:12:46 -07:00
Adrian Cole 0dbf453dd0 updated image test count 2011-10-11 16:59:42 -07:00
Andrew Donald Kennedy e997ae4d55 612: The tagSet is not cleared between instances when parsing XML responses 2011-10-11 19:58:49 +01:00
Adrian Cole bbbd5a35fc Issue 690:Update to guava 10.0.1 2011-10-10 18:00:07 -07:00
Andrew Donald Kennedy 5b91b20d07 612: Change in predicate to equalTo 2011-10-10 17:11:35 +01:00
Andrew Donald Kennedy 83aae3fe08 612: Treat empty-valued tags differently on running instance node metadata 2011-10-10 17:11:34 +01:00
Andrew Donald Kennedy f306137eb0 612: Added testing of tags for instances and checking for empty key values 2011-10-10 17:11:34 +01:00
Adrian Cole 842da34982 Issue 713:support userMetadata in createNodesInGroup in byon, cloudservers, and aws-ec2 2011-10-07 00:34:44 -07:00
Andrew Donald Kennedy 410b947160 612: Change Multimap occurences to Maps with Iterable values 2011-10-07 01:13:35 +01:00
Andrew Donald Kennedy d4f7140071 612: Changed Tag filters to use Multimap and Collection to Iterable 2011-10-07 01:11:51 +01:00
Andrew Donald Kennedy e30f0f626e 612: Added required classes and tests to support CreateTags, DeleteTags and DescribeTags for TagClient and TagAsyncClient 2011-10-07 01:11:50 +01:00
Adrian Cole f326be00f8 ec2 test stabilization 2011-10-04 02:21:51 -07:00
Adrian Cole 6ad732cda7 Issue 693:add ability to supply node object directly to byon 2011-09-22 13:09:45 -07:00
Adrian Cole b4e4c26f44 fixed ec2 regressions related mapmaker -> cachebuilder 2011-09-22 02:29:14 -07:00
Adrian Cole d4323d1ffd updated centos versions 2011-09-22 00:42:43 -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
Adrian Cole 982e92fe9f Issue 334: changed AWSEC2ComputeServiceLiveTest.testExtendedOptionsAndLogin to use aws-cloudwatch 2011-09-16 16:05:37 -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 bedfee376a Issue 659:Specify non-default key pair for boot script in EC2 2011-09-07 11:50:31 +02:00
Adrian Cole b20cc16693 Issue 677:Race in authorizeGroupToItself and node launch 2011-09-02 13:43:57 -07: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 648d2f4236 Issue 662:ec2 ami query syntax from < 1.1.0 doesn't work on >= 1.1.0 2011-08-16 11:12:34 -07:00
Adrian Cole ccb3d84133 Issue 660:null group on nodes from aws-ec2 provider 2011-08-16 09:26:25 -07: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 8e7ec82322 fixed template ids for live test 2011-07-29 10:54:49 -07:00
Adrian Cole 841b9aae1b fixed security group test 2011-07-29 03:47:49 -07:00
Adrian Cole a26c568d7b Issue 606:add ability to authorize ec2 ingress rules by source group constrained by port range 2011-07-29 03:41:20 -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 c1ae4d06e6 update amazon template to reflect current images 2011-07-22 10:46:40 +10:00
Adrian Cole 6e2cf793b2 Issue 613:Automatically parse cluster ami list 2011-07-08 02:13:12 -07:00
Adrian Cole 3c200645bc added ec2 support for image filters 2011-07-08 02:13:12 -07:00
Adrian Cole 537691226e added hypervisor property to ec2 image 2011-07-08 02:13:12 -07:00
Adrian Cole c4c40eaff5 Issue 619:support parsing ubuntu oneiric 2011-07-05 22:52:45 -07:00
Adrian Cole 7ad9fddf52 Issue 608:Starting a node with a location-id specifying an ec2 availability zone fails 2011-07-04 22:03:55 -07:00
Adrian Cole 750be3137d Issue 608: investigate template where EC2 AZ is specified explicitly leaves ami with correct region code 2011-06-28 11:46:16 -07:00
Adrian Cole b468d3b047 Issue 608: investigate template where EC2 AZ is specified explicitly 2011-06-28 11:43:27 -07:00
Adrian Cole 0502300840 fixed ec2 security group live test 2011-06-27 02:26:51 -07:00
Adrian Cole 3e80c0433c osgi fix 2011-06-24 18:44:16 +08: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
Adrian Cole a0692e737f refactored so that eucalyptus m1.small can use 64 bit image 2011-06-02 13:20:17 -07:00
Adrian Cole 2360bd1afd bumped aws-ec2 to 11.04 ubuntu 2011-06-02 13:19:39 -07:00
Adrian Cole 1858f77451 fixed regressions on ec2 2011-06-01 16:18:24 -07:00
Adrian Cole b84a0e57fc Issue 586: updated retryable messages to include channel failure 2011-06-01 12:04:28 -07: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
Jeremy Whitlock 1e2ebc0365 Issue 550: Added support to retrieve ISO 3166 codes from ProviderMetadata.
[in core/src/main/java/org/jclouds]

* providers/BaseProviderMetadata.java
  (equals, hashCode): Updated for the iso 3166 codes.

* providers/ProviderMetadata.java
  (getIso3166Codes): Added.

[in core/src/main/test/org/jclouds]

* providers/JcloudsTestBlobStoreProviderMetadata.java,
  providers/JcloudsTestComputeProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/aws-ec2/src/main/java/org/jclouds]

* aws/ec2/AWSEC2ProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/aws-s3/src/main/java/org/jclouds]

* aws/s3/AWSS3ProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/trmk-ecloud/src/main/java/org/jclouds]

* vcloud/terremark/TerremarkECloudProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/trmk-vcloudexpress/src/main/java/org/jclouds]

* vcloud/terremark/TerremarkVCloudExpressProviderMetadata.java
  (getIso3166Codes): Added.
2011-05-23 16:03:37 -06:00
Adrian Cole f70b793533 Issue 550: updated aws provider metadata 2011-05-17 00:01:52 -07:00
Adrian Cole 36e6ca787d Issue 550: added api docs, identity and credential names 2011-05-16 21:37:25 -07:00
Adrian Cole 4d81a5aa28 Issue 550: moved providers into a scoped package and made a base test class 2011-05-16 18:59:31 -07: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 6e483c7f7c Merge branch 'master' of https://github.com/jcscoobyrs/jclouds
* 'master' of https://github.com/jcscoobyrs/jclouds:
  Added a note to the org.jclouds.providers.BaseProviderMetadata class in core
  Implemented the provider metadata for the aws-ec2 cloud provider.
  Updated the core project POM to exclude ProviderMetadata plugins from the
  Added an abstract ProviderMetadata object to allow for overriding the equals and
2011-05-12 15:31:18 -07:00
Jeremy Whitlock 259159708d Implemented the provider metadata for the aws-ec2 cloud provider.
[in providers/aws-ec2/src/main]

* java/org/jclouds/providers/AWSEC2ProviderMetadata.java: Added.

* main/resources/META-INF/services/org.jclouds.providers.ProviderMetadata: Added.

[in providers/aws-ec2/src/test]

* java/org/jclouds/providers/AWSEC2ProviderTest.java: Added.
2011-05-12 00:41:45 -06: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
Adrian Cole 8bb518bb33 spot now supports cluster compute 2011-04-14 17:20:42 +01:00
Adrian Cole 9e94fc6fc9 updated license headers 2011-04-09 03:20:17 -07:00
Adrian Cole a3fc778035 Issue 512: locked virtualization type down 2011-04-07 16:25:17 -07:00
Adrian Cole 41ed21d5b0 Issue 512: aws-ec2 compute cluster size -> amzn linux 2011-03-27 17:37:25 -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 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 0e18bbeba5 ec2 amzn linux now out of beta 2011-03-18 17:42:21 -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 f778dd3987 added missing spot state: closed 2011-03-08 15:01:13 -08:00
Adrian Cole fb4714cf33 added missing spot state: closed 2011-03-08 14:59:00 -08:00
Adrian Cole faa38774f4 removed credential when deleting spot instance 2011-03-08 14:49:11 -08:00
Adrian Cole b0c4b9be9a Issue 308: added compute service hooks for spot instances 2011-03-08 13:48:04 -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 77d91f6e1a changed single instance spot syntax to only return a single value 2011-03-08 00:32:44 -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 ab46268ca2 started code for ec2 spot instances 2011-03-07 00:58:50 -05: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 9892fb1d1b Issue 499: added ssh key import to AWSKeyPairClient 2011-03-06 09:22:37 -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 739bcc4c68 Issue 491:support new ap-northeast-1 region in aws 2011-03-03 09:44:53 -05:00
Adrian Cole 67a13f439c added new retryable ssh exceptions 2011-02-27 16:41:57 -08:00
Carlos 3a9ffb5871 Upgrade jsch to 0.1.44-1 and use dependencyManagement for it 2011-02-18 16:44:55 +01:00
Adrian Cole af3bf555c1 Issue 478:update to jsch 0.1.44 2011-02-15 18:46:00 +01:00
Adrian Cole 1bd1ff6684 Issue 478:update to jsch 0.1.43 2011-02-15 18:23: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 359a0feeaa added missing jsch dep 2011-02-01 21:18:24 -08:00
Andrew Phillips 0e90930ef7 Added READMEs for all providers, with information on which API JARs are expected on the classpath 2011-02-01 09:34:18 +01:00
Adrian Cole 4a52218565 Issue 457: rename tag -> group 2011-01-31 18:02:54 -08:00
Adrian Cole a1dbbd203c Issue 448: new EC2 EBS support 2011-01-31 14:14:05 -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 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 89d201854b Issue 440: decoupled aws concepts from base ec2 driver; Issue 445: gracefully handle security group in-use 2011-01-27 20:27:35 -08:00
Adrian Cole 81796fafb0 scope ec2 image parsing to providers 2011-01-26 16:30:44 -08:00
Adrian Cole 0455e0f509 refactored runScript logic 2011-01-23 12:19:28 -08:00
Adrian Cole 99c02b1684 fixed regressions 2011-01-16 22:17:08 -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 71fc2792f3 Issue 440: moved jclouds-aws to aws-common 2011-01-06 16:48:51 -08:00
Adrian Cole 47faeaf1bf Issue 440: corrected poms 2011-01-06 12:11:04 -08:00
Adrian Cole 739da911d2 Issue 440: moved aws-ec2 into its own provider module 2011-01-05 22:27:46 +01:00