Andrew Gaul
186f052022
Remove BlobBuilder and Payloads.calculateMD5
...
Callers should instead explicitly set contentMD5, usually with the
results from Guava Hashing.md5(). This narrows the API and removes a
strange IOException from callers. Further it removes a dangerous
rebuffering of arbitrarily-large non-repeatable Payloads.
2014-05-28 12:54:18 -07:00
Andrew Gaul
0d2c7ed6ff
Use HashingInputStream to avoid buffering Payload
2014-05-27 15:53:06 -07:00
Jeremy Daggett
46867d1353
JCLOUDS-547: Improved header and option support for Swift/Cloud Files
2014-05-25 22:08:36 -07:00
Jeremy Daggett
0c22936ab2
JCLOUDS-562: Decode object names with spaces, added test cases and updated test names.
2014-05-25 18:49:47 -07:00
Jeremy Daggett
010400c143
JCLOUDS-545: Use established conventions for OpenStack APIs, updates JavaDocs and tests
2014-05-22 07:56:37 -07:00
Andrew Gaul
289197a560
Prefer Guava Files over FileInputStream
...
This ensures proper resource handling.
2014-05-22 00:26:03 -07:00
Andrew Phillips
5239e0fea1
Updating EC2 test mocks to match changes in 79c289d
2014-05-18 14:18:35 -04:00
Andrew Gaul
79c289da9d
Replace deprecated calls to LoadingCache.apply
2014-05-17 17:39:42 -07:00
Andrew Gaul
58021604a9
Migrate InputSupplier callers to ByteSource
...
A future version of Guava will remove InputSupplier.
2014-05-17 00:44:17 -07:00
Andrew Gaul
a85b91904f
Migrate InputSupplier callers to ByteSource
...
A future version of Guava will remove InputSupplier.
2014-05-17 00:39:09 -07:00
Andrew Gaul
baddf8fe80
Replace InputSupplierMap with Map<K, ByteSource>
...
A future version of Guava will remove InputSupplier.
2014-05-16 18:10:52 -07:00
Andrew Gaul
1e48a1daea
Make constants final classes instead of interfaces
...
This commit prohibits implementation of the empty interface and
instantiation of the class. Refer to _Effective Java_ item 19 for
more background.
2014-05-16 09:49:16 -07:00
Andrew Gaul
70cf3e1f7c
Make constants final classes instead of interfaces
...
This commit prohibits implementation of the empty interface and
instantiation of the class. Refer to _Effective Java_ item 19 for
more background.
2014-05-16 09:45:52 -07:00
Jeremy Daggett
94459ba6e3
Update openstack-keystone RetryOnRenew to handle 408 errors with a BackoffLimitedRetryHandler
2014-05-15 08:43:34 -07:00
Andrew Gaul
3b7d657a6d
Prefer Guava HttpHeaders over JAX-RS
...
jclouds code contains more instances of the former and Guava has
additional constants like CONTENT_MD5.
2014-05-15 02:06:39 -07:00
Andrew Gaul
5677b0babb
Prefer Guava HttpHeaders over JAX-RS
...
jclouds code contains more instances of the former and Guava has
additional constants like CONTENT_MD5.
2014-05-15 02:04:56 -07:00
Andrew Gaul
8d51ad6f87
Prefer Guava HttpHeaders over JAX-RS
...
jclouds code contains more instances of the former and Guava has
additional constants like CONTENT_MD5.
2014-05-15 01:55:51 -07:00
Zack Shoylev
44aea81972
Fixes an issue where the number of retries was always set to 1.
2014-05-14 19:11:52 -05:00
Jeremy Daggett
a53438159a
Fix Accept header and removed Content-Type from common headers
2014-05-14 11:58:37 -07:00
Andrew Gaul
9dc7fddb55
Address Checkstyle violations
2014-05-13 00:30:14 -07:00
Andrew Gaul
84440e5dc1
Update pre-ASF copyright notices
2014-05-12 13:30:28 -07:00
Andrew Bayer
d15144cf45
JCLOUDS-564. Add ephemeral disks for m3.xlarge and m3.2xlarge sizes
2014-05-12 09:20:01 -07:00
Andrew Gaul
67c2b5f6b9
Enable whitespace around Checkstyle rule
2014-05-08 18:31:47 -07:00
Andrew Gaul
2d88f5164e
Enforce that all commas have trailing whitespace
2014-05-08 18:28:08 -07:00
Andrew Gaul
24a7c4d195
Address Checkstyle violations
2014-05-07 16:30:19 -07:00
Andrew Gaul
a45124c51a
JCLOUDS-505: Remove unused ObjectMD5
...
The only users of this seem to be
org.jclouds.atmos.blobstore.strategy.FindMD5InUserMetadata and
org.jclouds.azureblob.blobstore.strategy.FindMD5InBlobProperties which
are themselves unused.
2014-05-07 10:16:18 +02:00
Jeremy Daggett
b112e8069e
Updated service types for OpenStack/Rackspace services
2014-05-01 13:54:53 -07:00
Everett Toews
f1a0370bd0
ServerPredicates to make waiting easier.
2014-04-29 14:58:27 -05:00
jasdeep-hundal
b2be149946
JCLOUDS-526: Removing Nova QuotaClassApi
...
The quota-classes API in Nova has been removed (and apparently never worked)
2014-04-19 09:00:50 -04:00
Andrew Gaul
5fabd87685
Mark Swift blobstores as eventually consistent
...
This allows tests to retry correctly. Most blobstores, including
Swift[1], offer eventual consistency, although Azure[2] and the
jclouds test blobstores offer strong consistency.
[1] https://lists.launchpad.net/openstack/msg06788.html
[2] http://blogs.msdn.com/b/windowsazure/archive/2011/11/21/windows-azure-storage-a-highly-available-cloud-storage-service-with-strong-consistency.aspx
2014-04-14 19:50:45 -07:00
Andrew Gaul
d0bd30cc15
Address several Guava InputSupplier deprecations
...
Many remain due to Payload implementing InputSupplier<InputStream>. Guava 18
will remove InputSupplier.
2014-04-12 12:02:26 -07:00
Andrew Gaul
7af18d4843
JCLOUDS-534: Address Guava 17 compatibility issues
...
Corrected with:
find -name \*.java | xargs sed -i 's/new Stopwatch();/Stopwatch.createUnstarted();/'
find -name \*.java | xargs sed -i 's/new Stopwatch().start();/Stopwatch.createStarted();/'
2014-04-11 14:24:12 -07:00
Everett Toews
84e0b91179
JCLOUDS-317: Fix NPE when ComputeService.listNodes()
...
Follow-up to 222779b
2014-04-09 14:22:08 -04:00
Andrew Phillips
244e194c72
Correcting 4-space indent in openstack/nova/v2_0/domain/Server.java
...
Follow-up to 222779b
2014-04-05 16:22:14 -04:00
Jacob Mourelos
222779bbc4
JCLOUDS-317: Add missing states to Nova v2 Server
...
- Deprecated state: STOPPED
- Add states: MIGRATING, SHUTOFF, RESCUE, SOFT_DELETED,
SHELVED, SHELVED_OFFLOADED
2014-04-03 18:06:27 -05:00
Jeremy Daggett
e195a5a2bb
Add deprecation warnings and provide links to new APIs
2014-04-03 17:51:39 -05:00
Everett Toews
5dfa1cff5c
Better explanation of Beta APIs
2014-04-03 17:33:22 -05:00
Jeremy Daggett
d13ff0ebd9
Refactored CDN headers and test classes
2014-04-03 16:46:35 -05:00
Jeremy Daggett
1814627cfe
Added @Beta annotations to APIs
2014-04-02 15:24:29 -05:00
Zack Shoylev
56c9a05369
Fixes more checkstyle violations.
2014-03-31 20:11:21 -05:00
jasdeep-hundal
b92892094b
JCLOUDS-515: Don't require availability zone when creating volumes in cinder
2014-03-31 14:11:43 -05:00
Hugo Trippaers
0401959157
JCLOUDS-347: Implement a poor-mans rollback if CloudStack static NAT creation fails
2014-03-27 13:01:40 +01:00
Joel Friedly
b93cfa42e1
Remove Nova instance metadata limit
...
Rackspace cloud limits instance metadata to 5 key-value pairs, but
upstream Nova only sets the limit at 128 by default. This patch removes
the limit entirely; the official python clients don't check it and the
server is responsible for enforcing it anyway.
Fixes: https://issues.apache.org/jira/browse/JCLOUDS-507
2014-03-21 19:03:07 -05:00
Zack Shoylev
7588d2fba4
Fixes potentially deleting a null server id.
2014-03-21 15:13:44 -05:00
Jasdeep Hundal
22a8b9d04c
Fix Keystone response for testing to not include Glance version
2014-03-19 23:28:51 +01:00
Andrew Gaul
a7fa3b9c62
Retry on S3 HTTP 504 Gateway Timeout status codes
...
RiakCS using the S3 interface occasionally surfaces these status
codes.
2014-03-14 12:15:55 -07:00
Jeremy Daggett
33f244dbab
JCLOUDS-489 - Adds support to Cloud Files for the iOS Streaming URI
2014-03-14 13:31:52 -05:00
Pedro Navarro Pérez
b68f1b6e1a
JCLOUDS-453. Add OpenStack Keystone v2.0 OS-KSADM Admin Extension support for Keystone.
2014-03-14 09:54:38 +01:00
Andrew Gaul
e7fccd6528
Address Checkstyle violations
2014-03-13 14:06:38 -07:00
Roman C. Coedo
8dafeacfed
Fixing a couple of typos
2014-03-12 14:41:23 -07:00