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
Andrew Gaul
63173fb6f3
Use Multimaps and Predicates helpers
...
Addresses a TODO.
2012-08-16 13:58:51 -07:00
Adrian Cole
b055fb1233
Merge pull request #780 from grkvlt/openstack
...
Openstack Extensibility
2012-08-12 09:29:51 -07:00
Dies Koper
f9e51c37d5
add FirstNetwork, in line with FirstRegion, etc., for use in FGCP provider
2012-08-11 23:22:41 -07:00
Adam Lowe
4fad770eaf
openstack-nova: allowing extension of the standard extensions by providers
2012-08-12 02:48:24 +01:00
Dies Koper
c684a59cb3
add predicates and template builder live tests for location scopes SYSTEM and NETWORK
2012-08-06 23:29:26 +10:00
Adrian Cole
ba56e2dce4
utils and better toStrings for location classes
2012-07-29 16:30:20 -07:00
Andrew Gaul
8ed0e28e68
Spelling corrections
2012-07-26 22:39:35 -07:00
Adrian Cole
3e2e24493e
Issue 981: better toString on template
2012-07-26 11:28:38 -07:00
Andrew Gaul
cd48729f65
Prefer ImmutableMap for SyncProxy maps
2012-07-26 08:44:13 -07:00
Adrian Cole
821b422b94
added SshKeyPairGenerator
2012-07-25 00:33:38 -07:00
Adrian Cole
cab271d30f
expect test ignored properties
2012-07-25 00:33:38 -07:00
Andrew Gaul
3648863a3c
Introduce Predicates2.startsWith and endsWith
2012-07-24 22:21:34 -07:00
Adrian Cole
9d007a40b7
reset loginpassword/privatekey when explicitly set
2012-07-23 19:28:59 -07:00
Adrian Cole
6d9d638a1f
Merge pull request #746 from dkoper/master
...
adding SYSTEM location scope required for FGCP
2012-07-23 19:19:50 -07:00
Dies Koper
966f1fc459
Add SYSTEM scope from DMTF CIMI. FGCP provider needs it.
2012-07-24 11:39:54 +10:00
Andrew Gaul
8524dd3a67
Ensure that EventBus is a singleton
2012-07-23 11:02:55 -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
27e61f73e9
Remove encodeString() and encodeString(String)
...
These are not used in jclouds and callers should use
String.getBytes(Charset) directly, preferably with Guava Charsets
constants.
2012-07-19 10:55:23 -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
62e8c59385
Merge pull request #724 from andrewgaul/hex-cut-and-paste
...
Remove duplicated hexadecimal conversion code
2012-07-17 15:24:21 -07:00
Andrew Gaul
d82dd32c64
Remove duplicated hexadecimal conversion code
2012-07-17 13:09:38 -07:00
Adam Lowe
20d3d0d603
expect tests: removing requirement that requests are unique (so orderedRequestsSendResponses can tee up different responses for the same request when testing functions)
2012-07-17 15:30:03 +01:00
Dies Koper
f119aaa49f
remove stray @Test on base class as it's causing warnings due to its public non-test methods
2012-07-17 11:50:18 +10:00
Adrian Cole
a979c31d8c
Merge pull request #718 from grkvlt/transform-parallel-timeout
...
Timeouts on FutureIterables.transformParallel
2012-07-16 16:40:45 -07:00
Adrian Cole
3154371433
Issue 1011: remove PagedIterator
2012-07-16 12:11:59 -04:00
Andrew Donald Kennedy
4463b52051
Added optional timeout to EC2 listNodes strategy and made awaitCompletion update latch in finally block
2012-07-16 16:58:37 +01:00
Adrian Cole
addeb0d031
added concat to PagedIterable
2012-07-16 11:07:17 -04:00
Adrian Cole
315d5fb3ef
Issue 1011: introducing PagedIterable
2012-07-15 23:34:42 -07:00
Adrian Cole
248c6dcb39
Transform to work with SaxParser
2012-07-15 22:44:07 -07:00
Adrian Cole
872046ed4c
added @Transform
2012-07-15 20:10:49 -07:00
Adrian Cole
b49f2e99c7
Issue 1022: naming conventions
2012-07-15 13:57:44 -07:00
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00