9159 Commits

Author SHA1 Message Date
Andrew Gaul
80a4430035 JCLOUDS-679: Use HEAD for S3 bucketExists
This method costs 0.4 cents per 10,000 requests instead of 0.5 cents
per 1,000 requests:

http://aws.amazon.com/s3/pricing/

API reference:

http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketHEAD.html
2014-08-20 12:44:20 -07:00
Jeremy Daggett
e711275fb1 Prefer isEmpty() for collections rather than size() 2014-08-20 11:07:48 -07:00
Chris Custine
192785dbae Move checkstyle copyright header into checkstyle.xml 2014-08-18 18:55:52 -06:00
John Walker
e5283df995 JCLOUDS-676: Fix reflection warnings / Clojure
JCLOUDS-676: Fix reflection warnings / Clojure

Also fixed a typo in a doc string
2014-08-17 12:03:30 -07:00
Jeremy Daggett
82fbdf9695 Updated OSGi fragment bundle-version upper constraint from version 2 to 3 2014-08-17 07:59:44 -07:00
Stuart Hendren
f3778b6cbd JCLOUDS-661: Adding a test for single-port firewall rules 2014-08-14 12:49:06 -04:00
Jeremy Daggett
4030a4c4f0 Removed @Nullable annotations on region parameters 2014-08-13 16:04:05 -07:00
Jeremy Daggett
7d70362590 Removed @Nullable annotations on region parameters 2014-08-13 15:37:54 -07:00
Chris Custine
d728e0343a JCLOUDS-633: Support passing bearer token directly for OAuth2 2014-08-13 16:11:44 -06:00
Chris Custine
00d9edc1e6 JCLOUDS-643: Fix Google and OAuth tests 2014-08-13 13:47:55 -06:00
Jeremy Daggett
aa04ef007f Prefer Regions to Zones 2014-08-13 10:02:44 -07:00
Jeremy Daggett
744cd5d7eb Prefer Regions to Zones in OpenStack APIs 2014-08-13 09:58:53 -07:00
Andrew Gaul
9009bb5268 JCLOUDS-658: use xattr only on supported systems
Mac OS X HFS+ does not support UserDefinedFileAttributeView:

https://bugs.openjdk.java.net/browse/JDK-8030048
2014-08-12 12:30:06 -07:00
Ignasi Barrera
95b6064c3d JCLOUDS-496: Use the security groups options in the portable TemplateOptions 2014-08-12 13:34:29 -04:00
Andrea Turli
8743e947be JCLOUDS-662: Support multiple disks with the same size using SoftLayerTemplateOptions 2014-08-12 11:22:10 -04:00
Andrew Gaul
204a6c7f3b JCLOUDS-658: xattr for filesystem blob metadata
This allows the filesystem blobstore to mimic real blobstores more
accurately.  This also doubles the speed of getBlob by storing the
Content-MD5 header instead of recalculating it.
2014-08-11 12:56:14 -07:00
Andrew Gaul
f236e046e3 Merge identical tests 2014-08-11 12:45:28 -07:00
Andrew Gaul
a10bf3e9c5 Remove Java 6 litter 2014-08-11 12:45:27 -07:00
Andrea Turli
fecedfdb3f fix ASF copyright headers on SoftLayer 2014-08-11 12:43:57 -07:00
Andrew Phillips
4ef699a35c Fixing compilation errors caused by Payload no longer being an InputSupplier
See 80a0256c in jclouds
2014-08-11 15:41:34 -04:00
Andrew Gaul
aa41d489f4 Remove maven-license-plugin
This never seemed to work and we will enforce license text via
Checkstyle instead.
2014-08-11 10:34:30 -07:00
Andrew Gaul
4e166e3a20 Enforce ASF copyright header via Checkstyle 2014-08-11 10:26:43 -07:00
Andrew Gaul
d9650ccdc8 Remove maven.compile.optimize
This setting has no effect.  Reference:

