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
Adrian Cole
3a00a2c389
Merge pull request #924 from andrewgaul/copyright-notice
...
Address minor copyright notice typos
2012-10-29 16:50:01 -07:00
Adrian Cole
afa3018dd0
Merge pull request #918 from andrewgaul/hpcloud-clearcontainer
...
Work around failed CDN metadata lookups with HPCS
2012-10-29 16:48:04 -07:00
Andrew Gaul
3c7b9652f4
Work around failed CDN metadata lookups with HPCS
...
Previously BlobStore.list and thus BlobStore.clearContainer serialized
on synchronous and failed CDN lookups. This effectively prevents
clearing any large container. We cache a negative entry to work
around this. When HP improves their CDN support we should remove this
workaround.
2012-10-29 15:31:03 -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
e7dde3aff5
Address minor copyright notice typos
2012-10-28 23:27:56 -07:00
Andrew Gaul
bd3ed72396
Fix bad indent
2012-10-23 11:33:38 -07:00
Andrew Gaul
2b5173f617
Remove X-Auth-Token from HP temporary signing
...
HP Cloud does not use X-Auth-Token for temporary signed URLs and
leaking this allows clients arbitrary privileges until token timeout.
2012-10-15 11:58:49 -07:00
Andrew Gaul
a5c56e7aa7
Support HP Cloud temporary signed URL
...
HP modified the Swift signing mechanism to include the tenant id.
Note that this functionality requires using API access key
credentials. Live tests need some sorting out since we only support
password credential tests today.
2012-10-10 16:20:31 -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
Adrian Cole
049106afbf
Merge pull request #877 from andrewgaul/hpcloud-credentials
...
Clarify the HP Cloud credential type
2012-10-04 16:46:28 -07:00
Andrew Gaul
c1b65e28d4
Clarify the HP Cloud credential type
...
While users can override this by setting
KeystoneProperties.CREDENTIAL_TYPE to
CredentialTypes.API_ACCESS_KEY_CREDENTIALS, unit tests expect
CredentialTypes.PASSWORD_CREDENTIALS.
2012-10-04 16:37:12 -07:00
Andrew Gaul
222bddb5fa
Fix confusing line wrapping
2012-10-04 16:07:48 -07:00
Adrian Cole
28d766b9df
bumped to 1.6.0-SNAPSHOT
2012-09-17 01:43:52 -07:00
Adrian Cole
54ec689019
stable openstack
2012-09-16 22:38:22 -07:00
Adrian Cole
b5f60f1e70
pagination and consistency cleanup on openstack
2012-09-16 00:19:30 -07: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
ed8a1d640f
hpcloud-objectstorage: Issue 971 adding builders to domain objects and annotating with ConstructorProperties and Named
2012-07-30 13:50:00 +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
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
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00
Adrian Cole
74b404eab8
Issue 1008:aws-s3 could not get location for region eu-west-1 error
2012-07-07 17:28:44 -07: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
17fce87661
switched keystone-backed providers and apis to strictly return a single scope of location
2012-07-02 15:23:52 -07:00
Adrian Cole
bd0d319473
updated identityName
2012-06-27 12:19:26 -07:00
Adrian Cole
8311d0a4e4
Issue 988:Extra port added to swift url
2012-06-19 18:32:06 -06:00
Adrian Cole
b5797ad543
introduce KeystoneProperties/TENANT_NAME KeystoneProperties/TENANT_ID properties; set value of prefix to tenantName
2012-06-19 01:06:44 -06:00
Adrian Cole
46b4a6c8da
Issue 963:add transitional api for keystone-authenticated swift
2012-06-07 22:06:18 -07:00
Adrian Cole
d00e360d65
Issue 815: refactored the 3 major features of keystone into separate clients. removed cyclic dependency needed to support keystone controlling keystones in other regions
2012-06-06 23:14:23 -07:00
Adrian Cole
8684e59025
fixed hpcloud-objectstorage blob signing
2012-06-06 16:04:06 -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
Adrian Cole
c6a65df48d
fixed tests
2012-05-21 01:05:53 -06:00
Adrian Cole
96e272a91d
Issue 925: added default ctors so that gson can work w/o using sun.misc.Unsafe
2012-05-16 14:51:16 -07:00
Andrew Gaul
191a4e7341
Identity should be tenameName:accessKey
...
tenantId is something else. Tested against hpcloud.
2012-05-11 15:34:41 -07:00
Adrian Cole
e96f2333ee
in openstack-swift there are regions, not zones
2012-05-10 20:08:04 -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
19e56692e3
Enable multipart for HPCloud.
2012-04-19 15:51:52 +04:00
Roman Bogorodskiy
c6b7d510b2
Initial implementation of MPU for SwiftAsyncBlobStore.
2012-04-19 15:51:52 +04:00
Roman Bogorodskiy
e11dd37237
Stubs for multipart upload support in swift.
2012-04-19 15:51:52 +04: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
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
Adrian Cole
e46cef9fbb
passwordAuthentication is now default for keystone
2012-03-28 03:37:40 -04:00
Adrian Cole
5dced71f42
moved cdn extension to an Optional
2012-03-23 00:38:52 -07:00
Adrian Cole
000ed4a393
removed broken hpcloud-objectstorage-lvs
2012-03-23 00:38:15 -07:00
Adrian Cole
33fa1ec555
Issue 879:keystone v2 hpcloud-objectstorage provider
2012-03-22 21:45:25 -07:00