Andrew Gaul
1908f02e04
Correct typo
2014-07-24 23:41:13 -07:00
Andrew Gaul
10262df81c
Add symbolic error codes for Atmos
2014-07-24 16:30:42 -07:00
Andrew Gaul
5c8bdcdfbb
Remove ByteSources.asByteSource
...
This method breaks the contract of ByteSource which specifies that
openStream can produce multiple independent streams.
2014-07-24 13:02:13 -07:00
Jeremy Daggett
957f6f16c7
JCLOUDS-567: Upgrade Apache HttpClient to 4.3.4
2014-07-24 08:40:12 -07:00
Andrew Gaul
2681a8e19d
Prefer ByteStreams2 over ByteSources.asByteSource
...
The latter breaks the contract of ByteSource which specifies that
openStream can produce multiple independent streams.
2014-07-22 16:56:00 -07:00
Andrew Phillips
5732bdcd94
Escaping regex special chars (esp. '\') in delimiter matching
...
Uncovered by 370194b
2014-07-22 13:35:52 -04:00
Andrew Phillips
365ac21f1e
Addressing a Checkstyle violation
2014-07-22 13:35:43 -04:00
Andrew Gaul
d1bd551edf
Add support for filesystem last modified
2014-07-21 12:25:04 -07:00
Jeremy Daggett
0d77d8c2b1
JCLOUDS-554: Update Nova default API to v2
2014-07-21 10:50:46 -07:00
Andrew Gaul
f17c876d8d
Replace const.txt file input with synthetic inputs
...
This commit replaces file resource-based test inputs with in-memory
equivalents. This is more consistent and efficient than the previous
approach. Also resized some test inputs to be partSize + 1 instead of
2 * partSize. Tested against aws-s3, blobstore, core, cloudfiles-us,
and filesystem.
2014-07-19 18:35:25 -07:00
Andrew Gaul
370194b2be
Enable more filesystem integration tests
...
Other tests will require Java 7 xattr support.
2014-07-19 12:17:23 -07:00
Andrew Gaul
dd3dc9790e
Close streams in integration tests
...
Also remove bogus delete workaround. Previously unclosed
FileInputStream caused test failures on Windows which cannot delete
open files. Found with Kohsuke's file-leak-detector.
2014-07-19 05:25:20 -07:00
Andrew Gaul
0c005f8094
Address Checkstyle violations
2014-07-19 03:39:07 -07:00
Andrew Gaul
0df905a870
JCLOUDS-622: add Strings2.toString(InputSupplier)
...
We did not deprecate this in 1.7.x as previously thought.
2014-07-18 21:48:08 -07:00
Aled Sage
1fb286809e
JCLOUDS-549: Fix NPE in LoginCredentials.toString
...
- also deprecates LoginCredentails.get(Password|PrivateKey)
- use getOptionalPassword and getOptionalPrivateKey instead
2014-07-18 14:09:18 +01:00
Andrew Gaul
fb60d76704
JCLOUDS-622: Remove most vestiges of InputSupplier
...
Guava 16 deprecated InputSupplier and a future release will remove it.
2014-07-16 16:07:59 -07:00
Jeremy Daggett
1a3ad75efd
JCLOUDS-40: Unasync Rackspace Cloud Identity
2014-07-16 08:47:39 -07:00
Andrea Turli
717a545baa
[JCLOUDS-474] refactor SoftLayer support
2014-07-16 11:05:48 +02:00
Andrew Gaul
09cf57101d
Reduce Swift integration test input size
...
Previously testMultipartChunkedFilenames uploaded 55 MB and now it
uploads 5 MB.
2014-07-15 18:21:42 -07:00
Andrew Gaul
86de7923a1
Improve use of ByteSource
2014-07-15 18:21:42 -07:00
Werner Buck
22c5fbbd78
JCLOUDS-625: Set VolumeBuilder id to nullable in VolumeImpl
...
VolumeBuilder does not allow null id while VolumeImpl allows it to be nullable.
2014-07-16 00:43:47 +02:00
Jeremy Daggett
801aecafea
JCLOUDS-40: Unasync OpenStack Nova API
2014-07-15 14:29:09 -07:00
Andrew Gaul
086fb9c728
JCLOUDS-629: SshjSshClient Payload without length
...
sshj treats -1 as an unknown length and uses a less efficient copying
mechanism.
2014-07-15 13:11:37 -07:00
Andrew Gaul
a8b106c2bb
JCLOUDS-622: remove calls to InputSupplier methods
...
Guava 16 deprecated these methods and Guava 18 will remove them.
2014-07-15 03:09:58 -07:00
Andrew Gaul
75928795f3
Address Checkstyle violations
2014-07-15 03:07:29 -07:00
Andrew Gaul
bdb5cbcbe7
Improve use of ByteSource with test resources
...
This commit ensures proper resource cleanup, simplifies
initialization, and paves the way for purely synthetic inputs in a
subsequent commit.
2014-07-11 09:10:51 -07:00
Andrew Gaul
de68449cde
JCLOUDS-622: Deprecate Strings2.toString
...
Guava 16 deprecated InputSupplier.
2014-07-10 23:32:41 -07:00
Andrew Gaul
cf830af4d2
Remove unneeded InputSupplier helper
...
Also convert byte[] to HashCode.
2014-07-10 22:36:32 -07:00
Andrew Gaul
f4eca0422d
Enforce correct MD5 for local blobstores
...
Matches behavior of real blobstores.
2014-07-10 22:19:42 -07:00
Andrew Gaul
1d218b1705
JCLOUDS-417: Test closing a stream w/o reading it
2014-07-10 20:59:10 -07:00
Tom Manville
afc0ca557d
JCLOUDS-417: Remove ConsumeOnCloseInputStream
...
ConsumeOnCloseInputStream can potentially perform a copy in finalize()
if the stream was not closed properly.
2014-07-10 20:59:09 -07:00
Andrew Gaul
66dab8d96e
JCLOUDS-410: Remove InputStreamSupplierPayload
...
ByteSourcePayload replaces this. jclouds 1.7 deprecated
InputStreamSupplierPayload and Guava 16 deprecated InputSupplier
itself.
2014-07-10 20:43:08 -07:00
Andrew Gaul
b432acd834
Upgrade to logback 1.1.2
...
Changelog:
http://logback.qos.ch/news.html
2014-07-10 10:14:27 -07:00
Andrew Gaul
66307d9816
Use consistent stage for the two-stage injection
2014-07-07 23:36:53 -07:00
Andrew Gaul
3fdb6d2e91
Avoid extra copy with Splitter result
2014-07-07 23:36:22 -07:00
Christopher Dancy
3659a5f583
JCLOUDS-607: ComputeService.createNodesInGroup throws NPE on FloatingIPApi.create()
2014-07-07 19:46:54 -04:00
Andrea Turli
4cf6efe39a
refactor BaseComputeServiceLiveTest to simplify the extension of this base test
2014-07-07 10:53:13 +02:00
Markus von Rüden
a39eadce50
JCLOUDS-619: Introduce MultipartNamingStrategy to generate part names correctly.
2014-07-04 01:06:46 -07:00
Andrew Gaul
05c37c2c77
Consistently use Square's mockwebserver
...
Google mockwebserver merged into OkHttp as per:
https://code.google.com/p/mockwebserver/
2014-07-03 14:39:07 -04:00
Andrew Gaul
71043ac9a2
Provide descriptive bogus values for properties
2014-07-02 22:42:00 -07:00
Andrew Gaul
f5244884a5
Avoid impossible UnsupportedEncodingException
2014-07-02 17:30:09 -07:00
Roman C. Coedo
3932e8a3bd
Default values for aws credential properties
...
Every project was using undefined properties in their pom.xml.
A default value for test.aws.identity and test.aws.credential was
added.
2014-07-02 15:33:10 -07:00
Andrew Gaul
d43c3ea3e0
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:13:20 -07:00
Epimenidis Voutsakis
b259af48c0
Added ConsolesApi extension for openstack-nova
2014-07-02 11:39:52 -07:00
Ignasi Barrera
d082995cf7
Remove unused imports to make checkstyle happy
2014-07-02 17:54:33 +02:00
Ignasi Barrera
cd0f21d86b
JCLOUDS-617: Use the configured JCE provider in the Cipher payloads
2014-07-02 17:54:33 +02:00
Ignasi Barrera
e19c5e9fb6
Exclude the CONTRIBUTING file from the rat check
2014-07-02 17:36:26 +02:00
Ignasi Barrera
da3509056c
Added the CONTRIBUTING file
2014-07-02 16:48:14 +02:00
Ignasi Barrera
b9029ea7a6
JCLOUDS-617: Use the configured JCE provider in the Cipher payloads
2014-07-02 00:27:08 +02:00
Chris Custine
ba894fe07b
JCLOUDS-585: Add HP Cloud Block Storage Provider (OpenStack Cinder)
2014-07-01 12:43:30 -07:00