Andrew Gaul
ed8319dbae
Use consistent and latest version of commons-io
...
Changelogs:
http://commons.apache.org/io/upgradeto2_0.html
http://commons.apache.org/io/upgradeto2_2.html
http://commons.apache.org/io/upgradeto2_4.html
2012-07-30 10:58:32 -07:00
Andrew Gaul
985cccff9a
Prefer valueOf over explicit object creation
...
This allows use of cached values. Patched with:
find -name \*.java | xargs sed -i 's/new Boolean(false)/Boolean.FALSE/g'
find -name \*.java | xargs sed -i 's/new Boolean(true)/Boolean.TRUE/g'
find -name \*.java | xargs sed -i 's/new Boolean(/Boolean.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Integer(/Integer.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Long(/Long.valueOf(/g'
2012-07-22 21:01:46 -07:00
Andrew Gaul
a40983a39d
Prefer InputSupplier helpers
...
These ensure that inputs are closed properly.
Updated with: find -name \*.java | xargs sed -i
's/toStringAndClose(\(.*\)\.getInput())/toString(\1)/'
2012-07-18 17:42:48 -07:00
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00
Adrian Cole
0f0d65f471
Issue 1009:upgrade to sshj 0.8.1
2012-07-09 00:02:20 -07:00
Aled Sage
95c35487f0
Issue 1004: changes default SocketOpen impl
...
Sets it to InetSocketAddressConnect, instead of SocketOpenUnsupported.
Removes overriding the impl from Jsch and Sshj's client modules.
2012-07-05 16:00:29 +01:00
Nirmal
955cd540ce
Specifically adding the osgi import org.apache.commons.io.input;version=[1.4,3)
2012-06-24 16:52:01 +05:30
Nirmal
e5731df922
Upgrading commons-io dependency of sshj driver to 2.0
2012-06-23 09:48:48 +05:30
Ioannis Canellos
b078adc3ce
Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin.
2012-06-03 19:41:54 +03:00
Alex Heneveld
628bbaf850
update sshj to 0.8.0, fixing power-of-2 bug reported by me and fixed by aled
2012-05-22 12:00:43 -06:00
Adrian Cole
6407700de4
prevent assertions in sshj from borking tests
2012-05-18 15:58:51 -07:00
Matt Stephenson
381851b8ab
Remove IPSocket class, replace with Guava's HostAndPort class.
2012-04-25 17:52:01 -07:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Adrian Cole
728f9612e0
moved logback.xml up to compute module
2012-03-21 13:05:03 -07:00
Adrian Cole
755485537b
allow execChannel to survive sshclient.disconnect, and not be bound by sessionTimeout
2012-03-10 13:25:12 -08:00
Adrian Cole
06ab36ae76
execChannel shouldn't allocate PTY
2012-03-10 10:15:44 -08:00
Adrian Cole
d67aa3bbf5
more realistic test of ssh channel
2012-03-08 16:51:33 -08:00
Adrian Cole
e39fc48901
accidental close on finally block
2012-03-08 16:51:09 -08:00
Adrian Cole
dd7b16075e
Issue 861:SSHClient should provide access to input/output streams
2012-03-08 15:48:51 -08:00
Adrian Cole
fa7f81c4e7
Issue 847:version updates
2012-02-23 15:11:05 +02:00
Ioannis Canellos
5490b3068c
[842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles.
2012-02-17 00:49:39 +02:00
Adrian Cole
fe4d148528
updated current version to 1.5.0-SNAPSHOT
2012-02-04 11:06:07 -08:00
Adrian Cole
4837cf92c5
set a sane tty for ssh connections
2012-02-03 00:29:41 -08:00
Adrian Cole
3df052565f
updated current version to 1.4.0-SNAPSHOT
2012-01-16 13:08:32 -08:00
Adrian Cole
bc172850c1
retry sftp failures
2012-01-14 21:06:32 -08:00
Adrian Cole
52822b9594
Issue 808:update to sshj 0.7.0
2012-01-10 17:41:38 -08:00
Adrian Cole
f390f314ee
Issue 803: changes needed when guice is in production mode
2012-01-07 06:08:32 -08:00
Adrian Cole
f9b38f646c
Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible
2011-12-20 23:19:45 -08:00
Adrian Cole
b8c6c73fe8
add md5 of password to log file
2011-12-20 23:19:39 -08:00
Alex Heneveld
067ed6d6ce
test for 738, downgrading some warnings to info
2011-12-04 22:43:07 +00:00
Alex Heneveld
c8d614e360
don't log warning if exception is retryable, downgraded to an info message
2011-12-04 22:43:07 +00:00
Alex Heneveld
4d11d4ef05
removed redundant error logging
...
(was done by caller and also in propagate method; have removed from caller;
might be better to remove from propagate, and leave at discretion of caller,
because some places the "error" might be benign, and shouldn't log error at all,
or not at >=WARN, but rather just leave at discretion of caller)
2011-12-04 22:43:06 +00:00
Alex Heneveld
f55e4a5d3e
merged duplicate code branches
2011-12-04 22:43:06 +00:00
andreisavu
2284588513
Issue 752. Move off deprecated systemProperties to systemPropertyVariables in surefire
2011-12-02 16:47:14 +02:00
Adrian Cole
09678a1df0
Issue 760:sshj driver throws exception disconnecting when client is already disconnected
2011-11-28 12:11:55 -05:00
Adrian Cole
264a542428
Issue 756:recreate ssh client on failure, rather than session
2011-11-20 10:45:33 +02:00
Adrian Cole
6b2cfa7f3a
retry on user auth exception when flag set
2011-11-16 14:02:22 +02:00
Alex Heneveld
524bf68dd9
tests for 739
2011-11-14 01:47:39 +00:00
Alex Heneveld
f4656c9e05
patch as per issue 739
2011-11-14 01:11:16 +00:00
Adrian Cole
06f418c8ba
added another sshj test
2011-10-31 09:31:26 +00:00
Adrian Cole
552242e863
moved to 1.3.0-SNAPSHOT
2011-10-16 12:26:31 -07:00
Adrian Cole
4dae25ce2c
more retryable sshj exceptions
2011-10-14 19:04:59 -07:00
Adrian Cole
3a9ac55e4a
Issue 721:Connect errors not automatically retried in sshj
2011-10-14 10:40:01 -07:00
Adrian Cole
7e5a6e68cf
Issue 719: add sha1 support to SshKeys
2011-10-13 23:57:46 -07:00
Adrian Cole
bf4db76152
Issue 720: added live profile and logging to sshj
2011-10-13 11:11:27 -07:00
Adrian Cole
c28a2e38c3
Issue 719: added some logging for ssh fingerprints
2011-10-13 01:49:49 -07:00
Adrian Cole
68e2f417f8
Issue 708:update to sshj 0.6.1
2011-10-03 17:35:56 -07:00
Adrian Cole
960bfe709f
Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file
2011-08-16 18:14:30 -07:00
Adrian Cole
0a8f38b90e
bumped snapshot version to 1.2.0-SNAPSHOT
2011-08-05 04:09:23 +01:00
Adrian Cole
06b31e5043
Issue 637: update sshj to 0.5.0
2011-07-28 00:35:29 -07:00