Commit Graph

1111 Commits

Author SHA1 Message Date
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
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 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 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 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
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 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
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
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
Adrian Cole ad520b6b91 fixed bad test in providermetadata -my bad 2011-05-17 14:46:03 -07:00
Adrian Cole f70b793533 Issue 550: updated aws provider metadata 2011-05-17 00:01:52 -07:00
Adrian Cole c880c057b1 Issue 550: added loadbalancer, table, and queue types 2011-05-16 22:55:56 -07:00
Adrian Cole 36e6ca787d Issue 550: added api docs, identity and credential names 2011-05-16 21:37:25 -07:00
Adrian Cole 4d81a5aa28 Issue 550: moved providers into a scoped package and made a base test class 2011-05-16 18:59:31 -07:00
Adrian Cole 08ee5d5c8d added tags to nodemetadata, revised byon to be persistable to blobstore 2011-05-16 00:46:02 -07:00
Adrian Cole 5253f3f7fb Issue 559: disabled overly verbose gson logger 2011-05-14 19:09:03 -07:00
Adrian Cole 3bb41050d0 Issue 559:update to gson 1.7.1 2011-05-14 18:03:16 -07:00
Adrian Cole 1435f9b00b fixed parsing on smartcloud 2011-05-14 01:25:52 -07:00
Adrian Cole 5b8ee87a4d major overhaul to ibm smartcloud 2011-05-14 00:44:54 -07:00
Adrian Cole 6e483c7f7c Merge branch 'master' of https://github.com/jcscoobyrs/jclouds
* 'master' of https://github.com/jcscoobyrs/jclouds:
  Added a note to the org.jclouds.providers.BaseProviderMetadata class in core
  Implemented the provider metadata for the aws-ec2 cloud provider.
  Updated the core project POM to exclude ProviderMetadata plugins from the
  Added an abstract ProviderMetadata object to allow for overriding the equals and
2011-05-12 15:31:18 -07:00
Jeremy Whitlock 25f8f1ad80 Added a note to the org.jclouds.providers.BaseProviderMetadata class in core
per Adrian's request.

* core/src/main/java/org/jclouds/providers/BaseProviderMetadata.java: Updated
   as mentioned above.
2011-05-12 16:28:40 -06:00
Jeremy Whitlock 3870f0d2bd Added an abstract ProviderMetadata object to allow for overriding the equals and
hashCode methods.

[in core/src/main/java]

* org/jclouds/providers/BaseProviderMetadata.java: Added.

* org/jclouds/providers/ProviderMetadata.java: Fixed indentation to be three
   space based instead of two spaces.

[in core/src/test/java]

* org/jclouds/providers/JcloudsTestBlobStoreProviderMetadata.java,
  org/jclouds/providers/JcloudsTestComputeProviderMetadata.java: Updated to
   extend the new BaseProviderMetadata class instead of just implementing the
   ProviderMetadata interface.

* org/jclouds/providers/ProvidersTest.java
  (test*): Updated tests to check for ProviderMetadata object equality instead
   of testing each method individually.

Issue: http://code.google.com/p/jclouds/issues/detail?id=550
2011-05-11 22:37:12 -06:00
Adrian Cole bf358b58de Issue 551: initial support for rackspace cloud load balancers 2011-05-09 01:27:01 -07:00
Adrian Cole 19672407e7 internal enhancements for wrapping json, and specifying an endpoint per delegate 2011-05-09 00:19:57 -07:00
Adrian Cole 4d2520f910 Merge branch 'master' of https://github.com/jcscoobyrs/jclouds
* 'master' of https://github.com/jcscoobyrs/jclouds:
  Adds plumbing to the jclouds core to allow for refactoring the provider plugin
2011-05-06 16:18:09 -07:00
Jeremy Whitlock 197284471e Adds plumbing to the jclouds core to allow for refactoring the provider plugin
system, which initially will only be used for object metadata related to
cloud providers.

* .gitignore: Added an ignore pattern for Emacs etags file (TAGS).

[in core/src/main/java]

* org/jclouds/providers/ProviderMetadata.java: Added.
  (This file is a simple interface cloud providers will implement to be
   pluggable into this new plugin system.)

* org/jclouds/providers/ProviderPredicates.java: Added.
  (This file contains predicates that will filter Iterable<ProviderMetadata>
   objects.)

* org/jclouds/providers/Providers.java: Added.
  (This file contains "simplicity methods" for getting available cloud
   providers based on certain criteria, like by type or by id.)

[in core/src/test/java]

* org/jclouds/providers/JcloudsTestBlobStoreProviderMetadata.java,
  org/jclouds/providers/JcloudsTestComputeProviderMetadata.java: Added.
  (These files are implementations of org.jclouds.providers.ProviderMetadata
   used for testing purposes.)

* org/jclouds/providers/ProvidersTest.java: Added.
  (This file tests org.jclouds.providers.Providers.)

[in src/test/resources]

* META-INF/services/org.jclouds.providers.ProviderMetadata: Added.
  (This file is used by java.util.ServiceLoader to locate the available
   cloud provider implementations on the classpath.)
2011-05-06 17:05:00 -06:00
Adrian Cole a925d704f4 Issue 543, 473: new AdminAccess statement, which locks down compute nodes and creates a default admin account 2011-05-06 00:35:50 -07:00
Adrian Cole 4b879402fd Issue 473: created new function to add a user, and supporting sudoers and shadow logic 2011-04-30 20:58:50 -07:00
Adrian Cole 5288f12425 Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  added account features to cloudstack
  added more tests to Throwables
  Issue 538: removed redundant http tests which are not working due to test classpath issues
  loosened up thresholds on syncproxytest
  Issue 537: changed to bounded thread pool executor
  Changed Maven site URL to the jclouds Google Code site. Also using a fork of the WebDAV wagon to work around http://code.google.com/p/support/issues/detail?id=4786
  Changed project description to match extension -> driver change
  Merge branch 'master', remote branch 'origin'
  Clean up a comment on the blobstore2/blob function. For realsies.
  Clean up a comment on the blobstore2/blob function.
  Small enhancements to blobstore2_test.
  Update blobstore2 to have a convenience protocol for building blob payloads.
