Commit Graph

402 Commits

Author SHA1 Message Date
Adrian Cole 5f6c3e992a improved javadoc including where to look for alternative syntax 2012-11-07 12:44:07 -03: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 70fa74df1a
  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
Andrew Gaul 756e46333f Miscellaneous local blobstore cleanups
There are no more functional differences between the filesystem and
transient blobstores.  This is the last commit before introducing a
unified LocalAsyncBlobStore class.
2012-07-23 08:06:36 -07:00
Adrian Cole b890765e9e Merge pull request #738 from andrewgaul/local-blobstore-move-helper-method
Move helper method to TransientStorageStrategy
2012-07-23 07:37:30 -07:00
Adrian Cole d5f9bb3172 Merge pull request #739 from andrewgaul/prefer-valueof
Prefer valueOf over explicit object creation
2012-07-22 22:00:09 -07:00
Andrew Gaul 985cccff9a Prefer valueOf over explicit object creation
This allows use of cached values.  Patched with:

find -name \*.java | xargs sed -i 's/new Boolean(false)/Boolean.FALSE/g'
find -name \*.java | xargs sed -i 's/new Boolean(true)/Boolean.TRUE/g'
find -name \*.java | xargs sed -i 's/new Boolean(/Boolean.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Integer(/Integer.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Long(/Long.valueOf(/g'
2012-07-22 21:01:46 -07:00
Andrew Gaul 22da88d2ae Move helper method to TransientStorageStrategy
Also move etag generation since we cannot reuse Payloads in the
general case.
2012-07-22 20:02:59 -07:00
Andrew Gaul 0bc5c69a4f Move copy(MutableBlobMetadata) to BlobStoreUtils 2012-07-22 17:37:18 -07:00
Andrew Gaul 870ed0cdb3 Shuffle blobstore parameters to match superclass
Also remove unused injected parameter.
2012-07-19 07:17:02 -07:00
Adrian Cole 70fa74df1a Merge pull request #731 from andrewgaul/input-supplier
Prefer InputSupplier helpers
2012-07-19 04:34:25 -07:00
Andrew Gaul a40983a39d Prefer InputSupplier helpers
These ensure that inputs are closed properly.

Updated with: find -name \*.java | xargs sed -i
's/toStringAndClose(\(.*\)\.getInput())/toString(\1)/'
2012-07-18 17:42:48 -07:00
Andrew Gaul a2d5a48f3f Inject TransientStorageStrategy
Remove some unneeded checkNotNull as Guice does not inject null
parameters.
2012-07-18 16:02:07 -07:00
Andrew Gaul 8a9265f015 Tie up odds and ends from LocalStorageStrategy
Use LocalStorageStrategy instead of TransientStorageStrategy and
handle IOExceptions.  Aso use dummy location in filesystem blobstore.
2012-07-18 09:45:23 -07:00
Andrew Gaul c30c2c4809 Introduce LocalStorageStrategy
This commit will allow eventual unification of the filesystem and
transient blobstores.  No functional changes -- rename
FilesystemStorageStrategy to LocalStorageStrategy and implement it in
FilesystemStorageStrategyImpl and TransientStorageStrategy.
2012-07-17 23:11:10 -07:00
Adrian Cole 11e9728dd5 [maven-release-plugin] prepare for next development iteration 2012-07-17 23:32:35 -04:00