Andrew Gaul
c035bcd6b2
JCLOUDS-459: Limit maximum user threads
...
Previously jclouds could use an unlimited number of threads on its
user ExecutorService. While this ExecutorService will go away when we
complete deasyncafication, we should prevent jclouds from misbehaving
until that time.
2014-02-19 10:04:50 -08:00
Andrew Gaul
266d7f847b
Prefer ByteSource over deprecated InputSupplier
2014-02-18 22:35:10 -08:00
Andrew Gaul
076e31b076
Address Checkstyle violations
2014-02-18 22:33:56 -08:00
Andrew Gaul
1f08b692cd
JCLOUDS-473: Close FileInputStream in Wire.copy
...
FileBackedOutputStream.asByteSource.getInput returns a FileInputStream
which we do not close. We later call FileBackedOutputStream.reset
which removes the underlying File. This fails on Windows which does
not support deleting an open file and leaks resources on other
platforms. Eagerly close to address this issue.
2014-02-18 16:42:40 -08:00
Andrew Bayer
a656c7292f
JCLOUDS-467. Properly iterate over node names for EC2 instance creation.
2014-02-14 14:54:09 -08:00
Andrew Bayer
a0ad055e63
JCLOUDS-470. Include region in group name for AWSEC2SecurityGroupExtension.
2014-02-14 12:09:41 -08:00
Andrew Phillips
a1fc6558ed
Removing unused Sonatype OSS plugin snapshot repository
2014-02-12 00:10:33 -05:00
Andrew Phillips
d7d76291ae
Moving dependencies for the Checkstyle plugin into a profile
...
Follow-on from 335f594
2014-02-12 00:10:20 -05:00
Andrew Gaul
8c495ddee4
JCLOUDS-137: Retry on HTTP 500 AtmosError 1040
2014-02-11 12:12:54 -08:00
Andrew Gaul
53134dfa4e
Improve use of Splitter in Atmos code
2014-02-10 09:39:44 -08:00
Andrew Phillips
4c07702d29
JCLOUDS-432: Revert "JCLOUDS-427: Avoiding Guava reflection code broken in Java 7u51"
...
This reverts commit 8ff60020f8
.
2014-02-10 10:01:02 -05:00
Andrew Phillips
02615adc4f
JCLOUDS-427: Upgrading Guava 16.0 -> 16.0.1
...
Fixes Guava issue 1635.
2014-02-10 10:01:01 -05:00
Andrew Bayer
e1c8c88cf5
JCLOUDS-450. Adding support for EC2 MaxCount option.
...
Note - no live test for this, because it's very hard to guarantee a
situation where it would be relevant.
2014-02-07 15:03:43 -08:00
Zack Shoylev
30a29cc73e
Adds a top-level zone filter. New live tests iterate over all available zones to ensure jclouds is fully compatible. Sometimes we want to filter to specific zones on demand.
2014-02-07 10:37:49 -06:00
Andrew Phillips
4330eaec57
JCLOUDS-452: Adding bcpkix to the jclouds-sshj driver. Required by sshj.
...
Thanks to Andrea Turli and Ignasi Barrera for research and testing!
2014-02-05 17:02:15 +00:00
Andrew Phillips
32a2a7c59b
JCLOUDS-440: Upgrading Bouncy Castle to 1.49 (1.50 has issues with OSGi)
...
Artifact ID has also changed: bcprov-jdk16 -> bcprov-ext-jdk15on
2014-01-29 18:41:33 -05:00
Andrew Gaul
241abea734
Store propagatable exceptions in a static field
...
Also include ResourceAlreadyExistsException. References JCLOUDS-438.
2014-01-29 10:30:18 -08:00
Ioannis Canellos
52f25fd284
[JCLOUDS-439] Fix osgi metadata on jclouds-sts.
2014-01-29 15:46:34 +02:00
Andrew Gaul
0098751f42
JCLOUDS-438: Map S3 code BucketAlreadyExists
...
Mapping to ResourceAlreadyExistsException allows external callers to
handle this situation specifically.
2014-01-28 21:21:46 -08:00
Andrew Phillips
ea5128209a
JCLOUDS-415: Upgrading Guava 15.0 -> 16.0
2014-01-28 07:57:35 -05:00
Andrew Phillips
d77f96bed7
JCLOUDS-415: Preparing for Guava 16.0
...
Invokable.equals has changed from 15 to 16 so we need to implement the check differently ourselves.
2014-01-28 07:57:34 -05:00
Ignasi Barrera
0625c087fa
JCLOUDS-431: Added m3.medium and m3.large instance types to EC2
2014-01-24 16:32:08 +01:00
Andrew Phillips
8ff60020f8
JCLOUDS-427: Avoiding Guava reflection code broken in Java 7u51
...
- Adding a version of TypeToken.where that replaces two parameters in one go
- Avoiding TypeToken type parameter replacement with wildcard bounds
Works around https://code.google.com/p/guava-libraries/issues/detail?id=1635
2014-01-23 23:28:00 -05:00
Andrew Phillips
b59457a405
Fixing an error message about an unassignable backend
2014-01-23 09:09:47 -05:00
Zack Shoylev
d76a9d921e
The metadata needs to be ordered for this implementation.
2014-01-20 23:03:26 -06:00
Jeremy Daggett
55aadf858a
JCLOUDS-423: Update Service Type for Cloud Files CDN
2014-01-20 11:53:56 -06:00
Andrew Gaul
9416416ff4
Address Checkstyle violations
2014-01-19 20:51:51 -08:00
Andrew Gaul
d5fd82500c
JCLOUDS-428: Address Java 8 compatibility nits
...
Tested with JDK 1.6.0_45, 1.7.0_45, and 1.8.0-ea-b123.
2014-01-19 20:37:45 -08:00
Audrius Butkevicius
05c2986d08
JCLOUDS-426. Update Elasticstack vnc password key
2014-01-17 12:50:24 +01:00
Zack Shoylev
6ab1f6ccce
Adds support for networks in the NovaComputeServiceAdapter Related to https://issues.apache.org/jira/browse/JCLOUDS-416
2014-01-14 12:53:54 -06:00
Ignasi Barrera
09a430744a
Added OkHttp driver to support modern HTTP verbs
2014-01-13 10:47:39 +01:00
Andrew Bayer
35ecf794cf
Cleaning up nodeNames/networks copy-paste mixup in EC2TemplateOptions as well
2014-01-08 15:44:15 -08:00
Andrew Bayer
031b75c31a
Cleaning up nodeNames/networks copy-paste mixup in CloudSigmaTemplateOptions
2014-01-08 15:25:02 -08:00
Andrew Bayer
e2cd6d8322
JCLOUDS-416. Add TemplateOptions#networks.
...
- Adds networks field/methods to TemplateOptions.
- Adds them to children as well for legacy reasons.
- Deprecates CloudStackTemplateOptions#networkIds methods in favor of #networks.
- TODO: Modify compute abstraction layer for provisioning for nova,
EC2, et al to take advantage of this.
2014-01-07 16:15:48 -08:00
Andrew Gaul
b27658eccd
Propagate status in deleteAndVerifyContainerGone
...
Consuming the result of deleteContainerIfEmpty avoids an eventual
issue with Swift containers. Also backfill some tests for
deleteContainerIfEmpty. Fixes JCLOUDS-420.
2014-01-06 11:41:45 -08:00
Zack Shoylev
9089f68c18
Adds cloud databases to jclouds-all
2014-01-03 11:46:06 -06:00
Andrew Gaul
285bc03e97
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
2013-12-26 13:13:50 -08:00
Andrew Gaul
3143e43a27
Remove erroneous deprecation of ByteSource method
2013-12-26 08:24:04 -08:00
Andrew Gaul
c7b0f66544
Replace calls to Closeables.closeQuietly
...
Guava 16 removes this API. Replace with Closeables2.closeQuietly.
References JCLOUDS-413 and JCLOUDS-415.
2013-12-21 12:30:59 -08:00
Andrew Gaul
f9e98681b6
Address miscellaneous Guava deprecations
...
References JCLOUDS-415.
2013-12-20 14:05:44 -08:00
Andrew Bayer
fcca1fd525
JCLOUDS-412. Add the new i2.* instance sizes
2013-12-20 10:05:33 -05:00
Andrew Bayer
c1ee11d9bd
Updating to 1.8.0-SNAPSHOT
2013-12-17 11:31:56 -08:00
Andrew Gaul
9d2e4759a3
JCLOUDS-410. Correctly override getInput
...
Payload.getInput must always call openStream to handle overridden
methods correctly. Previously this caused errors in jclouds-chef in
BaseCipherPayload.
2013-12-17 08:02:03 -08:00
Andrew Bayer
16ea4fb33f
Switch to maven-compiler-plugin 3.1
2013-12-16 16:02:26 -08:00
Andrew Bayer
805d45a7a9
Fixing rackspace-clouddatabases-{us,uk} openstack-trove dependency groupIds
2013-12-16 15:50:19 -08:00
Andrew Gaul
d25e972344
JCLOUDS-401. Make BlobName Function type-safe
2013-12-16 15:04:14 -08:00
Andrew Gaul
ac06e32e72
JCLOUDS-399: Deprecate BlobBuilder.calculateMD5
...
Callers should instead call BlobBuilder.contentMD5, usually with the
results from Guava Hashing.md5(). This narrows the API and removes a
strange IOException from callers.
2013-12-16 13:40:38 -08:00
Andrew Gaul
05ec994f9e
Address Checkstyle violations
2013-12-16 13:09:02 -08:00
Andrew Gaul
e48d4985ea
JCLOUDS-410. Add support for ByteSource Payloads
...
Also deprecate byte[], File, InputSupplier<InputStream>, and String
Payloads. Callers should instead provide a ByteSource via
ByteSource.wrap(byte[]) and Files.asByteSource(File)
2013-12-16 13:06:30 -08:00
Andrew Gaul
f3dcd3fe86
JCLOUDS-410. Deprecate Payload.getInput
...
We plan to transition Payload to ByteSource in the next major release.
Unfortunately Payload.getInput masks its checked exception and
ByteSource.getInput is final so we cannot continue to mask the
exceptions. Deprecation of getInput and addition openStream allows us
to transition callers from the former to the latter.
2013-12-16 13:02:37 -08:00