Commit Graph

8428 Commits

Author SHA1 Message Date
Nikolay Sokolov 4cbb49517f Fixed Version in FormSignerV4 2014-12-11 23:43:21 +01:00
Adrian Cole 81ce1faed8 fix broken build due to drift in 239d45034b 2014-11-22 09:50:58 -08:00
Adrian Cole e63466263b fooo 2014-11-22 09:50:33 -08:00
Jeremy Daggett 215599049a Add assertj-core and assertj-guava dependencies to project pom 2014-11-22 09:03:19 -08:00
Adrian Cole bbd5175c19 JCLOUDS-480 support version 4 signatures for aws-ec2. 2014-11-22 08:31:54 -08:00
Adrian Cole d71ea714fe JCLOUDS-781 cluster regions is a subset of regions. 2014-11-20 08:08:38 -08:00
Andrea Turli 239d45034b add support for recent centos and ubuntu versions 2014-11-19 17:47:44 +01:00
Adrian Cole eec396f7ac JCLOUDS-621 update live tests for new instance sizes. 2014-11-18 21:27:15 -08:00
Everett Toews 42cc3ce524 JCLOUDS-716: Remove Rackspace First-Gen Cloud Servers 2014-11-18 14:20:59 -06:00
Adrian Cole aec64012ee JCLOUDS-778 Remove OS support tests from TemplateBuilderLiveTest, as people are ignoring failures, 2014-11-18 09:40:42 -08:00
Adrian Cole 4b813ce096 JCLOUDS-774 ec2 api was ignoring the jclouds.region property, which made exceptions possible on all zone-scoped api calls. 2014-11-18 09:40:38 -08:00
Adrian Cole 95141ff877 Revert 428b2bd2ea as this hides inconsistency between regions and zones. 2014-11-18 09:40:37 -08:00
Adrian Cole 6242eae0f4 JCLOUDS-774 cleanup derived location suppliers and backfill test for inconsistent region and zone mappings. 2014-11-18 09:40:37 -08:00
Adrian Cole d6aeb77cae Finished partial fix in 91f405c9fe. 2014-11-18 09:40:37 -08:00
Zack Shoylev ca58491ce8 Small cleanup of how RegionToEndpoint checks arguments. 2014-11-18 09:40:37 -08:00
Adrian Cole 8a322c42e6 JCLOUDS-743 - Remove bluelock-vcloud-zone01 provider 2014-11-18 09:40:36 -08:00
Adrian Cole 2efb1df399 JCLOUDS-743 - Remove greenhousedata-element-vcloud provider 2014-11-18 09:40:36 -08:00
Andrew Gaul 5db2adfc78 JCLOUDS-742 Remove cloudonestorage provider 2014-11-18 09:40:36 -08:00
Adrian Cole c6157f3b9a JCLOUDS-735 Remove ninefold providers. 2014-11-18 09:40:36 -08:00
Adrian Cole d07cf7faaf JCLOUDS-692 Remove the CloudSigma v1 provider. 2014-11-18 09:40:36 -08:00
Reynald Borer 62195c08dd JCLOUDS-621 add missing R3, t2.micro, t2.small and t2.medium instance types to EC2 2014-11-18 09:03:31 -08:00
Ignasi Barrera 0ff7b08108 JCLOUDS-766: Add AWS Frankfurt region 2014-11-18 07:47:06 -08:00
Andrew Phillips 229fdd70cb 'iso8601DateParseWithOptionalTZ' -> 'iso8601DateOrSecondsDateParse' in DateService
Follow-up to d57bbebe
2014-07-28 12:24:21 -04:00
Shri Javadekar 8ce9f79fde Try iso8601SecondsDateParse if iso8601DateParse fails.
S3 compatible blobStores sometimes return date in the format:
"2014-07-23T20:53:17+0000" instead of the more common
"2014-07-23T18:09:39.944Z". This caused jclouds to barf with an
IllegalArgumentException.

This commit tries to parse both the formats for S3. The exception
is thrown if both fail.

