Adrian Cole
d766f8d4e3
stable ec2
2012-09-16 22:37:13 -07:00
Adrian Cole
6f5ebf3e90
Issue 1085:deprecate getRegion from EC2 domain objects
2012-09-16 12:55:48 -07:00
Adrian Cole
0b31622267
cleaned ec2 instance type
2012-09-15 14:05:24 -07:00
Adrian Cole
c7f35d3bb1
removed invalid @Nullable usage and also usage of javax package usage
2012-08-11 20:59:16 -07:00
Adrian Cole
3ab960ce39
made ec2 tests a bit more portable
2012-08-02 17:08:10 -07:00
vijaykiran
7a81769e1c
Issue-1051 overrideLoginUser not working
2012-08-03 01:14:09 +02:00
Adrian Cole
391c61c852
Issue 1051: added unit test to show what's wrong
2012-08-01 21:56:42 -07:00
Adrian Cole
b5558a25e9
test expectations
2012-07-30 12:31:16 -07:00
Adrian Cole
53fe278f03
added windows password parsing to ec2
2012-07-30 12:31:11 -07:00
Andrew Gaul
8ed0e28e68
Spelling corrections
2012-07-26 22:39:35 -07:00
Adrian Cole
1b0d6e027a
prettier toString on ec2
2012-07-26 10:07:14 -07:00
Richard Downer
6c86b89d83
DescribeSnapshotsResponseHandler bug parsing tags
...
DescribeSnapshotsResponseHandler behaved incorrectly when a snapshot had
metadata tags added - it would stop parsing and start the next Snapshot
object every time it saw an </item> tag. Since metadata tags contain
</item>, each tag would cause a new Snapshot object in the response
containing all nulls. Fixed by counting the tag nesting depth and only
responding to </item> at the correct nesting level.
2012-07-25 16:20:12 +01:00
Adrian Cole
5d6e005e8b
Issue 1030:defaults not picking up on compute.templateOptions()
2012-07-25 00:33:39 -07:00
Adrian Cole
416a795796
Merge pull request #750 from andrewgaul/predicates2
...
Introduce Predicates2.startsWith and endsWith
2012-07-24 23:17:41 -07:00
Andrew Gaul
3648863a3c
Introduce Predicates2.startsWith and endsWith
2012-07-24 22:21:34 -07:00
vijaykiran
de3db2103d
issue-1026 Support for aws-ec2 hi1.4x instance
2012-07-25 00:26:21 +02:00
Adrian Cole
1ee26e4754
Issue 1024:Not possible to create hvm Linux nodes on Amazon
2012-07-17 23:15:06 -04:00
Andrew Donald Kennedy
4463b52051
Added optional timeout to EC2 listNodes strategy and made awaitCompletion update latch in finally block
2012-07-16 16:58:37 +01:00
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00
vijaykiran
66dbff6b45
Updated Comment.
2012-07-10 01:34:46 +02:00
vijaykiran
9cceb4e05f
Issue 968:
...
Add DNS Name as public address when describe instance response doesn't contain IPAddress
2012-07-10 00:29:38 +02:00
Adrian Cole
e9bfb9d1a2
Issue 1007: changed ec2 date parsing logic to use DateCodec and isolated hacks to eucalyptus and openstack-nova-ec2 respectively
2012-07-06 22:54:45 -07:00
vijaykiran
769ace1640
Fixes #816 unable to set security group ingress with AWSEC2Client
2012-07-05 00:22:20 +02:00
Adrian Cole
547c73ab00
cleaner error messages in templateBuilder
2012-07-02 12:21:13 -07:00
h h
0d285a7f62
missing imports
...
create-image-in-region works
2012-06-29 11:13:53 -07:00
h h
f65ed49715
base AMI bundling support of a running EBS instance
2012-06-29 11:13:30 -07:00
Adrian Cole
30ba717969
Issue 977:ec2 zones are not mapping to endpoints
2012-06-15 23:36:17 -04:00
Adrian Cole
a928746528
Issue 976:update to support eucalyptus 3
2012-06-15 23:35:18 -04:00
Adrian Cole
d29fbba783
Issue 980: timestamp on ec2 requests are in the future
2012-06-15 23:35:17 -04:00
Adrian Cole
d980b4fd42
changed test poms to use provider.template and provider.ec2-template accordingly
2012-06-15 23:35:10 -04:00
Adrian Cole
69d7e1d585
cloudbridge exposes a slightly different xml format for RunningInstances
2012-06-15 23:31:39 -04:00
Adrian Cole
8a34254c8e
in CloudBridge terminatedInstances go away quickly unveiling the need to address instanceId not found
2012-06-15 23:31:33 -04:00
Aled Sage
a8b3eb4c2c
EC2ImageParser checks platform==windows for OsFamily
2012-06-14 20:52:46 +01:00
Andrew Donald Kennedy
7fd1c65575
Issue 960: Add EC2 GetConsoleOutput API call
2012-06-07 03:45:44 +01:00
Adrian Cole
bcd3d50ad6
Issue 956:add getImage by id to ComputeService
2012-06-04 16:54:49 -07:00
Adrian Cole
ef31f5114d
added rawState to RunningInstance
2012-06-04 16:54:30 -07:00
Adrian Cole
92d1f1b471
moved to explicitly adding clojure projects
2012-06-03 17:28:56 -07:00
Adrian Cole
5a3f6011a2
removed junit test dependency
2012-06-03 17:26:57 -07:00
Ioannis Canellos
b078adc3ce
Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin.
2012-06-03 19:41:54 +03:00
Adrian Cole
96773b8a1b
Issue 952:add status field to image
2012-05-30 21:22:10 -07:00
hhrasna
ef17ef23ea
EC2 image architecture can be null. Don't throw NPE if architecture is null.
2012-05-30 20:45:20 -03:00
Adrian Cole
07c2c24721
Issue 949:Introduce: ComputeMetadataIncludingStatus; Deprecate NodeState -> NodeMetadata.Status
2012-05-29 20:41:10 -07:00
Adrian Cole
67d8f9a0f4
image extension related classes under extensions package
2012-05-21 12:39:32 -06:00
Adrian Cole
a53cece32d
Issue 445: moved incidental test into its own class until we can convert it to an expect test
2012-05-18 17:49:59 -07:00
Adrian Cole
5340e947d3
while image can be null in templateBuilder, image will never be null in a template
2012-05-10 17:19:29 -07:00
Adrian Cole
59f2b6d171
Merge pull request #625 from aledsage/Issue-888-GroupNamingConvention
...
Issue 888 group naming convention
2012-05-10 16:45:39 -07:00
Adrian Cole
a6cc00e078
Merge pull request #603 from dralves/image-extension-all
...
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers...
2012-05-10 16:43:27 -07:00
Aled Sage
94ac48070d
Issue 888: use GroupNamingConvention for keyName/securityGroup; don't include region in name
2012-05-10 16:47:37 +01:00
David Ribeiro Alves
f63c5a44c6
corrected formating issues and added headers
2012-05-10 09:07:12 +01:00
David Ribeiro Alves
129d827355
implemented ec2 expect tests
2012-05-10 08:42:45 +01:00
David Ribeiro Alves
c7469bbf4a
cloudservers and ec2 imageextension expect tests on the way
2012-05-10 06:54:13 +01:00
Adam Lowe
850cdc2fc8
Moving EncodedRSAPublicKeyToBase64 (and corresponding unit test) up into EC2 so both openstack-nova-ec2 and aws-ec2 can share the same class
2012-05-03 12:31:39 +01:00
David Ribeiro Alves
082158ac3f
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers implemented but has issues
2012-05-03 03:55:40 +01:00
Andrew Gaul
74440a7a87
Eliminate Throwables2.propagateOrNull
...
Throwables.propagate always propagates the Throwable; there is no need
to return null.
2012-05-02 13:51:36 -07:00
Matt Stephenson
381851b8ab
Remove IPSocket class, replace with Guava's HostAndPort class.
2012-04-25 17:52:01 -07:00
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
Richard Downer
f66cd71b49
WindowsClientLiveTest wasn't running due to lack of BouncyCastleCryptoModule and a problem with the test properties
2012-04-25 19:42:24 +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
Adam Lowe
0d43c1dd46
Exposing contents of DescribeImagesResponseHandler to subclasses
2012-04-17 13:29:14 +01:00
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