Andrew Gaul
562f8277d3
Introduce LocalAsyncBlobStore
...
This commit unifies the filesystem and transient blobstores.
2012-07-23 09:20:41 -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
0bc5c69a4f
Move copy(MutableBlobMetadata) to BlobStoreUtils
2012-07-22 17:37:18 -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
vijaykiran
41fe8b9e0e
Issue-1010 - AWS ACL LogDelivery URI is updated
2012-07-10 01:03:16 +02: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
Jeremy Whitlock
2702e942d2
Issue 992: Fix AWS S3 to work with non-DNS, but still valid, named buckets.
...
Prior to this commit, jclouds wouldn't allow you to interact with any buckets
in S3 that were named with uppercase characters. Per AWS S3 docs, this
non-standard naming is valid in US regions only. This update fixes jclouds so
that it can interact with, and even attempt to create, buckets with uppercase
characters for AWS S3 without actually impacting other S3 implementations. This
fix also will not have any impact in non-US regions other than instead of a
bucket name validation error you'll get an InvalidBucketName error back from
AWS S3 when you attempt to create a bucket with an uppercase character in a
non-US region. To summarize, nothing changes other than US regions now allow
creation of bucket names with upper case characters and jclouds now can
interact with these non-standard named buckets without failure.
2012-06-21 17:05:20 -06: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
vijaykiran
6d74805dd9
Issue-953 Make sure that port is set when modifying headers
2012-06-01 23:02:56 +02: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
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
Andrew Gaul
74862d7321
Prefer ImmutableCollection over mutable array
...
Also static.
2012-03-19 19:04:42 -07:00
Adrian Cole
fa7f81c4e7
Issue 847:version updates
2012-02-23 15:11:05 +02:00
Ioannis Canellos
5490b3068c
[842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles.
2012-02-17 00:49:39 +02:00
Adrian Cole
fe4d148528
updated current version to 1.5.0-SNAPSHOT
2012-02-04 11:06:07 -08:00
Adrian Cole
3e9c566edc
aws related changes for issue 826
2012-02-03 00:29:41 -08:00
Adrian Cole
55975af60d
Issue 820:Move off PropertiesBuilder for rocoto
2012-01-29 23:11:37 +08:00
Adrian Cole
f93c495c43
refactored to use consistent setup*Properties methods like expect tt tests
2012-01-29 20:36:24 +08:00
Adrian Cole
3df052565f
updated current version to 1.4.0-SNAPSHOT
2012-01-16 13:08:32 -08:00
andreisavu
f27bed524c
Putting basic blocks in place for writing Expect tests for aws-s3
2012-01-14 14:05:33 +02:00
andreisavu
bf330f6348
Use listBucket to query StorageClass for a blob
2012-01-11 23:02:36 +02:00
andreisavu
f90a2bd039
Issue 681. Enhance jcloud to support aws-s3 Reduce Redundancy Storage (RRS)
2012-01-11 22:18:28 +02:00
Adrian Cole
5000270090
grammar
2012-01-10 12:33:45 -08:00
Adrian Cole
da96b4637b
fixed method name
2012-01-10 12:28:50 -08:00
Adrian Cole
bdf8725b7a
first s3 expect tests
2012-01-10 12:21:26 -08:00
Adrian Cole
eef21ec75b
added base class for S3 expect tests
2012-01-10 12:21:26 -08:00
Adrian Cole
f3f56463b4
centralized RestContext<S,A> binding
2012-01-10 12:21:25 -08:00
Adrian Cole
f570ec99e6
moved base test into internal package
2012-01-10 12:21:25 -08:00
Adrian Cole
c675b61807
moved s3-specific handler into s3 module
2012-01-10 12:21:25 -08:00
Adrian Cole
add431a329
missing build property commit
2012-01-08 00:04:04 -08:00
Adrian Cole
f06e6982eb
Issue 800:introduce property for build version
2012-01-05 17:51:55 -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
beb87a2131
Issue 781:update to guava 11.0-rc1
2011-12-14 23:56:50 -08:00
Adrian Cole
993cd08bbc
reversed pull 239 as it broke the build
2011-12-13 11:45:49 -08:00
Adrian Cole
69467b04e3
Issue 752:move off deprecated systemProperties to systemPropertyVariables in surefire
2011-11-14 19:25:45 +02: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
Adrian Cole
552242e863
moved to 1.3.0-SNAPSHOT
2011-10-16 12:26:31 -07: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
0a8f38b90e
bumped snapshot version to 1.2.0-SNAPSHOT
2011-08-05 04:09:23 +01:00
Adrian Cole
acd4b4a628
clean up style warnings
2011-07-22 12:48:59 +10:00
Andrew Phillips
7d2fb23119
Master version is now 1.1.0-SNAPSHOT (= next feature version) now that 1.0.0 is out
2011-06-05 11:17:43 +04:00
Adrian Cole
ca63b9cfa3
Issue 581:BindAsHostPrefixIfConfigured generates wrong paths
2011-05-29 20:08:35 -07:00
Gustavo Morozowski
557c0d75fe
moved maven-bundle-plugin instructions to top project pom
2011-05-16 09:14:12 -03:00
Adrian Cole
ddc514d602
Issue 42: added osgi fragment plugin to poms
2011-05-15 12:08:53 -07:00
Adrian Cole
08a3cc0275
Issue 540:fixed NPE when overriding aws-s3.endpoint with a regional one
2011-04-24 16:00:37 -07:00
Adrian Cole
2b111b2604
Issue 536:terremark delete operation now returns tasks
2011-04-19 16:57:37 -07:00
Adrian Cole
9e94fc6fc9
updated license headers
2011-04-09 03:20:17 -07:00
Adrian Cole
b7e2f606c7
mapmaker doesn't return null, rather NPE
2011-04-08 12:58:48 -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
5ddf9aabca
added forSigning to blobBuilder
2011-04-01 11:38:10 -07:00
Adrian Cole
8d9d7e406b
fixed bad test annotation that always breaks the build
2011-03-20 22:34:40 -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
b0f37625ec
fixed s3 test
2011-03-12 16:02:51 -08: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
739bcc4c68
Issue 491:support new ap-northeast-1 region in aws
2011-03-03 09:44:53 -05:00
Adrian Cole
01ef7140db
simplified request authorize syntax, fixed a couple issues in the signature relating to spaces. normalized to constants, rewrote metadata test to be easier to maintain
2011-02-26 21:55:22 -08:00
tibor.kiss
00d172ce2f
issue 430: large blob support:
...
- modified all 3 http connectors to add "Expect: 100-continue" header
- refactored the RequestAuthorizeSignature to not conform the specification
- complete-multipart-upload response is returning escaped quote, I extended ETag parser
- added more S3 headers
2011-02-26 20:05:16 +01:00
Adrian Cole
95a19b99fd
Issue 430:large blob support on aws-s3
2011-02-24 21:46:14 -08:00
Adrian Cole
f38c8d5e56
Issue 475: removed builtin providers for ec2, s3, cloudservers, cloudfiles, and vcloudexpress
2011-02-15 17:51:40 +01:00
Adrian Cole
20c23e7962
Issue 462: corrected semantics of BlobMap when using inDirectory and added BlobBuilder
2011-02-13 22:32:31 +01:00
Andrew Phillips
4f8e953184
Added READMEs for APIs
2011-02-01 09:34:17 +01:00
Adrian Cole
c93186ef9d
S3 acls are not portable, so let's not make them enums
2011-01-31 10:05:23 -08:00
Adrian Cole
675563c96a
Issue 418: updated location object to include metadata and iso3166codes
2011-01-31 01:00:20 -08:00
Adrian Cole
b62a6309be
workaround to walrus not having NextMarker in bucket listing
2011-01-30 02:32:00 -08:00
Adrian Cole
7fd6cb3673
fixed tokenizing of copy and put object options for non-aws s3 clients
2011-01-30 00:32:15 -08:00
Adrian Cole
68baca4062
googlestorage supports streaming
2011-01-29 10:12:42 -08:00
Adrian Cole
142aec45cb
walrus: workaroud date parse issue, more intelligently deduce containernotfoundexception when s3 is in 'path' mode, and adjust base test classes
2011-01-28 10:41:40 -08:00
Adrian Cole
094ed5c25c
fixed integration test classes and demoted scaleup-storage to sandbox
2011-01-26 23:52:26 -08:00
Adrian Cole
f1288fed4c
s3 error parse regression
2011-01-26 00:16:24 -08:00
Adrian Cole
2bc2e23d9c
Issue 440: moved all extensions into group id org.jclouds.driver
2011-01-15 20:58:57 -08:00
Adrian Cole
71fc2792f3
Issue 440: moved jclouds-aws to aws-common
2011-01-06 16:48:51 -08:00
Adrian Cole
47faeaf1bf
Issue 440: corrected poms
2011-01-06 12:11:04 -08:00
Adrian Cole
58cd5c1a14
Issue 440: added walrus provider
2011-01-05 00:58:25 +01:00
Adrian Cole
45da77073a
Issue 440: added ScaleUp Storage to provider group
2011-01-05 00:42:41 +01:00
Adrian Cole
0263a15278
allow 409 on putBucket so it is compatible w/googlestorage
2011-01-05 00:36:55 +01:00
Adrian Cole
a6145cfae9
Issue 440: added provider module for googlestorage
2011-01-04 23:41:38 +01:00
Adrian Cole
7b3c1982cf
Issue 440: added aws-s3 provider
2011-01-04 23:05:26 +01:00
Adrian Cole
2fe58a6ddb
Issue 440: moved s3 into its own api module
2011-01-04 22:23:54 +01:00
Adrian Cole
ae77435da5
new api structure for ec2 elb s3 simpledb and sqs
2011-01-02 13:31:41 +01:00