Added unit tests for the same.
2014-07-27 18:29:43 -07:00
Ignasi Barrera 3b2f02b723 Removed unnecessary whitespaces and fixed formatting 2014-07-14 11:03:47 +02:00
Ignasi Barrera e94b878b28 Fixed version for hpcloud-blockstorage 2014-07-09 17:42:56 +02:00
Christopher Dancy 7641bd61cd JCLOUDS-607: ComputeService.createNodesInGroup throws NPE on FloatingIPApi.create() 2014-07-09 17:26:57 +02:00
Chris Custine f52a264b87 JCLOUDS-594: ComputeService.suspendNodesMatching throwing UnsupportedOperationException but call still succeeds 2014-07-08 23:38:26 -04:00
Markus von Rüden 0f0207a045 JCLOUDS-619: Introduce MultipartNamingStrategy to generate part names correctly. 2014-07-04 01:13:39 -07:00
Andrew Bayer c0d7b3d248 JCLOUDS-470. Include region in group name for AWSEC2SecurityGroupExtension. 2014-07-03 12:08:42 -04:00
Andrew Gaul c85d728a5a Handle short reads in BasePayloadSlicer
InputStream.read(byte[]) can return fewer bytes than requested.
Specifically ByteSource.concat(ByteSource...).openStream() will only
return as many bytes as the current ByteSource contains.  Thus
ByteSources.repeatingArrayByteSource(byte[]).openStream() will return
short reads despite the byte[] input from its single logical
InputStream.
2014-07-02 15:30:15 -07:00
Andrew Gaul b41c4c2ab0 Backport ByteSources.repeatingArrayByteSource 2014-07-02 15:30:15 -07:00
Epimenidis Voutsakis 10a1b230a9 Added ConsolesApi extension for openstack-nova 2014-07-02 11:48:01 -07:00
Chris Custine fb373d47bf JCLOUDS-585: Add HP Cloud Block Storage Provider (OpenStack Cinder) 2014-07-02 11:10:27 -07:00
Andrew Gaul 0cb2a1563d JCLOUDS-612: Securely create temporary directories
This commit addresses a potential security issue where an attacker
could hijack the ScriptBuilder payload by predicting the temporary
directory name.
2014-07-02 00:14:27 -07:00
Christopher Dancy 7f2845349c JCLOUDS-610: Return the affected nodes from resumeNodesMatching, suspendNodesMatching and rebootNodesMatching
Methods have been refactored to match the functionality provided by destroyNodesMatching.
2014-07-01 09:06:17 -07:00
Ignasi Barrera 3fc2f85254 JCLOUDS-618: Allow servers without boot device in ElasticStack 2014-06-27 19:41:06 +02:00
Everett Toews 0aa7abb0bf Fixed NPE when Server has no Image 2014-06-26 15:04:32 -05:00
Andrew Phillips a8ce281904 JCLOUDS-584: Removing file committed by mistake in fbb4f049 2014-06-24 22:26:06 +02:00
Chris Custine fbb4f04930 JCLOUDS-584: HP Cloud Object Storage Fixes for 13.5 2014-06-24 12:05:07 -07:00
Everett Toews b33825441f Fix for JSON parse error on createNodesInGroup (JCLOUDS-558) 2014-06-23 13:41:11 -05:00
Shri Javadekar 3d4d5aded8 JCLOUDS-589: Reauthenticate on Keystone HTTP 401
This commit ports the Keystone 2.0 fix from JCLOUDS-178 to Keystone
1.1.
2014-06-21 19:20:47 -07:00
Andrew Gaul 04a4ab0022 Upgrade to Apache Rat 0.10
Notably this release resolves RAT-138 which caused excessive run-times
with some inputs.  Changelog:

http://creadur.apache.org/rat/RELEASE_NOTES.txt
2014-06-21 18:52:50 -07:00
Jeremy Daggett 7bb001beed JCLOUDS-455: Add get() method to KeyPairApi 2014-06-20 16:03:28 -07:00
Andrew Bayer 5dbec6fb66 JCLOUDS-602. Added live tests for new EBS volume fields.
While they're implemented in apis/ec2, the tests are in
providers/aws-ec2, generally, to make sure ec2-alike clones won't barf
on them. We're exercising creation of volumes, images and instances
with the new options. I also had to do some sketchy wait-and-loop'ing
in AMIAPILiveTest.testCreateAndListEBSBackedImage() due to what seems
to be a delay on new AMIs showing up in filtered DescribeImages calls,
though they'll show up instantly when you specify the image ID. Go figure.
2014-06-20 13:18:03 -07:00
Andrew Bayer 2ba0092817 JCLOUDS-602 - Add support for volumeType, iops and encrypted to EBS.
Adds CreateVolumeOptions for volume creation, adds support for the
above EBS configs in Image, Volume, BlockDeviceMapping, etc.

Conflicts:
	apis/ec2/src/main/java/org/jclouds/ec2/xml/CreateVolumeResponseHandler.java
2014-06-20 13:17:52 -07:00
Chris Custine bfc000b171 JCLOUDS-583: Updates HP Cloud compute provider to work with 13.5 release 2014-06-20 17:30:08 +02:00
Chris Custine 6d9af2b2ed JCLOUDS-582: Enhancements to availability zones api 2014-06-20 08:06:51 -07:00
Ignasi Barrera 3589c1475a JCLOUDS-588: Register discovered images in the image cache
Images were cached in memory using a memoized supplier. To allow growing
this cache with the discovered images, the ImageCacheSupplier class has
been created. It provides an in-memory cache with all discovered images
and acts as a view over the image cache that also provides access to
them.

The in-memory cache for the discovered images expires with the session,
just as the image cache does.

The default memoized image supplier has been changed to the
ImageCacheSupplier, to make sure all providers get injected the right
instance, and the old supplier has been qualified with the 'imageCache'
name, in case a provider needs the basic image cache.
2014-06-20 15:24:46 +02:00
Jeremy Daggett 21e1bdd4ff Fix replaceAll regex to handle spaces correctly 2014-06-18 10:23:07 -07:00