Commit Graph

1222 Commits

Author SHA1 Message Date
adriancole fd3a5a3b9a decoupled InvokeHttpMethod, which allows circular dependencies in cloudstack to resolve 2013-01-30 12:51:17 -08:00
Adrian Cole 55a10d4c5d allow SelectJson to specify multiple field names, in case the server renamed something 2013-01-30 09:03:50 -08:00
adriancole 878313582a issue #1089 synchronous commands no longer spawn threads unless a timeout is specified 2013-01-29 04:08:42 -08:00
Dies Koper 17451c3e49 Core, compute: improved poll retry timeout comments 2013-01-28 16:15:47 +11:00
Andrew Phillips 2a1fc363e0 Moving the complex test for 93e2f24c62 into a separate file and allowing it to run in parallel with other tests 2013-01-24 23:13:14 -05:00
Andrew Phillips 4c5cef1be4 Updated implementation comment in Reflection2 2013-01-24 21:41:09 -05:00
Andrew Gaul fb93f774aa Remove unneeded Predicate
Inspired by:
https://code.google.com/p/guava-libraries/wiki/FunctionalExplained#Caveats
2013-01-24 16:55:01 -08:00
Adrian Cole 92c64bc856 Merge pull request #1230 from jclouds/use-system-line-sep-in-tests
Making core tests run on Windows
2013-01-24 08:20:19 -08:00
Andrew Phillips 66bab1342c Using checkArgument instead of throwing an IllegalArgException directly 2013-01-24 02:00:32 -05:00
Andrew Phillips 93e2f24c62 Ignoring synthetic methods to always return the nearest method with the most specific return type from Reflection2.method 2013-01-24 01:59:01 -05:00
Adrian Cole cafd3f9b08 Merge pull request #1232 from dkoper/master
makes fgcp live tests (at least most of them) pass again, and added @Named annotation on async api methods
2013-01-23 10:20:18 -08:00
Dies Koper 494adcaeda Fgcp: changed broken base64 logic and added unit tests 2013-01-23 18:29:40 +11:00
Andrew Phillips 5914436ae0 Making test assertions use the system line separator rather than always '\n' 2013-01-22 21:37:35 -05:00
adriancole 2aea1355a1 added ability to set field exclusion policies for json serialization 2013-01-22 17:12:08 -08:00
Andrew Gaul af963df92d Use Map.entrySet where possible
Improves run-time efficiency and addresses FindBugs warnings.
2013-01-21 23:59:42 -08:00
adriancole 847561ee00 ensure identity/credential properties are not needed when using credential supplier 2013-01-21 10:02:46 -08:00
Adrian Cole d5f7f8b07e refactored json internals to use Reflections2 2013-01-20 23:13:22 -08:00
Adrian Cole a625127fd2 added ability to look up constructors as Invokables 2013-01-20 23:13:22 -08:00
Everett Toews 242d3e07be The Connection API for Rackspace Cloud Load Balancers. 2013-01-20 19:51:06 -06:00
Andrew Gaul 70af02d9d9 Space optimize Strings2.toStringAndClose
Avoid creating a byte array before creating a String.  This reduces
peak memory usage when parsing large JSON responses such as listing a
container.
2013-01-19 22:57:01 -08:00
Adrian Cole 58a986997b removed all compile warnings in core except json package 2013-01-19 20:39:47 -08:00
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