Commit Graph

2102 Commits

Author SHA1 Message Date
Jeremy Daggett ade72d44ef Add Rackspace CDN service type 2015-01-16 10:24:37 -08:00
Andrew Gaul e170f1e632 JCLOUDS-654: Add size to Swift StorageMetadata
This allows callers to read the content length during container
listing.  Follow-on to fae097e144.
2015-01-15 17:46:24 -08:00
Ignasi Barrera 8f9acd1cad Custom Chef version in the Omnibus installer 2015-01-14 11:33:12 +01:00
Ka-Hing Cheung 5edd5de38c make xattr work in docker volume
when you bind a host volume into docker, java does not correctly
detect that and checks the xattr support on the root fs instead
of the host fs. The root fs often does not support xattr, so
the check would fail even if the target really does support xattr.

the fix is just try setting the xattrs anyway, and let them fail
if there really isn't xattrs support
2015-01-13 18:08:55 -08:00
Andrew Gaul 0fad16e07f Enable testListContainerMarker for Atmos
Confirmed that this passes against Atmos Online.
2015-01-12 19:42:35 -08:00
Andrew Gaul 58612bc473 Expand pagination test and enable for Atmos
Tested against atmos, aws-s3, azureblob, filesystem,
google-cloud-storage, rackspace-cloudfiles-us, and transient.
2015-01-12 17:43:42 -08:00
Ka-Hing Cheung 5cc3b243fc disable directory blob tests in OS X
On OS X, java doesn't support xattrs, which is required by
directory blobs. Disable those tests on OS X
2015-01-12 12:32:41 -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 2c32cfee3b Add test for UpdateContainerOptions.anybodyRead 2015-01-09 22:18:19 -08:00
Andrew Gaul 694558db0c Fix testListContainerWithZeroMaxResults on Swift 2015-01-09 22:12:49 -08:00
Andrew Gaul e8f925225c Bind Swift content metadata in multipart upload 2015-01-09 21:59:25 -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
Ka-Hing Cheung b7ab8b18a0 support directory blobs
make the filesystem blob store distinguish between a/ and a. a/
must be a directory blob with no content and only metadata

