Andrew Phillips
1b2fb3e10f
JCLOUDS-427: Avoiding Guava reflection code broken in Java 7u51
...
Backport of 8ff60020f
- 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
All reflection magic now :-(
2014-01-27 14:13:26 -05:00
Ignasi Barrera
e86462d499
Properly set the request method in HTTPS connections
2013-12-12 21:58:49 +01:00
Andrew Gaul
7dc52f52ea
[maven-release-plugin] prepare for next development iteration
2013-11-26 14:45:31 -08:00
Andrew Gaul
c7058cb2ce
[maven-release-plugin] prepare release jclouds-1.6.3-rc2
2013-11-26 14:45:30 -08:00
Ignacio Mulas
d8ce79cecf
JCLOUDS-376: PATCH HTTP request implementation
2013-11-13 11:07:37 +01:00
Andrew Phillips
0298318790
JCLOUDS-352: Drops support for "-incubating" release versions
2013-11-06 22:34:09 -05:00
Andrew Phillips
3b8c38994a
Fixing typos in test name
2013-11-06 22:34:03 -05:00
Niraj Tolia
6b8ee8b904
[JCLOUD 301]: Make increased use of Invokable params cache
...
This patch moves the Invokable Parameter cache to Reflection2 and adds
a convenience method for it to allow it to be shared by multiple
callers. The subsequent ability of S3Utils to use this cache results
in a ~40% improvement in performance for generating signed GETs and
PUTs for S3. This commit also converts a few others calls to
Invokable.getParameters() but the observed benefit from those was
small in microbenchmarks.
2013-10-14 17:53:17 -07:00
Andrew Gaul
99a01fac1f
JCLOUDS-339. Handle zero-length objects in Atmos
...
Atmos does not return a location header when writing zero-length
objects, which normally throws an HttpResponseException: no uri in
headers or content.
2013-10-08 22:15:02 -07:00
Shri Javadekar
313484567b
JCLOUDS-334. Return correct status while creating containers in Swift.
...
BlobStore.createContainerInLocation is supposed to return True if the
container was newly created and False if the container already
existed. This commit makes that happen for Swift blobstores.
2013-10-07 21:49:25 -07:00
Niraj Tolia
ebd75d36ef
[JCLOUDS-302] Remove unnecessary String construction in HttpUtils
2013-09-27 16:16:30 -07:00
Niraj Tolia
82708c98de
[JCLOUDS-301] Reduce reflection overhead of Invokable.getParameters()
...
By caching the results from Invokable.getParameters(), this commit
improves request signing performance (GETs and PUTs) for S3 by >
3X. These performance problems were seen in production and diagnosed
using the YourKit profiler.
2013-09-27 07:50:15 -07:00
Andrew Gaul
f3e43b34f6
Support Integer.MAX_VALUE size PUTs
...
Previously jclouds enforced Integer.MAX_VALUE - 1 size. Tested
against Atmos Online.
2013-08-28 13:52:34 -07:00
Andrew Phillips
6f4c796f73
[maven-release-plugin] prepare for next development iteration
2013-08-27 11:43:49 -04:00
Andrew Phillips
cd34259487
[maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc2
2013-08-17 12:07:33 -04:00
Andrew Phillips
66e19a6bce
Revert "[maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc1"
...
This reverts commit 96fae29fde
.
2013-08-14 17:15:36 -07:00
Andrew Phillips
96fae29fde
[maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc1
2013-08-07 14:17:23 -04:00
Andrew Phillips
78e5832fd2
Revert "[maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc0"
...
This reverts commit 61baf2ada2
.
2013-08-05 20:38:51 -04:00
Andrew Phillips
0554c6f824
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit df6844474c
.
2013-08-05 20:38:20 -04:00
Andrew Phillips
df6844474c
[maven-release-plugin] prepare for next development iteration
2013-08-02 11:59:22 -04:00
Andrew Phillips
61baf2ada2
[maven-release-plugin] prepare release jclouds-1.6.2-incubating-rc0
2013-08-02 11:59:16 -04:00
Andrew Gaul
859eaca9fd
Do not eagerly check for existence in FilePayload
...
This is a TOCTOU violation and FilePayload.getInput already propagates
this. This commit allows external callers like jclouds-cli to
introspect on the exception type, returning a more friendly error
message in some situations.
2013-07-15 23:34:33 -07:00
Diwaker Gupta
76e5e80e5b
Introduce StripExpectHeader filter and a property to control it.
...
Some providers (specifically HP Cloud and Google Cloud Storage) do not
properly support Expect: 100-continue headers. JDK7 is stricter in its
handling of the Expect header than JDK6 -- in particular, it expects
servers to properly respond to an expect header and times out only if a
prior timeout did not exist on the underlying HTTP connection. As a
result, JDK7 tests against these providers hang and fail.
This commit introduces a new filter -- appropriate called
StripExpectHeader -- that is controlled by the property
jclouds.strip-expect-header. The property defaults to false to preserve
existing behavior but allows applications to tweak Expect header
handling.
Tested by running HPCS live tests with JDK7 -- previously most of these
tests would fail with timeouts.
Closes JCLOUDS-181
2013-07-11 15:13:11 -07:00
zack-shoylev
5b9419a499
Upgrade to gson 2.2.4
...
https://issues.apache.org/jira/browse/JCLOUDS-117
2013-07-11 13:54:52 -07:00
Andrew Gaul
1209f252ad
Deprecate Strings2.replaceAll
...
Removed in 1.7.0.
2013-06-20 11:45:10 -07:00
Andrew Bayer
1a130bffa2
[maven-release-plugin] prepare for next development iteration
2013-06-19 13:24:39 -07:00
Andrew Bayer
079f9f0bcc
[maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc3
2013-06-12 17:12:14 -07:00
Andrew Bayer
7c4196dc09
Revert "[maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc2"
...
This reverts commit 5c18b6a1b4
.
2013-06-12 16:49:34 -07:00
Andrew Bayer
a02218e212
Add license headers to src/test/resources where possible, more fine-grained RAT exclusions
2013-06-10 11:45:58 -07:00
Andrew Bayer
5c18b6a1b4
[maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc2
2013-05-31 14:11:50 -07:00
Andrew Bayer
7828eef359
Revert "[maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc1"
...
This reverts commit 57718280be
.
2013-05-31 13:48:27 -07:00
Andrew Bayer
57718280be
[maven-release-plugin] prepare release jclouds-1.6.1-incubating-rc1
2013-05-30 11:20:44 -07:00
Andrew Bayer
b2f96a67cf
JCLOUDS-31. License header cleanup
2013-05-24 11:41:25 -07:00
Andrew Phillips
a3eea35e53
JCLOUDS-75: Support '-incubating' release versions
2013-05-22 11:31:52 +02:00
Ioannis Canellos
14bdcf5087
Add @Inject to the Compute class.
2013-05-21 21:34:33 +03:00
Andrew Gaul
85e976e7f5
JCLOUDS-27: Allow repeatable Payload with InputSupplier input
...
This allows HTTP retries to work. Also remove duplicated calls to
ByteStreams.slice.
2013-05-17 10:09:36 -07:00
adriancole
7420cb7186
JCLOUDS-31. updated to ASF headers via mvn com.mycila.maven-license-plugin:maven-license-plugin:format
2013-05-16 21:33:44 -07:00
adriancole
762055a8aa
JCLOUDS-31. remove malformed, duplicate, or unnecessary headers
2013-05-16 21:33:40 -07:00
Andrew Phillips
1a9f36823a
JCLOUDS-52: Updating JcloudsVersion to search under org.apache.jclouds
...
Group ID changed from org.jclouds with JCLOUDS-15
2013-05-16 15:59:17 -04:00
Andrew Bayer
97fdc2655d
JCLOUDS-37. Fix RAT violations in incubator-jclouds, 1.6.x branch
2013-05-13 19:17:37 -07:00
Andrew Bayer
efc0e9dcd2
JCLOUDS-30. Switch to 2 space indents for POM files.
2013-05-13 13:10:06 -07:00
Andrew Bayer
ebf5286ce6
JCLOUDS-16. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos.
2013-05-13 13:10:05 -07:00
adriancole
0ed3d64cc7
[maven-release-plugin] prepare for next development iteration
2013-04-27 08:23:16 -07:00
adriancole
51cddcb841
[maven-release-plugin] prepare release jclouds-1.6.0
2013-04-27 08:23:15 -07:00
Everett Toews
0f1a455bc9
Removed trystack-nova provider.
...
Conflicts:
providers/trystack-nova/pom.xml
2013-04-26 12:08:54 -05:00
adriancole
f567124dbe
[maven-release-plugin] prepare for next development iteration
2013-04-22 00:01:42 -07:00
adriancole
063b795393
[maven-release-plugin] prepare release jclouds-1.6.0-rc.5
2013-04-22 00:01:40 -07:00
Andrew Gaul
bdd48ca5bf
Address Checkstyle violations
...
This commit requires temporarily disabling some checks.
2013-04-17 17:33:06 -07:00
Andrew Phillips
a055a0035c
Not making methods of core Java classes accessible in Reflection2
2013-04-17 17:32:59 -07:00
Andrew Gaul
fabb4c9f10
Address Xlint warnings
2013-04-17 17:23:20 -07:00