Andrew Gaul
fff2fa6e05
Address Checkstyle violations
...
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
Andrew Gaul
04fad88fd3
Remove duplicate Utils getters
...
Rename callers as required.
2013-04-12 16:24:37 -07:00
Andrew Gaul
4037585e42
Deprecate ExecutorService getters
2013-04-12 14:08:52 -07:00
adriancole
fbe9f945e7
rename bindMappedApi -> bindSyncToAsyncApi
2013-04-10 08:57:32 -07:00
adriancole
7db3af1b1e
renamed ignored exception to ignored
2013-04-10 08:15:57 -07:00
adriancole
5bc0678a1c
naming convention and warning feedback from issue #1511
2013-04-10 08:13:13 -07:00
adriancole
61067d3683
Deprecated remaining code related to RestContext, RestApiMetadata, and RestClientModule for ApiContext, HttpApiMetadata, HttpApiModule
2013-04-09 22:07:43 -07:00
adriancole
053197fe61
deprecated all top-level Async apis and clients
2013-04-09 10:18:31 -07:00
adriancole
36dd831b84
moved all code off use of RestContext except CloudStackContext, which will use it until 1.7
2013-04-09 09:23:31 -07:00
adriancole
8771f75d50
added apiVersion field to BaseContextLiveTest so that CloudStack tests don't need to rely on as much injection
2013-04-09 09:23:30 -07:00
adriancole
4d0e6ae699
added type token means for buildApi() as it is in fact used
2013-04-09 09:23:26 -07:00
adriancole
8f68de0018
added temporary workaround for AutoCloseable which will be deleted in jclouds 1.7
2013-04-08 17:11:33 -07:00
adriancole
88871c9fe9
issue #1501 : add Closeable annotation to all top-level apis
2013-04-08 16:13:09 -07:00
adriancole
4ced43566b
issue #1501 : allow Closeable, top-level apis to be used as opposed to RestContext
2013-04-08 15:14:59 -07:00
Ioannis Canellos
a03d4183ae
Add @Inject to the Compute class.
2013-04-05 01:51:43 +03:00
Adrian Cole
3e9c3dc6e6
Merge pull request #1490 from maginatics/do-slice-string-cast
...
Cast String Payloads to String
2013-04-03 17:56:45 -07:00
Adrian Cole
0f1675cc18
Merge pull request #1489 from maginatics/remove-input-suppliers
...
Remove InputSuppliers.of(String)
2013-04-03 17:55:25 -07:00
Adrian Cole
366a728b08
Merge pull request #1480 from maginatics/http-put-zero-content-length
...
Emit Content-Length: 0 for empty PUTs
2013-04-03 17:21:20 -07:00
Andrew Gaul
be1da2501e
Remove InputSuppliers.of(String)
...
Callers rarely want this functionality and should call
ByteStreams.newInputStreamSupplier when they do.
2013-04-03 15:52:43 -07:00
Andrew Gaul
10d29f5ef2
Cast String Payloads to String
2013-04-03 15:51:44 -07:00
Adrian Cole
d938349229
Merge pull request #1488 from maginatics/remove-input-suppliers-of-input-stream
...
Remove InputSuppliers.of(InputStream)
2013-04-03 15:39:58 -07:00
Andrew Gaul
648e6c2a8a
Remove InputSuppliers.of(InputStream)
...
This method breaks the contract of an InputSupplier since every call
to getInput returns the same InputStream instance. This is
particularly dangerous when one of the callers mutates or closes the
InputStream which causes all others callers to fail.
2013-04-03 13:19:42 -07:00
Andrew Gaul
843ed57c8a
Emit Content-Length: 0 for empty PUTs
...
HttpUrlConnection reverts Content-Length: 0 on PUT without
doOutput(true), similar to POST. This commit allows Azure container
create to succeed. Closes #1420 .
2013-04-01 13:42:59 -07:00
Andrew Phillips
db4e4af931
Not making methods of core Java classes accessible in Reflection2
2013-03-30 17:00:43 -04:00
Andrew Gaul
eb2a9b6ed5
Correct HttpAsyncClient.put Javadoc
2013-03-27 12:44:29 -07:00
Everett Toews
870c7d8450
PaginatedCollection for Rackspace style pagination.
2013-03-25 14:22:32 -05:00
adriancole
cd79a9d876
HttpUrlConnection reverts Content-Length=0 on POST unless doOutput is set to true
2013-03-24 20:58:29 -07:00
Adrian Cole
254aafb157
Merge pull request #1449 from zack-shoylev/windows-fix
...
Fixes running maven tests on windows.
2013-03-22 15:18:26 -07:00
zack-shoylev
b19b4d701a
Fixes running maven tests on windows. The tests and the private key
...
builder code were not all properly using
System.getProperty("line.separator") and were instead in some cases just
using "\n"
lineSeparator variable shortened
jclouds formatting applied
reverts and refixes formatting changes
This should fix some missing changes
2013-03-22 21:15:56 +00:00
Dies Koper
7a5cc9e2af
add PROPERTY_PROXY_FOR_SOCKETS constant to allow ssh connections to bypass HTTP proxies
2013-03-19 18:16:05 +11:00
Andrew Gaul
9132c7880c
Upgrade to Guava 14.0.1
...
Release notes:
https://code.google.com/p/guava-libraries/wiki/Release14
2013-03-15 21:20:23 -07:00
adriancole
6f9794dedb
correct order of List<Byte> gson registration and filled missing test
2013-03-14 09:44:28 -07:00
Andrew Gaul
371db8d18f
Address Xlint warnings
2013-03-13 22:23:19 -07:00
Adrian Cole
168121f9b3
Merge pull request #1422 from maginatics/filebackedoutputstream-reset
...
Call FileBackedOutputStream.reset on InputStream.close
2013-03-13 18:21:22 -07:00
adriancole
ef2718629f
make it possible to deserialize into ctors that have immutable collection parameters
2013-03-13 12:22:41 -07:00
adriancole
8932e9fd81
pass absent instead of null to ctor parameters of type Optional
2013-03-13 11:07:17 -07:00
Andrew Gaul
2d44332559
Call FileBackedOutputStream.reset on InputStream.close
...
This ensures that we delete temporary files created by Wire logging.
2013-03-13 10:43:41 -07:00
adriancole
92bfb8224f
fix issue #1409 : regression where we broke streaming payloads
2013-03-12 11:35:31 -07:00
Adrian Cole
d3bb6d6e69
Merge pull request #1406 from maginatics/null-http-response
...
Annotate possibly null return value
2013-03-11 15:47:24 -07:00
Adrian Cole
e1b3ded0d0
Merge pull request #1408 from maginatics/null-payload
...
Annotate possibly null return value
2013-03-11 15:46:23 -07:00
Andrew Gaul
395116ebf1
Annotate possibly null return value
2013-03-10 15:59:19 -07:00
Andrew Gaul
5a69e01cfd
Annotate possibly null return value
2013-03-10 15:43:49 -07:00
Adrian Cole
fb69ae0fa9
bump master to 1.7.0-SNAPSHOT
2013-03-08 23:02:40 -08:00
Everett Toews
5ad9867e27
Initial commit for the Rackspace DNS API.
2013-03-06 16:02:39 -06:00
Everett Toews
bbede1bd0a
Updated Javadoc for PagedIterable. Removed example that was out-of-date. Changed example to something that actually returns PagedIterable.
2013-03-06 11:51:41 -06:00
adriancole
c31145e42e
[maven-release-plugin] prepare for next development iteration
2013-03-04 06:13:59 -08:00
adriancole
0eb3ee8091
[maven-release-plugin] prepare release jclouds-1.6.0-alpha.4
2013-03-04 06:13:57 -08:00
adriancole
4f2c64681a
do not send payload when method doesn't send payload
2013-03-03 17:22:23 -08:00
Adrian Cole
8e881bd5c2
remove default add of Expect 100 Continue header
2013-03-03 12:24:28 -08:00
Andrew Gaul
ac60647057
Upgrade to Guava 14.0
...
Release notes:
https://code.google.com/p/guava-libraries/wiki/Release14
2013-02-26 10:07:53 -08:00