Andrew Gaul
709ca69a2d
Enforce that all imports are used via Checkstyle
...
Also remove all unused imports, via:
mvn checkstyle:checkstyle -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | awk -v FS=: '/warning/{print "sed -i " $2 "d " $1}' | while read i; do $i; done
2012-10-29 17:11:08 -07:00
Andrew Gaul
336ccfa2e6
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-25 13:50:29 -07:00
Andrei Savu
0d8848b397
Replaced IllegalStateException with KeyAlreadyExistsException and fixed '\n' typo
2012-10-08 18:07:43 +03:00
Andrei Savu
03dc864115
Issue 973. Performance problems with Synaptic's Atmos service and writing new blobs
2012-10-08 16:26:40 +03:00
Andrei Savu
49bde19fa0
Add support for Swift TempURL Middleware
2012-09-10 13:45:55 +03:00
Andrew Gaul
e7040f8cc8
Use appropriate Predicates helpers
...
Also capitalize constant.
2012-08-16 13:35:28 -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
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
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
Adrian Cole
b49f2e99c7
Issue 1022: naming conventions
2012-07-15 13:57:44 -07:00
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00
Aled Sage
cd9c830c5a
Issue 647: store Expires as Date; added ContentMetadataCodec for converting to/from HTTP headers
2012-05-17 11:24:50 +01:00
Aled Sage
9aedf7b6f6
Issue 647: added "Expires" header for ContentMetadata
2012-05-17 11:24:45 +01:00
Andrew Gaul
74440a7a87
Eliminate Throwables2.propagateOrNull
...
Throwables.propagate always propagates the Throwable; there is no need
to return null.
2012-05-02 13:51:36 -07:00
Andrew Phillips
42d57c5d15
Fix a test compilation error in Atmos caused by 755d51ad27
2012-05-02 08:04:40 -07:00
Adrian Cole
df7d2acbb4
wrapper -> view
2012-04-23 19:14:36 -07:00
Adrian Cole
886d2cafb9
created base Context class with ProviderMetadata and Identity
2012-04-23 16:16:51 -07:00
Adrian Cole
dab1dd69fc
fix covariance/assignability in RestContext<? extends Client> subclasses
2012-04-18 15:05:39 -07:00
Adrian Cole
0b59dea073
removed ContextBuilder subclasses; added unwrap; undid generic params
2012-04-16 00:44:20 -07:00
Adrian Cole
23cb01f977
refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage
2012-04-11 19:47:09 -06:00
Andrew Gaul
b47860afc1
Use inference to elide duplicated type parameters
...
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole
764e0907f7
Issue 657:ApiMetadata
2012-04-01 18:43:31 -07:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Andrew Gaul
e2417605a2
Prefer Guava.nullToEmpty and HttpUtils.nullToEmpty
...
Make HttpUtils.valueOrEmpty static and change method name to
nullToEmpty to mimic Guava.
2012-03-19 20:48:52 -07:00
Adrian Cole
c388fc41b4
Issue 826: removed eager supplier of @Provider endpoint
2012-02-03 13:51:26 -08:00
Adrian Cole
1756ff0358
atmos related changes for Issue 826
2012-02-03 00:29:39 -08:00
Adrian Cole
add431a329
missing build property commit
2012-01-08 00:04:04 -08:00
Adrian Cole
42137677da
Issue 801:fix inconsistency in test property test.provider.apiversion set in pom.xml -> api-version
2012-01-05 13:09:45 -08:00
Adrian Cole
43d15301c3
removed deprecated newBlob
2011-12-18 18:35:18 -08:00
Adrian Cole
beb87a2131
Issue 781:update to guava 11.0-rc1
2011-12-14 23:56:50 -08:00
Andrew Gaul
665d5df938
Propagate exceptions
...
Caught TransientAsyncBlobStore errors by visual inspection, the rest
with grep.
2011-11-09 18:21:00 -08:00
Adrian Cole
5d252e6fd5
removed throws clauses to UnsupportedEncodingException where they aren't thrown
2011-10-28 15:00:56 +02:00
Guillaume Nodet
87dd23551c
Avoid using a non official jsr and use our own annotations
2011-09-16 17:52:12 +02:00
Adrian Cole
960bfe709f
Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file
2011-08-16 18:14:30 -07:00
Adrian Cole
1f535ebb6f
Issue 80: public acl for atmos
2011-06-03 02:07:12 -07:00
Dmitri Babaev
e1f0cdcfa5
Merge commit '6d187ed9baaad1e00dbe65b36ea2989c951a5a28', ssh client patch is reverted due to massive changes in code
...
Conflicts:
drivers/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java
2011-06-03 03:50:47 +04:00
Adrian Cole
e6b246a986
corrected typo in atmos
2011-06-01 22:54:59 -07:00
Dmitri Babaev
0fedf6e467
Merge commit '7d0248c5dd972287e51ad1971d61a6ddc8bdcdf5'
2011-06-01 20:37:49 +04:00
Adrian Cole
9e94fc6fc9
updated license headers
2011-04-09 03:20:17 -07:00
Adrian Cole
8d26999bc2
updated to surefire 2.8, and revised test annotations to be compatible with testng 5.14.10
2011-04-09 01:09:35 -07:00
Adrian Cole
2bfc84beeb
Issue 430: PutOptions.multipart()
2011-04-05 12:26:16 -07:00
Adrian Cole
53c735fdff
enforced blobs must have uri, container, and can have publicAccess
2011-04-03 18:15:09 -07:00
Adrian Cole
82d84b1ca1
added getoptions to blob request signer
2011-04-01 21:38:53 -07:00
Adrian Cole
fff61b8b4d
Issue 508: promoted OVF and CIM to jclouds-compute so that they can be reused across vcloud, trmk, and savvis
2011-03-20 22:15:08 -07:00
Adrian Cole
f5fa2d983b
added toString to common functions so that they are easier to see when debugging
2011-03-14 01:39:59 -07:00
Adrian Cole
e5af84ef0e
Issue 486: moved netty to a driver and created a base payload slicer
2011-03-07 09:54:25 +01:00
Tibor Kiss
ed27cbc7c0
AWS S3 sequential Multipart Upload strategy
2011-03-07 09:54:25 +01:00
Adrian Cole
95a19b99fd
Issue 430:large blob support on aws-s3
2011-02-24 21:46:14 -08:00
Adrian Cole
20c23e7962
Issue 462: corrected semantics of BlobMap when using inDirectory and added BlobBuilder
2011-02-13 22:32:31 +01:00
Adrian Cole
675563c96a
Issue 418: updated location object to include metadata and iso3166codes
2011-01-31 01:00:20 -08:00
Adrian Cole
23d156ded9
revised syntax getting date property
2011-01-26 18:15:45 -08:00
Adrian Cole
829f7f5064
Issue 440: added synaptic storage
2011-01-16 14:23:13 -08:00
Adrian Cole
de17424871
Issue 440: moved atmos to api groupId
2011-01-16 13:45:11 -08:00