Andrew Gaul
3d191253ec
Enforce use of Collection helpers via Checkstyle
...
This ensures that we do not repeat the type name. Some instances remain
due to auto-generated code in dmtf/cim/Cim*.
2012-11-04 20:45:49 -08:00
Andrew Gaul
bfa3458b97
Prefer specific asserts where possible
2012-11-04 14:40:24 -08:00
Andrew Gaul
08b9982384
Enforce modifier order via Checkstyle
...
Also fix violations, via:
find -name \*.java | xargs sed -i 's/final static/static final/'
find -name \*.java | xargs sed -i 's/static private/private static/'
find -name \*.java | xargs sed -i 's/static abstract/abstract static/'
2012-11-01 20:01:30 -07:00
Andrew Gaul
93d69ece2b
Enforce newline at end of file via Checkstyle
...
Also address all warnings, via:
find -name \*.java | while read i; do if [ x`tail -c 1 $i` != x"" ]; then echo >> $i; fi; done
2012-10-29 22:12:44 -07:00
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
Aled Sage
09425f4f69
Version upgrades
...
- gson from 2.2 to 2.2.2
- guava from 13.0 to 13.0.1
- rocoto from 6.1 to 6.2
- log4j from 1.2.16 to 1.2.17
- log back from 1.0.0 to 1.0.7
- httpclient from 4.1.3 to 4.2.2
- netty from 3.3.1 to 3.5.9
- slf4j from 1.6.4 to 1.7.2
- testing from various to 6.8
- jetty from 8.1.1 to 8.1.7
- snakeyaml from 1.10 to 1.11
2012-10-29 13:00:44 +00:00
Andrew Gaul
caccd9cf4c
Prefer Files.copy to copy streams
2012-10-24 17:44:05 -07:00
Andrew Gaul
28d7a6f143
Prefer immutable over empty collections
...
The former does not create an object when calling iterator(), as
discussed here:
https://groups.google.com/d/msg/jclouds-dev/l7BviKDXreA/mP6Ow_RYxIgJ
2012-10-20 15:35:29 -07:00
Adrian Cole
ffa9cd3bb0
corrected guice bindings for swift-based blob signatures and backfilled expect tests
2012-10-10 12:03:23 +02:00
Andrew Gaul
9024c77405
Improve use of Charsets
2012-10-07 22:31:49 -07:00
Adrian Cole
298856bab0
Merge pull request #876 from andrewgaul/log4j-line-wrapping
...
Fix confusing line wrapping
2012-10-04 16:36:04 -07:00
Andrew Gaul
222bddb5fa
Fix confusing line wrapping
2012-10-04 16:07:48 -07:00
Andrew Gaul
ceb203c10a
Improve use of InputSupplier helpers
2012-10-02 18:18:51 -07:00
Adrian Cole
28d766b9df
bumped to 1.6.0-SNAPSHOT
2012-09-17 01:43:52 -07:00
Andrei Savu
1e50fbeb69
Switched from a Provider to a Supplier as requested
2012-09-16 23:08:17 +03:00
Andrei Savu
3898f1eee2
Removed two unused imports
2012-09-16 21:53:58 +03:00
Andrei Savu
080d142ae1
Generic support for Swift TempUrl middleware
2012-09-16 21:46:51 +03:00
Andrew Phillips
2984626b9c
issue 1069: Allowing @Nullable container to be null in compareTo
2012-09-14 12:35:45 -04:00
Everett Toews
e19d27f97c
Updates to Rackspace CDN Container Metadata handling. Added feature to Purge CDN Object. Added feature to set default index and error pages for CDN based static website.
2012-09-11 21:10:59 -05:00
Andrei Savu
0e8e07ce38
Removed unused import and added @Test annotation
2012-09-10 22:44:26 +03:00
Andrei Savu
49bde19fa0
Add support for Swift TempURL Middleware
2012-09-10 13:45:55 +03:00
Everett Toews
73746588f4
Moved HP Storage Container Metadata parsing to Swift since it's a standard Swift feature.
...
Moved HP Storage createContainer(String, CreateContainerOptions) to CommonSwiftClient since it's a standard Swift feature.
Added support for setting Swift Container Metadata.
Added support for deleting Swift Container Metadata.
Added copy object feature to Swift.
Removed unnecessary TODO comment.
Changed DeleteContainerMetadataOptions to just be a List.
Changed CopyObjectOptions to be just be a String. Changed CommonSwiftClient.setContainerMetadata() to use just a Map for metadata. Added ExpectTests.
Changed setContainerMetadata() to use Iterable instead of List for more generic type goodness. Changed copyObject() to use 4 String params instead of 2 String params to be similar to other such methods in jclouds.
2012-09-08 15:02:01 -05:00
Adam Lowe
2022bf3fbb
swift: issue 971 adding builders and applying ConstructorProperties to domain objects
2012-07-30 10:36:03 +01:00
Adrian Cole
735da0a285
Issue 1037: consolidate keystone endpoints to end with /v2.0/ + change hpcloud to default to user/pass auth
2012-07-29 16:30:20 -07:00
Andrew Gaul
8ed0e28e68
Spelling corrections
2012-07-26 22:39:35 -07:00
Andrew Gaul
ebc65ec8f3
Loosen regex for parsing HP Cloud account
...
My account has only digits without an underscore. The failed regex
match caused calls to blobExists to throw an exception when the blob
did not exist.
2012-07-26 12:44: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
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
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00
Adam Lowe
dfed1b2189
swift keystone 2.0: applying defaultProperties()
2012-07-12 14:40:38 +01:00
Adam Lowe
a105e370a8
swift keystone 2.0: adjusting default modules to include KeystoneAuthenticationModule.RegionModule
2012-07-12 11:10:16 +01:00
Adrian Cole
fb98ce82f7
cleanup of module binding, clarity in toStrings, reduced wrapper depth for memoized sets
2012-07-02 19:36:27 -07:00
Adrian Cole
8311d0a4e4
Issue 988:Extra port added to swift url
2012-06-19 18:32:06 -06:00
Adrian Cole
5ad8d2c1f7
corrected api metadata
2012-06-19 01:21:12 -06:00
Andrew Gaul
736554d049
Correct spelling errors
2012-06-14 10:03:39 -04:00
Adrian Cole
46b4a6c8da
Issue 963:add transitional api for keystone-authenticated swift
2012-06-07 22:06:18 -07:00
Adrian Cole
b58060599b
Issue 815: repackaged keystone classes into their own api
2012-06-06 14:57:50 -07:00
Ioannis Canellos
b078adc3ce
Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin.
2012-06-03 19:41:54 +03: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
4ac7629f44
Delegate blob storage to TransientStorageStrategy
...
This further minimizes the drift between the filesystem and transient
blobstores. We also now require that users keep the BlobStoreContext
open instead of using ConcurrentMap singletons. Finally we remove the
"stub" container.
2012-05-08 14:11:32 -07: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 Gaul
755d51ad27
Remove unused transient blobstore methods
...
Also make some helpers private. Generally, make the transient
blobstore more similar to others.
2012-05-01 22:37:01 -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
Roman Bogorodskiy
1b5462346b
Add a live test for swift multipart upload.
2012-04-19 17:18:27 +04:00
Roman Bogorodskiy
2fa96a9cb3
Remove useless comment.
2012-04-19 15:51:53 +04:00
Roman Bogorodskiy
52c144fce5
Remove deub prints and fall back to traditional upload if file is not large enough.
2012-04-19 15:51:52 +04:00
Roman Bogorodskiy
19e56692e3
Enable multipart for HPCloud.
2012-04-19 15:51:52 +04:00