1021 Commits

Author SHA1 Message Date
Adrian Cole
6dd96610e0 consider @FormParam on @Delegate calls 2013-02-24 23:44:53 -08:00
Adrian Cole
ece9b5b82e deterministic creation of requests based on arg order 2013-02-24 15:38:52 -08:00
Adrian Cole
2f78f30a47 added function to grab first arg during pagination 2013-02-24 13:58:03 -08:00
adriancole
99d9242d1e @Delegate considers @PayloadParam 2013-02-21 13:50:33 -08:00
adriancole
9c511ccdd9 RedirectionRetryHandler ignored PROPERTY_MAX_REDIRECTS on backoff 2013-02-19 01:04:09 -08:00
adriancole
dcc5cdad44 fix issue #1297 put with zero length payload 2013-02-04 12:03:07 -08:00
adriancole
9723c62f0f fix issue #1289 bug in zero length put 2013-02-01 16:36:30 -08:00
adriancole
b396c3cd82 worked around issue where GET can become POST 2013-01-31 18:11:22 -08:00
Adrian Cole
6edaae8dce allow SelectJson to specify multiple field names, in case the server renamed something 2013-01-30 11:17:28 -08:00
adriancole
fa03054c7d ensure identity/credential properties are not needed when using credential supplier 2013-01-26 23:27:33 -08:00
Adrian Cole
4c07af3f97 support changing credentials at runtime 2013-01-26 16:23:26 -08:00
Adrian Cole
69a8304617 replaced jersey w/Uris & UriTemplates; removed complexity in url encoding and edge cases like matrix params 2012-12-24 16:11:08 -08:00
Everett Toews
5a0a7c4b90 Added support for Iterable collections to QueryParam. 2012-12-20 10:02:06 -08:00
Everett Toews
69708a2e54 Modernizing the Rackspace Cloud Load Balancers API. Following naming conventions and using PagedIterable. 2012-12-10 17:11:29 -08:00
Adrian Cole
42266a3b98 added RetryAfterException and placed in default exception handling 2012-12-10 16:27:06 -08:00
Adrian Cole
802b570068 added rfc822 + iso8601Seconds to DateCodecFactory and simplified ctor 2012-12-10 16:26:25 -08:00
Adrian Cole
04e43c75f1 Path annotation ignored when endpoint not set on caller 2012-12-09 15:07:51 -08:00
Adrian Cole
d3555e7988 cleaned up unnecessary wrapping of ExecutionException 2012-12-09 15:07:51 -08:00
Ignasi Barrera
ed0e6f2ebe Remove net.oauth dependency 2012-12-09 11:50:42 -08:00
Ignasi Barrera
d36ca103f3 Fixed decoding of some PKCS1 encoded public keys 2012-12-08 22:09:40 -08:00
Ioannis Canellos
c267108cbb fix issue #1044: Added listener interfaces for Providers and Apis. 2012-12-08 17:52:30 -08:00
Adrian Cole
fd65cbf203 fix issue #607: NPE in compareTo method of ResourceMetadataImpl 2012-12-04 23:46:44 -08:00
Leander Bessa Beernaert
99375844a6 Extends JClouds' OpenStack Nova API with the Diagnostics command
The diagnostics command returns a collection of system information
for the a given server. At the moment, there is no formal
specification for this command. Therefore, it is returned as
a Map of hypervisor specific entries and corresponding values.
More information about the command can be viewed here [1]
in the section "Server Diagnostics".

[1] http://api.openstack.org/api-ref.html
2012-12-04 08:31:44 -08:00
Adrian Cole
60454274de ensure UTC can be used where GMT is 2012-11-27 17:02:54 -05:00
Guy Korland
190523348e Avoid NPE in case value is null but contains return true. 2012-11-19 07:56:44 -08:00
Guy Korland
e31dd37f12 Add missing argumnet in Exception 2012-11-19 07:56:44 -08:00
Andrew Gaul
42b61197a6 Honor PROPERTY_REQUEST_TIMEOUT in clearContainer 2012-11-13 18:07:25 -08:00
Ioannis Canellos
19b3400f14 MetadataBundleListener now works with multiple providers/apis per bundle. Added a class assignable check in MetadataBundleListener. Added unit test for MetadataBundleListener. Fixed spelling and formatting of MetadataBundleListener and MetadataBundleListenerTest. 2012-11-13 12:24:55 +02:00
Adrian Cole
0838276f21 added ability to test if an api is available based on apiVersion 2012-11-12 17:23:53 -08:00
Adrian Cole
5f6c3e992a improved javadoc including where to look for alternative syntax 2012-11-07 12:44:07 -03:00
Adrian Cole
a36e6c750f renamed syntax of base64 url-safe to be consistent with guava 14 + fixed bad import from prior PR 2012-11-07 11:11:50 -03:00
Adrian Cole
a551d912c4 Issue 1120: support base64 encode/decode for url applications 2012-11-04 18:48:44 -06:00
Andrew Gaul
d58acbacae 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-30 09:15:00 -07:00
Adrian Cole
c1e63bb360 corrected guice bindings for swift-based blob signatures and backfilled expect tests 2012-10-10 13:07:10 +02:00
Adrian Cole
be40ff5e47 fixed context builder when params in properties 2012-10-09 11:55:29 +02:00
Ioannis Canellos
c086231b56 Added javadoc description for name property. Cleaned up code in ContextBuilder 2012-10-09 11:54:42 +02:00
Ioannis Canellos
420264cf73 Added name property to Context. 2012-10-09 11:54:41 +02:00
Everett Toews
6a509aca3e Made the polling period between updates for servers and images configurable when using the ComputeService. 2012-10-05 11:38:32 -07:00
Adrian Cole
1f4e22c6c9 reveal underlying exception that causes a guice provider to fail 2012-09-29 14:05:11 -07:00
Adrian Cole
7595718408 added advancing iterable 2012-09-21 17:33:14 -07:00
Adrian Cole
c9baf20082 removed static field-based state sharing when looking up delegate methods 2012-09-20 15:32:21 -07:00
Adrian Cole
0be04f7952 make it possible to extend gson type adapters 2012-09-16 23:38:35 -07:00
Adrian Cole
d9c71923a6 param parsers can accept nullable params 2012-09-16 14:56:57 -07:00
Adrian Cole
85b5006084 nicer NPE when null args are specified to ReST methods 2012-09-16 12:38:00 -07:00
Adrian Cole
49877c8f06 helpers for empty collections 2012-09-15 23:43:50 -07:00
Adrian Cole
c0e8470952 default region endpoint for rackspace legacy apis 2012-08-29 23:47:05 -07:00
Andrew Gaul
980f469679 Correct typo 2012-08-23 15:32:36 -07:00
Everett Toews
27dee0bfd9 Moved HttpMessage.getLowercaseHeaders() to Multimaps2.transformKeys() and
org.jclouds.functions.ToLowerCase for better reuse.

Added org.jclouds.util.Multimaps2Test for unit test.
2012-08-20 19:02:33 -05:00
Everett Toews
8d9499b3c1 Made getting a header by field-name case-insensitive to address the issue from
https://groups.google.com/forum/?fromgroups#!topic/jclouds/lEZjqhbudX4

This is the proper way to handle it as RFC 2616, "Hypertext Transfer Protocol -- HTTP/1.1", Section 4.2, "Message Headers" states,

Each header field consists of a name followed by a colon (":") and the field value. Field names are case-insensitive.
2012-08-20 15:30:50 -05:00
Adrian Cole
8c5e03a9a5 added debug when parsing fails 2012-08-19 19:51:30 -07:00