Andrew Gaul
b424a6c164
Alphabetize modules
2017-09-07 07:27:56 -07:00
Andrew Gaul
517323fbd5
JCLOUDS-1225: Address Guava 18 MoreExecutors changes
...
Fixed with:
find -name \*.java | xargs sed -i 's/sameThreadExecutor/newDirectExecutorService/g'
2017-08-22 17:14:22 -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
Andrea Turli
014f7a4fb9
bump sshj version to 0.20.0
...
- this version contains some bux fixes especially useful for OSGi
2017-03-06 17:03:53 +01:00
Mike Cowan
6688b57cf4
Update JSCH to version 0.1.54
2017-03-03 16:33:50 +01:00
Ignasi Barrera
2f70f85c2b
Remove all sonatype snapshot repositories
2017-03-03 10:49:48 +01:00
Andrea Turli
4ae2d208e4
update netty driver
...
- use a fix version to avoid package renaming issues
2017-02-06 17:09:46 +01:00
Vijay Panghal
f3c3f3b306
Make user agent header configurable
...
Jclouds sends default user agent string with each request to cloud
services. But some of the application would like to overide this and
send custom user agent instead.
This commit define a string property to overide this default user agent
string. This property will be applied to all outgoing http request to
cloud services
JCLOUDS-819
2016-12-20 11:02:19 +01:00
Guglielmo Nigri
5a3cfe5dbe
Fix okio version range for jclouds-okhttp
...
OSGi bundle for jclouds-okhttp should import okio package with correct
version range.
Currently, there is no version range specified, causing it to be wired
to a higher version than intended in complex environments that have more
than one bundle for okio installed.
2016-11-18 16:05:52 +01: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
3c9f66b8e9
Avoid lower-case l literal suffix
...
Readers can confuse this with 1. Found via error-prone. Fixed via:
find -name \*.java | xargs sed -i 's/\( [0-9][0-9]*\)l/\1L/g'
find -name \*.java | xargs sed -i 's/\(([0-9][0-9]*\)l/\1L/g'
2016-10-23 14:24:35 -07:00
Ignasi Barrera
edbb2c0e6f
Log information according to the auth precedence
2016-10-19 10:45:50 +02:00
Ignasi Barrera
7dc73ee0bf
Do not try to connect to ssh if already connected
2016-08-12 00:39:28 +02:00
Andrew Gaul
5fec2346a6
JCLOUDS-1028: Configure idempotent methods
...
Enable POST for Atmos, S3, and Swift.
2016-06-15 16:35:22 -07:00
Andrew Gaul
cdbf856900
Address error-prone AssertFalse warnings
2016-04-27 18:54:09 -07:00
Andrew Gaul
66cda12b50
Avoid eager evaluation of Preconditions messages
...
Found via error-prone.
2016-04-24 23:28:55 -07:00
Ignasi Barrera
b9322c583d
JCLOUDS-1091: Populate the Content-Length header in the OkHttp driver
2016-03-14 12:42:44 +01:00
Reijhanniel Jearl Campos
a4b8a73790
JCLOUDS-1053: Fallback to -1 when sshj exit status returns null
2016-01-22 12:40:35 +01:00
Nikolay Sokolov
060b66a4f7
Close connection during ExecChannel
2015-10-25 23:02:33 +01:00
Oliver Gondža
edde721937
JCLOUDS-962: Make all @Provider methods final
2015-09-02 23:54:44 +02:00
Stuart Hendren
4f649b43f4
JCLOUDS-827: Upgrading sshj to 0.12.0 (new group ID too)
...
Also upgraded jsch.agentproxy.* to 0.0.9 and bouncycastle
to 1.51 - required for the sshj change.
2015-08-12 13:47:41 -04:00
Ignasi Barrera
8859eaeb68
JCLOUDS-921 prioritise key over password in SessionConnection
2015-06-11 13:48:25 +02:00
Stuart Hendren
f6a97139c9
JCLOUDS-921 prioritise key over password in SSHClientConnection
...
From ticket:
If keyboard interactive login is not allowed on the box but the user also requires a sudo password the ssh fails as it prioritises the password.
If you remove the password then the sudo fails in the SudoAwareInitManager.
It would seem better to prioritise the key over the password in SSHClientConnection or possibly try both if they are both present, and the first fails.
This commit swaps the order of the if else check to use the ssh key if present.
2015-06-11 13:48:19 +02:00
Huy TA
f646b84c9e
Use ssh agent if privatekey and password are not set
2015-06-11 12:37:06 +02:00
Andrew Phillips
7f38520314
JCLOUDS-884: Only try netcat over ssh-agent as an agentproxy
...
See http://markmail.org/thread/oto47qk2kzcdtebb
2015-04-09 09:48:40 -04:00
Ignasi Barrera
f469cf8b51
Next development version 2.0.0-SNAPSHOT
2015-03-24 10:52:01 +01:00
Ignasi Barrera
bb41ed4341
Apache jclouds 1.9.0 release
2015-03-24 10:35:42 +01:00
Jeremy Daggett
d3c1e2eab4
Use AutoService to generate service loader metadata
2015-01-09 11:22:12 -08:00
Ignasi Barrera
958d09ecbd
JCLOUDS-753: Make ConnectionSpec configurable in the OkHttp driver
2014-12-02 18:17:17 +01: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
0012e6f950
JCLOUDS-534 Avoid runtime incompatibility introduced by Guava's closeQuietly.
2014-10-29 17:01:26 -07:00
Adrian Cole
1702bddffa
Revert "Replace uses of ByteArrayPayload"
...
This reverts commit bd5b6853ee
.
2014-10-29 10:20:38 -07:00
Andrew Phillips
58bd4da793
Cleaning up jsch dependencies
...
- Moving jsch dep to the driver
- Updating jsch.agentproxy version in conflicting dep list
Follow-up to b3882cb
2014-10-28 23:15:39 -04: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
ad66752811
Minor code cleanup in Apache HC config module
...
* Renaming provider
* Removing duplicate code
2014-10-21 09:40:46 -04:00
Andrew Phillips
b3882cbfed
Updating jsch.agentproxy 0.0.7 -> 0.0.8
...
New version uses net.java.dev.jna:jna 4.1.0. The old version uses 3.4.0,
which is only LGPL-licensed.
2014-10-18 16:23:18 -04:00
Adrian Cole
d735a9fa21
JCLOUDS-40 clear remaining references to Async.
2014-10-12 09:05:35 -07:00
Andrew Phillips
53fc568743
Using net.java.dev.jna:jna 4.0.0 for jsch.agentproxy
...
The default version 3.4.0 is only LGPL-licensed.
This commit can be reverted once SMX4-1859 is published and we can
update to 0.0.8 agentproxy versions.
2014-10-06 18:26:24 -04:00
Adrian Cole
0a236f59ad
JCLOUDS-153 remove IO Executor and usage of it.
2014-10-06 07:56:31 -07:00
Adrian Cole
9d77a06a5f
JCLOUDS-40 one last Async reference in GAE driver.
2014-10-05 22:32:37 -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
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
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
74fb8f0183
Add whitespace after semicolons
...
Also correct some bad line-wrapping.
2014-08-26 11:06:00 -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 Phillips
e3d9851216
Up to 2.0.0-SNAPSHOT after the 1.8.0 release
2014-08-05 09:10:24 +02:00
Andrew Phillips
eba727fef7
'iso8601DateParseWithOptionalTZ' -> 'iso8601DateOrSecondsDateParse' in DateService
...
Follow-up to d57bbebe
2014-07-28 12:20:49 -04:00
Shri Javadekar
d57bbebe7e
Try iso8601SecondsDateParse if iso8601DateParse fails.
...
S3 compatible blobStores sometimes return date in the format:
"2014-07-23T20:53:17+0000" instead of the more common
"2014-07-23T18:09:39.944Z". This caused jclouds to barf with an
IllegalArgumentException.
This commit tries to parse both the formats for S3. The exception
is thrown if both fail.
Added unit tests for the same.
2014-07-26 22:19:54 -07:00
Jeremy Daggett
957f6f16c7
JCLOUDS-567: Upgrade Apache HttpClient to 4.3.4
2014-07-24 08:40:12 -07:00