Andrew Kennedy
9e1d1cbfa9
Fix Softlayer template options to return correct type and set disk types even if no block device configured
2015-01-28 09:30:57 +01:00
Andrew Gaul
3ab2716a7a
Skip tests which cannot run on Azure
2015-01-24 13:42:27 -08:00
Andrew Gaul
af1a01a0af
JCLOUDS-96: Handle us-standard in testAllLocations
2015-01-23 19:24:44 -08:00
Andrew Gaul
c770ffbeb0
Use sorted set to order relative paths correctly
2015-01-22 11:37:46 -08:00
Andrew Gaul
fae097e144
JCLOUDS-654: Add object size to StorageMetadata
...
This allows callers to read the content length during container
listing. Tested against: atmosonline, aws-s3, azureblob, filesystem,
and transient. Intentionally not implemented for legacy swift
provider.
2015-01-09 22:34:56 -08:00
Andrew Gaul
317089c77e
Remove tests duplicated by testPut
2015-01-09 21:59:25 -08:00
Andrew Gaul
91c47bfd92
JCLOUDS-801: Add portable multipart upload tests
...
Exercise both repeatable and non-repeatable payloads. Tested against
AWS-S3, Azure, and legacy Swift. Skipped on all other providers.
2015-01-09 21:59:25 -08:00
Andrew Gaul
38ebf0d06c
JCLOUDS-801: Use Iterable payload slicer for AWS-S3
...
Payload slicer has a method that returns an iterable of payloads that
works on non-repeatable InputStreams that was introduced to fix
multi-part uploads in Swift (JCLOUDS-356). This commit applies the
same method to fix multi-part uploads for AWS-S3 blob store.
2015-01-09 21:59:25 -08:00
Andrew Gaul
57a1f0e986
Bind Azure content metadata in multipart upload
2015-01-09 21:59:25 -08:00
Andrew Gaul
fdec63fe47
Use LinkedHashSet for BoundedHashSet
...
This allows enumerating Azure containers in the same order as the
service provides. This more closely matches PageSet and the Atmos
implementation of BoundedSet.
2015-01-09 17:51:23 -08:00
Andrew Gaul
35d6313e63
JCLOUDS-660: Implement AzureBlob set ACL
...
Reference:
http://msdn.microsoft.com/en-us/library/azure/dd179391.aspx
2015-01-09 14:05:05 -08:00
Jeremy Daggett
d3c1e2eab4
Use AutoService to generate service loader metadata
2015-01-09 11:22:12 -08:00
Ignasi Barrera
6b350fb6b7
JCLOUDS-792: Configure chef-client security attributes
...
This commit also improves some internal behavior related to the
bootstrap configuration generation, and deprecated some methods that
will be removed in upcoming versions.
* Removes all methods that return the bootstrap DataBag or the raw
configuration json to return the BootstrapConfig object instead.
* Deprecates all methods that provide support for old Chef versions.
* Formats the Enterprise Chef provider according to the jclouds
formatting guidelines.
* Deprecates the ChefContext view. That view is not an abstraction and
only provides access to the ChefService. It can be obtained from the
ChefApi itself.
2015-01-05 14:15:54 +01:00
Andrew Gaul
1c781cc5fa
JCLOUDS-391: Azure multipart putBlob user metadata
2014-12-22 15:58:49 -08:00
Andrew Gaul
1663e0911e
JCLOUDS-671: test putBlob with large multi-part InputStream
2014-12-06 13:52:27 -08:00
Eric Jutrzenka
66c4963b49
JCLOUDS-671: Use Iterable payload slicer for Azure
...
Payload slicer has a method that returns an iterable of payloads that
works on non-repeatable InputStreams that was introduced to fix
multi-part uploads in Swift (JCLOUDS-356). This commit applies the
same method to fix multi-part uploads for Azure blob store.
2014-12-06 13:52:27 -08:00
Jeremy Daggett
0b8b5e7c9c
Use AutoService for creation of Service Loader Metadata
2014-12-03 09:50:08 -08:00
Ignasi Barrera
902f1b4105
JCLOUDS-744: Upgrade to OkHttp 2.1.0 and use its native API
2014-11-27 18:44:08 +01:00
Adrian Cole
a449b24e7d
JCLOUDS-480 support version 4 signatures for aws-ec2.
2014-11-22 08:08:37 -08:00
Adrian Cole
ba868af553
JCLOUDS-781 cluster regions is a subset of regions.
2014-11-20 07:54:26 -08:00
Andrea Turli
9128448de0
add support for recent centos and ubuntu versions
2014-11-19 17:31:42 +01:00
Adrian Cole
5dc6ddcb98
JCLOUDS-621 update live tests for new instance sizes.
2014-11-18 21:26:37 -08:00
Everett Toews
162226b8a9
JCLOUDS-716: Remove Rackspace First-Gen Cloud Servers
2014-11-18 12:56:04 -06:00
Reynald Borer
60ba755219
JCLOUDS-621 add missing R3, t2.micro, t2.small and t2.medium instance types to EC2
2014-11-18 09:02:00 -08:00
Adrian Cole
278a735272
JCLOUDS-778 Remove OS support tests from TemplateBuilderLiveTest, as people are ignoring failures,
2014-11-17 09:42:06 -08:00
Zack Shoylev
5aaba51618
Remove jclouds.version and replace it with project.version in all poms.
2014-11-14 12:17:51 -06:00
Adrian Cole
02801321a2
JCLOUDS-410 note that ByteArrayPayload needs to handle offsets.
2014-10-29 10:20:39 -07:00
Adrian Cole
1702bddffa
Revert "Replace uses of ByteArrayPayload"
...
This reverts commit bd5b6853ee
.
2014-10-29 10:20:38 -07:00
Adrian Cole
3980cd791b
Revert "JCLOUDS-653: Address Guava 18 deprecations"
...
This reverts commit 95cfc0d950
.
Many conflicts due to duration between above commit and now
2014-10-24 10:45:58 -07:00
Andrea Turli
f134367c69
add support for primaryNetworkComponent.networkVlan.id, primaryBackendNetworkComponent.networkVlan.id, postInstallScriptUri, user-data, privateNetworkOnly and sshKeys options
2014-10-24 15:13:27 +02:00
kstyrc
b220d889ca
JCLOUDS-184: Improving AzureBlob unit tests
2014-10-21 10:10:49 -05:00
Andrea Turli
a563dd9fbb
fix support for private images in SoftLayer
2014-10-15 00:47:37 +02:00
Andrew Gaul
489850d7db
Fix GuiceAssistedInjectScoping error-prone warning
2014-10-12 15:47:30 -07:00
Adrian Cole
d735a9fa21
JCLOUDS-40 clear remaining references to Async.
2014-10-12 09:05:35 -07:00
Ignasi Barrera
c9dfb07d02
Aligned pom.xml files for Chef
2014-10-10 15:11:27 +02:00
Ignasi Barrera
8a2de9a5c7
Promoted jclouds-chef/enterprise to providers/chef
2014-10-10 15:11:08 +02:00
Adrian Cole
a12c168ad2
Swift is now out of labs.
2014-10-08 19:34:45 -04:00
Adrian Cole
03619accbd
JCLOUDS-641 copy/paste error completely screwed blobstore tests.
2014-10-07 22:05:58 -07:00
Adrian Cole
b9525a0877
JCLOUDS-40 unasync Fallback
2014-10-06 13:14:59 -07:00
Adrian Cole
0a236f59ad
JCLOUDS-153 remove IO Executor and usage of it.
2014-10-06 07:56:31 -07:00
Andrew Phillips
efd09edf57
Revert "Fix poms so that modernizer doesn't fail on snapshot."
...
This reverts commit 889243a677ebba620cc9915f26304091b4dd53bb. The
snapshot repository has now been added to the jclouds-project POM.
See commit 79d4b48
to jclouds/jclouds.
2014-10-06 00:36:04 -04:00
Andrew Phillips
e42cc80092
Fixing Checkstyle violations
2014-10-06 00:31:00 -04:00
Adrian Cole
3123f8d3ae
Fix drift due to unasyncing
2014-10-05 20:22:19 -07:00
Adrian Cole
99e217b720
Move off confusing test names.
2014-10-05 17:22:18 -07:00
Adrian Cole
1b2cee0700
JCLOUDS-40 Replaced incorrect use of @ConfiguresRestClient and deleted old rest client modules.
2014-10-05 16:21:16 -07:00
Adrian Cole
52ecdf5a1e
Fix poms so that modernizer doesn't fail on snapshot.
2014-10-05 14:41:13 -07:00
Adrian Cole
cacc986dc4
JCLOUDS-40 Remove AsyncBlobStore references from s3 api
2014-10-05 13:18:12 -07:00
Adrian Cole
56a2a8bf4a
JCLOUDS-40 Remove internal usage of AsyncBlobStore.
2014-10-05 08:49:54 -07:00
Adrian Cole
dfb583b67a
JCLOUDS-40 remove all implementations of AsyncBlobStore except Submission in preparation for complete removal.
2014-10-05 08:49:38 -07:00
Adrian Cole
8c520d39a4
JCLOUDS-743 - Remove bluelock-vcloud-zone01 provider
2014-10-04 16:44:03 -07:00
Adrian Cole
cc35ae557c
JCLOUDS-743 - Remove greenhousedata-element-vcloud provider
2014-10-04 16:43:27 -07:00
Adrian Cole
e243fa51a5
JCLOUDS-296 unasync hpcloud storage provider.
2014-10-03 23:14:29 -07:00
Adrian Cole
0ab1988a7f
JCLOUDS-296 unasync legacy cloudfiles provider.
2014-10-03 23:14:12 -07:00
Adrian Cole
c13220dc93
JCLOUDS-40 missing azure-common reference from azureblob.
2014-10-03 23:13:46 -07:00
Adrian Cole
4c95a57880
JCLOUDS-40 unasync azureblob; plus fold otherwise unused azure-common into it.
2014-10-03 22:15:01 -07:00
Andrew Gaul
9df0cd24c6
JCLOUDS-742 Remove cloudonestorage provider
2014-10-03 21:33:05 -07:00
Adrian Cole
b6497556f6
JCLOUDS-150 add SubmissionAsyncBlobStore; unasync s3 and aws-s3
2014-10-03 13:18:29 -07:00
Adrian Cole
a32292fa05
JCLOUDS-735 Remove ninefold providers.
2014-10-02 10:54:50 -07:00
Adrian Cole
f7aea98742
JCLOUDS-692 Remove the CloudSigma v1 provider.
2014-10-02 09:28:53 -07:00
Andrew Gaul
200481300d
Convert fake interfaces to utility classes
2014-09-20 18:48:40 -07:00
Andrew Gaul
1223772852
Prefer Charsets.UTF_8 over string literal
...
Found with modernizer-maven-plugin.
2014-09-18 18:11:19 -07:00
Jeremy Daggett
d2f181bc55
Remove unnecessary blobstore references
2014-09-16 12:50:25 -07:00
Andrew Gaul
bd5b6853ee
Replace uses of ByteArrayPayload
...
Prefer ByteSourcePayload which offers a superset of its functionality.
Note that ByteArrayPayload implicitly set the contentLength while
users of ByteSourcePayload must do so explicitly.
2014-09-07 07:43:14 -07:00
Andrew Gaul
975c1325bc
JCLOUDS-706: Upgrade Azure API to 2012-02-12
...
This will allow use of Azure after August 2015:
http://blogs.msdn.com/b/windowsazurestorage/archive/2014/08/05/microsoft-azure-storage-service-version-removal.aspx
2014-09-05 16:35:31 -07:00
Andrew Gaul
0b89b1fd10
Ensure that Content-MD5 has 128 bits
...
Update many tests Content-MD5 headers and ETag responses.
2014-09-04 16:57:48 -07:00
Andrew Gaul
808bef3339
Add missing ec2 mock expectations
...
Regression from 8f8b6dd
.
2014-09-02 17:56:53 -07:00
Andrew Gaul
8f8b6dd7ce
Further FindBugs fixes
2014-09-02 15:24:33 -07:00
Andrew Gaul
34cfdbe266
Enforce Override annotation via Checkstyle
...
Also remove bogus inheritDoc on base and static methods.
2014-08-31 19:37:50 -07:00
Andrew Gaul
5399cb6877
Avoid unnecessary boxing
...
Found with FindBugs.
2014-08-30 14:30:47 -07:00
Andrew Gaul
63d43f236e
Correct unusual equals implementations
...
Found with FindBugs.
2014-08-30 14:30:44 -07:00
Andrew Gaul
1b824afbfc
Remove redundant modifiers from interfaces
2014-08-26 17:34:13 -07:00
Andrew Gaul
480f0e883d
Prevent instantiation of utility classes
...
Also prevent extension.
2014-08-26 12:23:36 -07:00
Andrew Gaul
9c2c2e0c44
Remove spurious whitespace
...
Also remove spurious unary operator plus.
2014-08-26 11:15:55 -07:00
Andrew Gaul
74fb8f0183
Add whitespace after semicolons
...
Also correct some bad line-wrapping.
2014-08-26 11:06:00 -07:00
Jeremy Daggett
f04e2c2c2e
Fix Maven parent.relativePath warnings
2014-08-21 11:25:34 -07:00
Jeremy Daggett
e711275fb1
Prefer isEmpty() for collections rather than size()
2014-08-20 11:07:48 -07:00
Jeremy Daggett
744cd5d7eb
Prefer Regions to Zones in OpenStack APIs
2014-08-13 09:58:53 -07:00
Andrea Turli
8743e947be
JCLOUDS-662: Support multiple disks with the same size using SoftLayerTemplateOptions
2014-08-12 11:22:10 -04:00
Andrea Turli
fecedfdb3f
fix ASF copyright headers on SoftLayer
2014-08-11 12:43:57 -07:00
Andrew Gaul
95cfc0d950
JCLOUDS-653: Address Guava 18 deprecations
...
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:12:21 -07:00
Andrew Gaul
59462747e7
Reset StringBuilder instead of creating new ones
...
This avoids unneeded garbage, especially during XML parsing. Replaced
with:
find -name \*.java | xargs sed -i 's/^\( *[^ ]*\) = new StringBuilder();$/\1.setLength(0);/'
2014-08-06 11:22:49 -07:00
Andrew Phillips
2ebcc3995d
Updating project version to 2.0.0-SNAPSHOT
...
Follow-up to 82b23fc
2014-08-05 11:50:02 +02:00
Andrew Phillips
271d50fe07
Updating project versions to 2.0.0-SNAPSHOT
...
Follow-up to be8bc22
2014-08-05 11:36:07 +02:00
Andrew Phillips
f8b5f5216f
Up to 2.0.0-SNAPSHOT after the 1.8.0 release
2014-08-05 10:35:49 +02:00
Andrew Phillips
e3d9851216
Up to 2.0.0-SNAPSHOT after the 1.8.0 release
2014-08-05 09:10:24 +02:00
Ignasi Barrera
8cb2cb449b
Revert "Move jclouds-chef to the main jclouds repo"
...
This change will be added again after the 1.8.0 release.
This reverts commit 867c7a407c
.
2014-07-29 00:38:46 +02:00
Ignasi Barrera
867c7a407c
Move jclouds-chef to the main jclouds repo
2014-07-28 21:08:54 +02:00
Andrew Gaul
1e1eb5a092
Add deleteContainerIfEmpty to BlobStore
...
This matches how most blobstores operate: delete container is a single
operation, not a compound operation which recursively deletes blobs.
Azure is the only provider which allows deleting a non-empty
container.
2014-07-25 23:02:39 -07:00
Jeremy Daggett
0d77d8c2b1
JCLOUDS-554: Update Nova default API to v2
2014-07-21 10:50:46 -07:00
Andrew Gaul
f17c876d8d
Replace const.txt file input with synthetic inputs
...
This commit replaces file resource-based test inputs with in-memory
equivalents. This is more consistent and efficient than the previous
approach. Also resized some test inputs to be partSize + 1 instead of
2 * partSize. Tested against aws-s3, blobstore, core, cloudfiles-us,
and filesystem.
2014-07-19 18:35:25 -07:00
Andrew Gaul
0c005f8094
Address Checkstyle violations
2014-07-19 03:39:07 -07:00
Aled Sage
1fb286809e
JCLOUDS-549: Fix NPE in LoginCredentials.toString
...
- also deprecates LoginCredentails.get(Password|PrivateKey)
- use getOptionalPassword and getOptionalPrivateKey instead
2014-07-18 14:09:18 +01:00
Andrew Gaul
fb60d76704
JCLOUDS-622: Remove most vestiges of InputSupplier
...
Guava 16 deprecated InputSupplier and a future release will remove it.
2014-07-16 16:07:59 -07:00
Andrea Turli
717a545baa
[JCLOUDS-474] refactor SoftLayer support
2014-07-16 11:05:48 +02:00
Jeremy Daggett
801aecafea
JCLOUDS-40: Unasync OpenStack Nova API
2014-07-15 14:29:09 -07:00
Andrew Gaul
a8b106c2bb
JCLOUDS-622: remove calls to InputSupplier methods
...
Guava 16 deprecated these methods and Guava 18 will remove them.
2014-07-15 03:09:58 -07:00
Andrew Gaul
bdb5cbcbe7
Improve use of ByteSource with test resources
...
This commit ensures proper resource cleanup, simplifies
initialization, and paves the way for purely synthetic inputs in a
subsequent commit.
2014-07-11 09:10:51 -07:00
Andrew Gaul
05c37c2c77
Consistently use Square's mockwebserver
...
Google mockwebserver merged into OkHttp as per:
https://code.google.com/p/mockwebserver/
2014-07-03 14:39:07 -04:00
Andrew Gaul
71043ac9a2
Provide descriptive bogus values for properties
2014-07-02 22:42:00 -07:00
Roman C. Coedo
3932e8a3bd
Default values for aws credential properties
...
Every project was using undefined properties in their pom.xml.
A default value for test.aws.identity and test.aws.credential was
added.
2014-07-02 15:33:10 -07:00