Adrian Cole
ef7e0a46e2
refactored expect tests to throw a 'server error' when there's no state expectation configured
2012-01-12 18:04:19 -08:00
Adrian Cole
5039708d34
now with guice in production mode, we get exceptions wrapped in CreationException and need to unwrap these accordingly
2012-01-12 18:02:34 -08:00
Adrian Cole
21b8aadbfb
Issue 809:update to latest jersey and move off old repo
2012-01-11 14:39:13 -08:00
Adrian Cole
ce5244f8d5
Issue 781:update to guava 11.0.1
2012-01-11 13:37:15 -08:00
Adrian Cole
c151e5bdd7
Issue 730: last deprecated methods scheduled for removal in 1.3
2012-01-10 18:10:55 -08:00
Aled Sage
da0b870295
Issue 731: added BaseRestClientExpectTest.orderedRequestsSendResponses, for expecting same request and giving different responses each time
2012-01-10 17:41:37 -08:00
Adrian Cole
018771d3a4
refactored error on current transaction
2012-01-10 16:44:06 -08:00
Adrian Cole
ea9488db11
grammar
2012-01-10 12:34:32 -08:00
Adrian Cole
5000270090
grammar
2012-01-10 12:33:45 -08:00
Adrian Cole
64fb9f89cf
added javadoc and helper methods to supply multiple request/response expectations
2012-01-10 12:21:26 -08:00
Adrian Cole
deff082a48
allowed http request subclasses to match equals/hashCode when they render the same data; useful in testing
2012-01-10 12:21:26 -08:00
Adrian Cole
f3f56463b4
centralized RestContext<S,A> binding
2012-01-10 12:21:25 -08:00
Adrian Cole
e46ee9fbc4
Issue 807:update license headers
2012-01-09 10:54:57 -08:00
Aled Sage
557c5db706
Issue 764: added Suppliers2.memoizeWithExpirationOnAbsoluteInterval
2012-01-09 18:24:58 +00:00
Andrew Phillips
54506e6da5
[issue 802] Simplified by using a Maven-provided and generated file instead of jclouds-version.properties
2012-01-08 23:03:47 -05:00
Andrew Phillips
0dc9ecd531
[issue 802] Another slight improvement: remove unneeded test file
2012-01-07 21:27:38 -05:00
Adrian Cole
557c51dcb3
slight improvement to 802
2012-01-07 14:13:20 -08:00
Adrian Cole
6da6869755
Merge pull request #295 from jclouds/issue-802-pull-request
...
[issue 802] Adding support for programmatically accessible version info
2012-01-07 12:09:21 -08:00
Adrian Cole
0b41e74728
Issue 805:don't reopen oauth package in core
2012-01-07 11:50:42 -08:00
Adrian Cole
a238efb786
Issue 804:update tests to jetty 8 and fix deprecated usage
2012-01-07 11:34:20 -08:00
Andrew Phillips
62061d8235
[issue 802] Adding support for programmatically accessible version information
2012-01-07 14:07:41 -05:00
Adrian Cole
f390f314ee
Issue 803: changes needed when guice is in production mode
2012-01-07 06:08:32 -08:00
Adrian Cole
ef021720b1
essential problem from Issue 803:lifecycle calls such as executorService.close() not called
2012-01-07 05:12:49 -08:00
Adrian Cole
af598ffeb0
missing commit
2012-01-05 18:17:29 -08:00
Adrian Cole
f06e6982eb
Issue 800:introduce property for build version
2012-01-05 17:51:55 -08:00
Adrian Cole
99fb37f6cf
refactored LiveTest code to share property initialization
2012-01-05 17:51:03 -08:00
Adrian Cole
42137677da
Issue 801:fix inconsistency in test property test.provider.apiversion set in pom.xml -> api-version
2012-01-05 13:09:45 -08:00
Adrian Cole
08355a92a1
Issue 799:simplify http test creation: take 1
2012-01-02 18:25:01 -08:00
Adrian Cole
f54340e6d1
Issue 797: removed patches to gson and refactored raw json strategy thanks, @jessewilson
2012-01-02 14:47:35 -08:00
Adrian Cole
ce657bbe08
example for gson 326
2012-01-02 11:33:21 -08:00
Adrian Cole
7146572620
Issue 797: converted many adapters to the new gson streaming method
2012-01-01 19:24:42 -08:00
Adrian Cole
8b492a63e3
Issue 797: moved JsonLiteral out of the gson package hierarchy as it is unnecessarily there
2012-01-01 16:30:26 -08:00
Adrian Cole
ef7b91bfea
Issue 797: update to gson 2.1
2012-01-01 15:49:16 -08:00
Adrian Cole
7e21b0ad05
Issue 797: gson 2+ defaults numbers to double
2012-01-01 15:48:55 -08:00
Adrian Cole
82c1d11191
Issue 797: gson 2+ addresses gson issue 325
2012-01-01 15:47:48 -08:00
Andrew Phillips
1b98e09bac
[issue 795] Added a @DataProvider and modified failing tests to selectively run under Java6/7
2011-12-26 21:05:33 +00:00
Andrew Phillips
12cfbfe55c
[issue 795] De-generified HttpMessage.Builder and HttpRequest.Builder, prevented the "ambiguous method" compile errors caused by GeneratedHttpRequest.builder() and from() (see [issue 461]) and added a convenience requestBuilder() and fromRequest() methods with the former signatures of builder() and from() resp.
2011-12-26 21:04:41 +00:00
Andrew Phillips
7cc67a675e
[issue 461] Fixed compilation failures in tests. Same cause as e788f76411
2011-12-21 21:14:03 -05:00
Andrew Phillips
e788f76411
[issue 461] Replacing a static builder() call with an explicit Builder() creation to prevent and "ambiguous method" compilation error on OpenJDK, Java 7 and others. The compiler can't figure out which static builder() method is the correct one :-(
2011-12-21 20:54:06 -05:00
Adrian Cole
f7f81d6567
Merge pull request #278 from theambidextrousboy/Issue-789-Add-elastichosts-lax-p
...
Issue 789: add los angeles elastichost provider
2011-12-21 12:34:23 -08:00
Don Tran
db17dadb43
Issue 789: add los angeles elastichost provider
2011-12-21 20:12:53 +00:00
Adrian Cole
76fac92b21
removed tmrk-enterprisecloud due to licensing reasons
2011-12-21 11:04:47 -08:00
Adrian Cole
f9b38f646c
Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible
2011-12-20 23:19:45 -08:00
Adrian Cole
827e0d1f06
Issue 791:add hpcloud-objectstorage-lvs provider
2011-12-20 12:39:15 -08:00
Adrian Cole
766b0ab5ba
Merge pull request #269 from grkvlt/master
...
Some small changes for vcloud (greenhousedata) tests
2011-12-20 10:55:32 -08:00
Andrew Donald Kennedy
a47b5506d9
Use jclouds copy of Nullable annotation
2011-12-20 18:29:15 +00:00
Don Tran
9eddabb4e8
Issue 789: elastichost-tor-p provider
2011-12-20 16:02:33 +00:00
Jeremy Daggett
6d6d68fdde
Merge branch 'master' into hpcloud-object-storage
2011-12-19 14:47:07 -08:00
andreisavu
3cd9f6cdcf
Increase backoff period from 100 to 500
...
This increases the overall test execution time but makes it less likely
to fail on slow test machines.
2011-12-19 16:35:39 +02:00
Aled Sage
9bbb3e7869
Issue 746: fix/tidy RetryablePredicateTest
2011-12-19 10:48:20 +00:00
Adrian Cole
bb470c1b12
removed deprecated org.jclouds.util.Utils class
2011-12-18 18:11:41 -08:00
Adrian Cole
4eb6c08155
removed deprecated Unwrap fields
2011-12-18 17:59:13 -08:00
Adrian Cole
c70b49e980
Merge pull request #257 from algorete/master
...
Issue 757: Auto allocate Elastic IPs and deal with empty tags in describe security groups response
2011-12-18 15:52:05 -08:00
Jan Paral
1f095fda4a
Issue 757: Auto allocate Elastic IPs and deal with empty tags in describe security groups response
2011-12-18 16:47:13 -07:00
Adrian Cole
c7da84c51c
Issue 781:update to guava 11.0
2011-12-18 15:43:11 -08:00
Adrian Cole
db953d469f
Merge pull request #255 from andreisavu/retryable-transient
...
Fix transient RetryablePredicate unit test failure
2011-12-18 13:38:26 -08:00
Adrian Cole
e942d58fa7
Merge pull request #254 from grkvlt/master
...
Issue 779: Fix password/privateKey override issues with providers
2011-12-18 13:37:09 -08:00
andreisavu
a7a5264d15
Fix transient RetryablePredicate unit test failure
2011-12-18 14:06:19 +02:00
Andrew Donald Kennedy
31d3fe483f
Issue 769: Make password and privateKey optional for LoginCredentials
2011-12-17 14:08:49 +00:00
Aled Sage
61c2b506b6
Issue 746: Improve RetryablePredicateTest; fix retry nextMaxInterval
2011-12-16 23:17:45 +00:00
Adrian Cole
beb87a2131
Issue 781:update to guava 11.0-rc1
2011-12-14 23:56:50 -08:00
Adrian Cole
c22f5afd32
allowed regions to be unspecified so that untargetted apis can be tested
2011-12-14 22:42:31 -08:00
Adrian Cole
522d94f5ec
allowed regions to be unspecified so that untargetted apis can be tested
2011-12-14 22:42:31 -08:00
Aled Sage
f140688077
Issue 763: added EC2TemplateBuilderLiveTest to assert httpCommands don't fetch all images
2011-12-13 22:42:13 +00:00
Aled Sage
dc181287f6
Extract TrackingJavaUrlHttpCommandExecutorService, so usable by other tests
2011-12-13 22:42:13 +00:00
Adrian Cole
993cd08bbc
reversed pull 239 as it broke the build
2011-12-13 11:45:49 -08:00
Ignasi Barrera
fd258352ea
Allow to parse parameters with @ParamParser before binding them to the request
2011-12-13 11:28:13 +01:00
Adrian Cole
0ca95e50eb
Issue 779:clean slate openstack nova skeleton
2011-12-09 15:34:20 -08:00
Mattias Holmqvist
9865616c2c
Issue 772: Fix clojure tests when running with Clojure 1.3.0. Added ^:dynamic to Vars to support Clojure 1.3.0. Also cleaned up tests a bit, not using earmuffs when inappropriate.
2011-12-08 01:12:52 +01:00
Alex Heneveld
7b0353560d
in-memory logger for use in tests, with tests
2011-12-04 22:43:07 +00:00
Alex Heneveld
126cdf6dd5
added @Beta and source headers as per adrian's comments
2011-12-02 15:17:39 +00:00
Alex Heneveld
d42469d450
added convenience for retrying and getting a result
2011-12-02 03:18:21 +00:00
Adrian Cole
96d4766d68
Issue 762: started support for the GleSYS API
2011-11-28 20:17:58 -05:00
Jeremy Daggett
57224fae0e
Initial sources for hpcloud-object-storage provider
2011-11-21 12:52:47 -08:00
Adrian Cole
4a5af1e7a5
Issue 441: added new type: LoginCredentials, and (jclouds|provider).image.(login-user|authenticate-sudo) context properties
2011-11-21 11:00:12 +02:00
andreisavu
3cec3293f0
Expose the Guice injector as a @Beta API
2011-11-21 10:52:32 +02:00
Ioannis Canellos
148b6abbb8
Provided utility for loading classes that falls back to the Thread Context Class Loader if class is not found.
2011-11-18 22:09:25 +02:00
Ioannis Canellos
10d617a4ca
Added a check for JCE providers that are not working.
2011-11-18 17:21:29 +02:00
Adrian Cole
359f5d318b
Merge pull request #157 from jsonking/master
...
Fix for missing host with relative url from EndpointParam
2011-11-15 09:11:26 -08:00
Adrian Cole
1bf930db66
disable test that always breaks cloudbees
2011-11-15 18:29:53 +02:00
Jason King
a72ba8405d
Issue 695: Add host to URI if missing via EndpointParam annotation
2011-11-15 16:24:29 +00:00
Jason King
12cb9e98f2
Issue 695: Renamed trmk to tmrk
2011-11-15 11:36:08 +00:00
Adrian Cole
066d67d314
Issue 753: started ninefold-compute provider
2011-11-14 20:01:48 +02:00
Adrian Cole
4329129c25
Issue 750:property to set the image id for the default template
2011-11-14 19:25:46 +02:00
Adrian Cole
322e90d682
reverted test cases that fail when jvm timezone is not in GMT
2011-11-13 09:39:57 +02:00
Adrian Cole
56a7dec54a
Merge pull request #139 from jsonking/master
...
Issue 695: Converted Task parsing to JAXB and fixed a bug with date parsing
2011-11-11 09:55:17 -08:00
Adrian Cole
c08a7884bd
Issue 750:property to set the image id for the default template
2011-11-11 19:48:28 +02:00
Jason King
e6c0e5fe37
Fixed bug with date handling with non-millisec/microsec precision value (e.g. .35123Z)
2011-11-11 17:05:59 +00:00
Adrian Cole
738fbbd331
Merge pull request #132 from danikov/master
...
Issue 551: support rackspace cloud load balancers
2011-11-11 00:46:15 -08:00
danikov
914f9adf41
refactored out commonalities and added apis to the rest.properties, plus corrected some meta-data
2011-11-10 15:34:58 +00:00
danikov
d260ce4cc5
added uk cloudloadbalancer provider
2011-11-10 06:32:19 +00:00
danikov
adc95d19c0
refactored out rackspace cloudloadblancers api from us provider specifics
2011-11-10 06:32:19 +00:00
Andrew Gaul
95ff254882
Fix typo in RestContextImpl.close
2011-11-09 18:20:32 -08:00
Adrian Cole
6d453aa8d8
Issue 695: initial import for new terremark api
2011-11-08 21:08:05 +02:00
Adrian Cole
8b3010b587
fixed NPE and backfilled test
2011-10-29 22:31:12 +02:00
Adrian Cole
71ac2b89e1
formatting
2011-10-29 00:02:32 +02:00
Ignasi Barrera
e5478cdd84
Added BindToXMLPayload binder to allow seralization of objects to the payload using JAXB
2011-10-29 00:02:27 +02:00
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