Adrian Cole
6af7d7a269
Use InstanceTemplate.name as opposed to ignoring it.
2014-11-07 07:57:33 -08:00
Adrian Cole
804acb3fda
Consolidate operation state management.
2014-11-07 07:57:33 -08:00
Adrian Cole
8e8f9662e1
Add GoogleComputeEngineProviderMetadata and implement dynamic Location suppliers.
2014-11-06 11:43:04 -08:00
Adrian Cole
c7bb9f8b17
standardize listPage across all GCE resources.
2014-11-05 11:26:31 -08:00
Ignasi Barrera
d788766cb0
Use images from all public projects and filter deprecated ones
2014-11-05 18:15:29 +01:00
Adrian Cole
382dc0d236
Make instance api prettier.
2014-11-04 17:14:09 -08:00
Adrian Cole
a85dd6e0f9
Migrate off PaginatedIterable to Iterator. Fix some live test bugs.
2014-11-04 14:21:36 -08:00
Adrian Cole
a5ac88f1d7
Cleanup ListPage in google apis.
2014-11-04 08:25:03 -08:00
Daniel Broudy
1772ea896b
Adding fix to Project.get fallback. Returns 400 or 404.
2014-11-03 15:20:20 -08:00
Adrian Cole
19245ec18b
JCLOUDS-750 Convert GoogleComputeEngine to AutoValue + general cleanup.
2014-11-03 15:20:20 -08:00
Adrian Cole
c318612f60
JCLOUDS-750 Remove need for custom json type adapters on OAuth.
2014-11-02 08:28:42 -08:00
Daniel Broudy
1bd75d7c59
Improved live tests for Load Balancing.
2014-10-31 15:59:42 -07:00
Daniel Broudy
290543d93e
Added options and binders for LB apis.
2014-10-30 18:54:43 -07:00
Andrea Turli
4a9255a00a
initial commit to support GCE LB
...
add support targetPools, forwardingRules and httpHealthChecks API
add expectedTests and LiveTests for the above API
2014-10-30 18:54:43 -07: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
d9649c7e1e
JCLOUDS-750 At the cost of fiddling with type hierarchy adapters, remove lots of junk with google auto.
2014-10-27 09:27:54 -07:00
Adrian Cole
143b5e7e1d
Iteration order of HashSet/Map changes between JRE 7 and JRE 8, breaking tests. Switch to LinkedHashSet/Map.
2014-10-25 11:38:01 -07:00
Adrian Cole
354fee9c42
Cleanup binders in GCE: don't use sneaky injection. don't redundantly check null.
2014-10-25 11:29:36 -07:00
Adrian Cole
6595a8fc69
Revert "JCLOUDS-653: Address Guava 18 deprecations"
...
This reverts commit e2e288ee86d537d249c7e58c782a66b0201f2134.
Many conflicts on account of lots of changes since the original commit.
2014-10-24 10:54:47 -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
Daniel Broudy
47ee9634a9
Adding SSD support and added DiskCreationOptions.
2014-10-21 14:43:42 -07:00
kstyrc
b220d889ca
JCLOUDS-184: Improving AzureBlob unit tests
2014-10-21 10:10:49 -05:00
Daniel Broudy
b46460035c
Adding support for DiskTypes Api.
2014-10-20 09:50:50 -07:00
Daniel Broudy
57ea3b987c
minor bug fix to InstanceApiLiveTest
2014-10-17 16:05:54 -07:00
Ignasi Barrera
609982747f
JCLOUDS-678: Do not silently return null in POST operations
2014-10-16 23:20:29 +02:00
Daniel Broudy
324f443856
JCLOUDS-649: Added image creation from pd and made Image rawDisk Optional<T>
2014-10-16 10:21:08 -07: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
Ignasi Barrera
dab34c6e21
Fix indentation
2014-10-12 22:32:36 +02:00
Adrian Cole
d735a9fa21
JCLOUDS-40 clear remaining references to Async.
2014-10-12 09:05:35 -07:00
Ignasi Barrera
65f29d1802
Implemented the supports exclusion CIDR new method
2014-10-11 13:19:00 +02: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
Stuart Hendren
f4f86edd4d
JCLOUDS-703: Google Hardware no longer supports images
2014-10-06 15:27:07 -06: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
611c21ba69
JCLOUDS-740 GCE doesn't always return id, selfLink on lists. Also, internally buffering an Iterable with a Set < with a List.
2014-10-03 15:45:28 -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
ee31c02454
Add missing @Override annotations
...
Also remove bogus inheritDoc on base methods.
2014-08-31 20:00:52 -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
1f44b9d822
Avoid primitive wrapper constructors
2014-08-26 17:53:50 -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
Chris Custine
bb0b816a91
Fixing whitespace for checkstyle violation
2014-08-15 12:37:29 -06:00
Stuart Hendren
bc52da8a73
JCLOUDS-661: Supporting single port firewall rules in GCE
...
Corresponding test added in
https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=f3778b6
2014-08-14 12:57:49 -04:00
Chris Custine
5ec9bdb3f3
JCLOUDS-633: Support passing bearer token directly for OAuth2
2014-08-13 16:11:44 -06:00
Chris Custine
f907f5223c
JCLOUDS-643: Fix Google and OAuth tests
2014-08-13 13:47:55 -06: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
61b78441d6
JCLOUDS-653: Address Guava 18 deprecations
...
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:55:25 -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
b9858851ed
Updating project and jclouds.version to 2.0.0-SNAPSHOT
2014-08-05 11:46:53 +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
Andrea Turli
8fd946c93d
[JCLOUDS-550] fix for obsolete machineTypes
2014-07-15 16:19:26 +02: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
Marek Wieczorek
40b65c5d39
Fixing other Checkstyle violations in GCE.
2014-07-03 11:10:14 -04:00
Marek Wieczorek
eb373f79bf
JCLOUDS-620: Don't fail on tag filtering when group is not specified.
...
Follow-up from 69756496
2014-07-03 11:10:13 -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
Chris Custine
ba894fe07b
JCLOUDS-585: Add HP Cloud Block Storage Provider (OpenStack Cinder)
2014-07-01 12:43:30 -07:00
Everett Toews
77e37f423d
Make sure metadata points to UK resources
2014-06-26 15:11:42 -05:00
Andrew Gaul
8fa209b15e
Use more specific testng asserts where possible
...
These asserts yield more informative error messages. Found with:
grep -rI 'assertTrue(.* =='
grep -rI 'assertTrue(.* !='
grep -rI 'assertTrue(.*\.equals('
2014-06-24 13:54:01 -07:00
Chris Custine
309c053c77
JCLOUDS-584: HP Cloud Object Storage Fixes for 13.5
2014-06-24 12:01:51 -07:00
Andrew Bayer
5641f675da
JCLOUDS-602. Added live tests for new EBS volume fields.
...
While they're implemented in apis/ec2, the tests are in
providers/aws-ec2, generally, to make sure ec2-alike clones won't barf
on them. We're exercising creation of volumes, images and instances
with the new options. I also had to do some sketchy wait-and-loop'ing
in AMIAPILiveTest.testCreateAndListEBSBackedImage() due to what seems
to be a delay on new AMIs showing up in filtered DescribeImages calls,
though they'll show up instantly when you specify the image ID. Go figure.
2014-06-20 12:27:17 -07:00
Andrew Bayer
6451098f72
JCLOUDS-602 - Add support for volumeType, iops and encrypted to EBS.
...
Adds CreateVolumeOptions for volume creation, adds support for the
above EBS configs in Image, Volume, BlockDeviceMapping, etc.
2014-06-20 12:27:17 -07:00
Ignasi Barrera
b0250cfb4f
JCLOUDS-588: Register discovered images in the image cache
...
Images were cached in memory using a memoized supplier. To allow growing
this cache with the discovered images, the ImageCacheSupplier class has
been created. It provides an in-memory cache with all discovered images
and acts as a view over the image cache that also provides access to
them.
The in-memory cache for the discovered images expires with the session,
just as the image cache does.
The default memoized image supplier has been changed to the
ImageCacheSupplier, to make sure all providers get injected the right
instance, and the old supplier has been qualified with the 'imageCache'
name, in case a provider needs the basic image cache.
2014-06-20 12:35:18 +02:00
Andrew Gaul
dad6c54720
Address Checkstyle violations
2014-06-17 15:56:35 -07:00
Andrew Gaul
e799a7409c
JCLOUDS-597: HashCode methods for Content-MD5
...
This works more naturally with Guava Hashing methods and immutability
provides better safety guarantees. Also deprecate existing byte[]
methods.
2014-06-12 15:29:17 -07:00
Chris Custine
c857ccc479
JCLOUDS-583: Updates HP Cloud compute provider to work with 13.5 release
2014-06-10 09:41:46 +02:00
Andrew Gaul
9cdd53b0b7
JCLOUDS-546: Remove Javadoc @author annotations
...
Annotations removed with:
find -name \*.java | xargs sed -i /@author/d
Empty Javadoc removed with multiple iterations of:
find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:44:54 -07:00
Andrew Gaul
78ce2baedd
JCLOUDS-546: Remove Javadoc @author annotations
...
Annotations removed with:
find -name \*.java | xargs sed -i /@author/d
Empty Javadoc removed with multiple iterations of:
find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:15:00 -07:00
Andrew Gaul
b9b6f39d42
JCLOUDS-546: Remove Javadoc @author annotations
...
Annotations removed with:
find -name \*.java | xargs sed -i /@author/d
Empty Javadoc removed with multiple iterations of:
find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:09:23 -07:00
Andrew Gaul
808bd6aad7
JCLOUDS-546: Remove Javadoc @author annotations
...
Annotations removed with:
find -name \*.java | xargs sed -i /@author/d
Empty Javadoc removed with multiple iterations of:
find -name \*.java | xargs sed -i -z 's/ \*\n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/ \* \n \*\// \*\//'
find -name \*.java | xargs sed -i -z 's/\/\*\*\n \*\/\n//'
2014-06-07 21:06:46 -07:00
Ignasi Barrera
39f77ad3f8
JCLOUDS-570: Fallback to the GetImageStrategy
...
If the TemplateBuilderImpl is given an imageId but the image can not be
found in the image cache, fallback to the GetImageStrategy to perform a
call to the provider to try to get it.
We've seen that in some cases images are not returned in the image list
but they actually exist in the provider. This fix won't make them
available when filtering by other properties such as the operating system,
etc, but at least will make them available if their id is known.
2014-06-06 12:40:27 +02:00
Ignasi Barrera
a7e342422c
JCLOUDS-517: New ElasticHosts images and regions
...
Added the new ElasticHosts regions.
Updated the ElasticStack api to get the list of standard
drives using an API call. All providers except ServerLove
support the new API call, so the old logic in the ElasticStack
api has been moved to that provider. The rest of providers will now
extract all the OperatingSystem information by parsing the name of the
StandardDrive.
A unit test has been added to the ElasticStack api with all the images
that were hardcoded, to make sure all names are still parsed as expected
and all information in the existing providers is kept.
Modified the default template for all ElasticHosts providers to
match newer Ubuntu images and updated the Template*Live tests
accordingly.
Also refactored the WellKnownImage map to a supplier to lazy load it
when needed and avoid unexpected errors when building the Guice injector
if there are authentication errors or similar.
2014-06-02 16:57:44 +02:00
Andrew Gaul
186f052022
Remove BlobBuilder and Payloads.calculateMD5
...
Callers should instead explicitly set contentMD5, usually with the
results from Guava Hashing.md5(). This narrows the API and removes a
strange IOException from callers. Further it removes a dangerous
rebuffering of arbitrarily-large non-repeatable Payloads.
2014-05-28 12:54:18 -07:00
Andrew Gaul
26b53e52b7
Use ByteSource methods to create test input
...
Also avoids excessive system calls due to unbuffered writes. Finally
migrate repeatingArrayByteSource to ByteSources.
2014-05-22 10:43:57 -07:00
Andrew Gaul
79c289da9d
Replace deprecated calls to LoadingCache.apply
2014-05-17 17:39:42 -07:00
Andrew Gaul
be792abf5e
Migrate InputSupplier callers to ByteSource
...
A future version of Guava will remove InputSupplier.
2014-05-17 00:39:09 -07:00
Andrew Gaul
c94d11f900
Make constants final classes instead of interfaces
...
This commit prohibits implementation of the empty interface and
instantiation of the class. Refer to _Effective Java_ item 19 for
more background.
2014-05-16 09:49:16 -07:00
Andrew Gaul
70cf3e1f7c
Make constants final classes instead of interfaces
...
This commit prohibits implementation of the empty interface and
instantiation of the class. Refer to _Effective Java_ item 19 for
more background.
2014-05-16 09:45:52 -07:00
Andrew Gaul
8d51ad6f87
Prefer Guava HttpHeaders over JAX-RS
...
jclouds code contains more instances of the former and Guava has
additional constants like CONTENT_MD5.
2014-05-15 01:55:51 -07:00
Jeremy Daggett
64ecd497c1
Updated ServiceType refs in Cloud Databases
2014-05-09 12:35:41 -07:00
Andrew Gaul
67c2b5f6b9
Enable whitespace around Checkstyle rule
2014-05-08 18:31:47 -07:00
Andrew Gaul
2d88f5164e
Enforce that all commas have trailing whitespace
2014-05-08 18:28:08 -07:00
Andrew Gaul
a45124c51a
JCLOUDS-505: Remove unused ObjectMD5
...
The only users of this seem to be
org.jclouds.atmos.blobstore.strategy.FindMD5InUserMetadata and
org.jclouds.azureblob.blobstore.strategy.FindMD5InBlobProperties which
are themselves unused.
2014-05-07 10:16:18 +02:00
Andrew Gaul
5fabd87685
Mark Swift blobstores as eventually consistent
...
This allows tests to retry correctly. Most blobstores, including
Swift[1], offer eventual consistency, although Azure[2] and the
jclouds test blobstores offer strong consistency.
[1] https://lists.launchpad.net/openstack/msg06788.html
[2] http://blogs.msdn.com/b/windowsazure/archive/2011/11/21/windows-azure-storage-a-highly-available-cloud-storage-service-with-strong-consistency.aspx
2014-04-14 19:50:45 -07:00
Andrew Gaul
82e9e9e42f
JCLOUDS-534: Upgrade to Guava 17.0-rc2
...
This commit accommodates changes to Predicates.and.toString and
PublicSuffixPatterns.EXACT. Release notes:
https://code.google.com/p/guava-libraries/wiki/Release17
2014-04-14 18:38:15 -07:00
Andrew Gaul
d0bd30cc15
Address several Guava InputSupplier deprecations
...
Many remain due to Payload implementing InputSupplier<InputStream>. Guava 18
will remove InputSupplier.
2014-04-12 12:02:26 -07:00
Matheus Cunha
fbb1ffa81d
JCLOUDS-503 - Missing c3.large from AWSEC2HardwareSupplier
2014-04-04 11:01:12 +02:00
Everett Toews
5dfa1cff5c
Better explanation of Beta APIs
2014-04-03 17:33:22 -05:00
Bhathiya90
c308bb9bcb
Supporting uppercase user names in Azure blob live tests
2014-04-02 01:43:55 +02:00
Zack Shoylev
56c9a05369
Fixes more checkstyle violations.
2014-03-31 20:11:21 -05:00
Jeremy Daggett
07d234a09f
JCLOUDS-423 - Adds support for Rackspace Cloud Files UK provider.
2014-03-05 11:58:32 -06:00
Jeremy Daggett
2ca0dac76c
JCLOUDS-423 - Adds support for Rackspace Cloud Files API - Added support for CloudFilesApi/CDNApi - Added mock/live tests - Refactored listFirstPage() and listAt() API methods to list() and listWithOptions(…) - General Swift API cleanup: docs and tests - Added support for Internal URL - Updated JavaDocs and domain objects. - Added support for Cloud Files US
2014-03-03 15:32:58 -06:00
Andrew Gaul
266d7f847b
Prefer ByteSource over deprecated InputSupplier
2014-02-18 22:35:10 -08:00
Andrew Bayer
a0ad055e63
JCLOUDS-470. Include region in group name for AWSEC2SecurityGroupExtension.
2014-02-14 12:09:41 -08:00
Ignasi Barrera
0625c087fa
JCLOUDS-431: Added m3.medium and m3.large instance types to EC2
2014-01-24 16:32:08 +01:00
Andrew Bayer
f6a7bba3d6
JCLOUDS-416. Use new TemplateOptions#networks field, albeit a bit janky.
2014-01-08 10:59:36 -08:00
Andrew Bayer
e2cd6d8322
JCLOUDS-416. Add TemplateOptions#networks.
...
- Adds networks field/methods to TemplateOptions.
- Adds them to children as well for legacy reasons.
- Deprecates CloudStackTemplateOptions#networkIds methods in favor of #networks.
- TODO: Modify compute abstraction layer for provisioning for nova,
EC2, et al to take advantage of this.
2014-01-07 16:15:48 -08:00
Andrew Gaul
c7b0f66544
Replace calls to Closeables.closeQuietly
...
Guava 16 removes this API. Replace with Closeables2.closeQuietly.
References JCLOUDS-413 and JCLOUDS-415.
2013-12-21 12:30:59 -08:00
Andrew Bayer
bd36ccd551
Updating to 1.8.0-SNAPSHOT
2013-12-17 11:51:11 -08:00
Andrew Bayer
582e9b38e6
Updating to 1.8.0-SNAPSHOT
2013-12-17 11:51:02 -08:00
Andrew Bayer
c1ee11d9bd
Updating to 1.8.0-SNAPSHOT
2013-12-17 11:31:56 -08:00
Andrew Bayer
805d45a7a9
Fixing rackspace-clouddatabases-{us,uk} openstack-trove dependency groupIds
2013-12-16 15:50:19 -08:00
Andrew Gaul
ac1f05ffac
Remove unneeded calls to ByteSources.asByteSource
2013-12-15 22:57:32 -08:00
Andrew Gaul
0398276be3
Remove redundant imports
...
Also enforce no new ones via Checkstyle
2013-12-12 18:23:43 -08:00
Andrew Bayer
c7f073ade7
JCLOUDS-393. Move to GCE API v1.
2013-12-12 17:07:05 -08:00
Zack Shoylev
6de84cb003
Moving trove to jclouds from jclouds-openstack-labs https://issues.apache.org/jira/browse/JCLOUDS-102
2013-12-12 17:13:38 -06:00
Andrew Gaul
4d7865849a
Enforce no unused imports via Checkstyle
...
Removed with:
mvn checkstyle:checkstyle --quiet -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | while read i; do echo $i | sed -n 's/\([^:]*\):\([^:]*\):.*/sed -i \2d \1/p' | bash; done
2013-12-11 17:29:36 -08:00
Andrew Gaul
f4895cc0e2
Enforce no unused imports via Checkstyle
...
Removed with:
mvn checkstyle:checkstyle --quiet -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | while read i; do echo $i | sed -n 's/\([^:]*\):\([^:]*\):.*/sed -i \2d \1/p' | bash; done
2013-12-11 17:27:59 -08:00
Andrew Gaul
828d8790c2
Enforce no unused imports via Checkstyle
...
Removed with:
mvn checkstyle:checkstyle --quiet -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | while read i; do echo $i | sed -n 's/\([^:]*\):\([^:]*\):.*/sed -i \2d \1/p' | bash; done
2013-12-11 17:27:43 -08:00
Andrew Gaul
3321506c84
JCLOUDS-403. Add support for Swift object expiry
2013-12-11 14:20:32 -08:00
Andrew Gaul
4cef85d1cd
Address Checkstyle violations in tests
2013-12-09 14:40:07 -08:00
Zack Shoylev
295c6e741e
Fixes broken cloudservers live tests, updates versions for images
2013-12-02 11:47:43 -06:00
Andrew Gaul
18359aecd5
Address Checkstyle violations
2013-12-01 23:22:47 -08:00
Andrew Gaul
cb98a47173
Correct jcloud -> jclouds typos
...
Corrected with:
find -name pom.xml | xargs sed -i 's/jcloud\>/jclouds/'
2013-12-01 11:21:26 -08:00
Andrew Bayer
aca161fd96
JCLOUDS-381. Allow explicit naming of nodes, decouple group identity from instance name.
2013-11-22 09:35:01 -08:00
Andrew Bayer
23e43b2c8d
JCLOUDS-381. Allow explicit naming of nodes via TemplateOptions.
2013-11-21 10:15:25 -08:00
Andrew Bayer
2077da2879
JCLOUDS-361. Add support for filtering Describe* methods in EC2
2013-11-14 11:53:31 -08:00
Andrea Turli
55b21b6449
JCLOUDS-373: Change parent of SoftLayerOrderItemDuplicateException to HttpResponseException
...
- SoftLayerOrderItemDuplicateException extends HttpResponseException as it is a propagated exception by jclouds
2013-11-14 12:48:15 +01:00
Andrea Turli
4e75e0a1e1
JCLOUDS-373: Fix VirtualGuestToNodeMetadata when server returns SoftLayer_Exception_Order_Item_Duplicate
...
* Wrap getOrderTemplate in VirtualGuestToNodeMetadata.getImage with try/catch
* Address comments from @nacx and @demobox:
- remove the fields of the custom SoftLayerOrderItemDuplicateException and propagate the HttpResponseException
- use of order = null instead of return null
- extend RuntimeException instead IllegalStateException in SoftLayerOrderItemDuplicateException
Conflicts solved:
providers/softlayer/src/main/java/org/jclouds/softlayer/compute/functions/VirtualGuestToNodeMetadata.java
2013-11-13 14:20:40 +01:00
Andrew Phillips
2abc98ab6b
Revert "JCLOUDS-375: Fix VirtualGuestToNodeMetadata when server returns SoftLayer_Exception_Order_Item_Duplicate" to correct JIRA issue number
...
This reverts commit 43f2f0ba3b
.
2013-11-13 14:19:56 +01:00
Andrea Turli
43f2f0ba3b
JCLOUDS-375: Fix VirtualGuestToNodeMetadata when server returns SoftLayer_Exception_Order_Item_Duplicate
...
* Wrap getOrderTemplate in VirtualGuestToNodeMetadata.getImage with try/catch
* Address comments from @nacx and @demobox:
- remove the fields of the custom SoftLayerOrderItemDuplicateException and propagate the HttpResponseException
- use of order = null instead of return null
- extend RuntimeException instead IllegalStateException in SoftLayerOrderItemDuplicateException
Conflicts solved:
providers/softlayer/src/main/java/org/jclouds/softlayer/compute/functions/VirtualGuestToNodeMetadata.java
2013-11-13 14:12:24 +01:00
Richard Downer
c0ccb55d8c
JCLOUDS-367: GCE nodes n>1 ignoring inboundPort
...
The inboundPort settings of the first node in the group dictated the firewall configuration. Subsequent nodes added to the group had their inboundPort settings ignored.
GCE firewalls specify their "target" (VM instances) by means of tags - if a targetTag on a firewall matches the tag on an instance, the firewall's rules are allowed for the instance. This commit applies a tag for each requested inboundPort to new instances. Then, a firewall is created for each tag (if one does not already exist) which has 'allow' rules for the port.
2013-11-13 13:32:04 +01:00
Alex Heneveld
8f206dd120
JCLOUDS-362 inferring project-id from identity when there is a hyphen
2013-11-06 17:34:55 -05:00
jolly
6e7c2c7e88
add g2.2xlarge EC2 instance size (JCLOUDS-364)
2013-11-06 12:24:06 -08:00
Andrew Gaul
6c5effcdb1
Address error-prone empty statement warnings
2013-11-05 16:22:44 -08:00
Andrew Bayer
cd90daa8a0
Cleaning up GCE SecurityGroupExtension
2013-11-01 17:57:43 -07:00
Andrew Phillips
e2f67a7567
Removing debugging System.err calls mistakenly included in ecc918b4
2013-11-01 16:33:36 -04:00
Andrew Gaul
17ce72794c
Enable RedundantModifier for Checkstyle
2013-10-31 10:23:30 -07:00
Alex Heneveld
13662529f6
fix for JCLOUDS-360, replace platform-dependent assumption that nanosecond resolution ticker uses epoch 1970 as origin with guaranteed behaviour at millisecond-level resolution of System.currentTimeMillis
2013-10-29 23:18:55 -07:00
Diwaker Gupta
13f38d628d
Return false if container already exists in AWS-S3
...
AWS-S3 returns the incorrect creation status when a container already
exists in the us-standard (or default) region. Fixes JCLOUDS-334.
2013-10-17 13:58:43 -07:00
Andrew Gaul
e30f865215
Work around CloudFiles test failures
...
Java helpfully interprets Expect: 100-continue instead of returning
the response code. This commit reverts
100afba1d8
.
2013-10-17 13:08:02 -07:00
Everett Toews
747fde69e9
Support HKG region for Rackspace providers.
2013-10-10 20:58:33 -05:00
Andrew Bayer
46b8fd0eee
Fix OpenStack Nova SecurityGroupExtension based on live tests
...
So there were a few problems, but the core ugly one is that what you
pass in for creating a rule allowing groups' access is not the same
thing you get back from a group with such a rule, which makes mapping
between the arguments and the output insanely painful. So now, well,
we do some insanely painful stuff.
2013-10-07 17:50:53 -07:00
Andrew Bayer
c79da074ea
JCLOUDS-336. Move to GCE v1beta16 API
...
Also add region-level quotas.
2013-10-04 11:44:39 -07:00
Andrew Bayer
4bf509f8e0
Removing test detail
2013-10-03 14:17:25 -07:00
Andrew Bayer
6b0680fc8c
JCLOUDS-312. Add SecurityGroupExtension for GCE.
...
Note - there is no GoogleComputEngineSecurityGroupExtensionExpectTest,
due to it being more or less redundant given that we're not making any
new API calls.
2013-10-01 14:50:55 -07:00
Adrian Cole
6eda031e27
JCLOUDS-311. work around mixed versions in hpcloud-objectstorage regions
2013-09-30 15:33:23 -07:00
Andrew Gaul
f1fc63ab76
Add whitespace around keywords and braces
2013-09-30 09:39:29 -07:00
Andrew Bayer
0aa19a0cee
Fix aws-ec2 live tests
...
Involves some non-trivial reworking of EC2 security group
translation/binding, but it was necessary.
Still problems with a number of tests:
- org.jclouds.aws.ec2.compute.AWSEC2TemplateBuilderLiveTest#testTemplateBuilderWithLessRegions
- org.jclouds.ec2.compute.EC2TemplateBuilderLiveTest#testTemplateBuilderCanUseImageIdWithoutFetchingAllImages
Those seem to be failing because there's caching going on that they're
not expecting, but I could be wrong.
Also failing:
- org.jclouds.aws.ec2.features.PlacementGroupApiLiveTest in general
- org.jclouds.aws.ec2.features.SpotInstanceApiLiveTest - a couple tests
2013-09-30 09:33:57 -07:00
Andrew Bayer
962f98969f
Fix EC2 live tests
...
This removes
org.jclouds.ec2.compute.functions.PasswordCredentialsFromWindowsInstanceLiveTest
due to there not being an easily detectable valid AMI for it to run,
and low interest in actually running it in the first place.
2013-09-30 09:33:56 -07:00
Adrian Cole
ddfefd7ec7
JCLOUDS-304. Remove broken terremark providers
2013-09-30 09:00:24 -07:00
Andrew Gaul
06b8cd7ac5
JCLOUDS-305. Disable S3 virtual host buckets for generic S3
...
Not all S3-compatible providers support virtual host buckets and thus
we should disable this feature by default. Continue to enable virtual
host buckets for AWS-S3 which supports this although this feature
suffers from DNS settling issues. Ran ran integration tests against
AWS-S3 and Scality using its S3 API.
2013-09-27 16:22:42 -07:00
Andrew Bayer
7290cc8ea6
JCLOUDS-303. unhook ApiMetadata type hierarchy from ec2
2013-09-27 15:58:25 -07:00
Andrew Bayer
d4abfec8aa
Handle null fingerprints properly.
2013-09-27 15:29:56 -07:00
Andrew Gaul
5f8961723f
Remove BlobStore Map abstractions
...
These provide little end-user benefit and make evolving the core API
more difficult. We deprecated these in 1.6.0.
2013-09-25 20:46:31 -07:00
Aled Sage
e29cdb142a
JCLOUDS-282: Add NL to assignable locations for SoftLayer
...
- zone contained NL, so needed to add it to SoftLayerProviderMetadata's
iso3166Codes
2013-09-16 15:57:18 +01:00
Aled Sage
404870c705
JCLOUDS-269: Report ram as MB rather than GB for SoftLayer
2013-09-16 11:04:32 +01:00
Ignasi Barrera
ec1f2375f8
Improved javadoc and parameter naming
2013-09-16 09:52:46 +02:00
Ignasi Barrera
ef7b7f7c52
Cleaned up ChefApi and ChefService interfaces
...
Cleaned up and renamed some methods to have a more consistent naming,
and improved the javadocs.
2013-09-13 17:55:02 +02:00
Andrew Gaul
342ae65974
[JCLOUDS-279] Remove spurious executable bit
2013-09-11 15:54:48 -07:00
Andrew Gaul
5b719900a0
[trivial] Remove unused variables
2013-09-09 22:38:41 -07:00
Diwaker Gupta
0930b638e3
Revert "Disable timed temporary signed URLs for AWS-S3"
...
This reverts commit bc0abbaa07
and
re-enables temp-signed URLs for S3.
Closes JCLOUDS-200
2013-09-09 15:28:31 -07:00
Andrew Gaul
d8490f872d
Enable some Xlint warnings
...
Also address a handful of warnings.
2013-09-04 19:45:44 -07:00
Ignasi Barrera
063dcc4c9d
Removed redundant binders
2013-09-04 10:44:32 +02:00
Ignasi Barrera
5cc56f414a
JCLOUDS-245/JCLOUDS-254: Fix live tests
...
Refactored the domain model to be immutable and addressed some
inconsistences with the Chef Server API model.
Removed all HEAD methods, as they have been removed from newer versions
of Chef. They were used to test the existance of a given resource, and
with newer versions the only way to do that is via a GET operation.
Now all live tests are passing for Community Chef 0.10.8, 11.0.6 and
Enterprise Chef.
2013-09-03 09:37:37 +02:00
Andrew Bayer
a61ad06cbf
JCLOUDS-166, JCLOUDS-167 - Removing async from vcloud and Terremark APIs/providers
2013-08-29 11:29:14 -07:00
Ignasi Barrera
ac2a44ad6f
JCLOUDS-246: Joined Hosted and Private Chef apis
...
Joined Hosted and Private Chef apis and renamed the provider
to Enterprise Chef.
2013-08-28 14:56:09 +02:00
Zack Shoylev
100afba1d8
Skips tests for time signed URLs
2013-08-26 20:35:16 -05:00
Andrew Bayer
eabdfe2d92
JCLOUDS-242. Fixing AWSEC2SecurityGroupExtension based on JCLOUDS-242 fix.
2013-08-18 13:53:15 -04:00
Andrew Bayer
f7dd08a2a5
JCLOUDS-242. Fix security group creation on aws-ec2
...
Contributed by Richard Downer.
2013-08-14 11:07:59 -07:00
Everett Toews
bf2138089d
Support IAD region for Rackspace providers.
2013-08-06 20:54:23 -05:00
Andrew Gaul
bc0abbaa07
Disable timed temporary signed URLs for AWS-S3
...
This functionality uncovered subtleties in URL parameter encoding
which result in random failures integration tests. References
JCLOUDS-200.
2013-08-06 14:17:00 -07:00
Andrew Gaul
435103eb35
Add live test for JCLOUDS-233
2013-08-06 11:53:48 -07:00
Tom Manville
19f79145fc
Handle multiple of MAX_BLOCK_SIZE for Azure MPU
...
Currently files are not properly uploaded if they are a multiple of
MAX_BLOCK_SIZE. Fixes JCLOUDS-233.
2013-08-06 11:46:53 -07:00
Diwaker Gupta
96c326d0cd
Enable time-bound signed URL tests for HPCS.
...
HP does, in fact, support configurable temporary signed URLs:
http://docs.hpcloud.com/api/object-storage#temp_url
References JCLOUDS-231
2013-08-05 21:36:42 -07:00
Andrew Bayer
29a5360d71
Fixing API casting for cloudsigma-zrh live test.
2013-08-02 09:55:51 -07:00
Andrew Bayer
a14c03ba0b
Remove async from glesys
2013-08-02 07:57:42 -07:00
Andrew Bayer
d4bf51128e
Remove async from gogrid
2013-08-02 07:57:42 -07:00
Andrew Bayer
a2af31c419
Removed async from elasticstack
2013-08-02 07:57:41 -07:00
Andrew Bayer
1a6071ab92
Removed async from cloudsigma
2013-08-02 07:57:41 -07:00
Andrew Bayer
dae2c67d79
Remove async from softlayer
2013-08-01 18:13:48 -07:00
Andrew Bayer
82fe701c77
JCLOUDS-221. Add availabilityZone to spot price history.
2013-08-01 17:56:16 -07:00
Everett Toews
bf723a8649
Support Disk Configuration Extension in NovaTemplateOptions
2013-08-01 16:40:00 -05:00
Diwaker Gupta
675c649cb6
URL encode string to sign.
...
As recommended at
http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html :
"You can also send a signature as a URL-encoded query-string parameter
in the URL for the request."
Also deals with some of the craziness of URL encoding/decoding in
jclouds.
References JCLOUDS-200
2013-07-31 16:32:53 -07:00
Andrew Bayer
f7ac63bdeb
JCLOUDS-209. Move to GCE v1beta15 API, with new features/methods included
...
Does not include aggregated list method calls, due to those calls not
working with service accounts.
Does not include image insert or deprecate due to the extremely
complex system for creating images in GCE, which makes writing tests
for that a pain. Will come in a later commit.
2013-07-31 09:05:25 -07:00
Andrew Phillips
f6b5b67b5b
JCLOUDS-200: Consolidate all feature-specific in the AWS provider
...
Follow-up to c64c7423
2013-07-26 15:03:12 -04:00
Diwaker Gupta
2409ac1a37
Preserve blob metadata for AWS-S3 MPU
...
Specifically preserve content-type and content-disposition for
multi-part uploads.
Fixes JCLOUDS-204
2013-07-25 10:31:47 -07:00
Diwaker Gupta
c64c7423cd
AWS-S3 configurable temporary signed URL support
...
Introduces AWSS3BlobRequestSigner, which reuses the
RequestAuthorizeSignature filter for most of the heavy lifting.
Other implementation details based on [1].
Tested with AWSS3BlobSignerLiveTest, in particular,
testSign(Get|Put)UrlWithTime.
Closes JCLOUDS-200
[1] http://s3.amazonaws.com/doc/s3-developer-guide/RESTAuthentication.html
2013-07-24 15:22:45 -07:00
Andrew Phillips
c6facc13d6
Follow-up to Azureblob cleanup
...
See discussion at https://github.com/jclouds/jclouds/pull/66
2013-07-17 10:32:05 -07:00
John Kew
865b910637
Cleanup of Azureblob code; as per pull request review. Additional items
...
not covered here are assigned specific bug ids.
2013-07-16 18:08:49 -07:00
John Kew
1b2fb8259f
JCLOUDS-161: large blob support for Azure
...
Large blob support for AzureClient; the next step of this is to
support PutOptions.multipart and digest a blob into 4M parts. This
just implements the Azure interaction.
2013-07-10 16:04:51 -07:00
Andrew Gaul
c299b8ff61
Add Swift-specific MD5 checksum header
...
Tested against cloudfiles-us, hpcloud-objectstorage, and
swift-keystone. Reference for ETag:
https://answers.launchpad.net/swift/+question/157064
2013-07-09 21:35:17 -07:00
Ignasi Barrera
bbfec4a990
JCLOUDS-160: Support tags in EC2 images
...
Based on the work made by Brock Noland
2013-07-06 10:08:10 +02:00
Andrew Bayer
5f3b8d3fa7
JCLOUDS-150 - Removal of async from AWS - specifically EC2
...
...and EC2-related elsewhere. Also moved *Client -> *Api, and moved
everything from .../services to .../features, and threw in a bunch of
Optionals to fit the EC2Api approach.
And a very big tip of the hat to nacx for figuring out the generics
stuff my brain just could not handle. =)
2013-07-01 12:12:26 -07:00
Andrew Bayer
647c83e134
JCLOUDS-101 - update GCE compute service to deal with SecurityGroupExtension
2013-06-26 17:07:45 -07:00
Andrew Bayer
5f524ee6c9
JCLOUDS-101 - Add SecurityGroupExtension for compute
...
- Adds the SecurityGroupExtension to compute, with tests and stub
support.
- Gets everything else to actually build against this.
- Unifies on compute's IpPermission/IpProtocol, eliminating EC2's.
- Converters from EC2/Nova/CloudStack SecurityGroup (and rules, for
the latter two) to the compute SecurityGroup (and rules, etc).
- EC2SecurityGroupExtension and tests.
- AWSEC2SecurityGroupExtension and tests - depends on JCLOUDS-99.
2013-06-26 14:59:01 -07:00
Everett Toews
6249d60b0b
Added the SYD zone to Rackspace providers.
2013-06-20 16:38:01 -05:00
Andrew Bayer
82f25150b9
JCLOUDS-99. Enable use of Iterable<IpPermission> for aws-ec2
...
- Added AWSEC2CreateSecurityGroupIfNeeded, using
AWSSecurityGroupClient's ability to call
authorizeSecurityGroupInRegion with Iterable<IpPermission>
- Added a utility method,
ComputeServiceUtils.getPortRangesInList(int... ports), to get pairs of
start/end ports covering all ranges in a list of ports. Used above.
2013-06-19 14:07:18 -07:00
Andrew Gaul
1a6be0eb67
Do not repeat array type in initializers
2013-06-18 21:02:50 -07:00
zack-shoylev
bcf8e3fe50
Fixes testCreateAndRunAService by fixing the outdated jetty URL
2013-06-17 15:08:00 -05:00
Jeremy Daggett
7651657cfc
Remove async interface support from OpenStack Cinder API
2013-06-06 11:08:21 -05:00
Andrew Gaul
b3a320e015
Address Checkstyle violations
2013-05-26 21:03:10 -07:00
Andrew Bayer
e3bc096abf
JCLOUDS-31. License header cleanup
2013-05-24 12:01:40 -07:00
Ignasi Barrera
d71de10dfd
JCLOUDS-64: Update license headers
2013-05-24 01:06:46 +02:00
Andrew Bayer
1ced54dde4
JCLOUDS-80. Inherit apache-rat plugin config.
2013-05-22 10:29:56 -04:00
adriancole
d17efa34a1
Revert "[JCLOUDS-43] add TransactionApi and tests to ultradns-ws provider"
...
This reverts commit b021d743fd
.
2013-05-17 15:10:56 -07:00
adriancole
834373354f
Revert "[JCLOUDS-43] add scoped transaction support to ultradns-ws"
...
This reverts commit f88609d1dd
.
2013-05-17 15:10:46 -07:00
adriancole
ed2f18a1af
JCLOUDS-31. updated to ASF headers via mvn com.mycila.maven-license-plugin:maven-license-plugin:format
2013-05-16 21:30:37 -07:00
adriancole
f1b8ca1ff2
JCLOUDS-31. manually adjusted license header on checkstyle and terremark xml files
2013-05-16 21:30:32 -07:00
adriancole
fa10fc4838
JCLOUDS-31. remove malformed, duplicate, or unnecessary headers
2013-05-16 21:30:32 -07:00
adriancole
f88609d1dd
[JCLOUDS-43] add scoped transaction support to ultradns-ws
2013-05-15 12:26:09 -07:00
adriancole
b021d743fd
[JCLOUDS-43] add TransactionApi and tests to ultradns-ws provider
2013-05-15 12:06:05 -07:00
Andrew Bayer
7923009eb5
JCLOUDS-37. Fix RAT violations in incubator-jclouds, master branch
2013-05-13 19:17:50 -07:00
Andrew Bayer
446ac67884
JCLOUDS-30. Switch to 2 space indents for POM files.
2013-05-13 12:04:43 -07:00
Andrew Bayer
259b04ff1c
JCLOUDS-16. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos.
2013-05-13 12:04:42 -07:00
Andrew Bayer
00a995a465
JCLOUDS-30. Switch to 2 space indents for POM files.
2013-05-13 10:46:01 -07:00
Andrew Bayer
f41421c6b2
JCLOUDS-23. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos.
2013-05-13 10:44:56 -07:00
adriancole
98846381ba
organized google code into its own subdir
2013-04-28 22:56:26 -07:00
adriancole
166118be2c
remove stratogen
2013-04-26 20:08:43 -07:00
Adrian Cole
1052370405
Merge pull request #1568 from jclouds/remove-synaptic-storage
...
removed defunct synaptic-storage provider
2013-04-26 14:41:44 -07:00
adriancole
be6e7cc47a
removed defunct synaptic-storage provider
2013-04-26 09:31:32 -07:00
Everett Toews
2bbd03939f
Removed trystack-nova provider.
2013-04-26 10:54:49 -05:00
Everett Toews
998bfea33e
The Rackspace Cloud DNS APIs moved over from labs.
2013-04-24 09:07:31 -05:00
adriancole
592d27f5ef
cleaned up style in mock responses that need to consider the port of the current MockWebServer
2013-04-23 11:26:24 -07:00
adriancole
6eaf0830db
fix issue #1492 : invalidate dynect session on ip mismatch
2013-04-21 22:50:32 -07:00
adriancole
7f6929b623
fixed order of zone and fqdn in dynect
2013-04-18 15:04:22 -07:00
Adrian Cole
85e815a743
Merge pull request #1548 from jclouds/dynect-geo-read
...
added geo read-only commands to dynect
2013-04-18 08:15:46 -07:00
adriancole
160fa9527b
added geo read-only commands to dynect
2013-04-18 07:49:24 -07:00
adriancole
0d4e488a95
added code and tests for geo-based write ops in ultradns
2013-04-17 22:09:04 -07:00
Andrew Gaul
fff2fa6e05
Address Checkstyle violations
...
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
adriancole
8773cda5c7
cleanup naming convention differences across ultradns apis
2013-04-16 11:47:41 -07:00
adriancole
8c18f3ba1b
converted RegionToTerritories to a multimap and normalized use of IdAndName
2013-04-15 11:05:11 -07:00
adriancole
a8ca5466ef
corrected argument order on DirectionalRecordDetail of ultradns
2013-04-13 17:50:50 -07:00
Andrew Gaul
04fad88fd3
Remove duplicate Utils getters
...
Rename callers as required.
2013-04-12 16:24:37 -07:00
adriancole
dd11ab1d0e
fixed toString on ultra domain objects
2013-04-10 11:43:07 -07:00
adriancole
4130db4f43
added ability to read directional groups in ultradns
2013-04-10 11:43:04 -07:00
adriancole
ec439c65b7
added ability to read directional pools and records in ultradns
2013-04-10 11:43:03 -07:00
adriancole
0abfaf5184
added ability to read the regions available in ultradns
2013-04-10 11:43:03 -07:00
adriancole
5bc0678a1c
naming convention and warning feedback from issue #1511
2013-04-10 08:13:13 -07:00
Adrian Cole
3c34aeb112
Merge pull request #1514 from jclouds/use-more-constants
...
use more constants in tests
2013-04-09 23:33:01 -07:00
adriancole
2e64f3e156
removed async api from ultradns-ws
2013-04-09 22:59:29 -07:00
adriancole
7e0c4cfb00
removed async api from dynect
2013-04-09 22:35:05 -07:00
adriancole
d1af582ed0
removed async api from cloudloadbalancers
2013-04-09 22:07:55 -07:00
adriancole
6afb0dc6b9
quarantined openstack api and providers that still use async code
2013-04-09 22:07:55 -07:00
adriancole
61067d3683
Deprecated remaining code related to RestContext, RestApiMetadata, and RestClientModule for ApiContext, HttpApiMetadata, HttpApiModule
2013-04-09 22:07:43 -07:00
adriancole
2855cacc6d
use more constants in ultradns-ws tests
2013-04-09 21:34:23 -07:00
adriancole
e22be464d0
use more constants in dynect tests
2013-04-09 20:37:07 -07:00
adriancole
f56da43db1
deprecated blobstore interfaces that imply complex internal code
2013-04-09 14:37:34 -07:00
Adrian Cole
109db817ed
Merge pull request #1508 from jclouds/deprecate-async
...
Deprecate async
2013-04-09 13:04:19 -07:00
adriancole
053197fe61
deprecated all top-level Async apis and clients
2013-04-09 10:18:31 -07:00
adriancole
413538c453
refactored aws-s3 MPU test
2013-04-09 09:44:44 -07:00
adriancole
36dd831b84
moved all code off use of RestContext except CloudStackContext, which will use it until 1.7
2013-04-09 09:23:31 -07:00
Andrew Bayer
c566418d87
Adding listNodesByIds across the board.
...
Adding to both ListNodesStrategy and ComputeServiceAdapter. When
possible, does a query explicitly for the specified IDs. When not,
falls back on either listDetailsOnNodesMatching (for ListNodesStrategy
implementations and in BaseComputeService) or filters listNodes output
itself (in ComputeServiceAdapter).
2013-04-08 17:21:01 -07:00
adriancole
a92cd40806
made it possible to replace a value in the ultradns record builder
2013-03-25 17:19:58 -07:00
adriancole
3be95807c2
wrong values for SRVData keys in DynECT
2013-03-25 14:36:29 -07:00
Adrian Cole
420f332a08
Merge pull request #1454 from jclouds/ultradns-tcpool-recordupdate
...
update pool record support in ultradns
2013-03-24 23:35:04 -07:00
adriancole
16b43b08db
it is possible for an ultradns error to not include a message
2013-03-24 22:35:28 -07:00
adriancole
6ab744d674
addressed nits from issue #1453
2013-03-24 22:06:59 -07:00
adriancole
d7221dc9fc
specify weight when adding pool record support in ultradns
2013-03-24 22:06:55 -07:00
adriancole
f669ed136e
backfilled test that ensures login command on trmk sets content-length
2013-03-24 21:09:30 -07:00
adriancole
d9572151ae
update pool record support in ultradns
2013-03-24 16:04:39 -07:00
adriancole
30a0bf7657
make error handling code in ultradns more readable
2013-03-24 15:12:24 -07:00
adriancole
43b2065947
rewrote ultradns TrafficControllerPoolApiLiveTest to validate metadata such as dname and record ttl
2013-03-24 15:10:19 -07:00
adriancole
5549eddf92
add ability to lookup traffic controller pool in ultradns by its dname
2013-03-24 15:09:53 -07:00
adriancole
6b14bec945
ultradns no longer throws an exception if you attempt to list zones of an unknown account
2013-03-24 15:09:53 -07:00
adriancole
bc52b54945
renamed IDHandler in ultradns to TextHandler as it isn't limited to ids
2013-03-24 15:09:53 -07:00
adriancole
818a6f2c6f
added predicates to ultradns which simplify common queries for traffic controller resources by id
2013-03-24 15:09:53 -07:00
adriancole
83ddeb10ab
added ability to get the specification of an ultradns pool record by id
2013-03-24 15:09:47 -07:00
adriancole
179a0ea30a
backfilled tests for case where traffic controller record in UltraDNS doesn't exist
2013-03-24 10:38:30 -07:00
adriancole
eb1d4710ec
create and delete traffic controller records in ultradns
2013-03-23 18:49:43 -07:00
adriancole
a329feee7c
create and delete traffic controller pools in ultradns
2013-03-23 17:17:38 -07:00
adriancole
e3f51bd030
refactored out common id parsing logic in ultradns
2013-03-23 17:16:27 -07:00
adriancole
7bd8082106
add ability to read ultradns traffic controller pool records
2013-03-23 16:48:05 -07:00
adriancole
7dde2dd105
added base TrafficControllerPoolApi with list() implemented
2013-03-22 12:53:11 -07:00
adriancole
e7bdfa65f9
fixed bad assertion in delete rrpool in ultradns
2013-03-22 11:24:48 -07:00
adriancole
0c09140f54
azureblob does not support expires header
2013-03-21 09:07:23 -07:00
Andrew Gaul
371db8d18f
Address Xlint warnings
2013-03-13 22:23:19 -07:00
adriancole
77d15933b5
add support for list records by name in dynect
2013-03-13 17:11:54 -07:00
Adrian Cole
10827445f7
Merge pull request #1412 from jclouds/ultradns-remove_recordmap
...
removed problematic record type mapping code
2013-03-11 22:13:21 -07:00
adriancole
75315c8a28
removed problematic record type mapping code
2013-03-11 20:35:35 -07:00
adriancole
e182497c5c
add SPF and SSHFP records to dynect
2013-03-11 20:03:18 -07:00
adriancole
a95e42d180
ultradns-ws: replaced usage of UnsignedInteger with int
2013-03-11 14:56:37 -07:00
adriancole
971a82098e
dynect: replace usage of UnsignedInteger with int and fixed serialized form of rdata classes
2013-03-11 14:56:33 -07:00
Adrian Cole
fb69ae0fa9
bump master to 1.7.0-SNAPSHOT
2013-03-08 23:02:40 -08:00
adriancole
83a31e7692
unhook labs dependency from aws-ec2; to be re-enabled when issue #1400 is complete
2013-03-08 19:30:41 -08:00
adriancole
df346ade7e
promote dynect out of labs
2013-03-08 18:02:58 -08:00
adriancole
b1ad2148ee
promote ultradns-ws out of labs
2013-03-08 16:33:26 -08:00
adriancole
c31145e42e
[maven-release-plugin] prepare for next development iteration
2013-03-04 06:13:59 -08:00
adriancole
0eb3ee8091
[maven-release-plugin] prepare release jclouds-1.6.0-alpha.4
2013-03-04 06:13:57 -08:00
adriancole
1e98bc51ab
azureblob: explicitly set Expect header on methods that need it
2013-03-03 21:09:53 -08:00
adriancole
1c2090fd08
s3: explicitly set Expect header on methods that need it
2013-03-03 21:09:49 -08:00
adriancole
2c3c3fad52
swift: explicitly set Expect header on methods that need it
2013-03-03 21:09:48 -08:00
Diwaker Gupta
c37d3103e7
Fix static access of MultipartUpload members.
2013-03-01 18:49:28 -08:00
Shri Javadekar
32f8d8d3ca
Add directory specific live test to AWS-S3.
...
This patch adds a test to the AWS live test suite for making sure
that a directory is basically a blob with a trailing '/'.
2013-02-27 22:52:44 -08:00
Adrian Cole
1fbc47bd77
added iam instance profile args to aws-ec2
2013-02-25 17:35:02 -08:00
Adrian Cole
ac7a4b5354
unhooked version dependency from ec2 async tests
2013-02-25 17:04:32 -08:00
Andrew Gaul
ff42fdfa13
Address FindBugs warnings
2013-02-24 20:17:50 -08:00
Adrian Cole
7e270c5ddb
various cleanups to get ec2 subnet api up to latest
2013-02-24 14:40:31 -08:00
Andrew Gaul
1f995879d6
Address FindBugs errors
2013-02-22 20:59:29 -08:00
Everett Toews
eef3d71526
Added version to Rackspace Cloud Load Balancer package namespace.
2013-02-21 16:07:15 -06:00
adriancole
bebdfff5be
synchronized naming of route53 with aws sdk, and changed resource record type from enum to string
2013-02-19 15:32:20 -08:00
adriancole
89fda8ee28
[maven-release-plugin] prepare for next development iteration
2013-02-04 17:30:46 -08:00
adriancole
2b0ad28f26
[maven-release-plugin] prepare release jclouds-1.6.0-alpha.2
2013-02-04 17:30:44 -08:00
adriancole
f3f4dc9f2a
issue #1184 normalize command names for all swift derivatives
2013-02-03 12:05:20 -08:00