415 Commits

Author SHA1 Message Date
Andrew Gaul
0053c77b9b Call BlobUtils.clearContainer directly
BaseAsyncBlobStore.clearContainer returns a Future which we previously
did not manage correctly, hanging when deleting non-existent
containers.  Call BlobUtils.clearContainer directly to address this.
2013-01-24 08:24:41 -08:00
Adrian Cole
dae8e10592 [maven-release-plugin] prepare for next development iteration 2013-01-13 21:19:20 -08:00
Adrian Cole
3e28b726af [maven-release-plugin] prepare release jclouds-1.5.5 2013-01-13 21:19:16 -08:00
Andrew Gaul
e804c00b8e Add more logging to DeleteAllKeysInList
This allows monitoring of progress of long deletes via debug logs.
2012-12-27 08:20:25 -08:00
Adrian Cole
69a8304617 replaced jersey w/Uris & UriTemplates; removed complexity in url encoding and edge cases like matrix params 2012-12-24 16:11:08 -08:00
Everett Toews
a94909ec2e Fixed issue where an Accept header is required when doing HEAD requests to Cloud Files. 2012-12-16 20:48:46 -06:00
Adrian Cole
78053601aa [maven-release-plugin] prepare for next development iteration 2012-12-10 17:43:56 -08:00
Adrian Cole
c33c5a40d8 [maven-release-plugin] prepare release jclouds-1.5.4 2012-12-10 17:43:53 -08:00
Adrian Cole
dc214f4335 [maven-release-plugin] prepare for next development iteration 2012-11-13 19:49:47 -08:00
Adrian Cole
34152311be [maven-release-plugin] prepare release jclouds-1.5.3 2012-11-13 19:49:46 -08:00
Andrew Gaul
42b61197a6 Honor PROPERTY_REQUEST_TIMEOUT in clearContainer 2012-11-13 18:07:25 -08:00
Andrew Gaul
24b77b00b5 Merge pull request #942 from andrewgaul/clear-container-cancel-futures-1.5.x
Cancel Futures in clearContainer
2012-11-13 14:30:14 -08:00
Adrian Cole
5f6c3e992a improved javadoc including where to look for alternative syntax 2012-11-07 12:44:07 -03:00
Andrew Gaul
acd256f9f1 Cancel Futures in clearContainer
This prevents Futures from hanging around on exceptional code paths like
interrupts and timeouts.
2012-11-02 10:10:03 -07:00
Andrew Gaul
d58acbacae Throw TimeoutException from awaitCompletion
This is a common error that callers should interpret correctly.  For
DeleteAllKeysInList, we integrate into its retry and backoff logic,
and for other callers, we continue to propagate RuntimeException.
2012-10-30 09:15:00 -07:00
Adrian Cole
aa8ff8e7ef [maven-release-plugin] prepare for next development iteration 2012-10-11 11:23:44 +02:00
Adrian Cole
5deb0ca54a [maven-release-plugin] prepare release jclouds-1.5.2 2012-10-11 11:23:43 +02:00
Andrew Gaul
adcde09347 Prefer Files.toString over FileInputStream 2012-10-11 11:06:06 +02:00
Andrew Gaul
5dc495a2bf Retry each operation up to maxErrors times
Previously we only allowed maxErrors per directory, which tended to
fail with large directories.  Also rename counter to something more
intuitive.
2012-10-11 11:04:23 +02:00
Adrian Cole
c1e63bb360 corrected guice bindings for swift-based blob signatures and backfilled expect tests 2012-10-10 13:07:10 +02:00
Adrian Cole
269915ce31 [maven-release-plugin] prepare for next development iteration 2012-09-27 11:00:25 -07:00
Adrian Cole
e8fc6ae324 [maven-release-plugin] prepare release jclouds-1.5.1 2012-09-27 11:00:24 -07:00
Adrian Cole
43381f6c4d Issue 1092: fix hostname when path-based buckets are used in non-default location 2012-09-26 13:15:07 -07:00
Andrew Gaul
a70ba3f986 Avoid Futures.getUnchecked in DeleteAllKeysInList
This masks InterruptedException.  We should rework the logic in
execute to unwind the stack on errors; currently we only return from
the leaf method.
2012-09-20 11:07:08 -07:00
Adrian Cole
82f28c1800 [maven-release-plugin] prepare for next development iteration 2012-09-17 00:25:49 -07:00
Adrian Cole
93ac6cdf0f [maven-release-plugin] prepare release jclouds-1.5.0 2012-09-17 00:25:44 -07:00
Adrian Cole
3be0f27b4b merged latest 2012-09-16 23:53:55 -07:00
Andrei Savu
080d142ae1 Generic support for Swift TempUrl middleware 2012-09-16 21:46:51 +03:00
Andrei Savu
327066acd7 Added @Beta annotations on the new methods in BlobRequestSigner 2012-09-11 23:55:21 +03:00
Andrei Savu
49bde19fa0 Add support for Swift TempURL Middleware 2012-09-10 13:45:55 +03:00
Adrian Cole
76e6f78a67 [maven-release-plugin] prepare for next development iteration 2012-09-09 12:20:04 -07:00
Adrian Cole
0b24a7f0ee [maven-release-plugin] prepare release jclouds-1.5.0-rc.1 2012-09-09 12:20:00 -07:00
Adrian Cole
fef7bab24e [maven-release-plugin] prepare for next development iteration 2012-08-22 18:55:45 -07:00
Adrian Cole
80afcf834f [maven-release-plugin] prepare release jclouds-1.5.0-beta.11 2012-08-22 18:55:40 -07:00
Adrian Cole
e2b1ae38b9 [maven-release-plugin] prepare for next development iteration 2012-08-13 21:05:07 -07:00
Adrian Cole
fa63b7a4db [maven-release-plugin] prepare release jclouds-1.5.0-beta.10 2012-08-13 21:05:00 -07:00
Adrian Cole
81d5f31359 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (30 commits)
  Merge Keystone optional admin API provider with optional extension provider
  Added binding for optional extensions
  Make the OpenStack extension lists accessible for all APIs. Copied the Nova extension related code to the shared keystone package and added providers for extensions and aliases to all modules
  added statement to rebase dist packages
  added VAppNetworksLiveTest
  Further OpenStack extensibility changes. Fixing constructors in RestContext classes
  Fixed a possible NPE when ServiceFunctionLoader finds no OSGi service for a function.
  fixed broken test
  threading issue in test
  openstack-quantum extensibility
  openstack-swift extensibility
  openstack-glance extensibility
  openstack-nova extensibility
  openstack-keystone extensibility
  add FirstNetwork, in line with FirstRegion, etc., for use in FGCP provider
  missing class
  refactoring of smartos-ssh
  Extend the VmSpecification to allow for all the extra memory settings.
  Issue 1067:update to guava 13
  removed invalid @Nullable usage and also usage of javax package usage
  ...
