Adrian Cole
3afdc3550e
add support for jsch proxy
2013-01-19 20:06:18 -08:00
Adrian Cole
c5e3b24d3e
decoupled ProxyConfig and introduced PROPERTY_PROXY_TYPE
2013-01-19 20:06:18 -08:00
adriancole
dc4ca1efbd
removed deprecated methods which were easy to do
2013-01-19 08:32:45 -08:00
Adrian Cole
3ac6f475e7
unwound dependencies relating to ssh keys and crypt
2013-01-13 20:53:59 -08:00
Adrian Cole
3962b30808
updated to use standard guava Futures and ListenableFuture
2013-01-13 09:31:10 -08:00
Adrian Cole
547f574eea
got rid of custom MoreExecutors.sameThreadExecutor
2013-01-12 15:47:58 -08:00
Adrian Cole
afc070ac07
First wave of RestAnnotationParser refactoring introduces Invokable, removes SeedAnnotationCache and associated race conditions
2013-01-04 13:51:46 -08:00
Adrian Cole
42c7037a59
removed unused code or duplicated code; moved code only used once to where its used
2013-01-01 00:08:34 -08:00
Adrian Cole
bb953c981e
fix issue #1101 : Move to Guava 14 BaseEncoding and Hashing
2012-12-31 14:48:31 -08:00
Adrian Cole
cddd35bc51
removed unnecessary generic types and made RestAnnotationProcessor immutable
2012-12-30 23:18:59 -08:00
Andrea Turli
ac0e5f5e67
added support for vbox 4.2.6;
...
added hostname support;
added generic md5 support;
dralves`s comments addressed
adrian`s comments addressed
dralver`s comments addressed
second round of comments addressed
fix CreateAndRegisterMachineFromIsoIfNotAlreadyExistsLiveTest
formatting
swept check*
updated jclouds-sshj pom.xml with latest bouncycastle version
2012-12-31 01:33:43 +01:00
Adrian Cole
023b549e20
Remove explicit dependency on bouncycastle for PEM parsing
2012-12-28 23:11:42 -08:00
Adrian Cole
207b3db41f
remove dependency on bcpkix-jdk15on
2012-12-27 23:23:28 -08:00
Adrian Cole
e5e26e223d
update to latest version of bouncycastle including moving off deprecated stuff
2012-12-20 12:04:32 -08:00
Adrian Cole
b8eb49f0a9
added rfc822 + iso8601Seconds to DateCodecFactory and simplified ctor
2012-12-09 02:47:09 -08:00
Adrian Cole
1a0e0e3594
cleaned up clutter in base http tests and converted known failures to skip exceptions
2012-12-01 14:01:18 -08:00
Adrian Cole
1b1bb39deb
ensure UTC can be used where GMT is
2012-11-27 11:22:28 -08:00
Adrian Cole
878ec1bcab
undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false
2012-11-18 09:23:44 -08:00
Andrew Gaul
3ad36d25d5
Enforce no unnecessary parentheses via Checkstyle
2012-11-10 13:22:12 -08:00
Andrew Gaul
3d191253ec
Enforce use of Collection helpers via Checkstyle
...
This ensures that we do not repeat the type name. Some instances remain
due to auto-generated code in dmtf/cim/Cim*.
2012-11-04 20:45:49 -08:00
Adrian Cole
14c056a077
Merge pull request #944 from andrewgaul/sshj-remove-commons-io
...
Remove commons-io dependency from sshj
2012-11-04 07:30:29 -08:00
Andrew Gaul
981b0d047f
Remove commons-io dependency from jsch
...
FilterInputStream suffices since we only override close and we can get
away with using java.io.ByteArrayOutputStream.
2012-11-03 10:29:48 -07:00
Andrew Gaul
f94ee03626
Remove commons-io dependency from sshj
...
FilterInputStream suffices since we only override close.
2012-11-02 16:07:36 -07:00
Adrian Cole
4c72c5c803
Merge pull request #927 from iocanel/jclouds-osgi-fixes
...
Jclouds osgi fixes
2012-11-01 13:12:01 -07:00
Ioannis Canellos
af7f14e76e
Specified a wider version range for slf4j
...
.
2012-10-31 11:11:27 +02:00
Ioannis Canellos
0932195d33
Specified a wider version range for netty.
2012-10-31 11:11:12 +02:00
Adrian Cole
5da5161485
Merge pull request #909 from andrewgaul/clear-container-timeout-exception
...
Throw TimeoutException from awaitCompletion
2012-10-30 08:57:20 -07:00
Andrew Gaul
93d69ece2b
Enforce newline at end of file via Checkstyle
...
Also address all warnings, via:
find -name \*.java | while read i; do if [ x`tail -c 1 $i` != x"" ]; then echo >> $i; fi; done
2012-10-29 22:12:44 -07:00
Andrew Gaul
709ca69a2d
Enforce that all imports are used via Checkstyle
...
Also remove all unused imports, via:
mvn checkstyle:checkstyle -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | awk -v FS=: '/warning/{print "sed -i " $2 "d " $1}' | while read i; do $i; done
2012-10-29 17:11:08 -07:00
Aled Sage
09425f4f69
Version upgrades
...
- gson from 2.2 to 2.2.2
- guava from 13.0 to 13.0.1
- rocoto from 6.1 to 6.2
- log4j from 1.2.16 to 1.2.17
- log back from 1.0.0 to 1.0.7
- httpclient from 4.1.3 to 4.2.2
- netty from 3.3.1 to 3.5.9
- slf4j from 1.6.4 to 1.7.2
- testing from various to 6.8
- jetty from 8.1.1 to 8.1.7
- snakeyaml from 1.10 to 1.11
2012-10-29 13:00:44 +00:00
Andrew Gaul
336ccfa2e6
Throw TimeoutException from awaitCompletion
...
This is a common error that callers should interpret correctly. For
DeleteAllKeysInList, we integrate into its retry and backoff logic,
and for other callers, we continue to propagate RuntimeException.
2012-10-25 13:50:29 -07:00
Andrew Gaul
28d7a6f143
Prefer immutable over empty collections
...
The former does not create an object when calling iterator(), as
discussed here:
https://groups.google.com/d/msg/jclouds-dev/l7BviKDXreA/mP6Ow_RYxIgJ
2012-10-20 15:35:29 -07:00
Andrew Gaul
2b8b72758f
Prefer Files.toString over FileInputStream
2012-10-10 21:33:22 -07:00
Adrian Cole
28d766b9df
bumped to 1.6.0-SNAPSHOT
2012-09-17 01:43:52 -07:00
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
Aled Sage
8c36f2c0d8
Issue #1016 : fix jsch hanging
2012-07-11 14:49:26 +01:00
Adrian Cole
0f0d65f471
Issue 1009:upgrade to sshj 0.8.1
2012-07-09 00:02:20 -07:00
Adrian Cole
a73240f41b
Issue 1007: ios8601 codec
2012-07-06 21:23:10 -07:00
Aled Sage
9e0f22207c
Issue 1004: GAE uses SocketOpenUnsupported
2012-07-06 10:30:32 +01: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
Andrew Gaul
736554d049
Correct spelling errors
2012-06-14 10:03:39 -04:00
Adrian Cole
a8b5c713a1
Issue 962:slf4j initializing loggers to null
2012-06-06 16:35:48 -07:00
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
f8280ec56c
Issue 647: normalized use of IllegalArgumentException
2012-05-22 11:31:32 -06:00
Adrian Cole
6407700de4
prevent assertions in sshj from borking tests
2012-05-18 15:58:51 -07:00
Aled Sage
2637a4b6e9
Issue 647: DateCodec impl delegates to DateService
2012-05-17 11:25:13 +01:00
Aled Sage
cd9c830c5a
Issue 647: store Expires as Date; added ContentMetadataCodec for converting to/from HTTP headers
2012-05-17 11:24:50 +01:00
Aled Sage
9aedf7b6f6
Issue 647: added "Expires" header for ContentMetadata
2012-05-17 11:24:45 +01:00
Adrian Cole
7854d85f13
Issue 932:transition to multi-threaded google appengine
2012-05-17 00:18:08 -07:00
Adrian Cole
fed9c22a23
Issue 925: fixed cyclic dependency on GAE
2012-05-15 19:16:41 -07:00
Adrian Cole
05ab8b16df
Issue 918:update to latest GAE sdk 1.6.5
2012-05-07 16:22:12 -07:00
Adrian Cole
50074682ba
updated to gae 1.6.1
2012-05-07 14:15:07 -07:00
Matt Stephenson
381851b8ab
Remove IPSocket class, replace with Guava's HostAndPort class.
2012-04-25 17:52:01 -07:00
Andrew Gaul
a3161ba7ba
Throw return value instead of returning null
...
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole
0b59dea073
removed ContextBuilder subclasses; added unwrap; undid generic params
2012-04-16 00:44:20 -07:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Adrian Cole
2cd11f6b18
silently parse mildly incorrect dates
2012-03-22 21:34:59 -07:00
Adrian Cole
728f9612e0
moved logback.xml up to compute module
2012-03-21 13:05:03 -07:00
Adrian Cole
2dc66ee5e1
Issue 141: add serviceloader lookup for LoggingModule
2012-03-21 13:05:02 -07:00
Adrian Cole
0560ba124b
fixed joda test
2012-03-20 09:52:41 -07:00
Andrew Gaul
796fbff2a7
Use GMT for RFC 822 dates
...
This fixes AWS S3 support, which previously complained about a missing
or improper Date header.
2012-03-19 23:36:58 -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
Andrew Donald Kennedy
b2cc1f6b38
Updating ISO8601 time zone parsing and tests
2012-02-10 14:46:00 +00: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
22fc14fc09
Issue 145:Add custom user agent
2012-01-15 15:41:17 -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
Adrian Cole
e1c813d82c
removed dsa keypair test as we currently do not support this
2011-12-20 23:01:32 -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
2d79905ca9
forgot fix for tests for 739
2011-11-14 13:50:31 +00: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
Jason King
e6c0e5fe37
Fixed bug with date handling with non-millisec/microsec precision value (e.g. .35123Z)
2011-11-11 17:05:59 +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
52d978a602
fixed test config problem in jsch
2011-10-14 19:04:33 -07:00
Adrian Cole
3a9ac55e4a
Issue 721:Connect errors not automatically retried in sshj
2011-10-14 10:40:01 -07:00
Jason King
9d99f85807
Issue 720: Log the ssh key fingerprint information
2011-10-14 15:55:24 +01: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
Ian Wolfcat Atha
ce35fb11b7
Explicit check and error for private keys that require a passphrase, as they're currently unsupported.
2011-08-17 23:44:06 -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
Adrian Cole
edc1b10610
Issue 637: moved to sshj and tested on aws-ec2 gogrid cloudservers elastichosts-lon-p trmk-*
2011-07-25 03:59:01 -07:00
Adrian Cole
732491fe17
Issue 636: hone ssh code config + tests to make it easier to isolate cause of stderr hang
2011-07-25 03:10:55 -07:00
Adrian Cole
efa574c175
Issue 636: disable stderr parsing until we determine cause of hanging
2011-07-24 17:42:30 -07:00
Adrian Cole
76abbe8906
jsch error stream wasn't being extracted into a string
2011-07-23 17:50:35 +10:00
Adrian Cole
0b60ccf5ac
make it explicit we are not going to retry on a general sftp failure
2011-07-23 15:33:50 +10:00
Adrian Cole
f3a0e6d0bd
Issue 632:enhance and automatically work around nodes with sftp problems
2011-07-22 10:41:43 +10:00
Andrew Phillips
7d2fb23119
Master version is now 1.1.0-SNAPSHOT (= next feature version) now that 1.0.0 is out
2011-06-05 11:17:43 +04:00
Dmitri Babaev
e1f0cdcfa5
Merge commit '6d187ed9baaad1e00dbe65b36ea2989c951a5a28', ssh client patch is reverted due to massive changes in code
...
Conflicts:
drivers/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java
2011-06-03 03:50:47 +04:00
Dmitri Babaev
ea206d4036
comments for JschSshClinet bug fix
2011-06-02 14:25:16 +04:00
Adrian Cole
ac698c33ec
Issue 586:retry ssh on channel failures
2011-06-01 12:00:22 -07:00
Adrian Cole
140dd8711c
Issue 574: work around bad date format
2011-06-01 11:52:56 -07:00
Dmitri Babaev
6dc6d3581f
JschSshClinet bug fix for exec method
2011-06-01 22:26:08 +04:00
Dmitri Babaev
0fedf6e467
Merge commit '7d0248c5dd972287e51ad1971d61a6ddc8bdcdf5'
2011-06-01 20:37:49 +04:00
Gustavo Morozowski
557c0d75fe
moved maven-bundle-plugin instructions to top project pom
2011-05-16 09:14:12 -03:00
Adrian Cole
ddc514d602
Issue 42: added osgi fragment plugin to poms
2011-05-15 12:08:53 -07:00
Adrian Cole
b37e00fffe
Issue 538: removed redundant http tests which are not working due to test classpath issues
2011-04-23 16:56:09 -07:00
Andrew Phillips
10aec3b603
Changed project description to match extension -> driver change
2011-04-23 17:21:26 +01:00
Adrian Cole
9e94fc6fc9
updated license headers
2011-04-09 03:20:17 -07:00
Adrian Cole
95310ba680
Issue 527:update to official build of jetty
2011-04-09 03:18:42 -07:00
Adrian Cole
35412b828c
Issue 525:update to testng 6.0.1
2011-04-09 03:12:41 -07:00
Adrian Cole
8d26999bc2
updated to surefire 2.8, and revised test annotations to be compatible with testng 5.14.10
2011-04-09 01:09:35 -07:00
Adrian Cole
008f74f553
updated to slf4j 1.6.1
2011-04-08 22:54:05 -07:00
Adrian Cole
3a3f95b938
Issue 523:update to apache hc 4.1.1
2011-04-08 22:42:13 -07:00
Adrian Cole
296dfe2cf2
Issue 520:update to google appengine 1.4.3
2011-04-08 21:02:21 -07:00
Adrian Cole
ba40e8a7b5
Issue 516:add ning payload to enterprise configuration
2011-04-07 12:23:57 -07:00
Adrian Cole
b9f0cbcb89
crypto tuning
2011-04-04 23:37:00 -07:00
Adrian Cole
adce931893
Issue 513:change driver library dependency from provided to compile
2011-03-27 20:07:57 -07:00
Adrian Cole
a44abb0768
Issue 374: added slf4j
2011-03-26 21:28:13 -07:00
Adrian Cole
35291abba4
Issue 505: update gogrid to use new ubuntu image by default
2011-03-11 20:59:05 -08:00
Adrian Cole
e5af84ef0e
Issue 486: moved netty to a driver and created a base payload slicer
2011-03-07 09:54:25 +01:00
Adrian Cole
67a13f439c
added new retryable ssh exceptions
2011-02-27 16:41:57 -08:00
Adrian Cole
71eb7ea8b7
fixed gae test relating to expect header
2011-02-26 21:50:36 -08:00
tibor.kiss
00d172ce2f
issue 430: large blob support:
...
- modified all 3 http connectors to add "Expect: 100-continue" header
- refactored the RequestAuthorizeSignature to not conform the specification
- complete-multipart-upload response is returning escaped quote, I extended ETag parser
- added more S3 headers
2011-02-26 20:05:16 +01:00
Adrian Cole
59e1097c7d
Issue 482: took out jsch's custom repo
2011-02-18 10:29:30 -08:00
Carlos
3a9ffb5871
Upgrade jsch to 0.1.44-1 and use dependencyManagement for it
2011-02-18 16:44:55 +01:00
Carlos
0829463f8a
Disable releases check in snapshot repo
2011-02-17 14:16:46 +01:00
Adrian Cole
ca6dafc2fd
Issue 480:update to jodatime 1.6.2
2011-02-15 23:21:54 +01:00
Adrian Cole
d09ede92b1
Issue 479:update to log4j 1.2.16
2011-02-15 23:03:02 +01:00
Adrian Cole
af3bf555c1
Issue 478:update to jsch 0.1.44
2011-02-15 18:46:00 +01:00