Andrew Gaul
004c160aac
Prefer checkNotNull when appropriate
...
Calling checkNotNull on parameters better captures our intent.
2012-04-17 13:34:38 -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
c28fe61545
Merge pull request #568 from nacx/scheduledexecutor
...
Added module to configure an ScheduledExecutorService
2012-04-16 11:24:04 -07:00
Adrian Cole
1d85435fe8
missing unwrap class arg
2012-04-16 11:14:13 -07:00
Adrian Cole
9267ac29ba
allow chef to extend this
2012-04-16 11:08:36 -07:00
Ignasi Barrera
767cb98459
Added module to configure an ScheduledExecutorService
2012-04-16 19:59:16 +02:00
Adrian Cole
0b59dea073
removed ContextBuilder subclasses; added unwrap; undid generic params
2012-04-16 00:44:20 -07:00
Adrian Cole
0d93857601
adjusted test glitches
2012-04-13 13:35:11 -06:00
Andrew Donald Kennedy
c0d781a11d
Fix vCloud test usage of new ContextBuilder
2012-04-13 12:23:45 +01:00
Adrian Cole
b3e1b675ef
moved AnonymousProviderMetadata to the right package
2012-04-12 12:20:25 -06:00
Ignasi Barrera
965a7038df
Add the EventBus module when building the injector
2012-04-12 11:10:40 +02:00
Adrian Cole
23cb01f977
refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage
2012-04-11 19:47:09 -06:00
Adrian Cole
9cd9e4feeb
Merge pull request #553 from nacx/eventbus-module
...
Added EventBus module to configure the sync and async EventBus
2012-04-10 08:48:50 -07:00
Ignasi Barrera
6aab0d7716
Added EventBus module to configure the sync and async EventBus
2012-04-10 16:33:24 +02:00
Ignasi Barrera
a059a18ada
Pretty print in payload is now configurable
2012-04-10 16:03:02 +02:00
Adam Lowe
bae9633d23
Test to check annotation processor finds the correct async client method
2012-04-10 08:12:40 +01:00
Adam Lowe
047662a4b1
Test to check annotation processor finds the correct async client method
2012-04-10 08:06:55 +01:00
Adam Lowe
ffeaa2feb8
Ensuring annotation processor finds the correct async client method
2012-04-10 08:06:55 +01:00
Andrew Gaul
b47860afc1
Use inference to elide duplicated type parameters
...
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole
128a906104
Issue 895:add openstack-nova-ec2 api
2012-04-03 00:06:00 -07:00
Adrian Cole
d1fdc504c0
don't consider field equivalence when using ofApi
2012-04-02 13:30:23 -07:00
Adrian Cole
af3a226b3d
Issue 894:update to guava 12
2012-04-02 11:44:10 -07:00
Adrian Cole
764e0907f7
Issue 657:ApiMetadata
2012-04-01 18:43:31 -07:00
Adrian Cole
9d2aca696b
fixed keypair on nova and added test
2012-03-29 15:12:19 -04:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Adrian Cole
ed1864e810
toString tidies
2012-03-23 13:09:13 -07:00
Adrian Cole
000ed4a393
removed broken hpcloud-objectstorage-lvs
2012-03-23 00:38:15 -07:00
Adrian Cole
f3aaa62779
Issue 885:add TryStack provider
2012-03-22 21:37:45 -07:00
Adrian Cole
2cd11f6b18
silently parse mildly incorrect dates
2012-03-22 21:34:59 -07:00
Adrian Cole
2a4bcf83b0
Merge pull request #510 from andrewgaul/close-streams
...
Close streams on error paths
2012-03-22 13:07:44 -07:00
Andrew Gaul
cc590fbffd
Propagate InterruptedException & TimeoutException
...
Previously we passed these exceptions to handler, which wrapped them
in a RuntimeException. Instead propagate the actual cause so callers
can handle these properly.
2012-03-22 11:51:50 -07:00
Andrew Gaul
1040a5c779
Close streams on error paths
2012-03-21 18:17:01 -07:00
Adrian Cole
2dc66ee5e1
Issue 141: add serviceloader lookup for LoggingModule
2012-03-21 13:05:02 -07:00
Adrian Cole
71f4e5c0d9
Issue 879:keystone v2 hpcloud-objectstorage provider
2012-03-21 00:51:49 -07:00
Adrian Cole
c9b5b1db87
openstack implicit security group integration with compute service; ensured hpcloud doesn't pickup kernel or ramdisk images
2012-03-21 00:20:29 -07:00
Mike Arnold
6e6f9e9ce5
Merge branch 'feature/hpcloud-objectstorage-keystonev2'
2012-03-20 15:27:05 -05:00
Mike Arnold
1e60ab4d1f
initial create of hpcloud-objectstorage to labs project
2012-03-20 11:38:33 -05:00
Andrew Gaul
f32b40b174
Simplify JavaUrlHttpCommandExecutorService.invoke
2012-03-20 09:15:55 -07:00
Adrian Cole
ec8b428220
Merge pull request #481 from andrewgaul/use-gmt-for-rfc822-date
...
Use GMT for RFC 822 dates
2012-03-20 00:41:32 -07:00
Adrian Cole
dc5545ef18
Merge pull request #480 from andrewgaul/prefer-entryset
...
Prefer entrySet() over keySet() followed by get()
2012-03-20 00:37:37 -07:00
Andrew Gaul
8ad10fabaf
Prefer entrySet and entries over keySet and keys
...
Also use type inference for ImmutableMultimap.Builder.
2012-03-20 00:03:10 -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
Andrew Gaul
e2417605a2
Prefer Guava.nullToEmpty and HttpUtils.nullToEmpty
...
Make HttpUtils.valueOrEmpty static and change method name to
nullToEmpty to mimic Guava.
2012-03-19 20:48:52 -07:00
Adrian Cole
8f4307843d
Merge pull request #475 from andrewgaul/awaitcompletion-concurrentmap
...
Collect errors in a thread-safe Map
2012-03-19 15:45:45 -07:00
Andrew Gaul
1652752ee6
Collect errors in a thread-safe Map
...
Needed since multiple threads can mutate this map. Also always return
a mutable map for consistency.
2012-03-19 15:03:45 -07:00
Andrew Phillips
c16a581e1f
Now supporting 'x.y.z-alpha.n' type versions
2012-03-19 15:10:04 -04:00
Adrian Cole
9946ee9fd4
changes to facilitate services that do not have regions
2012-03-19 01:03:24 -07:00
Adrian Cole
3d0d0c6094
Issue 870: added more context to optionalconverter
2012-03-16 02:30:19 -07:00
Andrei Savu
a760e409a4
Added test to check that the key is decoded as expected
2012-03-15 15:54:46 +02:00
Andrei Savu
89aefec026
Decode both the key and the value when parsing the request URI
2012-03-15 15:54:37 +02:00