2011-04-24 01:04:36 -07:00
Adrian Cole 440660335d added more tests to Throwables 2011-04-23 16:56:34 -07:00
Adrian Cole 5752cf5426 loosened up thresholds on syncproxytest 2011-04-23 11:45:32 -07:00
Adrian Cole 4e114e9b2b Issue 537: changed to bounded thread pool executor 2011-04-23 11:45:10 -07:00
Adrian Cole 1322a85962 Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  update to latest surefire
  cleaned exception handling
  attempt to stabalize tests on build server
  [issue 535] Moved LICENSE.txt to META-INF in the resource bundle
2011-04-21 09:33:39 -07:00
Adrian Cole cfb180f638 cleaned exception handling 2011-04-20 17:37:02 -07:00
Adrian Cole d0a5278ca0 attempt to stabalize tests on build server 2011-04-20 16:21:36 -07:00
Adrian Cole 2b111b2604 Issue 536:terremark delete operation now returns tasks 2011-04-19 16:57:37 -07:00
Adrian Cole 9e94fc6fc9 updated license headers 2011-04-09 03:20:17 -07:00
Adrian Cole 95310ba680 Issue 527:update to official build of jetty 2011-04-09 03:18:42 -07:00
Adrian Cole 35412b828c Issue 525:update to testng 6.0.1 2011-04-09 03:12:41 -07:00
Adrian Cole 8d26999bc2 updated to surefire 2.8, and revised test annotations to be compatible with testng 5.14.10 2011-04-09 01:09:35 -07:00
Adrian Cole c9a4534849 Issue 519:update to guava r09 2011-04-08 15:36:04 -07:00
Adrian Cole 1cfbdf00f3 Issue 355: shell for nova 1.1 based on cloudservers 2011-04-05 00:14:18 -07:00
Adrian Cole f322931755 reworked futures test classes 2011-04-04 21:34:11 -07:00
Adrian Cole e79e651d78 reworked futures test classes 2011-04-04 21:10:11 -07:00
Adrian Cole b99b6b1dc0 address auth exceptions on @Provides methods 2011-04-04 17:43:09 -07:00
Adrian Cole 53c735fdff enforced blobs must have uri, container, and can have publicAccess 2011-04-03 18:15:09 -07:00
Adrian Cole 72768c206d Issue 471: revised to include java context on interrupted errors 2011-04-01 19:38:45 -07:00
Adrian Cole eb4a8393fb Issue 471: set toString on futures 2011-04-01 13:58:32 -07:00
Adrian Cole b8a06da58a Issue 514: added support for Tiscali Storage (tiscali-storage) 2011-03-29 13:33:57 -07:00
Adrian Cole a44abb0768 Issue 374: added slf4j 2011-03-26 21:28:13 -07:00
Adrian Cole f2e6c72e5a added qualifier support to annotation parsing so that we can expose cached objects 2011-03-21 14:57:57 -07:00
Adrian Cole fff61b8b4d Issue 508: promoted OVF and CIM to jclouds-compute so that they can be reused across vcloud, trmk, and savvis 2011-03-20 22:15:08 -07:00
Adrian Cole 81f0707382 Issue 435: refactored savvis code 2011-03-20 02:42:53 -07:00
Adrian Cole 743b94c767 restructured softlayer into separate feature classes 2011-03-18 17:49:20 -07:00
Adrian Cole f5fa2d983b added toString to common functions so that they are easier to see when debugging 2011-03-14 01:39:59 -07:00
Hugo Duncan d9cb934feb Add clojure interface for spot instances
Add clojure template-builder keywords for spot instances introduced
for issue #308.  Add a builder for spot-options.
2011-03-12 16:30:36 -05:00
Adrian Cole 9bdd97340b Issue 506:support hosteurope blobstore; break out scality-rs2 2011-03-12 12:14:11 -08:00
Adrian Cole 2b43975cc8 Merge branch 'large-blob' of git@github.com:jclouds/jclouds
* 'large-blob' of git@github.com:jclouds/jclouds:
  Issue 486: moved netty to a driver and created a base payload slicer
  AWS S3 sequential multipart upload strategy, newly added files.
  AWS S3 sequential Multipart Upload strategy
2011-03-09 13:42:02 -08:00
Adrian Cole 8ed7dcde82 Issue 501: break retry loop on timeout or illegal state 2011-03-08 08:47:55 -08:00
Adrian Cole ebd4d1e432 Issue 499:add and use import key support to aws-ec2 2011-03-06 15:35:06 -05:00
Adrian Cole b6667353f9 Issue 486: moved netty to a driver and created a base payload slicer 2011-03-06 00:04:46 -05:00
Adrian Cole 16843d9a92 Merge branch 'large-blob' of https://github.com/tiborkiss/jclouds into tiborkiss-large-blob
* 'large-blob' of https://github.com/tiborkiss/jclouds:
  AWS S3 sequential multipart upload strategy, newly added files.
  AWS S3 sequential Multipart Upload strategy
