1171 Commits

Author SHA1 Message Date
Adrian Cole
69c7cd74df migrated from j.l.r.Method -> Invokable 2013-01-05 18:51:03 -08:00
Adrian Cole
c43aac2ecc made AbstractInvocationHandler that uses safer objects 2013-01-05 18:48:22 -08:00
Adrian Cole
afc070ac07 First wave of RestAnnotationParser refactoring introduces Invokable, removes SeedAnnotationCache and associated race conditions 2013-01-04 13:51:46 -08:00
Adrian Cole
36123a6068 deterministic creation of requests based on arg order 2013-01-04 12:44:26 -08:00
Ignasi Barrera
f1d81eaf12 Make JAXBResponseParser parameterizable
By default, RestAnnotationProcessor builds the JAXBParser with the
return type of the invoked method. This, however, can make it impossible
to combine the JAXBResponseParser with the Transform annotation. The
payload of the response to be parsed with the JAXBResponseParser could
be of a different type than the output generated by the transformer
function.

This makes it necessary to configure the type for the response parser in
the JAXBResponseParser annotation and set the return type of the invoked
method to the type generated by the transformer function.
2013-01-03 23:06:03 +01:00
Adrian Cole
c948c0cf53 Update core/src/main/java/org/jclouds/crypto/Pems.java
removed unused method
2013-01-01 20:35:52 -08:00
Adrian Cole
3c5135dbe5 Update core/src/main/java/org/jclouds/crypto/ASN1Codec.java 2013-01-01 20:33:18 -08:00
Adrian Cole
42c7037a59 removed unused code or duplicated code; moved code only used once to where its used 2013-01-01 00:08:34 -08:00
Adrian Cole
e1afa8c516 transitioned from FindResourceInSet to FluentIterable 2012-12-31 22:11:34 -08:00
Adrian Cole
d9164ddcbd Merge pull request #1129 from jclouds/no-transformingset
removed TransformingSetSupplier as it is replaced with FluentIterable
2012-12-31 22:06:18 -08:00
Adrian Cole
955b3a3f85 Merge pull request #1128 from jclouds/osgi-cleanup
osgi code formatting and cleanup
2012-12-31 21:14:24 -08:00
Adrian Cole
b19e4a7a0f removed TransformingSetSupplier as it is replaced with FluentIterable 2012-12-31 20:46:04 -08:00
Adrian Cole
a30ff81c15 osgi code formatting and cleanup 2012-12-31 20:07:19 -08:00
Adrian Cole
9745e9dc2f fixed covariance and warnings on ApiMetadata subclasses 2012-12-31 19:40:49 -08:00
Adrian Cole
c39503b682 TimeoutException is controllable via upping timeout properties; don't add more retry loops and stacktraces 2012-12-31 17:09:27 -08:00
Adrian Cole
f5743a7f41 removed code redudant to guava FutureFallback 2012-12-31 16:08:09 -08:00
Adrian Cole
bb953c981e fix issue #1101: Move to Guava 14 BaseEncoding and Hashing 2012-12-31 14:48:31 -08:00
Adrian Cole
cddd35bc51 removed unnecessary generic types and made RestAnnotationProcessor immutable 2012-12-30 23:18:59 -08:00
Adrian Cole
2523ab54ac removed use of static fields to share type mapping info 2012-12-30 17:22:03 -08:00
Adrian Cole
038e550d2d moved off deprecated FluentIterable methods 2012-12-30 13:20:09 -08:00
Adrian Cole
13d8b9c402 replaced @Timeout w/explicit properties 2012-12-30 12:31:43 -08:00
Adrian Cole
7dcc27a63d missing file from last commit 2012-12-29 00:02:06 -08:00
Adrian Cole
023b549e20 Remove explicit dependency on bouncycastle for PEM parsing 2012-12-28 23:11:42 -08:00
Adrian Cole
207b3db41f remove dependency on bcpkix-jdk15on 2012-12-27 23:23:28 -08:00
Adrian Cole
9b1872c6ff removed custom code that duplicates functionality of guava fallbacks 2012-12-27 16:54:31 -08:00
Adrian Cole
20c3426fc8 replaced jersey w/Uris & UriTemplates; removed complexity in url encoding and edge cases like matrix params 2012-12-24 14:32:59 -08:00
Adrian Cole
e484d7033f Merge pull request #1091 from jclouds/no-aop
removed unused aop dep
2012-12-23 09:28:55 -08:00
Adrian Cole
847b1c7352 Merge pull request #1090 from jclouds/no-matrix
removed explicit matrix param support as their use is edge case in rest
2012-12-23 09:28:45 -08:00
Adrian Cole
a816f09dc7 removed unused aop dep 2012-12-22 23:30:55 -08:00
Adrian Cole
3be1089538 removed explicit matrix param support as their use is edge case in rest 2012-12-22 17:45:31 -08:00
Adrian Cole
e5e26e223d update to latest version of bouncycastle including moving off deprecated stuff 2012-12-20 12:04:32 -08:00
Everett Toews
ad6c257424 Added support for Iterable collections to QueryParam. 2012-12-20 10:48:48 -06:00
Adrian Cole
f071128f5a Merge pull request #1060 from rackspace/clb-modernize
Modernizing the Rackspace Cloud Load Balancers API.
2012-12-10 16:47:47 -08:00
Adrian Cole
2edc0ef19d Merge pull request #1056 from jclouds/jclouds-549-retry-after
introduce RetryAfterException + make Nova use it
2012-12-10 16:24:26 -08:00
Everett Toews
0b0373c91f Modernizing the Rackspace Cloud Load Balancers API. Following naming conventions and using PagedIterable. 2012-12-10 12:15:38 -06:00
Adrian Cole
b4fd69287f Merge pull request #1059 from jclouds/delegate-with-paths
Delegate with paths
2012-12-09 12:19:36 -08:00
Adrian Cole
00560b3224 Path annotation ignored when endpoint not set on caller 2012-12-09 11:34:30 -08:00
Adrian Cole
99d778c1ca cleaned up unnecessary wrapping of ExecutionException 2012-12-09 11:34:25 -08:00
Ignasi Barrera
89f2f133d4 Remove net.oauth dependency 2012-12-09 19:12:59 +01:00
Adrian Cole
24f8e665d4 added RetryAfterException and placed in default exception handling 2012-12-09 03:00:45 -08:00
Adrian Cole
b8eb49f0a9 added rfc822 + iso8601Seconds to DateCodecFactory and simplified ctor 2012-12-09 02:47:09 -08:00
Ignasi Barrera
72deb93570 Fixed decoding of some PKCS1 encoded public keys 2012-12-08 21:49:15 -08:00
Ioannis Canellos
b7863ae394 fix issue #1044: Added listener interfaces for Providers and Apis. 2012-12-08 16:55:22 -08:00
Adrian Cole
27dfdd571b fix issue #607: NPE in compareTo method of ResourceMetadataImpl 2012-12-04 22:42:47 -08:00
Adrian Cole
6563ba1ad9 Merge pull request #995 from LeanderBB/openstack-nova-diagnostics
Started work on adding the nova diagnostics command to JClouds
2012-12-04 07:47:31 -08:00
Adrian Cole
c30fedec20 updated to employ Reflection.newProxy + AbstractInvocationHandler 2012-12-02 12:27:57 -08:00
Adrian Cole
1001021ecd switched setup annotation to operate on Class to avoid InterruptedExceptions; accomodated OpenJDK behavior change wrt Expect: 100-continue 2012-12-01 18:40:07 -08:00
Adrian Cole
ac8be50461 Merge pull request #1017 from jclouds/cleanup-basehttptest
clean up style on base http test class
2012-12-01 15:14:55 -08:00
Adrian Cole
1a0e0e3594 cleaned up clutter in base http tests and converted known failures to skip exceptions 2012-12-01 14:01:18 -08:00
Adrian Cole
6a20e00102 changed to use FlexBase64 from Jason Greene 2012-12-01 10:19:15 -08:00