2012-08-13 20:29:15 -07:00
Adrian Cole
c7f35d3bb1 removed invalid @Nullable usage and also usage of javax package usage 2012-08-11 20:59:16 -07:00
Adrian Cole
a439c03efc [maven-release-plugin] prepare for next development iteration 2012-08-02 21:49:23 -07:00
Adrian Cole
1ece74b733 [maven-release-plugin] prepare release jclouds-1.5.0-beta.9 2012-08-02 21:49:21 -07:00
Adrian Cole
a898999355 merged master 2012-08-02 21:17:47 -07:00
Andrew Gaul
8ed0e28e68 Spelling corrections 2012-07-26 22:39:35 -07:00
Adrian Cole
92f9cc4c0c Merge pull request #756 from andrewgaul/reorder-strategy
Shuffle strategy methods into consistent order
2012-07-26 17:04:39 -07:00
Andrew Gaul
f5548f3a94 Shuffle strategy methods into consistent order
Group by container, blob, and miscellaneous methods.  Within these
groups, sort by by exists, getter, setter, and remove.  Code movement
only; no functional changes.
2012-07-26 13:52:23 -07:00
Andrew Gaul
ead8748199 Avoid unneeded branch in LocalAsyncBlobStore 2012-07-26 13:44:14 -07:00
Adrian Cole
25fc0d69a3 [maven-release-plugin] prepare for next development iteration 2012-07-24 11:11:18 -07:00
Adrian Cole
9c38d9af14 [maven-release-plugin] prepare release jclouds-1.5.0-beta.8 2012-07-24 11:11:09 -07:00
Adrian Cole
954b5f914b Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (33 commits)
  optimize imports
  reset loginpassword/privatekey when explicitly set
  revised tests that AdminAccess change recently broke
  Issue 1028:vCloud Director 1.5: require x-vcloud-authorization header on vcloud api
  Add SYSTEM scope from DMTF CIMI. FGCP provider needs it.
  Issue-1020 Add full name option for AdminUser and UserAdd
  Add missing @Override in TransientStorageStrategy
  format and imports
  Ensure that EventBus is a singleton
  Introduce LocalAsyncBlobStore
  Miscellaneous local blobstore cleanups
  Prefer valueOf over explicit object creation
  Move helper method to TransientStorageStrategy
  Move copy(MutableBlobMetadata) to BlobStoreUtils
  Cloudstack VirtualMachines can have negative cpuUsed values for some reason
  removed dead code
  corrected destroyNodes bug
  Fixed compilation failures caused by 70fa74df1a6
  Remove encodeString() and encodeString(String)
  Shuffle blobstore parameters to match superclass
  ...
2012-07-24 10:05:43 -07:00
Andrew Gaul
6b8a2a73d4 Add missing @Override in TransientStorageStrategy 2012-07-23 13:31:21 -07:00
Andrew Gaul
562f8277d3 Introduce LocalAsyncBlobStore
This commit unifies the filesystem and transient blobstores.
2012-07-23 09:20:41 -07:00