2011-03-05 21:16:07 -05:00
Adrian Cole 2c5e97627d removed deprecated usage 2011-03-05 21:08:55 -05:00
Adrian Cole a988b47627 Issue 471:add better error message when there's an interrupted exception 2011-03-05 20:57:19 -05:00
Adrian Cole ad0acb56fa fixed auth error when using an ssl site via ip and not hostname 2011-03-05 16:35:37 -05:00
Adrian Cole 9117644f26 Issue 495:vcloud: NullPointerExceptions when a VM has no IP addresses 2011-03-04 22:58:39 -05:00
Tibor Kiss 589579191c Merge branch 'master' of git://github.com/jclouds/jclouds into large-blob 2011-03-04 23:37:30 +01:00
Tibor Kiss 20b03aceb8 AWS S3 sequential multipart upload strategy, newly added files. 2011-03-04 23:29:39 +01:00
Tibor Kiss f5566a4a57 AWS S3 sequential Multipart Upload strategy 2011-03-04 23:24:32 +01:00
Adrian Cole 739bcc4c68 Issue 491:support new ap-northeast-1 region in aws 2011-03-03 09:44:53 -05:00
Adrian Cole 0e794c4788 return false on executionexception 2011-02-27 20:59:54 -08:00
Adrian Cole 54ab2aa82b lowered level of a debug statement 2011-02-27 19:57:10 -08:00
Adrian Cole 7fc56e86ef making test more lenient for our build server 2011-02-27 17:35:25 -08:00
Adrian Cole 4ec14fc847 making test more lenient for our build server 2011-02-27 17:29:47 -08:00
Adrian Cole 3d3770a556 Issue 489: made a ceiling for retry intervals 2011-02-27 16:42:48 -08:00
Adrian Cole c6032bc1d5 test to see if ips are publicly routable 2011-02-27 12:13:20 -08:00
Adrian Cole 5b2669c2f3 network scope is less than zone 2011-02-27 12:12:40 -08:00
tibor.kiss 00d172ce2f issue 430: large blob support:
- modified all 3 http connectors to add "Expect: 100-continue" header
- refactored the RequestAuthorizeSignature to not conform the specification
- complete-multipart-upload response is returning escaped quote, I extended ETag parser
- added more S3 headers
2011-02-26 20:05:16 +01:00
Adrian Cole 06355017b0 relaxed reponse builder as sometimes servers mistakenly do not include a message in the http response 2011-02-26 10:19:49 -08:00
Adrian Cole 9e7dbc5612 Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  Issue 430:large blob support on aws-s3
  added debug to http executor
  carved out a place to add aws-s3 specific functionality
2011-02-24 21:54:49 -08:00
Adrian Cole 164fa05d2b Issue 488: added storage provider for ninefold 2011-02-24 21:54:42 -08:00
Adrian Cole 95a19b99fd Issue 430:large blob support on aws-s3 2011-02-24 21:46:14 -08:00
Adrian Cole 84004b8986 added debug to http executor 2011-02-24 21:45:04 -08:00
Adrian Cole 2539559640 carved out a place to add aws-s3 specific functionality 2011-02-24 11:17:00 -08:00
Adrian Cole 5075032edd added new param parser for comma-separated lists 2011-02-22 11:08:21 -08:00
Adrian Cole 3602f03133 Merge branch 'master' of https://github.com/mikem2005/jclouds
* 'master' of https://github.com/mikem2005/jclouds:
  Set connect and read timeout on connection
2011-02-19 12:44:56 -08:00
Mike Matczynski dafa2dc00c Set connect and read timeout on connection 2011-02-19 13:47:11 -05:00
Adrian Cole 5f676d99b8 updated pcs 2011-02-18 16:55:18 -08:00
Adrian Cole 5c1c731311 Issue 483:@VirtualHost annotation does not present port number 2011-02-18 14:03:20 -08:00
Adrian Cole f38c8d5e56 Issue 475: removed builtin providers for ec2, s3, cloudservers, cloudfiles, and vcloudexpress 2011-02-15 17:51:40 +01:00
Adrian Cole 7a2c2053e2 Issue 474: changed demo to use async urlfetch 2011-02-15 16:31:35 +01:00
Adrian Cole d4018a5828 Issue 125: applied to cloudservers 2011-02-14 17:00:05 +01:00
Adrian Cole b86fe9eec3 Issue 125:payload binder 2011-02-14 15:18:19 +01:00
Adrian Cole 4627a91195 Issue 125:payload binder 2011-02-14 15:17:19 +01:00
Adrian Cole 20c23e7962 Issue 462: corrected semantics of BlobMap when using inDirectory and added BlobBuilder 2011-02-13 22:32:31 +01:00
Adrian Cole 4ce474e43c cloudstack: added virtualmachine and asyncjob features 2011-02-13 14:03:58 +01:00
Adrian Cole 096b25509d updated nested parser so that it can return empty collections 2011-02-13 00:06:26 +01:00
Adrian Cole 8476082ee3 Issue 463: updated to guava r08 2011-02-06 20:25:30 -08:00
Adrian Cole 6f545c0277 deepened unwrapping of json to include only value in list 2011-02-06 17:29:15 -08:00
Adrian Cole f1a878f016 added nested json unwrapping 2011-02-05 11:54:32 -08:00
Adrian Cole a1dbbd203c Issue 448: new EC2 EBS support 2011-01-31 14:14:05 -08:00
Adrian Cole 675563c96a Issue 418: updated location object to include metadata and iso3166codes 2011-01-31 01:00:20 -08:00
Adrian Cole 3263d22bfc renamed properties builder for aws-elb 2011-01-30 13:41:21 -08:00
Adrian Cole 99bbdfce8a Issue 456: add new InsufficientResourcesException 2011-01-29 16:15:51 -08:00
Adrian Cole 4eefd0dfa1 Walrus doesn't seem to support HEAD bucket 2011-01-29 10:39:03 -08:00
Adrian Cole 68baca4062 googlestorage supports streaming 2011-01-29 10:12:42 -08:00
Adrian Cole 81796fafb0 scope ec2 image parsing to providers 2011-01-26 16:30:44 -08:00
Adrian Cole 1df15209ec fixed built-in http client 2011-01-25 10:23:58 -08:00
Adrian Cole 0a769ca6f5 Issue 419 rename cloudsigma to cloudsigma-zrh 2011-01-25 08:44:55 -08:00
Adrian Cole ab7b19d6bd Merge branch 'master' of git@github.com:jclouds/jclouds
* 'master' of git@github.com:jclouds/jclouds:
  Issue 452: revised supplier
  Issue 452: added byon provider
  added bucket limit on eucalyptus partner cloud
  fixed javadoc typo
