Commit Graph

90 Commits

Author SHA1 Message Date
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
Roman Bogorodskiy a3c8023e84 Use CommonSwiftClient instead of SwiftClient in multipart code. 2012-04-19 15:51:52 +04:00
Roman Bogorodskiy 338d28325c Clean up commented out useless function. 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 807d078c6f First working implementation of swift multipart upload. Async client TDB. 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 91ccba370b cleaned up error handler in swift 2012-03-23 00:37:33 -07: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 ae1effd748 made openstack multi-region, and now select correct endpoint via apiversion property 2012-02-04 00:51:44 -08:00
Adrian Cole e759c6a450 openstack and rackspace related changes for Issue 826 2012-02-03 00:29:27 -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
Aled Sage b11a608396 Issue 731: added RetryOnRenew handler to CloudLoadBalancers, Nova and Swift 2012-01-10 17:41:38 -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 f9b38f646c Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible 2011-12-20 23:19:45 -08:00