2768 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
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
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
b6bbb9c1c6 fixed typo 2011-04-28 17:24:36 -07:00
Adrian Cole
a3dc6cdd03 Merged pull request #24 from kedardave/master.
Implemented add/delete firewall rule for savvis-symphonyvpdc
2011-04-28 15:06:31 -07:00
Kedar Dave
6c370f558d implemented poweroff, poweron for vm's, added missing tests for firewall operations. 2011-04-28 16:32:54 -05:00
Adrian Cole
ce212001d8 nova out of sandbox 2011-04-28 11:53:45 -07:00
Kedar Dave
44b0eefd87 cleanup 2011-04-28 09:21:27 -05:00
Kedar Dave
f22ac3bffa implemented add/delete firewall rule for savvis-symphonyvpdc 2011-04-27 18:01:41 -05:00
Adrian Cole
c638f9f317 moved nova out of sandbox so that others can test 2011-04-27 08:24:03 -07:00
Adrian Cole
8c644108db Merge branch 'master' of https://github.com/dmitri-b/jclouds
* 'master' of https://github.com/dmitri-b/jclouds: (51 commits)
  Copyrignt header added, warnings in test are supressed of fixed
  Update maven surefire plugin for live tests
  test for integer references in json
  reboot type is set to soft
  Update maven surefire plugin for live tests
  Fix for support maven surefire plugin test runner
  Fix env to properties
  Fix for support maven surefire plugin test runner
  Fixes in live tests
  Fixes in live tests
  Fix after merge
  Live tests fix
  Fixes in live tests
  unit test fixes
  test classes for development
  Fixes in live tests
  Fixes in live tests
  Fixes in live tests
  Unit test fixes
  Fixes in live tests
  ...
2011-04-27 07:54:07 -07:00
Dmitri Babaev
01706954dd Copyrignt header added, warnings in test are supressed of fixed 2011-04-27 18:11:52 +04:00
Victor Galkin
b16a74eb47 Update maven surefire plugin for live tests 2011-04-26 20:58:05 +04:00
Dmitri Babaev
b307a55b9f test for integer references in json
maven-remote-resources-plugin is tuned off due to incorrect work in Eclipse
2011-04-26 20:31:47 +04:00
Dmitri Babaev
b11e02d4a8 reboot type is set to soft
minor template creation checks
2011-04-26 20:31:46 +04:00
Victor Galkin
4a25594fc8 Update maven surefire plugin for live tests 2011-04-26 20:23:35 +04:00
Victor Galkin
63c7f9c319 Fix for support maven surefire plugin test runner 2011-04-26 19:34:07 +04:00
Victor Galkin
bb09790060 Fix env to properties 2011-04-26 18:41:23 +04:00
Victor Galkin
bacafb98dc Fix for support maven surefire plugin test runner 2011-04-26 18:19:12 +04:00
Adrian Cole
f8497f1341 fixed signature in cloud.com 2011-04-25 16:21:10 -07:00
Victor Galkin
cfa8b1497a Fixes in live tests 2011-04-25 22:21:34 +04:00
Adrian Cole
08a3cc0275 Issue 540:fixed NPE when overriding aws-s3.endpoint with a regional one 2011-04-24 16:00:37 -07:00
Adrian Cole
796c441b73 read only admin going away in 2.2.5 cloudstack 2011-04-24 16:00:00 -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
bd5da6104d added account features to cloudstack 2011-04-24 01:02:20 -07:00
Adrian Cole
440660335d added more tests to Throwables 2011-04-23 16:56:34 -07:00
Adrian Cole
b37e00fffe Issue 538: removed redundant http tests which are not working due to test classpath issues 2011-04-23 16:56:09 -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
Andrew Phillips
4bcc6a753b 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 2011-04-23 18:33:38 +01:00
Andrew Phillips
10aec3b603 Changed project description to match extension -> driver change 2011-04-23 17:21:26 +01:00
Andrew Phillips
f0629cd726 Merge branch 'master', remote branch 'origin' 2011-04-23 17:21:08 +01:00
Victor Galkin
a452ca086e Fixes in live tests 2011-04-22 23:23:26 +04:00
vicglarson
59c4ae8ede Fix after merge 2011-04-22 20:34:13 +04:00
vicglarson
8c8161ec79 Live tests fix 2011-04-22 20:30:16 +04:00
vicglarson
b9a5397a45 Fixes in live tests 2011-04-22 20:19:29 +04:00
Dmitri Babaev
27c1162eaf unit test fixes 2011-04-22 18:01:59 +04:00
Dmitri Babaev
4198f23f4b test classes for development 2011-04-22 17:14:56 +04:00
vicglarson
78db8f1bfc Fixes in live tests 2011-04-22 17:14:55 +04:00
vicglarson
d065f61b92 Fixes in live tests 2011-04-22 17:12:55 +04:00
vicglarson
3899ff2f99 Fixes in live tests 2011-04-22 17:11:35 +04:00
Dmitri Babaev
1035516c2d Unit test fixes 2011-04-22 17:10:34 +04:00
vicglarson
d8a721c175 Fixes in live tests 2011-04-22 17:08:12 +04:00
Dmitri Babaev
06b99c1cdc unit test fixes 2011-04-22 17:06:53 +04:00
vicglarson
7f02824928 Fixes in live tests 2011-04-22 17:03:07 +04:00
vicglarson
f52f331be9 Fixed tests. Added affinity id and dates. 2011-04-22 17:02:01 +04:00
Dmitri Babaev
69462fb51c unit test fixes 2011-04-22 16:51:29 +04:00
Dmitri Babaev
cf82aab594 URI is used to calculate the server image and hardware
test fixes
2011-04-22 16:45:24 +04:00