2011-01-24 18:09:50 -08:00
Adrian Cole 7b5d0af43d Issue 451: fix redirection handler 2011-01-24 18:09:35 -08:00
Adrian Cole 35d736a3ca Issue 452: added byon provider 2011-01-24 12:23:22 -08:00
Adrian Cole f1b4b67a88 fixed properties used in epc testing 2011-01-24 09:17:12 -08:00
Adrian Cole a5211f523e switched to use eucalyptus partnercloud as community cloud hasn't enough resources to complete testing 2011-01-24 08:12:14 -08:00
Adrian Cole 89e7fd6092 updates to fix elastichosts and cloudsigma support 2011-01-23 22:06:47 -08:00
Adrian Cole ade9fa6119 loosened exponential delay test 2011-01-23 17:30:41 -08:00
Adrian Cole bf1ee9487b Issue 440: created org.jclouds.common/azure-common, org.jclouds.provider/azureblob, azurequeue 2011-01-16 17:06:34 -08:00
Adrian Cole 99b409de66 Issue 440: added cloudonestorage 2011-01-16 14:38:41 -08:00
Adrian Cole 829f7f5064 Issue 440: added synaptic storage 2011-01-16 14:23:13 -08:00
Adrian Cole de17424871 Issue 440: moved atmos to api groupId 2011-01-16 13:45:11 -08:00
Adrian Cole 9e8a1f4bb2 Issue 447: breakup Utils 2011-01-11 09:50:37 -08:00
Adrian Cole cfcee554b3 created new providers that run the elasticstack api:
org.jclouds.api/elasticstack
org.jclouds.provider/elastichosts-lon-b
org.jclouds.provider/elastichosts-lon-p
org.jclouds.provider/elastichosts-sat-p
org.jclouds.provider/openhosting-east1
org.jclouds.provider/serverlove-z1-man
org.jclouds.provider/skalicloud-sdg-my
2011-01-09 22:24:41 -08:00
Adrian Cole 17629960cd Issue 429: pulled cloudfiles-specific logic apart from swift 2011-01-09 10:32:35 -08:00
Adrian Cole e68a67042e Issue 444: expose @Path("{jclouds.api-version}") for interpretting path based on the version constant 2011-01-09 10:30:47 -08:00
Adrian Cole 3ca278723d Issue 440: added cloudservers and cloudfiles us and uk providers 2011-01-08 15:59:48 -08:00
Adrian Cole 9d6537dfc2 Issue 440: extracted cloudservers and cloudfiles into their own api modules, moved rackspace into commons 2011-01-08 10:46:54 -08:00
Adrian Cole 1114ae654f Issue 335: moved nova-ec2 emulation to sandbox 2011-01-06 14:55:12 -08:00
Adrian Cole 2168a6982f Issue 440: added apis/eucalyptus and providers/ecc-ec2 2011-01-06 14:35:10 -08:00
Adrian Cole 739da911d2 Issue 440: moved aws-ec2 into its own provider module 2011-01-05 22:27:46 +01:00
Adrian Cole eedc94948e Issue 440: moved ec2 into its own api module 2011-01-05 21:42:34 +01:00
Adrian Cole de1ece441d Issue 440: moved cloudwatch to its own module 2011-01-05 19:32:40 +01:00
Adrian Cole 9185800200 Issue 440: move sqs code into its own api module 2011-01-05 18:23:46 +01:00
Adrian Cole 2e436741bd Issue 440: split Eucalyptus Community Cloud (ecc-s3) into a provider, and moved walrus to be an api 2011-01-05 11:27:17 +01:00
Adrian Cole 58cd5c1a14 Issue 440: added walrus provider 2011-01-05 00:58:25 +01:00
Adrian Cole 45da77073a Issue 440: added ScaleUp Storage to provider group 2011-01-05 00:42:41 +01:00
Adrian Cole 7b3c1982cf Issue 440: added aws-s3 provider 2011-01-04 23:05:26 +01:00
Adrian Cole 2fe58a6ddb Issue 440: moved s3 into its own api module 2011-01-04 22:23:54 +01:00
Adrian Cole 478494b65c Issue 440: refactored zone and region logic into top-level jclouds so that we can decouple amazon's concepts from api implementations 2011-01-04 20:05:49 +01:00
Adrian Cole ada49c2b3b refactored common location logic in aws and moved elb to its own module 2011-01-03 20:20:42 +01:00
Adrian Cole d5e18405bf fixed bug in aws-simpledb tests 2011-01-02 17:55:42 +01:00
Adrian Cole 2759da648d added new aws-simpledb provider 2011-01-02 16:39:49 +01:00
Adrian Cole 0eccc39789 moved simpledb code from aws to its own api module 2011-01-02 14:21:40 +01:00
Adrian Cole 90c5c40fbd moved provider agnostic location code to core 2011-01-02 12:58:35 +01:00
Adrian Cole 60b6b68556 code cleanup: http request immutability (except payload), builders, test backfill 2010-12-30 23:40:23 +01:00
Adrian Cole e8b2303ba1 added instance states to deltacloud 2010-12-28 19:43:01 +01:00
Adrian Cole 890c34bc5b Issue 428: fixed and verified UnsupportedOperationException propagates 2010-12-23 12:06:30 +01:00
Adrian Cole 62b5366f01 added unit tests for standard exception parsing 2010-12-22 18:01:54 +01:00
Adrian Cole 0423f08a87 issue 432 2010-12-20 21:52:40 +01:00
Adrian Cole 90ee548e8d Issue 412: added computeservice support to elasticstack 2010-12-19 23:52:57 +01:00
Adrian Cole 01eba379d8 Issue 427: started on deltacloud 2010-12-17 19:17:22 +01:00
Adrian Cole 84b76c0606 Issue 421: Updated to google gson 1.6, and patched their classes to support natural parsing of Map<String, Object> 2010-12-06 21:32:34 +00:00
Adrian Cole 73c27dce6d Issue 385: exposed underlying client and means to test 2010-12-05 12:46:34 +00:00
Adrian Cole 1063924f6a fixed issue where body of a Payload arg wasn't being added to the http request 2010-12-04 23:45:03 +00:00
Adrian Cole 19a8ce4db2 Issue 310: added simpledb client 2010-12-04 17:23:38 +00:00
Adrian Cole 51f40c84bf renamed elastichosts to elasticstack 2010-12-03 18:44:39 +00:00
Adrian Cole 243fcfab81 Issue 412: split cloudsigma and elastichosts apis 2010-12-01 22:41:25 +00:00
Adrian Cole 552e2f1193 added scaleup-storage, and workaround as it doesn't yet support bucket location 2010-11-30 15:48:58 +00:00
Adrian Cole 1212f50d51 missing test 2010-11-30 14:07:59 +00:00
Adrian Cole 53ac4751f5 Issue 414: fixed length problem on string payload by eagerly encoding to UTF-8 2010-11-30 11:46:25 +00:00
Adrian Cole 9f51726239 Issue 413: removed use of guice internal @Nullable annotations 2010-11-24 10:43:54 +01:00
Adrian Cole 5b27c07eaf Issue 380: handle redirects with relative paths 2010-11-13 07:28:02 +01:00
Adrian Cole ef0ac61104 Issue 403: add httpresponse to auth exception 2010-11-11 10:57:15 +01:00
Andrew Phillips c97a3e8cc5 Merge remote branch 'origin'
Conflicts:
	core/src/main/resources/rest.properties
	demos/gae-tweetstore-spring/src/main/java/org/jclouds/demo/tweetstore/config/SpringServletConfig.java
	rimuhosting/pom.xml
