Commit Graph

1051 Commits

Author SHA1 Message Date
Adrian Cole 07240f3e77 removed copy/paste code relating to expiration after write 2012-07-02 15:27:31 -07:00
Adrian Cole ef9a69e7c3 added strict suppliers of scoped locations 2012-07-02 15:22:10 -07:00
Adrian Cole 763572f8ee added paginated set functionality 2012-06-24 11:48:18 -07:00
Adam Lowe 21802d467a Adjusting general strategy to accept @Named in place of @SerializedName.
Adding TypeAdapterFactory to handle deserialization based on constructor annotations (Inject/Named and/or ConstructorProperties).
2012-06-20 13:41:44 +03:00
Adrian Cole 3afdcb66b3 Issue 981:Quiet down jclouds.compute logger 2012-06-16 18:27:29 -04:00
Adrian Cole 5dd4f04ddf allowed for mock testing 2012-06-16 18:19:59 -04:00
Adrian Cole db8f869f5b Issue 979:invalid endpoint returned when region name is the same as the provider 2012-06-15 23:36:21 -04:00
Adrian Cole 30ba717969 Issue 977:ec2 zones are not mapping to endpoints 2012-06-15 23:36:17 -04:00
Andrew Gaul 736554d049 Correct spelling errors 2012-06-14 10:03:39 -04:00
Ioannis Canellos ff2c2fb3e3 Providers and APIs in OSGi can be discovered even if they are installed prior to the installation of jclouds-core. 2012-06-13 20:40:03 +03:00
Andrew Phillips c0e23d4460 Updated authors and added a small correction to the changes in ca84fcc279 for supporting beta versions in JcloudsVersion 2012-06-13 10:34:12 -04:00
Ioannis Canellos cf94e70a95 Improved discovery of api metadata inside OSGi. 2012-06-13 13:05:43 +03:00
Adrian Cole 9daee06e13 usage example 2012-06-12 09:09:44 -07:00
Ioannis Canellos 6ffe7085bc Improved the discovery of providers inside OSGi 2012-06-12 00:38:01 +03:00
Adrian Cole 73e026b314 functionloader cleanup 2012-06-08 13:00:38 -07:00
Adam Lowe 18faff54b3 openstack-keystone: adding TypeAdaptorFactory to take care of unwrapping objects containing an array of "values" in place of a normal json array 2012-06-08 11:23:41 +01:00
Adrian Cole d00e360d65 Issue 815: refactored the 3 major features of keystone into separate clients. removed cyclic dependency needed to support keystone controlling keystones in other regions 2012-06-06 23:14:23 -07:00
Adrian Cole 7203286a90 formatting 2012-06-04 11:42:08 -07:00
Adrian Cole 92d1f1b471 moved to explicitly adding clojure projects 2012-06-03 17:28:56 -07:00
Adrian Cole 5a3f6011a2 removed junit test dependency 2012-06-03 17:26:57 -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
Adrian Cole 8159b6618f Merge pull request #659 from aplowe/openstack-nova2
Openstack Quantum: adding openstack network api
2012-06-01 15:55:07 -07:00
Adam Lowe 4008407de3 Adding support for @Path and @PathParam to delegate methods to RestAnnotationProcessor 2012-06-01 22:41:45 +01:00
vijaykiran 6d74805dd9 Issue-953 Make sure that port is set when modifying headers 2012-06-01 23:02:56 +02:00
vijaykiran e0ad035606 Set port in the request header from the endpoint 2012-06-01 11:31:07 +02:00
Adam Lowe 76531d62e0 Adding multiple varargs HttpRequestOptions support 2012-05-31 13:40:59 +01:00
Adrian Cole f8280ec56c Issue 647: normalized use of IllegalArgumentException 2012-05-22 11:31:32 -06:00
Adrian Cole ca84fcc279 support beta versions 2012-05-21 23:22:55 -06:00
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00
Aled Sage fffa3eb8af Issue 647: fix handling of malformed 'Expires' header 2012-05-17 23:58:39 +01: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 ffb9b34cea ensure mock tests are run single-threaded 2012-05-15 12:12:21 -07:00
Adrian Cole db40facb2d Issue 930:RetryingCacheLoaderDecorator 2012-05-14 23:18:25 -07:00
Adam Lowe cc016d5dc8 Adjusting MapBinder to take Map<String,Object> so BindToJsonPayload can bind objects annotated with PayloadParam correctly 2012-05-14 13:09:22 +01:00
Adam Lowe 42b8071682 openstack-nova: Adding support for @WrapWith on methods 2012-05-14 11:41:10 +01:00
Andrew Gaul c43d89d6d8 Use Objects.equal in ContentMetadataBuilder.equals
Inspired by a discussion with @aledsage.
2012-05-11 10:10:16 -07:00
Adam Lowe f11518fa1e Adding requestLine check to ensure all HttpRequestComparisonTypes compare endpoints and methods 2012-05-10 15:21:48 +01:00
Adrian Cole 9701d80bbb Issue 919: added RegionIdFilter and ZoneIdFilter 2012-05-09 18:21:56 -07:00
Adam Lowe 1797b27ed4 Adding OptionalTypeAdaptorFactory to handle the parsing of Optional values 2012-05-08 17:03:18 -07:00
Adrian Cole a7412c40b5 Issue 916:update to gson 2.2 2012-05-07 10:25:30 -07:00
Adrian Cole 19390ea87d Merge pull request #602 from andrewgaul/propagate-or-null
Eliminate Throwables2.propagateOrNull
2012-05-02 15:21:30 -07:00
Andrew Gaul 74440a7a87 Eliminate Throwables2.propagateOrNull
Throwables.propagate always propagates the Throwable; there is no need
to return null.
2012-05-02 13:51:36 -07:00
Andrew Gaul 646f8d8b13 Improve use of Throwables.propagate
Throwing the return value removes some unneeded asserts and return
statements.  Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Matt Stephenson a5616b6e35 Upgrade to Guava 12.0 2012-04-30 16:06:52 -07:00
Adrian Cole af65dbbac3 Merge pull request #593 from andrewgaul/string-builder
Prefer unsynchronized StringBuilder
2012-04-30 10:46:21 -07:00
Andrew Gaul 198d19714e Prefer unsynchronized StringBuilder
A few instances remain due to EasyMock and Matcher.
2012-04-30 09:50:18 -07:00
Adam Lowe f3dc23f578 Simplifying BaseRestClientExpectTest's comparison of non-payload requests 2012-04-27 16:35:22 +01:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Adrian Cole c624c88274 better exception message on key not found 2012-04-24 12:27:16 -07:00
Adrian Cole df7d2acbb4 wrapper -> view 2012-04-23 19:14:36 -07:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Adrian Cole f1010e13a4 fixed aws-ec2 image parsing 2012-04-21 10:59:01 -07:00
Adrian Cole b87e1397ee functions for regions 2012-04-19 23:14:13 -07:00
Adrian Cole 66dc8787ae added javadoc 2012-04-19 11:56:14 -07:00
Adrian Cole e496faf611 Merge pull request #575 from aplowe/openstack-nova
Openstack nova: HostAdministration and SimpleTenantUsage extensions
2012-04-19 10:21:51 -07:00
Adrian Cole 83e9eb9978 Merge pull request #574 from danikov/covariant-future-iterables
bugfix for self-referential loop + test
2012-04-19 10:20:29 -07:00
Adam Lowe 7dbba2a4e1 Adjusting iso8601SecondsDateParse to replace ' ' with 'T" in the same manner as iso8601DateParse 2012-04-19 07:51:27 +01:00
Andrew Donald Kennedy 437bb83496 Do not create new users just for the tests, run them with the passed in credentials 2012-04-19 00:16:42 +01:00
Adrian Cole dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
danikov dbf59adce1 bugfix for self-referential loop + test 2012-04-18 20:06:48 +01:00
Adrian Cole b9c4f5cd4b enum is not a sustainable way to refer to address blocks 2012-04-18 11:04:53 -07:00
Adrian Cole b0bd663a82 Issue 894:update to guava 12.0-rc2 2012-04-18 08:32:41 -07:00
Adrian Cole 5ea29cbbb7 Merge pull request #560 from danikov/covariant-future-iterables
covariant compatible version of futureIterables
2012-04-18 07:35:23 -07:00
danikov fff1c7dc2d make FutureIterables covariant compatible + update tests 2012-04-18 13:06:54 +01:00
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