Adrian Cole
66dc8787ae
added javadoc
2012-04-19 11:56:14 -07:00
Adrian Cole
e496faf611
Merge pull request #575 from aplowe/openstack-nova
...
Openstack nova: HostAdministration and SimpleTenantUsage extensions
2012-04-19 10:21:51 -07:00
Adrian Cole
83e9eb9978
Merge pull request #574 from danikov/covariant-future-iterables
...
bugfix for self-referential loop + test
2012-04-19 10:20:29 -07:00
Adam Lowe
7dbba2a4e1
Adjusting iso8601SecondsDateParse to replace ' ' with 'T" in the same manner as iso8601DateParse
2012-04-19 07:51:27 +01:00
Andrew Donald Kennedy
437bb83496
Do not create new users just for the tests, run them with the passed in credentials
2012-04-19 00:16:42 +01:00
Adrian Cole
dab1dd69fc
fix covariance/assignability in RestContext<? extends Client> subclasses
2012-04-18 15:05:39 -07:00
danikov
dbf59adce1
bugfix for self-referential loop + test
2012-04-18 20:06:48 +01:00
Adrian Cole
b9c4f5cd4b
enum is not a sustainable way to refer to address blocks
2012-04-18 11:04:53 -07:00
Adrian Cole
b0bd663a82
Issue 894:update to guava 12.0-rc2
2012-04-18 08:32:41 -07:00
Adrian Cole
5ea29cbbb7
Merge pull request #560 from danikov/covariant-future-iterables
...
covariant compatible version of futureIterables
2012-04-18 07:35:23 -07:00
danikov
fff1c7dc2d
make FutureIterables covariant compatible + update tests
2012-04-18 13:06:54 +01:00
Andrew Gaul
004c160aac
Prefer checkNotNull when appropriate
...
Calling checkNotNull on parameters better captures our intent.
2012-04-17 13:34:38 -07:00
Andrew Gaul
a3161ba7ba
Throw return value instead of returning null
...
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole
c28fe61545
Merge pull request #568 from nacx/scheduledexecutor
...
Added module to configure an ScheduledExecutorService
2012-04-16 11:24:04 -07:00
Adrian Cole
1d85435fe8
missing unwrap class arg
2012-04-16 11:14:13 -07:00
Adrian Cole
9267ac29ba
allow chef to extend this
2012-04-16 11:08:36 -07:00
Ignasi Barrera
767cb98459
Added module to configure an ScheduledExecutorService
2012-04-16 19:59:16 +02:00
Adrian Cole
0b59dea073
removed ContextBuilder subclasses; added unwrap; undid generic params
2012-04-16 00:44:20 -07:00
Adrian Cole
0d93857601
adjusted test glitches
2012-04-13 13:35:11 -06:00
Andrew Donald Kennedy
c0d781a11d
Fix vCloud test usage of new ContextBuilder
2012-04-13 12:23:45 +01:00
Adrian Cole
b3e1b675ef
moved AnonymousProviderMetadata to the right package
2012-04-12 12:20:25 -06:00
Ignasi Barrera
965a7038df
Add the EventBus module when building the injector
2012-04-12 11:10:40 +02:00
Adrian Cole
23cb01f977
refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage
2012-04-11 19:47:09 -06:00
Adrian Cole
9cd9e4feeb
Merge pull request #553 from nacx/eventbus-module
...
Added EventBus module to configure the sync and async EventBus
2012-04-10 08:48:50 -07:00
Ignasi Barrera
6aab0d7716
Added EventBus module to configure the sync and async EventBus
2012-04-10 16:33:24 +02:00
Ignasi Barrera
a059a18ada
Pretty print in payload is now configurable
2012-04-10 16:03:02 +02:00
Adam Lowe
bae9633d23
Test to check annotation processor finds the correct async client method
2012-04-10 08:12:40 +01:00
Adam Lowe
047662a4b1
Test to check annotation processor finds the correct async client method
2012-04-10 08:06:55 +01:00
Adam Lowe
ffeaa2feb8
Ensuring annotation processor finds the correct async client method
2012-04-10 08:06:55 +01:00
Andrew Gaul
b47860afc1
Use inference to elide duplicated type parameters
...
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole
128a906104
Issue 895:add openstack-nova-ec2 api
2012-04-03 00:06:00 -07:00
Adrian Cole
d1fdc504c0
don't consider field equivalence when using ofApi
2012-04-02 13:30:23 -07:00
Adrian Cole
af3a226b3d
Issue 894:update to guava 12
2012-04-02 11:44:10 -07:00
Adrian Cole
764e0907f7
Issue 657:ApiMetadata
2012-04-01 18:43:31 -07:00
Adrian Cole
9d2aca696b
fixed keypair on nova and added test
2012-03-29 15:12:19 -04:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Adrian Cole
ed1864e810
toString tidies
2012-03-23 13:09:13 -07:00
Adrian Cole
000ed4a393
removed broken hpcloud-objectstorage-lvs
2012-03-23 00:38:15 -07:00
Adrian Cole
f3aaa62779
Issue 885:add TryStack provider
2012-03-22 21:37:45 -07:00
Adrian Cole
2cd11f6b18
silently parse mildly incorrect dates
2012-03-22 21:34:59 -07:00
Adrian Cole
2a4bcf83b0
Merge pull request #510 from andrewgaul/close-streams
...
Close streams on error paths
2012-03-22 13:07:44 -07:00
Andrew Gaul
cc590fbffd
Propagate InterruptedException & TimeoutException
...
Previously we passed these exceptions to handler, which wrapped them
in a RuntimeException. Instead propagate the actual cause so callers
can handle these properly.
2012-03-22 11:51:50 -07:00
Andrew Gaul
1040a5c779
Close streams on error paths
2012-03-21 18:17:01 -07:00
Adrian Cole
2dc66ee5e1
Issue 141: add serviceloader lookup for LoggingModule
2012-03-21 13:05:02 -07:00
Adrian Cole
71f4e5c0d9
Issue 879:keystone v2 hpcloud-objectstorage provider
2012-03-21 00:51:49 -07:00
Adrian Cole
c9b5b1db87
openstack implicit security group integration with compute service; ensured hpcloud doesn't pickup kernel or ramdisk images
2012-03-21 00:20:29 -07:00
Mike Arnold
6e6f9e9ce5
Merge branch 'feature/hpcloud-objectstorage-keystonev2'
2012-03-20 15:27:05 -05:00
Mike Arnold
1e60ab4d1f
initial create of hpcloud-objectstorage to labs project
2012-03-20 11:38:33 -05:00
Andrew Gaul
f32b40b174
Simplify JavaUrlHttpCommandExecutorService.invoke
2012-03-20 09:15:55 -07:00
Adrian Cole
ec8b428220
Merge pull request #481 from andrewgaul/use-gmt-for-rfc822-date
...
Use GMT for RFC 822 dates
2012-03-20 00:41:32 -07:00
Adrian Cole
dc5545ef18
Merge pull request #480 from andrewgaul/prefer-entryset
...
Prefer entrySet() over keySet() followed by get()
2012-03-20 00:37:37 -07:00
Andrew Gaul
8ad10fabaf
Prefer entrySet and entries over keySet and keys
...
Also use type inference for ImmutableMultimap.Builder.
2012-03-20 00:03:10 -07:00
Andrew Gaul
796fbff2a7
Use GMT for RFC 822 dates
...
This fixes AWS S3 support, which previously complained about a missing
or improper Date header.
2012-03-19 23:36:58 -07:00
Andrew Gaul
e2417605a2
Prefer Guava.nullToEmpty and HttpUtils.nullToEmpty
...
Make HttpUtils.valueOrEmpty static and change method name to
nullToEmpty to mimic Guava.
2012-03-19 20:48:52 -07:00
Adrian Cole
8f4307843d
Merge pull request #475 from andrewgaul/awaitcompletion-concurrentmap
...
Collect errors in a thread-safe Map
2012-03-19 15:45:45 -07:00
Andrew Gaul
1652752ee6
Collect errors in a thread-safe Map
...
Needed since multiple threads can mutate this map. Also always return
a mutable map for consistency.
2012-03-19 15:03:45 -07:00
Andrew Phillips
c16a581e1f
Now supporting 'x.y.z-alpha.n' type versions
2012-03-19 15:10:04 -04:00
Adrian Cole
9946ee9fd4
changes to facilitate services that do not have regions
2012-03-19 01:03:24 -07:00
Adrian Cole
3d0d0c6094
Issue 870: added more context to optionalconverter
2012-03-16 02:30:19 -07:00
Andrei Savu
a760e409a4
Added test to check that the key is decoded as expected
2012-03-15 15:54:46 +02:00
Andrei Savu
89aefec026
Decode both the key and the value when parsing the request URI
2012-03-15 15:54:37 +02:00
Adrian Cole
bc95b6fe25
@Delegate can now return Optional<Client>
2012-03-14 18:24:57 -07:00
Adrian Cole
fb41002ca5
utility for determining if a method has an optional returntype
2012-03-14 18:24:40 -07:00
Aled Sage
1ea877354b
Issue 445: retry EC2ComputeService.cleanUpIncidentalResources due to failure if done too soon after last VM terminates!
2012-03-13 12:45:37 +00:00
Adrian Cole
30bb94a885
Issue 864:create hpcloud-compute provider
2012-03-09 19:56:23 -08:00
Adam Lowe
15bcec0163
Adjusting XMLUnit code to ignore whitespace between elements
2012-03-06 16:32:23 +00:00
Adam Lowe
dff3b6af37
Adjusting XMLUnit code to ignore whitespace between elements, making sure it still verifies that the amount of space in a leaf (<a> </a>) is still checked correctly
2012-03-06 16:32:23 +00:00
Adrian Cole
076627d2bb
setting of zero isn't possible to pass
2012-03-05 16:15:43 -08:00
Adrian Cole
07ce0a444e
Issue 852:add elb api and aws-elb provider
2012-03-03 12:00:58 -08:00
Adam Lowe
e63aac83d1
Using XMLUnit to verify XML payloads in ExpectTest if, and only if, BaseRestClientExpectTest.compareHttpRequestAsType is overridden (otherwise it still uses Java equals())
2012-03-01 23:02:01 +00:00
Adrian Cole
39c79f6ffa
Issue 845: opsource-servers skeleton
2012-02-24 13:55:55 +02:00
Chris Strand
870a937f14
Issue 848. Increased log level to error when BackoffLimitedRetryHandler cannot retry any more.
2012-02-23 15:20:29 +00:00
Adrian Cole
fa7f81c4e7
Issue 847:version updates
2012-02-23 15:11:05 +02:00
Andrew Donald Kennedy
34459605fc
Large squashed commit with various changes:
...
- Setup new test properties for catalog names and various ids as injectable
- Make retryable TaskSuccess predicate injectable
- Mark test classes as "user"
- Various tidyup and code fixes as and when required
2012-02-21 16:07:31 +00:00
Adrian Cole
c123c4a2df
added toString()
2012-02-19 16:19:59 +02:00
Adrian Cole
d916bb25ac
tidied syntax to get eventBus
2012-02-19 09:39:20 +02:00
Adrian Cole
636c3bb6e5
Issue 357:Init script should check for errors + herefile fixes + script events
2012-02-19 01:53:19 +02:00
Ioannis Canellos
5490b3068c
[842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles.
2012-02-17 00:49:39 +02:00
Andrew Donald Kennedy
7ca842f44c
Make JAXB XML marshaller pretty-print
2012-02-10 14:57:54 +00:00
Andrew Donald Kennedy
b2cc1f6b38
Updating ISO8601 time zone parsing and tests
2012-02-10 14:46:00 +00:00
Andrew Donald Kennedy
c771b2ac87
Remove unused annotations
2012-02-10 13:47:58 +00:00
Andrew Donald Kennedy
3623918de5
Java SimpleDateFormat cannot handle valid ISO8601 time zone strings, fixed
2012-02-10 13:47:57 +00:00
Adrian Cole
ad724de243
Merge pull request #359 from andreisavu/keypairs-and-passwords
...
Fix registerSSHKeyPair and implement getPasswordForVirtualMachine
2012-02-09 07:47:04 -08:00
Andrei Savu
5856f466e4
Fixed double query parameter & URL encoding / decoding bugs
2012-02-09 16:04:45 +02:00
Andrei Savu
ebfecc672a
Added a few more tests and update ReEncodeQueryWithDefaultURLEncoderTest so that it fails
2012-02-09 14:25:04 +02:00
Adrian Cole
aaaced142f
updated to rocoto 6.1 for osgi fix
2012-02-07 20:51:06 +01:00
Adrian Cole
1905615c49
Issue 830: initial vCloud 1.5 with session functionality complete
2012-02-05 21:55:39 -08:00
Adrian Cole
edbd09b984
allow @Provides to return suppliers w/o qualifiers
2012-02-05 21:54:40 -08:00
Adrian Cole
fe4d148528
updated current version to 1.5.0-SNAPSHOT
2012-02-04 11:06:07 -08:00
Richard Downer
3a53a4e5fa
Add support for getting ciphers through the Crypto interface
2012-02-04 19:46:52 +02:00
Adrian Cole
ae1effd748
made openstack multi-region, and now select correct endpoint via apiversion property
2012-02-04 00:51:44 -08:00
Adrian Cole
c388fc41b4
Issue 826: removed eager supplier of @Provider endpoint
2012-02-03 13:51:26 -08:00
Adrian Cole
bdd739ad04
Issue 826:support api-generated location metadata across service types, note this ensures authenticationexceptions propagate even after context creation
2012-02-03 00:27:29 -08:00
Adrian Cole
e6c06e0cd0
removed cycle in cloudstack binding
2012-02-01 09:52:14 -08:00
Adrian Cole
5e23d34f91
cruft removal
2012-01-31 19:44:39 -08:00
Adrian Cole
b3254b31e6
Merge branch 'retrieve-keys' of https://github.com/andreisavu/jclouds
...
* 'retrieve-keys' of https://github.com/andreisavu/jclouds :
Include the JSESSIONID as part of the LoginResponse
Added a set of changes as requested by Adrian
Implemented login / logout APIs
2012-01-31 15:49:37 -08:00
Adrian Cole
6f8c633ff2
set default credential type to apiAccessKeyCredentials and a property to use passwordCredentials
2012-01-31 13:01:18 -08:00
Andrei Savu
2b8e2a4c01
Added a set of changes as requested by Adrian
2012-01-31 15:06:29 +02:00
Adrian Cole
52fc2c2be1
make payloads repeatable
2012-01-30 23:30:48 -08:00
Adrian Cole
32d4dbac8a
Issue 821:retry on close_notify SSLException
2012-01-30 16:10:01 -08:00
Adrian Cole
55975af60d
Issue 820:Move off PropertiesBuilder for rocoto
2012-01-29 23:11:37 +08:00
Adrian Cole
bf4b6e8c95
Issue 823:migrate rackspace services to authenticationservice 1.1
2012-01-29 23:11:23 +08:00
Adrian Cole
f93c495c43
refactored to use consistent setup*Properties methods like expect tt tests
2012-01-29 20:36:24 +08:00
Andrew Gaul
d4dc61a7fe
Fix user threads typo
...
No functional changes.
2012-01-26 14:11:07 -08:00
Adrian Cole
4816bb8a08
update javadoc and suggest areas for improvement
2012-01-22 12:12:19 +08:00
Adrian Cole
1e19db93fd
Issue 815: initial keystone auth
2012-01-18 20:52:04 -08:00
Andrew Phillips
a55081bcc6
Fixing test regression from c473da3
by allowing a different resource classloader to be supplied in testing
2012-01-16 22:34:33 -05:00
Andrew Phillips
d9b04c3cc4
Declaring private instance variables after all public ones
2012-01-16 22:20:59 -05:00
Ioannis Canellos
c473da3611
JCloudsVersion now uses the classloader that loaded the class instead of the TCCL
2012-01-17 00:35:24 +02:00
Adrian Cole
3df052565f
updated current version to 1.4.0-SNAPSHOT
2012-01-16 13:08:32 -08:00
Andrew Phillips
6b1e8cee34
Dropped support for non-semver compliant 'x.y.z-rc-n' RC versions
2012-01-16 13:26:33 -05:00
Adrian Cole
22fc14fc09
Issue 145:Add custom user agent
2012-01-15 15:41:17 -08:00
Adrian Cole
63320f15b6
Issue 731: unravel dependency cycle to only use interfaces
2012-01-15 11:30:22 -08:00
Adrian Cole
82673e0dd5
Issue 710: update existing vcloud providers
2012-01-15 02:14:58 -08:00
Adrian Cole
9791a51039
better exception message
...
remoced unused import
removed hokey test
2012-01-15 02:08:14 -08:00
Adrian Cole
b3d6ad2ae8
Issue 812:add options to place xml source text to exception
2012-01-14 21:02:52 -08:00
Adrian Cole
72c1583ffd
allow validator to be used outside class hierarchy
2012-01-14 20:54:35 -08:00
Adrian Cole
403aaa94b0
cleaned up and added test for TransformingSetSupplier
2012-01-14 20:52:13 -08:00
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
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
Adrian Cole
6b02b93cf7
Issue 658:new annotations @SelectJson @OnlyElement
2011-08-14 18:06:15 +01:00
Adrian Cole
39f4817b66
Issue 464: added rough ideas on how to parse new cloudstack 2.2.8 format
2011-08-12 17:10:07 +01:00
Sebastian Annies
5843d5fee9
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-09 16:15:54 +02:00
Adrian Cole
0a8f38b90e
bumped snapshot version to 1.2.0-SNAPSHOT
2011-08-05 04:09:23 +01:00
Adrian Cole
232b58203f
better error message when a user passes null to a method that parses its value
2011-08-04 11:24:07 +02:00
Adrian Cole
fc0277523f
better error message when sax parsing fails
2011-07-29 03:40:29 -07:00
Adrian Cole
4823c8b8f5
added toString to there's more detail when troubleshooting timeout errors
2011-07-28 22:15:57 -07:00
Adrian Cole
6ff1738e8a
Issue 645:support Go2Cloud Johannesburg
2011-07-28 01:37:26 -07:00
Adrian Cole
edc1b10610
Issue 637: moved to sshj and tested on aws-ec2 gogrid cloudservers elastichosts-lon-p trmk-*
2011-07-25 03:59:01 -07:00
Adrian Cole
d5caa414b1
Issue 634: repackaged trmk-common into org.jclouds.trmk.vcloud_0_8; trmk-ecloud into org.jclouds.trmk.ecloud; trmk-vcloudexpress into org.jclouds.trmk.vcloudexpress
2011-07-23 13:16:23 +10:00
Adrian Cole
b09c81177b
added function to get a configuration property without binding to Guice explicitly
2011-07-22 10:35:48 +10:00
Adrian Cole
dddbd10490
eagerly check null on constructor
2011-07-20 23:51:02 +10:00
spasam
d9b9c61ce6
Implented vApp tag support for Terremark Enterprise.
...
Also added configurable exponential delay between automatic retries.
2011-07-12 11:21:20 -04:00
Adrian Cole
7f1a543fb6
fixed problem where empty query string doesn't work: Issue 576
2011-07-08 02:13:12 -07:00
Andrew Phillips
5b82761396
Added Maps2.fromKeys
2011-07-07 21:52:14 -04:00
Adrian Cole
37e6424040
Issue 557:support Virtacore vCloud Express
2011-07-07 17:03:32 -07:00
Adrian Cole
521d3c3289
Issue 611:copy paste error in RestContextFactory.createContextSpec
2011-07-01 16:29:25 -07:00
Adrian Cole
cf07d64a48
Issue 610:add support for Green House Data Element vCloud
2011-06-28 11:28:27 -07:00
Adrian Cole
a9277558cd
Issue 609:support same arity operations on rest services
2011-06-27 02:23:14 -07:00
Andrew Phillips
7d2fb23119
Master version is now 1.1.0-SNAPSHOT (= next feature version) now that 1.0.0 is out
2011-06-05 11:17:43 +04:00
Dmitri Babaev
e1f0cdcfa5
Merge commit '6d187ed9baaad1e00dbe65b36ea2989c951a5a28', ssh client patch is reverted due to massive changes in code
...
Conflicts:
drivers/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java
2011-06-03 03:50:47 +04:00
Adrian Cole
8d317d67b5
Issue 590:Support StratoGen vCloud provider
2011-06-02 00:21:51 -07:00
Adrian Cole
5655e197b2
Issue 589:deprecate bluelock-vcdirector for bluelock-vcloud-vcenterprise; add bluelock-vcloud-zone01
2011-06-01 22:56:21 -07:00
Adrian Cole
86129df416
stabilized bluelock
2011-06-01 20:30:30 -07:00
Adrian Cole
3fea56253e
Issue 574: don't make build dependent on tz
2011-06-01 13:03:04 -07:00
Adrian Cole
140dd8711c
Issue 574: work around bad date format
2011-06-01 11:52:56 -07:00
Dmitri Babaev
0fedf6e467
Merge commit '7d0248c5dd972287e51ad1971d61a6ddc8bdcdf5'
2011-06-01 20:37:49 +04:00
Adrian Cole
efb8f0103e
Issue 550: added providermetadata for Bluelock
2011-05-29 22:44:00 -07:00
Hugo Duncan
7027563d4d
Make the exception message clearer for unfound provider
...
Make it explicit that the presented list of poviders are the currently
configured providers. Mention jclouds-all. Remove reference to maven, since
it is not the only build tool in use.
2011-05-27 10:44:25 -04:00
Jeremy Whitlock
d4ca5c1960
Issue 550: Added support to filter location-based filters further by type.
...
* core/src/main/java/org/jclouds/providers/Providers.java
(boundedByIso3166Code): Added another implementation that takes a type to
further filter the results.
(collocatedWith): Added another implementation that takes a type to
further filter the results.
* core/src/test/java/org/jclouds/providers/ProvidersTest.java
(testBoundedByIso3166Code, testCollocatedWith): Updated to test the versions
that now take a type as an argument.
2011-05-26 10:56:43 -06:00
Jeremy Whitlock
86817b7612
Issue 550: Refactored the ISO 3166 filtering methods for Providers API.
...
* core/src/main/java/org/jclouds/providers/ProviderPredicates.java
(inIso3166Code): Deleted.
(boundedByIso3166Code): Added.
* core/src/main/java/org/jclouds/providers/Providers.java
(withIso3166Code): Deleted.
(boundedByIso3166Code): Added.
* core/src/test/java/org/jclouds/providers/ProvidersTest.java
(testWithIso3166Code): Deleted.
(testBoundedByIso3166Code): Added
(testIntersectingIso3166Code): Deleted.
(testCollocatedWith): Added.
2011-05-26 10:21:46 -06:00
Jeremy Whitlock
d320641734
Issue 550: Added support to find providers "collocated" with a given provider.
...
[in core/src/main/java/org/jclouds]
* providers/ProviderPredicates.java
(intersectingIso3166Code, providerContainsIso3166Code): Added.
* providers/Providers.java
(collocatedWith): Added.
[in core/src/test/java/org/jclouds]
* providers/JcloudsTestYetAnotherComputeProviderMetadata.java: Added.
* providers/ProvidersTest.java
(testIntersectingIso3166Code): Added.
[in core/src/test/resources]
* META-INF/services/org.jclouds.providers.ProviderMetadata: Updated for the
new test ProviderMetadata implementation.
2011-05-26 09:56:13 -06:00
Jeremy Whitlock
5ef645eeb5
Issue 550: Added support for finding providers that are in a
...
particular "location" as identified by an ISO 3166 code.
[in core/src/main/java/org/jclouds]
* providers/ProviderPredicates.java (inIso3166Code),
providers/Providers.java (withIso3166Code): Added.
[in core/src/test/java/org/jclouds]
* providers/JcloudsTestBlobStoreProviderMetadata.java
(getIso3166Codes): Updated to list a different code than the other
test ProviderMetadata to test the new filtering capabilities.
* providers/ProvidersTest.java (testWithIso3166Code): Added.
2011-05-25 14:47:49 -06:00
Adrian Cole
1c54a6828f
more osgi changes from ioannis
2011-05-24 16:54:52 -06:00
Jeremy Whitlock
1e2ebc0365
Issue 550: Added support to retrieve ISO 3166 codes from ProviderMetadata.
...
[in core/src/main/java/org/jclouds]
* providers/BaseProviderMetadata.java
(equals, hashCode): Updated for the iso 3166 codes.
* providers/ProviderMetadata.java
(getIso3166Codes): Added.
[in core/src/main/test/org/jclouds]
* providers/JcloudsTestBlobStoreProviderMetadata.java,
providers/JcloudsTestComputeProviderMetadata.java
(getIso3166Codes): Added.
[in providers/aws-ec2/src/main/java/org/jclouds]
* aws/ec2/AWSEC2ProviderMetadata.java
(getIso3166Codes): Added.
[in providers/aws-s3/src/main/java/org/jclouds]
* aws/s3/AWSS3ProviderMetadata.java
(getIso3166Codes): Added.
[in providers/trmk-ecloud/src/main/java/org/jclouds]
* vcloud/terremark/TerremarkECloudProviderMetadata.java
(getIso3166Codes): Added.
[in providers/trmk-vcloudexpress/src/main/java/org/jclouds]
* vcloud/terremark/TerremarkVCloudExpressProviderMetadata.java
(getIso3166Codes): Added.
2011-05-23 16:03:37 -06:00