Commit Graph

730 Commits

Author SHA1 Message Date
Ignasi Barrera 0387b1bb92 Updated JAXB parser configuration
Now JAXB response parser is activated by default if the Accept header is
set to application/xml or the method is annotated with the @JAXBResponseParser
annotation (this way we can still use it to parse documents with vendor-specific
mime-types).

This will not break current XML parsers, since they must be explicitly
defined with the @XMLResponseParser annotation, and will provide a
default XML parsing mechanism. The only requirement will be to have
domain objects annotated with standard Java JAXB annotations.

It would be great to refactor the @XMLResponseParser annotation to be
more flexible and to allow using other parsers than SAX, this way the
@JAXBResponseParser annotation could be removed. However, this change
may affect existing providers and must be studied with care.
2011-10-29 00:02:22 +02:00
Ignasi Barrera b90f74352f Added javadoc to JAXB parser 2011-10-29 00:02:18 +02:00
Ignasi Barrera 69163eb447 Added methods to ModifyRequest to add multiple query parameters 2011-10-29 00:02:13 +02:00
Ignasi Barrera 45a1bcac85 Added parser to RestAnnotationProcessor to parse XML using JAXB 2011-10-29 00:02:08 +02:00
Adrian Cole 5d252e6fd5 removed throws clauses to UnsupportedEncodingException where they aren't thrown 2011-10-28 15:00:56 +02:00
Adrian Cole dd89ad3068 backfilled tests and refactored most of org.jclouds.location.suppliers package 2011-10-23 04:38:25 +02:00
Adrian Cole cf4acc8000 backfilled tests for org.jclouds.location.functions 2011-10-22 23:13:17 +02:00
Adrian Cole 3bd0be2c24 backfilled tests for org.jclouds.rest.binders 2011-10-22 22:34:45 +02:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Adrian Cole 738c507b20 11.04 ssh image has auth errors in cloudsigma-zrh 2011-10-16 02:54:57 -07:00
Adrian Cole 9e0aaa949b Issue 723:Allow for asynchronous script execution and client script execution handling 2011-10-14 22:34:57 -07:00
Adrian Cole 9104eca282 Issue 717: corrected keyPair state logic which was redundantly creating keys 2011-10-14 01:49:18 -07:00
Adrian Cole 7e5a6e68cf Issue 719: add sha1 support to SshKeys 2011-10-13 23:57:46 -07:00
Adrian Cole c84a1037e3 Merge pull request #109 from arohner/master
Fix for issue 716, :map-ebs-snapshot-to-device-name
2011-10-13 01:52:18 -07:00
Adrian Cole a1d1f0131f Issue 719: ssh fingerprint and comparison support 2011-10-13 01:49:27 -07:00
Allen Rohner 17b277c24e Issue 716: add tests for memfn-apply 2011-10-12 12:30:50 -05:00
Allen Rohner fe50ae36bc Issue 716: fix :map-ebs-snapshot-to-device-name 2011-10-12 11:30:18 -05:00
Adrian Cole bbbd5a35fc Issue 690:Update to guava 10.0.1 2011-10-10 18:00:07 -07:00
Andrew Gaul cb6f5e5b0e Replace spurious underscore with a dash
Addresses issue 655.
2011-10-10 17:21:54 -07:00
Adrian Cole 842da34982 Issue 713:support userMetadata in createNodesInGroup in byon, cloudservers, and aws-ec2 2011-10-07 00:34:44 -07:00
Adrian Cole 809a1b051c Issue 712:add support for CloudSigma Las Vegas 2011-10-06 18:59:23 -07:00
Adrian Cole a7d1f38266 Merge pull request #84 from ddurnev/master
Issue 253:	allow users to override timeouts on sync interface
2011-10-04 08:03:35 -07:00
Adrian Cole 04a5aa8f71 Merge pull request #91 from ahgittin/704-clojure13
Issue 704: clojure13
2011-10-04 00:49:43 -07:00
Adrian Cole 1f0d621ded reduced extrodinarily verbose logging 2011-10-03 16:51:47 -07:00
ddurnev 20d9df3ad3 Allow users to override timeouts on sync interface: some refactoring, unit test added. See issue #253 2011-10-03 17:16:56 +04:00
Alex Heneveld 9d30fde375 issue 704, clojure 1.3 compatibility: removed uses of clojure-contrib, bringing in preferred modular dependencies where needed (tools.logging and core.incubator), adding the map-str function (that is all that was missing from clojure-contrib string), changing uses of "condition" to be java.lang.Exception, and changing the reference to private type byte-array-type to be the class directly in its own extend-protocol block since private type isn't liked under clojure 1.3; also removed clojure 1.1 build profile 2011-10-03 11:17:16 +01:00
ddurnev 1682c06ac3 Merge branch 'master' of git://github.com/jclouds/jclouds
Conflicts:
	core/src/main/java/org/jclouds/rest/config/ClientProvider.java
	core/src/main/java/org/jclouds/rest/config/CreateClientForCaller.java
