Commit Graph

732 Commits

Author SHA1 Message Date
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
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
Carlos a9fc927938 Add some repos still needed and use javax.inject coordinates in central repo 2011-02-17 13:31:33 +01:00
Carlos e7daafb101 Merge upstream 2011-02-17 11:55:39 +01: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
Andrew Phillips af16b30b45 Renamed core-jar-with-dependencies-descriptor -> jar-with-dependencies-descriptor
Renamed jar-with-dependencies-descriptor -> jar-with-dependencies-no-core-no-apis-descriptor
Added a provided-dependencies-descriptor to the default assemblies run with -Pdistribution
2011-02-01 09:34:14 +01: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
Carlos 9254305248 Merge remote branch 'upstream/master' 2011-01-27 11:22:06 -08:00
Adrian Cole 81796fafb0 scope ec2 image parsing to providers 2011-01-26 16:30:44 -08:00
Carlos fe9922acce Git merge upstream/master 2011-01-25 20:04:37 -08:00
Carlos e709a39382 Upgrade guice to 3.0-rc2 which is already in Maven central 2011-01-25 19:16:56 -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 0455e0f509 refactored runScript logic 2011-01-23 12:19:28 -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 a31332904f updated to final release of jersey 1.4 2011-01-10 08:46:22 -08:00
Adrian Cole 679d16441b Issue 446: update to latest guice 2011-01-10 08:31:59 -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
Carlos cc881ae1b8 Git merge upstream/master 2011-01-03 21:14:27 +01:00
Carlos ad266c0f49 Remove all external repos for releases. Rely only on Maven Central 2011-01-03 21:09:43 +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