Commit Graph

220 Commits

Author SHA1 Message Date
Adam Lowe 8350e453ca Exposing fields of CreateVolumeResponseHandler to subclasses 2012-04-17 12:38:18 +01:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07: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 6f6b958aad Issue 888, 895: temporary workaround to stop openstack-nova-ec2 from using # characters 2012-04-03 00:34:58 -07:00
Adrian Cole f70ef81828 Issue 895:add openstack-nova-ec2 api 2012-04-03 00:06:24 -07:00
Adrian Cole 128a906104 Issue 895:add openstack-nova-ec2 api 2012-04-03 00:06:00 -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 49e475edcd Issue 888: consolidate code that addresses naming conventions, using hyphen as default delimiter 2012-03-28 03:37:54 -04: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 2ae849dd94 Issue 883:Allow login credentials by osfamily to be specified per-provider 2012-03-22 12:39:48 -07:00
Adrian Cole a1fbb00da6 Issue 871: only providers can have null parent 2012-03-15 14:47:12 -07:00
Aled Sage 1ea877354b Issue 445: retry EC2ComputeService.cleanUpIncidentalResources due to failure if done too soon after last VM terminates! 2012-03-13 12:45:37 +00:00
Adrian Cole 38de846947 Issue 859:AWS EC2 Updates: New Medium Instance, 64-bit Ubiquity 2012-03-08 10:52:56 -08:00
Fabian Steeg 474aa52da9 If group name can't be parsed from a group ID, try the key name
When the security group is not generated by jclouds (e.g. when
using a custom group, or when in a VPC which generally requires
its own security groups), the group name to launch nodes into is
lost, since it is parsed from the generated security group ID.

This patch introduces a very local workaround: try to parse the
name from the key name, which if generated by jclouds has a format
that is very similar to the generated security group ID.

While probably not the ideal solution for persisting the group
name either (using user metadata might be), this fixes a blocking
issue for scenarios where you can't use a generated security group
ID (using a VPC in our case), but you can use a generated key pair
name.