http://stackoverflow.com/questions/4218721/optimizing-java-compiler-during-a-maven-build
2014-08-09 07:09:33 -07:00
Andrew Phillips
a6412ad66b Addressing Checkstyle violation
Introduced in 7e4cacf
2014-08-09 09:12:43 -04:00
Andrew Gaul
7e4cacf9ea JCLOUDS-264: Allow payloads greater than 2 GB
Enabled by JDK 7.
2014-08-09 00:28:49 -07:00
Andrew Gaul
5e8bd02c93 JCLOUDS-652: Require JDK 7
Moving to Java 7 allows jclouds to use more language and library
features such as try-with-resources and HTTP client improvements.
2014-08-09 00:28:47 -07:00
Andrew Gaul
20bc145284 JCLOUDS-650: ContainerNotFoundException on putBlob
Found with Ceph s3-tests and s3proxy.
2014-08-09 00:25:10 -07:00
Fabian Lange
aa174a5d73 JCLOUDS-656: Parse Swift authentication headers case-insensitively
Also ensure they are added to the result object with the normalized
capitalization expected by downstream code.

Follow-up to 375cb207.
2014-08-08 19:10:00 -04:00
Andrew Phillips
5d3b293b69 Revert "Parse Swift authentication headers case-insensitively"
Missing JIRA issue number.

This reverts commit e532e6f260c6070673ed9bb87294c4596e9e8b88.
2014-08-08 19:09:36 -04:00
Fabian Lange
e532e6f260 Parse Swift authentication headers case-insensitively
Also ensure they are added to the result object with the normalized
capitalization expected by downstream code.

Follow-up to 375cb207.
2014-08-08 19:07:41 -04:00
Andrew Gaul
80a0256cc7 JCLOUDS-622: Remove last vestiges of InputSupplier
Guava 16 deprecated InputSupplier and a future release will remove it.
2014-08-08 15:40:33 -07:00
Andrew Gaul
b219208d6c JCLOUDS-653: correct mock expectation 2014-08-08 15:21:58 -07:00
Andrew Gaul
5c1e36e5d1 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:55:25 -07:00
Andrew Gaul
4073f7fdc4 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:34:44 -07:00
Andrew Gaul
95cfc0d950 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:12:21 -07:00
Andrew Gaul
f26431b3e7 JCLOUDS-653: Upgrade to Guava 18.0-rc1
Release notes:

https://code.google.com/p/guava-libraries/wiki/Release18
2014-08-08 11:08:09 -07:00
Everett Toews
da2655ac82 Avoid duplicated info and just link to website 2014-08-07 09:25:37 -05:00
Jeremy Daggett
23d5290526 OpenStack Cinder general cleanup. Prefer ByteSourcePayload. 2014-08-06 15:20:03 -07:00
Andrew Gaul
59462747e7 Reset StringBuilder instead of creating new ones
This avoids unneeded garbage, especially during XML parsing.  Replaced
with:

find -name \*.java | xargs sed -i 's/^\( *[^ ]*\) = new StringBuilder();$/\1.setLength(0);/'
2014-08-06 11:22:49 -07:00
Andrew Gaul
9e9acf1f3e Address Checkstyle violations 2014-08-05 17:13:29 -07:00
Jeremy Daggett
95a3c7ec2c JCLOUDS-646: Copied Cloud Identity v1.1 classes from openstack-common and fixed incorrect Keystone package names 2014-08-05 09:01:21 -07:00
Andrew Phillips
2ebcc3995d Updating project version to 2.0.0-SNAPSHOT
Follow-up to 82b23fc
2014-08-05 11:50:02 +02:00
Andrew Phillips
55e403d222 Updating project version to 2.0.0-SNAPSHOT
Follow-up to 82b23fc
2014-08-05 11:50:02 +02:00
Andrew Phillips
a6ad6d463d Updating project and jclouds.version to 2.0.0-SNAPSHOT 2014-08-05 11:46:53 +02:00
Andrew Phillips
271d50fe07 Updating project versions to 2.0.0-SNAPSHOT
Follow-up to be8bc22
2014-08-05 11:36:07 +02:00
Andrew Phillips
f8b5f5216f Up to 2.0.0-SNAPSHOT after the 1.8.0 release 2014-08-05 10:35:49 +02:00
Andrew Phillips
e3d9851216 Up to 2.0.0-SNAPSHOT after the 1.8.0 release 2014-08-05 09:10:24 +02:00
Zack Shoylev
231a60675e Adds support for ImmutableMap in jclouds gson 2014-07-29 12:36:53 -05:00
Ignasi Barrera
8cb2cb449b Revert "Move jclouds-chef to the main jclouds repo"
This change will be added again after the 1.8.0 release.

This reverts commit 867c7a407c1db8f56ff3211d70481755cf71440f.
2014-07-29 00:38:46 +02:00
Ignasi Barrera
867c7a407c Move jclouds-chef to the main jclouds repo 2014-07-28 21:08:54 +02:00