Commit Graph

2826 Commits

Author SHA1 Message Date
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 c621d53799 Issue 565: run script on a distinct node 2011-05-16 16:56:14 -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 533045edd7 Issue 561:add location_id to byon provider 2011-05-14 22:36:07 -07:00
Adrian Cole 99d4e3472c Issue 560:update to snakeyaml 1.8 2011-05-14 19:12:04 -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 e29bad7f42 Merge pull request #33 from juergenhoetzel/master
Clojure bindings have invalid namespace imports
2011-05-14 09:47:11 -07:00
Juergen Hoetzel 734bfc2b94 fix invalid package/class imports
Caused by commit eedc94948e (Issue 440:
moved ec2 into its own api module)
2011-05-14 13:07:56 +02: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 20e3389a2d Issue 552:VCloudClient getNetwork returns java.lang.NullPointerException: internalIP 2011-05-12 17:42:52 -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
Mattias Holmqvist 91cb237c8a Renamed predicate in-group to in-group? 2011-05-13 00:10:34 +02:00
Mattias Holmqvist 484f2dd7e2 Merged from upstream 2011-05-13 00:07:33 +02:00
Mattias Holmqvist e71c88a1a4 First version of run-script-on-nodes-matching. Added some missing code to ssh_test to stub out ssh in test. 2011-05-12 23:10:45 +02:00
Jeremy Whitlock 259159708d Implemented the provider metadata for the aws-ec2 cloud provider.
[in providers/aws-ec2/src/main]

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

* main/resources/META-INF/services/org.jclouds.providers.ProviderMetadata: Added.

[in providers/aws-ec2/src/test]

* java/org/jclouds/providers/AWSEC2ProviderTest.java: Added.
2011-05-12 00:41:45 -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 cff322803a changed to use vcloud x-vcloud-authorization header 2011-05-11 18:07:59 -07:00
Mattias Holmqvist 73deebebbf Removing one more unecessary check in nodes-test 2011-05-12 02:06:46 +02:00
Mattias Holmqvist 19672715e0 Added example test for compound predicates with and macro 2011-05-12 01:41:48 +02:00
Mattias Holmqvist cd87342800 Removed unecessary check for empty? in nodes-test 2011-05-12 01:40:43 +02:00
Adrian Cole 6ca5a99484 fixed network predicates 2011-05-10 17:16:53 -07:00
Mattias Holmqvist f8b4f3e23e Fixed one more issue with clean-stub-fixture 2011-05-11 01:47:19 +02:00
Mattias Holmqvist 6c4294ed1c Changed the order of args for some fns in compute2.clj. ComputeService should be the first arg 2011-05-11 00:55:21 +02:00
Mattias Holmqvist cb5f8ab0e0 Inlined the in-group predicate in test 2011-05-11 00:48:28 +02:00
Mattias Holmqvist 14f372be3b Fixing clean-stub-fixture to call destroy-node correctly 2011-05-11 00:42:32 +02:00
Adrian Cole 67d5d8f1e7 corrected syntax for network commands in cloudstack 2011-05-09 22:17:03 -07:00
Adrian Cole de463ffb8e updated tests in cloudstack and added network create/destroy 2011-05-09 22:00:10 -07:00
Adrian Cole 6548fe1212 fixed rackspace loadbalancers where DELETE requires Accept */* 2011-05-09 15:54:04 -07:00
Adrian Cole a850330599 added jclouds-allloadbalancer module 2011-05-09 01:28:17 -07: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 9e4cb6a758 made options for selecting nodes explicit in clj test 2011-05-06 15:49:18 -07:00
Adrian Cole adafc4f5bf fixed merge issue 2011-05-06 09:35:09 -07:00
Adrian Cole 3a0f6a62d8 Merge pull request #25 from mattiasholmqvist/master
First version of compute2 Clojure API.
2011-05-06 00:39:46 -07:00
Adrian Cole 93633a630d Merge pull request #28 from grkvlt/master
thanks for this
2011-05-06 00:38:38 -07:00
Adrian Cole c8869ef964 Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  [issue 531] Fixed some broken module site links with <site> overrides and switched to the latest maven-site-plugin
  [issue 531] Archetypes now inherit from jclouds-project, which fixes the site structure
2011-05-06 00:37:18 -07: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 3a690186f4 refactored cloudstack tests 2011-05-06 00:30:14 -07:00
Andrew Phillips 1cde0e54be [issue 531] Fixed some broken module site links with <site> overrides and switched to the latest maven-site-plugin 2011-05-03 14:44:31 -04:00
Andrew Phillips a076be14b0 [issue 531] Archetypes now inherit from jclouds-project, which fixes the site structure 2011-05-03 14:44:30 -04:00
Andrew Donald Kennedy 992f204ecc Remove GoGrid IpType option, but leave TemplateOptions class for future expansion 2011-05-02 23:10:56 +01:00
Mattias Holmqvist 4191df74a8 Removed nil extension from Predicate protocol and added com.google.common.base.Predicate extension. 2011-05-03 00:09:12 +02:00