Commit Graph

734 Commits

Author SHA1 Message Date
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
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 835b5c6944 Issue 522:update to jersey 1.6 2011-04-08 22:13:22 -07:00
Adrian Cole fd1d6ab88a Issue 521:update to final guice 3.0 2011-04-08 21:47:04 -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
Carlos b5811c680d Ensure no snapshots are downloaded from java.net repository 2011-03-16 18:54:51 +01:00
Carlos 49eb1bffaf Remove oauth repo now that it's in Maven Central repository 2011-03-16 12:24:07 +01:00
Carlos eb1fd05bda Remove gson repo now that gson is in Maven Central 2011-03-15 20:18:54 +01: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