Also it shouldn't interfere with existing usage: if a name can be
parsed from the security group, that is used, and if the key name
is not generated, the behaviour remains as it currently is (group
name is null if it can't be parsed from the security group).
2012-02-29 16:27:42 +01:00
Adrian Cole 636c3bb6e5 Issue 357:Init script should check for errors + herefile fixes + script events 2012-02-19 01:53:19 +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 ed7b8895e6 Issue 840:remove compute.clj and blobstore.clj 2012-02-15 14:55:26 +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 fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Adrian Cole 68e657fb4e fixed typo 2012-02-04 10:40:50 -08:00
Andrei Savu 4ed8f8f85e Renamed getPasswordData to getPasswordDataInRegion & fixed broken unit tests 2012-02-04 20:18:50 +02:00
Richard Downer 27aaafe139 Test to demonstrate getting the Windows Administrator password 2012-02-04 19:46:53 +02:00
Richard Downer c665eb6a6b Add a function that decrypts the Windows Administrator password generated by Amazon and returns a LoginCredentials instance. 2012-02-04 19:46:53 +02:00
Richard Downer a50c092836 Add the EC2 API call "GetPasswordData" to retrieve the encrypted Windows Administrator password. 2012-02-04 19:46:52 +02:00
Richard Downer 7c9fb31d0f EC2ImageParser was not setting the name 2012-02-04 19:46:52 +02:00
Aled Sage ab568f0a09 Issues 364 and #365: destroyNode cleans up incidental resources 2012-02-04 15:40:31 +00:00
Adrian Cole ae1effd748 made openstack multi-region, and now select correct endpoint via apiversion property 2012-02-04 00:51:44 -08:00
Adrian Cole c388fc41b4 Issue 826: removed eager supplier of @Provider endpoint 2012-02-03 13:51:26 -08:00
Adrian Cole 3e9c566edc aws related changes for issue 826 2012-02-03 00:29:41 -08:00
Adrian Cole abeffc1119 Issue 824:add field for hypervisor 2012-01-30 22:52:35 -08:00
Adrian Cole f93c495c43 refactored to use consistent setup*Properties methods like expect tt tests 2012-01-29 20:36:24 +08:00
andreisavu 8489cc4e05 Unit test for VolumeDetached predicate 2012-01-24 19:47:25 +02:00
karthikarun fd01759c8a Added new VolumeDetached predicate for EBS support 2012-01-24 17:50:06 +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 16a973c08c handle case when image location is null (ex. not scoped to a location)
work on templates where image and hardware have no location

better warning messages on templates we cannot use

lookup images less often in vcloud
2012-01-15 02:12: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
Adrian Cole f3f56463b4 centralized RestContext<S,A> binding 2012-01-10 12:21:25 -08:00
Adrian Cole e46ee9fbc4 Issue 807:update license headers 2012-01-09 10:54:57 -08: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
Andrew Phillips d3ab85918e Updated explanation of a potentially unexpected cast to refer to the JDK bug that necessitates it 2012-01-05 15:31:44 -05:00
Andrew Phillips 1ba75f623f [issue 795] Fixing a compilation failure in EC2ListNodesStrategy - looks like something happened with generic casts between Java 6 and 7 (see http://stackoverflow.com/questions/8637937/why-does-a-generic-cast-of-a-list-extends-set-to-listset-succeed-on-sun) 2011-12-26 21:17:40 +00:00
Adrian Cole 3a8ea09fb9 missing commits 2011-12-22 02:23:20 -08:00
Adrian Cole 20f3e52731 Merge branch 'master' of https://github.com/grkvlt/jclouds
* 'master' of https://github.com/grkvlt/jclouds:
  The describeAddressesInRegion call returns empty set on not found, not exception
  PublicIpInstanceIdPair has different id format to node
  Issue 757: Remove old public IPs when associating  elastic IP addresses
2011-12-21 03:46:00 -08:00
Andrew Donald Kennedy 979d9ba046 The describeAddressesInRegion call returns empty set on not found, not exception 2011-12-21 11:13:46 +00:00
Andrew Donald Kennedy ee0bade6ad PublicIpInstanceIdPair has different id format to node 2011-12-21 11:05:29 +00:00
Andrew Donald Kennedy ddbf39e4a6 Issue 757: Remove old public IPs when associating elastic IP addresses 2011-12-21 10:51:35 +00: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 29809d6e09 should cleanup after test 2011-12-19 02:39:07 -08: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
Jan Paral 1f095fda4a Issue 757: Auto allocate Elastic IPs and deal with empty tags in describe security groups response 2011-12-18 16:47:13 -07: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 44df7b0d69 Issue 763: deleted testTemplateBuildsFasterByImageIdThanBySearchingAllImages 2011-12-13 22:42:14 +00:00
Aled Sage d32bbc18c4 Issue 763: moved testTemplateBuildsFasterByImageIdThanBySearchingAllImages, from EC2ComputeServiceLiveTest to EC2TemplateBuilderLiveTest; disabled in eucalyptus-partner-cloud 2011-12-13 22:42:13 +00: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 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 d81d1680f7 remap public ip to private ip if incorrectly set by ec2 clone api 2011-12-07 13:32:44 -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 85a0cdfa9c Issue 755:support new cc2.8xlarge instance size 2011-11-16 10:47:44 +02:00
Adrian Cole fa4e7da19d added constructor so that whirr can use it 2011-11-16 08:01:06 +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 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 dd89ad3068 backfilled tests and refactored most of org.jclouds.location.suppliers package 2011-10-23 04:38:25 +02:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Adrian Cole ed47d255b0 Issue 612: added Name support to aws-ec2 2011-10-15 00:26:54 -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 c28a2e38c3 Issue 719: added some logging for ssh fingerprints 2011-10-13 01:49:49 -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 cd710a2a94 Issue 715:Unable to resolve symbol: -?> in this context 2011-10-11 09:23:07 -07:00
Adrian Cole bbbd5a35fc Issue 690:Update to guava 10.0.1 2011-10-10 18:00:07 -07:00
Adrian Cole 842da34982 Issue 713:support userMetadata in createNodesInGroup in byon, cloudservers, and aws-ec2 2011-10-07 00:34:44 -07:00
Adrian Cole 04a5aa8f71 Merge pull request #91 from ahgittin/704-clojure13
Issue 704: clojure13
2011-10-04 00:49:43 -07:00
Alex Heneveld 9d30fde375 issue 704, clojure 1.3 compatibility: removed uses of clojure-contrib, bringing in preferred modular dependencies where needed (tools.logging and core.incubator), adding the map-str function (that is all that was missing from clojure-contrib string), changing uses of "condition" to be java.lang.Exception, and changing the reference to private type byte-array-type to be the class directly in its own extend-protocol block since private type isn't liked under clojure 1.3; also removed clojure 1.1 build profile 2011-10-03 11:17:16 +01:00
Adrian Cole ec7a736771 updated eucalyptus tests 2011-09-30 22:38:25 -07:00
Adrian Cole 79a8336b10 Issue 696:The security group 'X' does not exist error when creating nodes 2011-09-22 22:53:09 -07:00
Adrian Cole b4e4c26f44 fixed ec2 regressions related mapmaker -> cachebuilder 2011-09-22 02:29:14 -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
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 7f3ca1ad70 Issue 674: fixed merge problem 2011-09-01 16:33:28 -07:00
nterry 428b2bd2ea Fixed ec2 issue where whole thing aborts if one regoin is unavailable. Should be easy to implement with other providers. 2011-09-01 10:36:00 -06:00