Commit Graph

1201 Commits

Author SHA1 Message Date
Adrian Cole c5e3b24d3e decoupled ProxyConfig and introduced PROPERTY_PROXY_TYPE 2013-01-19 20:06:18 -08:00
Adrian Cole e27d9e94fe fix issue #1205: removed copied in tests from Suppliers.memoize as current code is no longer a derivative of that 2013-01-19 19:49:00 -08:00
Adrian Cole 58f0f577d0 centralize construction of invokables 2013-01-19 17:17:06 -08:00
Adrian Cole 4980367991 centralize TypeToken creation 2013-01-19 11:31:55 -08:00
adriancole dc4ca1efbd removed deprecated methods which were easy to do 2013-01-19 08:32:45 -08:00
adriancole 04fe89b75a update to guava 14.0-rc2 2013-01-18 16:02:25 -08:00
adriancole b3901deeb9 rewrote aws config to use standard op names 2013-01-16 10:54:17 -08:00
adriancole 95b1849199 process timeouts based on @Named annotations 2013-01-16 10:54:00 -08:00
Adrian Cole a7e4564c8e support changing credentials at runtime 2013-01-15 22:26:24 -08:00
Adrian Cole b07984435f unwound a few stack traces by making DelegatesToInvocationFunction an invocation handler directly 2013-01-13 22:41:06 -08:00
Adrian Cole f18d3b433f Merge pull request #1177 from jclouds/retryablepredicate-highlander
There can be only one retryable predicate; use Predicates2.retry
2013-01-13 22:07:42 -08:00
Adrian Cole 3ac6f475e7 unwound dependencies relating to ssh keys and crypt 2013-01-13 20:53:59 -08:00
Adrian Cole a49a060152 There can be only one retryable predicate; use Predicates2.retry decorator 2013-01-13 20:30:34 -08:00
Adrian Cole 6a8ac673aa fixed hanging test 2013-01-13 20:27:44 -08:00
Adrian Cole 713a498c22 removed custom version of guava Futures, awkward DescribedFuture, and migrated to native ListenableFuture 2013-01-13 09:29:24 -08:00
Adrian Cole 547f574eea got rid of custom MoreExecutors.sameThreadExecutor 2013-01-12 15:47:58 -08:00
Adrian Cole f1819fe8b9 decorating cacheloader only used in s3 2013-01-12 15:47:51 -08:00
Adrian Cole 45bb35971e replaced usage of checkNotEmpty with checkNotNull(emptyToNull 2013-01-12 15:20:11 -08:00
Adrian Cole 0e4c10e29f PasswordGenerator only used in scriptbuilder 2013-01-12 14:09:58 -08:00
Adrian Cole 015fbf22a2 removed redundant retrying assertion code 2013-01-12 14:04:47 -08:00
Adrian Cole cca73d8a69 removed function only used once and only accessing a single if branch 2013-01-12 13:47:07 -08:00
Adrian Cole 60ab6d8e26 Merge pull request #1169 from jclouds/ucdetector
cleaned up code references detected as unnecessary by UEC plugin
2013-01-12 13:11:47 -08:00
Adrian Cole d57197c103 cleaned up code references detected as unnecessary by UEC plugin 2013-01-12 12:31:00 -08:00
Adrian Cole 2f5e38d237 equals doesn't check null 2013-01-12 08:01:31 -08:00
Adrian Cole 21f6431f50 masked field 2013-01-12 07:55:49 -08:00
Adrian Cole a7389ac9eb equals on different types 2013-01-12 07:49:01 -08:00
Adrian Cole 202b9be5e5 refactored tests and internal code due to removing custom guava code 2013-01-08 22:23:47 -08:00
Adrian Cole d38ae1420d Updated invokable to include enclosing type and started refactoring SyncProxy 2013-01-08 00:32:17 -08:00
Adrian Cole 3089111621 refactored internal code and tests to use FunctionalReflection 2013-01-07 00:36:31 -08:00
Adrian Cole bd9e998b12 introduced functional model for dynamic proxies 2013-01-07 00:36:18 -08:00
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