2011-10-03 12:53:32 +04:00
Adrian Cole e6ec52166e Issue 705: update to gson 1.7.2 2011-09-30 22:42:38 -07:00
Adrian Cole ded6cb2f7a updated some javadoc 2011-09-30 21:54:01 -07:00
Adrian Cole 1fdd46c164 formatting 2011-09-30 09:47:52 -07:00
ddurnev cc5195f9e1 Fix for issue #253: allow users to override timeouts on sync interface 2011-09-30 18:16:37 +04:00
Alex Heneveld f59d1fec0b allow null/missing for varargs params (needed e.g. for EC2 ElasticBlockStoreAsyncClient.describeVolumesInRegion) 2011-09-30 12:05:49 +01:00
Alex Heneveld 70d58180e0 fix to check for nullable in those places where we test that nullable is supported, and to test that leaving out nullable disallows null parameters 2011-09-30 11:26:53 +01:00
Alex Heneveld f26887b084 fix for 698, and test (better error messages on illegal null params);
also spotted some tests that don't actually test what's expected
2011-09-30 11:05:15 +01:00
Adrian Cole 1a46eb82ca Issue 690:Update to guava 10.0 2011-09-28 12:54:28 -07:00
Alex Heneveld 48be98ee7d renamed the Future we use to be DescribedFuture (instead of just AddedToStringFuture),
and added submission stack trace to that Future, with that trace appended to exceptions returned by the Future.get
(so the stack trace shows the logical continuity of processes submitted to an executor)
2011-09-27 14:27:46 -07:00
Adrian Cole 81796319aa Issue 664: remove bluelock vcenterprise environment 2011-09-26 01:13:26 -07:00
Adrian Cole fa42041b42 Issue 699:Add support for Dunkel vCloud into sandbox 2011-09-25 19:44:28 -07:00
Adrian Cole 09cef638ed Issue 690:Update to guava 10.0-rc3 2011-09-25 12:01:41 -07:00
Adrian Cole 78d2564ba3 added negative tests so that we know what to update when guava 10.0 final is out 2011-09-22 10:43:04 -07:00
Adrian Cole 4cd94489c9 Issue 690:Update to guava 10.0rc2 and change from MapMaker to CacheBuilder 2011-09-22 00:23:29 -07:00
Mattias Holmqvist aed4e72e49 Added a couple of tests that are run from a main() instead of via TestNG. Added lots of plumbing (ongoing work) for virtualbox. To be reviewed and discussed. 2011-09-20 00:36:36 +02:00
Mattias Holmqvist cdd0c1784a Removed duplicate key for bluelock in rest.properties. 2011-09-20 00:32:20 +02:00
Adrian Cole e766248327 Issue 334: added aws-cloudwatch provider 2011-09-16 15:36:29 -07:00
Guillaume Nodet 87dd23551c Avoid using a non official jsr and use our own annotations 2011-09-16 17:52:12 +02:00
Adrian Cole 2a4e89912b Merge branch 'master' of git://github.com/castlabs/jclouds
* 'master' of git://github.com/castlabs/jclouds:
  added test for range requests with filesystem backend and corrected behavior
  Improve Range handling. * allowing to GET last n bytes. * start from GET range now spec conform (to field empty instead of Long.MAX_VALUE)
2011-08-19 14:38:21 -07:00
Ian Wolfcat Atha ce35fb11b7 Explicit check and error for private keys that require a passphrase, as they're currently unsupported. 2011-08-17 23:44:06 -07:00
Adrian Cole 960bfe709f Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file 2011-08-16 18:14:30 -07:00
Adrian Cole 91536886f4 add generic type so CloudBees JDK compiles us properly 2011-08-16 13:40:15 -07:00
Andrew Phillips 99e7c86799 Explicitly providing generic type info that the Sun JDK was unable to infer 2011-08-16 13:32:16 -04:00