Xavier BOURGOUIN
94f02856b7
Fix BlobMetadata null size when using ApacheHCHttp module
...
JClouds is apparently exclusively using the Payload object from the HTTP
response to fill in the size of the BlobMetadata (when calling
blobStore.blobMetadata(...) ) - adapt this driver accordingly otherwise
we systematically get null size BlobMetadata out of it.
2020-03-08 22:16:15 +09:00
Xavier BOURGOUIN
b6534eddde
Fix infinite socket timeout when using ApacheHCHttpCommandExecutorServiceModule ( #51 )
...
Because the Java type BasicHttpParams wasn't matching the one returned
by provider "newBasicHttpParams" (which is returning a HttpParams type), it was configuring the Apache HTTP client with default settings (including connection and socket timeout), ignoring the ones of JClouds which were must safer in this regard (JCloudsones are currently 60sec for both, while Apache HC ones are -1, so infinite). It also prevented to override those default/infinite timeout settings with JClouds ones.
2019-10-23 11:45:32 +02:00
Ignasi Barrera
71c7f528b4
Upgrade to 2.2.1-SNAPSHOT
2019-10-21 10:41:48 +02:00
Ignasi Barrera
fb8db4937f
Apache jclouds 2.2.0-rc1 release
2019-10-13 10:51:16 +02:00
Xavier BOURGOUIN
c445547ea8
Fix null content-length header on HEAD requests
...
https://issues.apache.org/jira/projects/JCLOUDS/issues/JCLOUDS-1505
2019-10-10 09:59:38 -07:00
Ignasi Barrera
767240f360
JCLOUDS-1462: Upgrade Apache Http driver to 4.3.6
...
In response to https://nvd.nist.gov/vuln/detail/CVE-2015-5262
2018-10-18 16:50:18 -04:00
Andrew Gaul
46a9f574e2
Fix some orphaned format strings
...
These lack values to format with. Found via error-prone 2.3.0.
2018-04-19 08:43:46 -07:00
andreaturli
d17487b223
fix typo in project.version
...
- from 2.2.0-SNAPSHOST to 2.2.0-SNAPSHOT
2018-02-21 16:45:43 +01:00
andreaturli
a5db565581
Next development version 2.2.0-SNAPSHOST
2018-02-16 11:23:12 +01:00
andreaturli
9273bd56ad
Apache jclouds 2.1.0-rc3 release
2018-02-16 11:20:21 +01:00
khopade
c468c60d51
Utilizing MD5 hash present in payload metadata, instead of generating it again from payload
2017-11-10 10:04:06 +01:00
Andrew Gaul
46759f8bda
Fix a few Coverity defects
2017-11-05 20:12:47 -08:00
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