Commit Graph

295 Commits

Author SHA1 Message Date
Richard Downer 18a65bf1a7 Move WindowsClientLiveTest from ec2 to aws-ec2 as it depends on AWS's published AMIs and naming conventions 2012-04-25 20:18:13 +03:00
Richard Downer 1a77b194e5 EC2 Windows AMIs have a separate owner (which changed recently) - add this owner ID to the default set. Update WindowsClientLiveTest to use the default set and verify it passes. 2012-04-25 19:42:35 +03:00
Adrian Cole df7d2acbb4 wrapper -> view 2012-04-23 19:14:36 -07:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Adrian Cole f1010e13a4 fixed aws-ec2 image parsing 2012-04-21 10:59:01 -07:00
Adrian Cole dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
Adrian Cole 2f9b1738a0 Merge pull request #572 from dralves/image-extension
implemented image extension
2012-04-18 07:37:02 -07:00
Adrian Cole 5ea29cbbb7 Merge pull request #560 from danikov/covariant-future-iterables
covariant compatible version of futureIterables
2012-04-18 07:35:23 -07:00
danikov fff1c7dc2d make FutureIterables covariant compatible + update tests 2012-04-18 13:06:54 +01:00
David Ribeiro Alves 05212b75fa implemented image extension 2012-04-18 09:37:44 +01:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Adrian Cole 3b2e6ea796 fix cloudwatch 2012-04-13 10:48:38 -06:00
Adrian Cole 23cb01f977 refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage 2012-04-11 19:47:09 -06:00
Andrew Gaul b47860afc1 Use inference to elide duplicated type parameters
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole 00c7179f72 moved cacheloaders to the correct package 2012-04-05 17:42:06 -07:00
Adrian Cole 3923e78b9a Issue 896:ec2 doesn't pay attention to api version property 2012-04-02 22:24:59 -07:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
Adrian Cole a6429398fd Issue 891: switch to openjdk; tested on ubuntu 2012-03-30 16:57:31 -07:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole 343470d0a5 removed deprecated RunScriptOptions & TemplateOptions 2012-03-28 03:37:43 -04:00
Adrian Cole 025396be37 added new properties object 2012-03-28 03:37:41 -04:00
Richard Downer 5d1c5aec9e Add regexp that matches style of Windows AMI names in EC2 starting March 2012. Add a unit test. 2012-03-25 10:52:44 +02:00
Adrian Cole 428c08379d aws-ec2 template update 2012-03-12 21:53:01 -07:00
Adrian Cole 926cd0991f spot test also needs m1.medium 2012-03-09 12:28:10 -08:00
Adrian Cole 38de846947 Issue 859:AWS EC2 Updates: New Medium Instance, 64-bit Ubiquity 2012-03-08 10:52:56 -08:00
Adrian Cole 4d919ce14e cloudwatch free interval is 5m not 1m 2012-02-26 16:55:18 +02:00
Ioannis Canellos ebe53d1b71 Fixed aws-ec2 bundle imports 2012-02-17 02:01:39 +02:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
Adrian Cole 2da5d297a5 Issue 838: convert jboss tests and java tests to use InstallJDK 2012-02-14 23:22:24 +01:00
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