Commit Graph

875 Commits

Author SHA1 Message Date
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
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
Gustavo Morozowski 557c0d75fe moved maven-bundle-plugin instructions to top project pom 2011-05-16 09:14:12 -03: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 ddc514d602 Issue 42: added osgi fragment plugin to poms 2011-05-15 12:08:53 -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 1b532cb22a Updated the core project POM to exclude ProviderMetadata plugins from the
tests-jar to avoid corrupting the classpath as these classes are only
necessary for testing the core provider loading mechanisms.

* core/pom.xml: Added a maven-jar-plugin configuration that will exclude the
   test providers and the ServiceLoader service file that allows locating them.
2011-05-12 00:32:25 -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