2010-11-08 11:08:50 +01:00
Adrian Cole 2f5c52d86d Issue 379: patched gson to override default enum parsing 2010-11-08 06:43:17 +01:00
Adrian Cole 8036bf08f0 improved error response code to include url encoded params which makes ec2 a lot easier to debug 2010-11-07 01:45:40 +01:00
Adrian Cole c253c1b77d fixed accidental chunked encoding on 0 length puts 2010-11-07 01:44:46 +01:00
Adrian Cole 7c1f20ba84 back-filled unit test 2010-11-06 10:51:49 +01:00
Adrian Cole 63ca8c1e96 fixed error parsing in azure 2010-11-06 10:49:58 +01:00
Adrian Cole 0c690f686f Issue 396: added peer1-storage provider 2010-11-06 09:44:05 +01:00
Andrew Phillips 81c954c26c Merge remote branch 'origin' 2010-11-01 18:12:38 +01:00
Adrian Cole 5385374ddb fixed terremark error handling 2010-10-31 14:41:08 -07:00
Adrian Cole 3321d8bcf6 Issue 390: fixed osx java update 2010-10-29 14:17:59 -07:00
Adrian Cole 7b92eb3353 added missing Copyright from derived files 2010-10-29 10:22:46 -07:00
Adrian Cole f9a233274f Issue 376: unchecked cast 2010-10-26 21:02:33 -07:00
Adrian Cole b306573021 Issue 369: reduced log message when wire is turned on 2010-10-26 20:55:34 -07:00
Adrian Cole a9fe466614 ensured credentials compare equivalent in subclasses 2010-10-26 20:16:24 -07:00
Adrian Cole 6bb9d101d1 Issue 389: workaround where java urlconnection doesn't set content-length header when it should 2010-10-26 18:36:32 -07:00
Adrian Cole e2a8185c10 removed last commit 2010-10-26 13:16:42 -07:00
Adrian Cole 48fdaaf21a added pool code adapted from arquillian 2010-10-26 11:38:23 -07:00
Adrian Cole b08abc6745 refactored ssh connections so that they can be shared across views 2010-10-26 11:37:13 -07:00
Andrew Phillips a4e3d7ead3 Merge remote branch 'origin'
Conflicts:
	core/src/main/resources/rest.properties
