Commit Graph

43 Commits

Author SHA1 Message Date
Ignasi Barrera dd73410d12 Add support for OpenStack Keystone V3
Refactors the Keystone Authentication and Service Catalog classes to a
common model that can be used by V2 and V3 of Keystone. Each version
will have their own Authentication APIs and Service Catalog Suppliers,
and the higher level Keystone Authentication will transparently delegate
to the right API based on the keystone-version property.

OpenStack APIs will just have to define the default keystone-version
property they work with, and declare the generic Keystone Authentication
and Service Catalog modules.

Co-authored-by: Andrea Turli <andreaturli@apache.org>
2018-01-16 09:06:30 +01:00
Andrew Gaul 8b94febfeb Throw consistent exception on invalid range read
Previously S3, Swift, and local blobstores threw a generic
IllegalArgumentException for this uncommon error.  Instead
consistently throw HttpResponseException.
2017-11-10 21:39:47 -08:00
Andrew Gaul 9dc85ecaab JCLOUDS-1281: Improve Swift DLO tests
Add DynamicLargeObjectApiLiveTest to Rackspace Cloud Files suite and
use correct regionId so that tests pass.  Also remove duplicative
test.
2017-11-07 10:50:10 -08:00
Andrew Gaul bfd54049b7 Make auto service optional
This makes dependencies consistent and eliminates warnings of the
form:

$M2_HOME/repository/org/apache/jclouds/driver/jclouds-slf4j/2.1.0-SNAPSHOT/jclouds-slf4j-2.1.0-SNAPSHOT.jar(org/jclouds/logging/slf4j/config/SLF4JLoggingModule.class): warning: Cannot find annotation method 'value()' in type 'AutoService': class file for com.google.auto.service.AutoService not found

Reference:

https://github.com/google/auto/tree/master/service#download
2017-08-30 12:23:49 -07:00
Andrew Gaul a493e2ca2f JCLOUDS-1225: Address Guava 18 Objects changes
Fixed with:

find -name \*.java | xargs sed -i 's/Objects.[Tt]oStringHelper/More&/g'
find -name \*.java | xargs sed -i 's/Objects.firstNonNull/More&/g'
find -name \*.java | xargs sed -i 's/^\(import com.google.common.base.\)\(Objects.*\)/\1More\2\n\1\2/g'
find -name \*.java | xargs java -jar google-java-format-1.3-all-deps.jar -i --fix-imports-only --skip-sorting-imports
2017-08-22 17:12:53 -07:00
Zack Shoylev 6bc82ee262 Change BaseSwiftApiLiveTest to inherit from BaseBlobStoreIntegrationTest and use its methods 2016-12-20 14:10:22 -06:00
Ignasi Barrera d290705419 Next development version 2.1.0-SNAPSHOT 2016-11-15 01:12:59 +01:00
Ignasi Barrera 6a3a37f4e0 Apache jclouds 2.0.0-rc3 release 2016-11-09 22:30:45 +01:00
Andrew Gaul 7cde28a4d2 JCLOUDS-1074: Guava 20 compatibility
* dynamically call TypeToken.isSupertypeOf with Guava 19 and later and
  TypeToken.isAssignableFrom with Guava 18 and earlier
* consume or ignore values from methods with CheckReturnValue
* replace usage of removed Iterators.emptyIterator
2016-09-06 21:49:20 -07:00
Zack Shoylev 05c05e3de2 Allows users to download large files efficiently and directly to disk. 2016-09-02 14:05:26 -05:00
Andrew Gaul 3a65df1e2e JCLOUDS-988: Subclass StaticLargeObjectApiLiveTest in Cloudfiles providers
This allows tests to run.
2016-01-22 14:01:49 -08:00
Zack Shoylev 65b7bdf282 Removes CopyObjectException in favor of jclouds-standard blobstore exceptions 2015-07-09 18:28:14 -05:00
Andrew Gaul 1f7f8c8c86 Refine HTTP 416 into IllegalArgumentException
Providers yield different messages so remove parsing from test.  Also
narrow exception handling scope.TTP 416 into IllegalArgumentException

Providers yield different messages so remove parsing from test.  Also
narrow exception handling scope.
2015-06-16 21:47:30 -07:00
Zack Shoylev a6ca5a363a Update cloudfiles poms 2015-04-09 14:20:28 -05:00
Ignasi Barrera 565a102c15 Next development version 2.0.0-SNAPSHOT 2015-03-24 11:02:39 +01:00
Ignasi Barrera ce3eeefd85 Apache jclouds 1.9.0 release 2015-03-24 10:59:36 +01:00
Jeremy Daggett 0b8b5e7c9c Use AutoService for creation of Service Loader Metadata 2014-12-03 09:50:08 -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 691144caa9 Revert "JCLOUDS-653: Address Guava 18 deprecations"
This reverts commit 65e1def4bdc1d763f505a8316dd6eb78f26300a8.

Many conflicts due to many changes between above commit and now.
2014-10-24 11:27:49 -07: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
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
Adrian Cole 52ecdf5a1e Fix poms so that modernizer doesn't fail on snapshot. 2014-10-05 14:41:13 -07:00
Andrew Gaul acba325333 Convert fake interfaces to utility classes 2014-09-20 18:47:07 -07:00
Jeremy Daggett 66627e94b8 Swift API region cleanup
Conflicts:
	openstack-swift/src/test/java/org/jclouds/openstack/swift/v1/features/ObjectApiMockTest.java
2014-08-22 11:06:48 -07:00
Jeremy Daggett f04e2c2c2e Fix Maven parent.relativePath warnings 2014-08-21 11:25:34 -07:00
Jeremy Daggett 4030a4c4f0 Removed @Nullable annotations on region parameters 2014-08-13 16:04:05 -07:00
Jeremy Daggett aa04ef007f Prefer Regions to Zones 2014-08-13 10:02:44 -07:00
Andrew Gaul 4073f7fdc4 JCLOUDS-653: Address Guava 18 deprecations
Mostly renaming Objects.toStringHelper to MoreObjects.toStringHelper.
2014-08-08 11:34:44 -07: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 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
Jeremy Daggett 46867d1353 JCLOUDS-547: Improved header and option support for Swift/Cloud Files 2014-05-25 22:08:36 -07:00
Jeremy Daggett 0c22936ab2 JCLOUDS-562: Decode object names with spaces, added test cases and updated test names. 2014-05-25 18:49:47 -07:00
Jeremy Daggett 010400c143 JCLOUDS-545: Use established conventions for OpenStack APIs, updates JavaDocs and tests 2014-05-22 07:56:37 -07:00
Andrew Gaul 5677b0babb 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 02:04:56 -07:00
Andrew Gaul 9dc7fddb55 Address Checkstyle violations 2014-05-13 00:30:14 -07:00
Everett Toews 5dfa1cff5c Better explanation of Beta APIs 2014-04-03 17:33:22 -05:00
Jeremy Daggett d13ff0ebd9 Refactored CDN headers and test classes 2014-04-03 16:46:35 -05:00
Jeremy Daggett 1814627cfe Added @Beta annotations to APIs 2014-04-02 15:24:29 -05: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