Commit Graph

9058 Commits

Author SHA1 Message Date
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 8639f5cf94 Update mailmap for acole@twitter.com 2014-10-04 09:22:01 -07:00
Adrian Cole e243fa51a5 JCLOUDS-296 unasync hpcloud storage provider. 2014-10-03 23:14:29 -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 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
Adrian Cole 9b71a9dcb8 JCLOUDS-40 unasync atmos. 2014-10-03 22:06:12 -07:00
Andrew Gaul 9df0cd24c6 JCLOUDS-742 Remove cloudonestorage provider 2014-10-03 21:33:05 -07:00
Andrew Gaul 1788ad7d58 Revert "Revert "Revert "Unhook modernizer from verify phase"""
This reverts commit 2c790c897e.  We
originally unhooked modernizer in a misguided attempt to address
Checkstyle configuration issues fixed by:
80d51f409a.
2014-10-03 13:46:13 -07:00
Adrian Cole b6497556f6 JCLOUDS-150 add SubmissionAsyncBlobStore; unasync s3 and aws-s3 2014-10-03 13:18:29 -07:00
Andrew Gaul 80d51f409a JCLOUDS-736: Revert "Fail build on checkstyle warnings"
This reverts commit 9384575d1e.  This
caused errors of the form:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.12.1:check (checkstyle) on project jclouds-core: Failed during checkstyle execution: Unable to process configuration file at location: resources/checkstyle.xml: Cannot create file-based resource:invalid distance too far back -> [Help 1]

Likely due to running checkstyle during the validate phase which runs
before the package phase where checkstyle would find its resource jar.
2014-10-03 13:08:49 -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
Andrew Phillips 641bc6fda0 Excluding checkstyle.xml from Checkstyle checking
Since 5bac61d9 (update to Checkstyle 2.13), fails on itself
as it includes '@author' in a module definition.
2014-10-03 08:38:13 -05:00
Andrew Phillips 1eb9cd245d Aligning indents in checkstyle config file 2014-10-03 08:38:09 -05: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 5bac61d94b Upgrade to Maven Checkstyle Plugin 2.13
This release fixes an issue we encountered with parallel builds:

https://jira.codehaus.org/browse/MCHECKSTYLE-230
https://jira.codehaus.org/browse/MCHECKSTYLE-244

Release notes:

http://www.mail-archive.com/announce@maven.apache.org/msg00611.html
2014-10-01 13:09:01 -07:00
Evgeny Tarasenko cf95033b1a Support availability zone in NovaTemplateOptions. 2014-09-24 06:49:38 -07:00
Andrew Gaul 2c790c897e Revert "Revert "Unhook modernizer from verify phase""
This reverts commit bc4b89feb1.
2014-09-23 13:10:58 -07:00
Andrew Gaul bc4b89feb1 Revert "Unhook modernizer from verify phase"
This reverts commit 0d67da75e9.
2014-09-23 11:29:25 -07:00
Andrew Gaul 0d67da75e9 Unhook modernizer from verify phase
modernizer erroneously requires Maven 3.0.5 but BuildHive is confused
about this version since jclouds does not specify it.
2014-09-22 22:29:44 -07:00
Andrew Gaul 1f9c4cc2a7 Move modernizer from validate to verify phase
Validate runs before the compile phase and modernizer requires the
compiled class files so running after the compile phase makes more
sense.
2014-09-22 22:02:59 -07:00
Andrew Gaul 2d70087bfa Add modernizer-maven-plugin to build
This plugin finds uses of legacy APIs:

https://github.com/andrewgaul/modernizer-maven-plugin
2014-09-22 21:57:55 -07:00
Andrew Gaul b9f54a3301 Enforce that interfaces are types via Checkstyle 2014-09-20 18:48:40 -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
Andrew Gaul 1223772852 Prefer Charsets.UTF_8 over string literal
Found with modernizer-maven-plugin.
2014-09-18 18:11:19 -07:00
jasdeep-hundal 3f2b9376a1 JCLOUDS-514: Support attaching volumes at boot in Nova 2014-09-18 16:32:24 -07:00
Jeremy Daggett 0ac7dfd377 Add assertj-core and assertj-guava dependencies to project pom 2014-09-17 15:06:00 -07:00
Jeremy Daggett 9f0b86ec1a JCLOUDS-719: Updgrade to Gson 2.3 2014-09-17 08:52:24 -07:00
Jeremy Daggett d2f181bc55 Remove unnecessary blobstore references 2014-09-16 12:50:25 -07:00
Zack Shoylev 18046cd3c7 Whitespace fix. 2014-09-15 17:11:40 -05:00
Zack Shoylev 816e70ea7b jclouds has to use git core.autocrlf false (or LF line endings) to pass tests. Without this checkstyle setting, checkstyle fails on windows (looking for CRLF). 2014-09-15 13:41:35 -05:00
Jeremy Daggett d309e45725 JCLOUDS-686: Remove changesSince() query from base PaginationOptions 2014-09-11 09:27:55 -07:00
Jeremy Daggett 9384575d1e Fail build on checkstyle warnings 2014-09-10 11:41:30 -07:00
Jeremy Daggett d6eb54e2b4 JCLOUDS-296: Deprecate Rackspace First-Gen CloudServers 2014-09-09 17:05:42 -07:00
Andrew Gaul 0e3d1475ab Prefer ByteSource payload
Also use randomByteSource for test input.
2014-09-09 15:32:39 -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 ac22383648 Remove ByteArrayPayload
Callers should use ByteSourcePayload instead.
2014-09-07 07:43:14 -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 a4bc36dafa Add PayloadEnclosing.setPayload(ByteSource) 2014-09-06 22:27:22 -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 e1a5c521c5 Improve XML compatibility with trace-level logging
Some providers, notably Azure, include a byte-order mark in their XML
responses.  ParseSax.apply buffers these responses in a String when
users enable trace-level logging to include the response in any thrown
exceptions.  InputSource(InputStream) skips these byte-order marks
while InputSource(Reader) does not, yielding a SAXParseException.
2014-09-05 17:53:50 -07:00