2010-10-26 08:34:21 +02:00
Adrian Cole fb93e81301 refactored to create typed contextspec objects 2010-10-24 22:59:01 -05:00
Adrian Cole f5729cfb4e change to choose the first ec2 region when a match cannot be found 2010-10-24 19:28:28 -05:00
Adrian Cole 46938731a5 Issue 385: refactored internals so that creating new compute providers is much easier 2010-10-22 21:36:08 -05:00
Adrian Cole 464bca0ec1 Issue 385: started work on example compute provider that is backed by library, not http 2010-10-19 17:08:11 -05:00
Adrian Cole 49b88183d2 refactored compute provider implementation 2010-10-17 18:17:24 -07:00
Adrian Cole a9de959146 Issue 377: refactored value classes and tests so that we could test and implement credential storage 2010-10-16 22:24:22 -07:00
Andrew Phillips 004cce88fd Merge remote branch 'origin' 2010-10-15 22:55:38 +02:00
Adrian Cole dfa5413671 added missing async config for gae 2010-10-15 13:12:47 -05:00
Andrew Phillips e1f1e39218 Merge remote branch 'origin' 2010-10-01 21:01:27 +02:00
Adrian Cole 17e4b779b4 cleaned up test cases and allowed basic auth to be instantiated via new 2010-10-01 16:08:15 +01:00
Andrew Phillips c08b50e860 Line endings 2010-09-27 11:11:58 +02:00
Adrian Cole 1981b15837 regressions for beta-7 2010-09-19 19:12:44 -07:00
Adrian Cole 53f4bec356 Issue 361: normalize test properties 2010-09-19 13:30:11 -07:00
Adrian Cole 3639af0f12 Issue 353: refactored payload/blob so that contentMetadata is a type. 2010-09-19 02:15:03 -07:00
Adrian Cole ac9a642cd3 Issue 353: added disposition, encoding, language to blob and transient blobstore 2010-09-18 19:38:14 -07:00
Adrian Cole 50a44b91c4 fixed content-disposition tests 2010-09-18 18:51:13 -07:00
Adrian Cole a8852e54f9 fixed content-disposition tests 2010-09-18 18:43:33 -07:00
Rainbowbreeze 4c2ff1ea63 Added futher implementation for content disposition 2010-09-17 18:05:13 +02:00
Rainbowbreeze 5d8f3bdb37 added tests for content-disposition, first step 2010-09-17 11:03:36 +02:00
Rainbowbreeze 3d4d1301e0 merged conflicts 2010-09-17 10:35:11 +02:00
Adrian Cole 6f3b20d9c9 Issue 355: initial cut of nova support 2010-09-15 19:12:21 -07:00
rainbowbreeze bf96564582 added additional properties to Payload for content disposition management 2010-09-15 12:39:02 +02:00
Rainbowbreeze 9cc80ca7aa added filesystem provider 2010-09-14 11:17:21 +02:00
Adrian Cole f068a06354 Issue 352: refactored request signing 2010-09-13 18:24:16 -07:00
Adrian Cole 198eeec3d9 added volume to hardware object, added signed blob support, added example of how to use signed blobs with computeservice 2010-09-12 02:27:42 -07:00
Adrian Cole ec1160f2a7 Issue 342: tests that guarantee we know if an http engine supports untrusted certs 2010-09-10 21:32:46 -07:00
Adrian Cole 6a8382773e Issue 346: fixed executor doesn't close problem 2010-09-10 17:47:24 -07:00
Adrian Cole 53adab1ab4 Issue 348: replaced custom-packaged resteasy with jersey-core 2010-09-10 15:40:04 -07:00
Adrian Cole 4c0fc5d0e0 Issue 176: remove interim vcloud express support 2010-09-08 18:53:38 -07:00
Adrian Cole 0b11e7d652 Issue 191: added chef bootstrap 2010-09-03 01:27:51 -07:00
Adrian Cole fa8386b357 fixed rsa private key -> pem issue 2010-09-02 01:32:16 -07:00
Adrian Cole caf38ac875 lowered the debug level 2010-08-31 13:55:27 -07:00
Adrian Cole 0038733646 Issue 280: added operating system and started parsing ip addresses from api 2010-08-25 00:12:33 -07:00
Adrian Cole e726d74a9d added means to supply default parameters to a MapBinder 2010-08-24 10:45:27 -07:00
Adrian Cole f2b074e2a5 added test for negative timezones 2010-08-23 21:29:20 -07:00
Adrian Cole c08fb5ddfd Issue 280: converged 0.8 and 1.0 tasks 2010-08-23 21:28:01 -07:00
Adrian Cole a87747a6b2 Issue 343 removed buggy hosting.com vcloudexpress 2010-08-22 21:47:36 -07:00
Adrian Cole 5015c169e4 moved io out of injector and into supplier code 2010-08-22 21:25:18 -07:00
Adrian Cole df50812b53 Issue 342: implemented self-signed cert option for default http service 2010-08-20 13:56:05 -07:00
Adrian Cole 3657e066f4 Issue 280: separated out VCloudExpress specific classes from the 1.0 stuff 2010-08-19 16:04:11 -07:00
Adrian Cole 0d06623dcf Issue 341: bluelock-vcloudexpress, bluelock-vclouddirector 2010-08-19 13:00:44 -07:00
Adrian Cole 8efea1b42d Issue 337: support non-standard http methods 2010-08-18 10:49:33 -07:00
Adrian Cole df6fddb49d Issue 334: started on cloudwatch, which is documented here: http://code.google.com/p/jclouds/wiki/EC2?#Monitoring_(Cloud_Watch) 2010-08-16 12:35:25 -07:00
Adrian Cole 22e10f84a6 Issue 306, Issue 327: more progress unraveling vcloud URI-based operations 2010-08-13 20:11:09 -07:00
Adrian Cole 4b76982261 Issue 191: added in-memory chef-client; use provider: transientchef 2010-08-12 18:53:51 -07:00
Adrian Cole 420503d32e updated and corrected license headers 2010-08-12 16:04:26 -07:00
Adrian Cole 7a593a1630 added WriteTo interface for streaming puts 2010-08-11 02:13:28 -07:00
Adrian Cole 1ec0c40c95 added endpoint parser that can collaborate with multiple parameters 2010-08-09 01:26:59 -07:00
Adrian Cole 10c2a0e36b refactored retry/shortcircuit logic from vcloud as it is also used in aws 2010-08-08 17:46:00 -07:00
Adrian Cole 1bb15418fe reduced casting on xml handlers 2010-08-08 13:08:50 -07:00
Adrian Cole ef86f2da1b Issue 274: updated to latest guice 2010-08-05 19:04:15 -04:00
Adrian Cole 55e7b82ba8 added json escape utility 2010-08-05 19:03:10 -04:00
Adrian Cole c2c15ce633 addded shortcuts for Stringified certificates and keys 2010-08-03 14:32:29 -04:00
Adrian Cole 0f60364ba7 disabled brittle test 2010-08-03 14:31:30 -04:00
Adrian Cole d79eb21e69 adjusted perftest code 2010-08-01 07:56:57 -07:00
Adrian Cole 6f180ddb4e Issu 301: refactored utilities that depend on guava. introduced Crypto, CryptoStreams, and more Payloads to help deal with encrypted payloads and headers 2010-08-01 02:07:53 -07:00
Adrian Cole a9a0c53fb2 Issue 191: added RSA PEM parsing to encryptionUtils 2010-07-30 23:58:31 -07:00
Adrian Cole 34518f54ba Issue 325: massive refactor in order to stop serializing native async http client requests 2010-07-30 01:26:55 -07:00
Adrian Cole 909fc0d79a switched off performance test and removed unused class 2010-07-28 21:22:10 -07:00
Adrian Cole 8c0e387b3e added performance research tests 2010-07-28 19:38:22 -07:00
Adrian Cole 798399dac4 removed unused class 2010-07-28 19:37:38 -07:00
Adrian Cole 503eb869f8 Issue 320: added utils().json() to access json parsing 2010-07-28 11:54:54 -07:00
Adrian Cole ad4ae74066 Issue 320: removed some other tie-ins to Gson 2010-07-28 11:53:27 -07:00
Adrian Cole ca247efaed Issue 324: added properties for (jclouds|provider).modules, (jclouds|provider).credential.resource, and (jclouds|provider).credential.file in order to support rewiring jclouds http and other components via properties files, and extract out where credentials are obtained from 2010-07-28 00:41:13 -07:00
Adrian Cole d884978a98 fixed NPE when httpresponseexception is caused by an io exception 2010-07-27 17:04:05 -07:00
Adrian Cole 360343020a Issue 323: started work on async client 2010-07-26 23:02:38 -07:00
Adrian Cole d476016bd5 Issue 322: switched to Suppliers.memoizeWithExpiration 2010-07-26 14:57:37 -07:00
Adrian Cole d120b139fc Issue 164: initial commit for slicehost. note this is not complete 2010-07-26 02:38:18 -07:00
Adrian Cole 35a766c0fa Issue 320: introduced Json object to decouple us from gson libraries 2010-07-25 17:40:44 -07:00
Adrian Cole c40a14012a enhanced to make jsonball store primitives better 2010-07-23 15:50:56 -07:00
Adrian Cole 7c3518f7ff Issue 191: changed encryption service so that it can decode a PEM key. updated chef to work in google appengine 2010-07-22 15:35:03 -07:00
Adrian Cole 13fa341a0e fixed conflict where multiple classes with the same method name and args tripped over themselves. enhanced trace logging and authz exception 2010-07-21 15:25:22 -07:00
Adrian Cole 7c2b014f25 Issue 191: added json literal support with default mapping on JsonBall class; updated chef implementation 2010-07-21 01:50:44 -07:00
Adrian Cole becf96d822 fixed exception parsing to return the correct parent exception 2010-07-20 16:24:39 -07:00
Adrian Cole 89ae22364c fixed to allow json binding as well parse dates that come in as -1 2010-07-20 16:24:04 -07:00
Hugo Duncan 2fd0ac55b5 Added passing of constucted modules to compute-service options 2010-07-19 16:31:25 -04:00
Adrian Cole 887bb7adfe Issue 316: refactored ssh to use Payload object; deprecated non-payload methods 2010-07-19 13:08:12 -07:00
Adrian Cole cd5fddf1f4 normalized all list operations to Set<Thing> and on 404 they return an empty list 2010-07-17 19:46:43 -07:00
Adrian Cole f7df4af65b added windows bundling functionality to ec2 2010-07-17 10:57:46 -05:00
Adrian Cole 1d0949dec5 Issue 315: added auto-deserialization of json into java objects and new @Unwrap annotation; Issue 311: fixed template parsing for new cluster instance in ec2; Issue 191: started adding node support to chef 2010-07-17 01:30:37 -05:00
Adrian Cole 1274a25e17 Issue 301: added Closeable to payload so that it works better in clojure 2010-07-13 18:27:45 -05:00
Adrian Cole 4098c4bd0a regression in last commit; guice child injector locks up under threading; also added new ec2 instance size 2010-07-13 16:56:38 -05:00
Adrian Cole 891484a2aa Cleaned up scoping of delegated methods 2010-07-13 02:39:52 -05:00
Adrian Cole 436037c7be Issue 191: updated chef to use new utilities 2010-07-12 14:38:14 -07:00
Adrian Cole 41e3ec6709 Issue 27: got eucalyptus and walrus working, after refactoring error handling 2010-07-11 01:26:56 -07:00
Adrian Cole e8d0a11cda Issue 301: refactored http payload and rewrote crufty tests 2010-07-09 21:13:11 -07:00
Adrian Cole 31d2da3c6f Issue 301: removed encryption service dependency from blob and added helper methods to blobstore.clj 2010-07-08 10:42:18 -07:00
Adrian Cole da3baf523c Issue 301: refactored http payload data from blob -> core, added content length, type, md5; fixed length bug in ec2 and added more tests to ensure this doesn't happen again 2010-07-08 03:46:34 -07:00
Adrian Cole 47a843dd24 fixed regression on http headers 2010-07-06 22:41:44 -07:00
Adrian Cole 204c093753 refactored encryption service and exposed sha256 routine 2010-07-06 18:21:11 -07:00
Adrian Cole 2dda46696a changed to not use deprecated class 2010-07-06 18:20:48 -07:00
Adrian Cole 8703c4a7a4 Issue 199: ning examples 2010-07-06 14:37:40 -07:00
Adrian Cole bff39d81f0 created a test case for rest context factory 2010-07-06 13:30:28 -07:00
Adrian Cole 504f93e8b1 made rest context factory work with credentials present in properties 2010-07-06 13:29:46 -07:00
Adrian Cole c443309801 added special parameter: jclouds.identity/jclouds.credential for use when the factory is given no identity/credential parameters. fixed aws demo 2010-07-06 09:01:29 -07:00
Adrian Cole 88d64ee76c Issue 286: normalized names trmk-vcloudexpress -> TerremarkVCloudExpressClient; tmrk-ecloud -> TerremarkECloudClient 2010-07-05 23:46:33 -07:00
Adrian Cole d6c0cbff80 Issue 286: started ecloud support 2010-07-03 02:49:08 -07:00
Adrian Cole f29d003914 Issue 299: converted 409 -> IllegalStateException and mapped AWS and vCloud exceptions 2010-07-02 23:19:11 -07:00
Adrian Cole 85b5bd48f1 loosened dependency on the GeneratedHttpRequest class 2010-07-02 16:47:46 -07:00
Adrian Cole 9bac52d315 Issue 298: fixed regression on authorizationexception not propagating, and also missing gogrid file 2010-07-02 12:05:41 -07:00
Adrian Cole 714a459796 Issue 297: exposed utilities like encryption, logging, date, threads, and ssh to context objects 2010-06-29 15:45:59 -07:00
Adrian Cole caceae90bd Issue 293: normalized on identity/credential vocab 2010-06-28 11:33:41 -07:00
Adrian Cole 8df7468af3 fixed name to Identity 2010-06-28 05:27:01 -07:00
Adrian Cole 27f4f69b4c Issue 293: refactored code to provide for api versions and coherent properties for authorization 2010-06-28 05:07:36 -07:00
Adrian Cole 055c56dc08 Issue 292: added simple http client 2010-06-25 10:45:15 -07:00
Adrian Cole c79636d7b8 refactored exception handling 2010-06-22 15:23:44 -07:00
Adrian Cole d6e06d5272 refined basic auth 2010-06-22 15:23:07 -07:00
Adrian Cole 80e22b0322 allowed endpoint property to be passed on createContext 2010-06-15 22:16:56 -04:00
Adrian Cole cace0ce00e Issue 230 fixed ibm timeouts 2010-06-15 22:15:14 -04:00
Adrian Cole aabaae2a51 Issue 283 added
client.templateOptions().blockUntilRunning(false) and Issue 284: consolidated timeout properties into ComputeServiceConstants
2010-06-14 23:51:11 -04:00
Adrian Cole f25100fe9b Issue 191: corrected multipart form and added cookbook signing to chef client 2010-06-12 17:17:42 -07:00
Adrian Cole 306bb0ebde Issue 191: started cookbook support; refactored multipart form code 2010-06-11 19:02:19 -07:00
Adrian Cole 50b1aa3cae Issue 230: corrected URI parsing so that we can access ibm image manifests 2010-06-09 22:46:25 -07:00
Adrian Cole ab5e8b3ab4 added new annotation @PartParam for multipart form support 2010-06-09 17:00:18 -07:00
Adrian Cole fae1a1930e added multipart form binder 2010-06-09 13:50:40 -07:00
Adrian Cole d06e8d2678 Issue 276: revise gogrid api 2010-06-09 12:46:01 -07:00
Adrian Cole 9b9f9c4e9c Issue 230: more progress on ibm 2010-06-08 12:54:52 -07:00
Adrian Cole 9dcaa272ec fixed generic type switch 2010-06-08 11:56:48 -07:00
Adrian Cole f624dbe3f8 fixed bug in computservice types and Issue 230: added instance support for ibm cloud. 2010-06-07 12:23:16 -07:00
Adrian Cole 84ad021268 added retry handler for io exceptions, created modular rest client, swapped generic type args on restcontext 2010-06-06 23:01:48 -07:00
Adrian Cole 7e12d36870 Issue 191: started on chef api support 2010-06-03 18:35:59 -07:00
Adrian Cole f297c9d7d5 Banned use of InetAddress and InetSocketAddress as these break google appengine. Introduced IPSocket class instead 2010-05-25 00:42:27 -07:00
Adrian Cole 6a7b9a0a86 fixed demos 2010-05-24 22:44:43 -07:00
Adrian Cole 103098d354 adjusted default executor to start at one thread 2010-05-24 00:12:30 -07:00
Adrian Cole c8cd0b0f2e Issue 260: fixed executors per kimchy's advice; also fixed regression in a lot of live tests 2010-05-23 22:26:14 -07:00
Adrian Cole a4bdd433f4 Issue 260: fixed i/o threadpool to min=max; refactored session expiry logic. Issue 258 refactored load balancer code 2010-05-23 15:39:49 -07:00
Adrian Cole 050af3c3f7 Issue 176: size can now test compatibility with images; refactored vcloud config logic; updated to support latest bluelock 2010-05-22 22:43:28 -07:00
Adrian Cole 5af9bdd34f Issue 254: correct docs 2010-05-20 20:05:14 -07:00
Adrian Cole efc47969d9 Issue 254: distinguish between id and providerId 2010-05-20 19:36:25 -07:00
Adrian Cole dfdbc44700 Issue 257 naming constraints on s3 buckets 2010-05-19 11:27:51 -07:00
Adrian Cole 566aa9f0d0 Issue 255, 256: lazy parsing of images so you can specify imageId() that isn't in the default owner list 2010-05-18 16:28:44 -07:00
Adrian Cole 6c14ae1831 Issue 244: fixed jsch bug and refactored ssh error handling 2010-05-10 17:41:36 -07:00
Adrian Cole 239519c8ca added exceptions to ssh commands and changed interface to not index on id, since ids are not guaranteed unique 2010-05-04 15:01:01 -07:00
Adrian Cole 1349a8bdd1 Issue 88: remove buggy httpnio module; also remove outdated codegen mod since we now have maven archetypes 2010-05-03 12:09:59 -07:00
Adrian Cole a1c7ccfd3f Issue 241:Add provider to the Location hierarchy and make getParent a Location object; also fixed compute services where broken and added ssh logging for runscript 2010-05-03 01:04:48 -07:00
Adrian Cole f4f32e07e0 throw root exception for login failures, not provisioningexception 2010-04-30 13:27:55 -07:00
Adrian Cole e3a816e6cd switch to old google collections syntax to avoid conflict between guava and google collections 2010-04-26 23:46:22 -07:00
Adrian Cole 021e5e18e0 Issue 203 normalized location across blobstore and compute 2010-04-25 17:38:21 -07:00
Adrian Cole 10af8cdae8 Issues 203 234 235, add visibility to image from nodemetadata, update to stable version of guava, harden tests, normalize location 2010-04-25 00:46:54 -07:00
Adrian Cole 82bb9e98f7 updated ec2 to support instances without a keypair to exist and not break computeservice 2010-04-24 11:09:47 -07:00
Adrian Cole 23a74bbbe7 removed jcip dep 2010-04-16 17:06:04 -07:00
Chas Emerick 82f6b1c777 refactor out clojure-contrib :require and :use declarations to provide clojure 1.1/1.2 compatibility 2010-04-16 11:20:04 -04:00
Adrian Cole dedd8f8270 fixed templateBuilder logger and also fixed copyright headers 2010-04-13 23:40:56 -07:00
Adrian Cole 69ddfb38ca Issue 223:Work nicely with JAXP 1.4 2010-04-13 13:56:51 -07:00
Alex Yarmula 882bf5f651 added runScriptOnNodesWithTag methods. theoretically it is supported for any cloud as a part of compute service. (issue 222) 2010-04-10 19:11:01 -07:00
Alex Yarmula 6c26047e6a added support for ning http client 2010-04-03 11:02:46 -07:00
Alex Yarmula 9b510a9efe corrected BaseJettyTest: by HTML spec, HEAD requests shouldnt get any body in response 2010-03-26 12:15:17 -07:00
Alex Yarmula 13da9016e0 removed the finalizer from basePayloadEnclosingImpl. closing the stream will be handled individually by the stream wrapper 2010-03-25 12:26:17 -07:00
Adrian Cole de359a52cc Issue 214: leaned test a bit 2010-03-24 17:00:57 -07:00
Alex Yarmula 9b6dbd59ed Merge branch 'master' of github.com:jclouds/jclouds 2010-03-24 14:05:28 -07:00