on listing, only directories with md5 attribute is considered a
blob and returned
2015-01-09 16:28:16 -08:00
Andrew Gaul 77eaa2c1f9 Add container creation date to local blobstores 2015-01-09 14:10:33 -08:00
Jeremy Daggett d3c1e2eab4 Use AutoService to generate service loader metadata 2015-01-09 11:22:12 -08:00
Ka-Hing Cheung 692691bcdc fix fs container validator test
previoisly it was testing blob key validator instead of container
name validator
2015-01-07 11:36:47 -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 38ae98e409 Always build filesystem provider 2014-12-31 15:07:35 -08:00
Andrew Gaul 3ed8db7873 Activate jre1.7 profile all JDK >= 7 2014-12-28 21:25:32 -08:00
Nikolay Sokolov 787ce446cd Fixed Version in FormSignerV4 2014-12-12 00:18:05 +01:00
William Chu 06653f1dd2 JCLOUDS-788 Added support for specifying a custom node name when generating the chef bootstrap node script 2014-12-04 23:47:20 +01:00
Adrian Cole c635b3006d JCLOUDS-523 fix typo in implementation. 2014-11-28 15:39:42 -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
Ignasi Barrera 7775f1a6b0 JCLOUDS-747: Configured Animal Sniffer plugin to check runtime compatibility 2014-11-27 18:06:19 +01:00
Adrian Cole df4323b4c6 JCLOUDS-523 add tempAuthCredentials to openstack-swift 2014-11-26 17:19:38 -08:00
Adrian Cole a449b24e7d JCLOUDS-480 support version 4 signatures for aws-ec2. 2014-11-22 08:08:37 -08:00
Everett Toews dd743e58b1 Remove Rackspace Cloud Identity v1.1 2014-11-20 07:44:47 -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
akorompai 52445de74e JCLOUDS-776: Map chef cookbook attribute files with Resource instead of Attribute 2014-11-17 17:23:01 +01:00
Adrian Cole 6f974f34b5 JCLOUDS-780 Remove vcloud. 2014-11-17 08:18:39 -08:00
Adrian Cole 054189d009 JCLOUDS-774 ec2 api was ignoring the jclouds.region property, which made exceptions possible on all zone-scoped api calls. 2014-11-16 19:06:42 -08:00
Adrian Cole 6040f749bd Revert 428b2bd2ea as this hides inconsistency between regions and zones. 2014-11-16 13:39:02 -08:00
Adrian Cole 90a6bb19f4 Finished partial fix in 91f405c9fe. 2014-11-16 10:37:31 -08:00
istolber 55be9b855e Adding tenantId/projectId and extended attributes to volume and snapshot 2014-11-11 13:50:39 -05:00
Adrian Cole 0012e6f950 JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly. 2014-10-29 17:01:26 -07:00
Ignasi Barrera c6c1b1a657 JCLOUDS-766: Add AWS Frankfurt region 2014-10-29 21:26:29 +01:00
Ignasi Barrera c73ed64fd0 JCLOUDS-761: Delete disk if image operation fails in ElasticStack 2014-10-27 16:58:03 +01:00
Adrian Cole 2a1dff243d JCLOUDS-652 Pin filesystem api to Java 7+. 2014-10-25 10:29:33 -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
Andrew Phillips 6cb1558424 zone -> region in Cinder AvailabilityZoneApiLiveTest
Follow-up to 1205010c
2014-10-23 23:06:28 -07:00
istolber 1205010cfa cinder availability zones api + list call implemented 2014-10-23 22:47:40 -07:00
Andrew Bayer c85453503e JCLOUDS-756 - Adding tags/userMetadata to NodeMetadata transform 2014-10-22 10:09:09 -07:00
Andrew Bayer 43bb86f085 JCLOUDS-756. Add support for tags to CloudStack. 2014-10-21 14:18:12 -07:00
Andrew Phillips 3e99fba425 Fixing return type for Nova Floating IP Pool extension
Follow-up to 6b83679. Thanks to @jdaggett for spotting!
2014-10-13 21:17:03 -04:00
Andrew Gaul 489850d7db Fix GuiceAssistedInjectScoping error-prone warning 2014-10-12 15:47:30 -07:00
Andrew Gaul 8cd2b92a0e Ensure that deprecated methods are fully annotated
Found with Google error-prone.
2014-10-12 13:34:08 -07:00
istolber 6b83679ca4 Openstack nova list IP pools 2014-10-12 14:58:25 -04:00
Adrian Cole d735a9fa21 JCLOUDS-40 clear remaining references to Async. 2014-10-12 09:05:35 -07:00
Andrew Phillips 3e082c8945 Minor formatting cleanup
Follow-up to e5fb0b6
2014-10-11 21:44:22 -04:00
Ignasi Barrera e5fb0b607d Allow to configure CIDR exclusion blocks 2014-10-11 14:04:00 +02:00
Ignasi Barrera 2caf6ea86e Removed obsolete TransientChefApi 2014-10-10 15:11:30 +02:00
Ignasi Barrera c9dfb07d02 Aligned pom.xml files for Chef 2014-10-10 15:11:27 +02:00
Ignasi Barrera aa17a4f9f9 Promoted jclouds-chef/core to apis/chef 2014-10-10 15:10:44 +02:00
Adrian Cole 34663f3c28 Import openstack-swift from labs. 2014-10-08 18:07:35 -04:00
istolber 8432c66b74 added zone to openstack Host 2014-10-08 08:17:30 -07:00
Jeremy Daggett 00b2de6205 JCLOUDS-281: Support Nova Block Device Mapping v2 Boot 2014-10-07 22:12:28 -07:00
istolber c9d5d2a200 bug fix keystone role api + bug fix host aggregates 2014-10-07 21:44:38 -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
Adrian Cole 7bab2dd17b JCLOUDS-40 one last Async reference in Atmos. 2014-10-05 22:32:45 -07:00
Adrian Cole 100d43360a JCLOUDS-150 clear remaining async stuff from aws 2014-10-05 22:32:27 -07:00
Adrian Cole 360e8b8d6a JCLOUDS-49 clear remaining async stuff from openstack 2014-10-05 22:32:20 -07:00
Andrew Phillips e42cc80092 Fixing Checkstyle violations 2014-10-06 00:31:00 -04:00
Adrian Cole 3883ff5bb1 Fix drift due to unasyncing 2014-10-05 20:22:19 -07:00
Adrian Cole 044223efcb Rather than rely on or work around JRE behavior based, lock S3ClientMockTest using OkHttp. 2014-10-05 20:14:45 -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 cacc986dc4 JCLOUDS-40 Remove AsyncBlobStore references from s3 api 2014-10-05 13:18:12 -07:00
Adrian Cole a22a725293 JCLOUDS-40 Remove AsyncBlobStore references from filesystem api 2014-10-05 13:18:02 -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 e3ada5b726 JCLOUDS-296 unasync legacy cloudservers provider. 2014-10-03 23:14:21 -07:00
Adrian Cole 0ab1988a7f JCLOUDS-296 unasync legacy cloudfiles provider. 2014-10-03 23:14:12 -07:00
Adrian Cole bbad831c00 JCLOUDS-296 unasync legacy swift provider. 2014-10-03 23:14:03 -07:00
Adrian Cole dda43dfc32 JCLOUDS-296 unasync keystone used by swift derivatives and cloudfiles. 2014-10-03 23:13:54 -07:00
Adrian Cole 9b71a9dcb8 JCLOUDS-40 unasync atmos. 2014-10-03 22:06:12 -07:00
Adrian Cole b6497556f6 JCLOUDS-150 add SubmissionAsyncBlobStore; unasync s3 and aws-s3 2014-10-03 13:18:29 -07:00
Andrew Phillips d949137649 JCLOUDS-538: Avoiding a VM crash trying to run live tests for Swift
TestNG was throwing up as its reflection was unable to find certain test methods
2014-10-03 10:09:11 -05:00
Adrian Cole f7aea98742 JCLOUDS-692 Remove the CloudSigma v1 provider. 2014-10-02 09:28:53 -07:00
Evgeny Tarasenko cf95033b1a Support availability zone in NovaTemplateOptions. 2014-09-24 06:49:38 -07:00
Andrew Gaul 200481300d Convert fake interfaces to utility classes 2014-09-20 18:48:40 -07:00
Andrew Gaul dc3011469b Prefer Charsets.UTF_8 over string literal
Found with modernizer-maven-plugin.
2014-09-20 18:31:24 -07:00
Jeremy Daggett 2db654fbe3 Removed deprecated methods from the VolumeApi and updated related tests 2014-09-19 16:38:59 -07:00
jasdeep-hundal 3f2b9376a1 JCLOUDS-514: Support attaching volumes at boot in Nova 2014-09-18 16:32:24 -07:00
Jeremy Daggett d2f181bc55 Remove unnecessary blobstore references 2014-09-16 12:50:25 -07:00
Jeremy Daggett d309e45725 JCLOUDS-686: Remove changesSince() query from base PaginationOptions 2014-09-11 09:27:55 -07:00
Jeremy Daggett d6eb54e2b4 JCLOUDS-296: Deprecate Rackspace First-Gen CloudServers 2014-09-09 17:05:42 -07:00
Jeremy Daggett a73340abb9 JCLOUDS-296: Deprecate Rackspace First-Gen CloudServers 2014-09-09 14:41:54 -07:00
Andrew Gaul 000a505360 Prefer Files.delete(Path) over File.delete
The former throws an exception including the cause if the operation
fails while the latter merely returns a boolean.
2014-09-08 18:41:27 -07:00
Andrew Gaul fc4b072a26 Ignore non-existent container in deleteContainer
All other blobstore providers allow this operation.  Further this
matches the behavior of TransientStorageStrategy.deleteContainer.
This commit prevents a spurious error message from
deleteContainerOrWarnIfUnable after test suite completion.
2014-09-08 18:37:19 -07:00
Andrew Gaul 7869d92b29 Skip test when filesystem does not have xattr
Addresses regression from a104944 seen on CloudBees.
2014-09-05 17:53:59 -07:00
Andrew Gaul 3c050e0e97 Address Checkstyle violations 2014-09-05 16:38:20 -07:00
Jeremy Daggett 15d8166701 JCLOUDS-699: Properly deprecate OpenStack Nova zonescoped package 2014-09-05 08:04:44 -07:00
Andrew Gaul 58438d7d1e Address Checkstyle violations 2014-09-04 17:24:27 -07:00
Andrew Gaul a1049449f4 Reset xattr on overwrite in filesystem provider 2014-09-04 17:22:26 -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 1b39589092 Ensure that deprecated methods are fully annotated
Found with Google error-prone.
2014-09-04 16:54:52 -07:00
Jeremy Daggett 398e8e30a4 Updated api-version and removed upper bounds wildcards for extension APIs 2014-09-04 09:33:58 -07:00