Commit Graph

220 Commits

Author SHA1 Message Date
Adrian Cole 8900413995 merge 2012-06-16 19:06:26 -04:00
Adrian Cole d980b4fd42 changed test poms to use provider.template and provider.ec2-template accordingly 2012-06-15 23:35:10 -04:00
Adrian Cole ef10cf29ee [maven-release-plugin] prepare for next development iteration 2012-06-12 10:19:07 -07:00
Adrian Cole b00929f901 [maven-release-plugin] prepare release jclouds-1.5.0-beta.2 2012-06-12 10:19:04 -07:00
Adrian Cole 3114b652fc merged changes master 2012-06-11 17:30:43 -07:00
Adrian Cole dcad558752 Issue 966: removed pid bracketing 2012-06-08 17:44:16 -07:00
Adrian Cole bcd3d50ad6 Issue 956:add getImage by id to ComputeService 2012-06-04 16:54:49 -07:00
Adrian Cole 5a3f6011a2 removed junit test dependency 2012-06-03 17:26:57 -07:00
Ioannis Canellos b078adc3ce Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin. 2012-06-03 19:41:54 +03:00
Adrian Cole 96773b8a1b Issue 952:add status field to image 2012-05-30 21:22:10 -07:00
Adrian Cole 07c2c24721 Issue 949:Introduce: ComputeMetadataIncludingStatus; Deprecate NodeState -> NodeMetadata.Status 2012-05-29 20:41:10 -07:00
Adrian Cole d724c71894 [maven-release-plugin] prepare for next development iteration 2012-05-22 23:37:36 -06:00
Adrian Cole 610887e5da [maven-release-plugin] prepare release jclouds-1.5.0-beta.1 2012-05-22 23:37:33 -06:00
Adrian Cole 90a559b809 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (148 commits)
  cloudservers test fixes
  more compatible delimiter as - doesn't work in rackspace
  cleanup ninefold properties
  removed duplicate test class
  Fixing a few more %d format errors.
  Issue 915: supports AdminAccess.adminHome, and UserAdd.home
  image extension related classes under extensions package
  image extension related classes under extensions package
  unraveled injector a bit
  cloudstack logging working
  Initial CloudStack 3.0 compatibility work.
  pretty json test
  Issue 936: fixes async multi-part upload of small blob
  fixed NPE
  Issue 938:TemplateBuilderSpec
  fixed tests
  fixed tests
  allow use of tenantId when specified numeric
  aws-ec2 works with tags now
  openstack-nova works with tags now
  ...
2012-05-21 22:37:11 -06:00
Adrian Cole 67d8f9a0f4 image extension related classes under extensions package 2012-05-21 12:39:32 -06:00
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00
Aled Sage 83c9ecc3d8 Issue 858: moved RetryIfSocketNotYetOpen from compute/ to labs/virtualbox/ 2012-05-17 11:29:30 +01:00
Adrian Cole a6cc00e078 Merge pull request #603 from dralves/image-extension-all
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers...
2012-05-10 16:43:27 -07:00
David Ribeiro Alves f63c5a44c6 corrected formating issues and added headers 2012-05-10 09:07:12 +01:00
Adrian Cole d99c18140e cleanup on vbox 2012-05-07 11:51:29 -07:00
Andrew Gaul b0cd47befb Prefer ImmutableMap for static ErrorCode map
Also mark member as final and fix line wrapping.
2012-05-03 15:39:07 -07:00
David Ribeiro Alves 082158ac3f image extension working on hpcloud, virtualbox and aws-ec2, cloudservers implemented but has issues 2012-05-03 03:55:40 +01:00
Andrew Gaul 646f8d8b13 Improve use of Throwables.propagate
Throwing the return value removes some unneeded asserts and return
statements.  Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Adrian Cole eeb085ec49 [maven-release-plugin] prepare for next development iteration 2012-05-01 10:44:39 -07:00
Adrian Cole e02cd8c264 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.6 2012-05-01 10:44:35 -07:00
Adrian Cole c5f6633c52 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (62 commits)
  modernized cloudwatch
  always display some error content
  added tests
  Follow up to f06d273 that addresses pull request comments.
  Follow up to e58d91e that addresses pull request comments.
  Upgrade to Guava 12.0
  Do not set member until we completely validate it
  Prefer unsynchronized StringBuilder
  Adding links to openstack-keystone admin API documentation
  Adding openstack-keystone to labs pom
  Fixing javadocs
  Renaming the service client (user operations) ServiceClient to better match up to Keystone documentation
  Fixing javadocs
  Renaming the service client (user operations) ServiceClient to better match up to Keystone documentation
  Renaming 'ServiceClient's AuthenticationClients to save confusion with user-accessible ServiceClient in keystone 2.0
  Adding unit tests for keystone 2.0 AdminURL supplier
  Adding openstack-keystone to expose additional methods available on keystone api
  Adding AdminURL supplier for keystone 2.0
  Optimize clearContainer for large folders
  Extended support to apis/cloudwatch for getting metrics.
  ...
2012-05-01 10:18:16 -07:00
Andrew Gaul 198d19714e Prefer unsynchronized StringBuilder
A few instances remain due to EasyMock and Matcher.
2012-04-30 09:50:18 -07:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Adrian Cole be7a30593a [maven-release-plugin] prepare for next development iteration 2012-04-24 13:03:09 -07:00
Adrian Cole 7992c4fb0a [maven-release-plugin] prepare release jclouds-1.5.0-alpha.5 2012-04-24 13:03:07 -07:00
Adrian Cole 00fc02736b Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (50 commits)
  wrapper -> view; typo undo
  wrapper -> view
  removed freegeoip, as it hasn't worked in ages
  created base Context class with ProviderMetadata and Identity
  'uniqueVersion' is no longer supported in Maven 3
  Using the Javadoc plugin's 'aggregate-jar' goal instead of 'aggregate' for the jclouds-multi Javadoc build, so the Javadocs are actually attached and deployed
  Modify a warning message to state the problem in full right at the beginning of the message (instead of having the crucial part of the message drifting in the middle of an ocean of toString()ed objects)
  fixed aws-ec2 image parsing
  Issue 905:create openstack-swift api
  functions for regions
  base implemenation of nodepool
  Switch to calling apt-get update before every apt-get install.
  added javadoc
  functions and endpoints for vCloud Director
  bugfix for self-referential loop + test
  Add a live test for swift multipart upload.
  Remove useless comment.
  Remove deub prints and fall back to traditional upload if file is not large enough.
  Enable multipart for HPCloud.
  Use CommonSwiftClient instead of SwiftClient in multipart code.
  ...
2012-04-23 19:40:35 -07:00
Adrian Cole df7d2acbb4 wrapper -> view 2012-04-23 19:14:36 -07:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Andrew Bayer 9b80b984a4 Switch to calling apt-get update before every apt-get install.
I found that the previous "apt-get install || (apt-get update; apt-get
install) didn't work in all cases, but switching to always calling
apt-get update got things working properly.
2012-04-19 13:02:47 -07:00
Adrian Cole 00b1297ec6 [maven-release-plugin] prepare for next development iteration 2012-04-18 17:08:02 -07:00
Adrian Cole 0a52c7bd49 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.4 2012-04-18 17:07:57 -07:00
Adrian Cole 3c948c0320 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  fix covariance/assignability in RestContext<? extends Client> subclasses
  Issue 891: ensure we run apt update when install jdk fails
2012-04-18 15:53:35 -07:00
Adrian Cole 98a205b603 Issue 891: ensure we run apt update when install jdk fails 2012-04-18 15:02:06 -07:00
Adrian Cole e54f33c91a Merge branch 'master' into 1.5.x
* master:
  enum is not a sustainable way to refer to address blocks
  Issue 894:update to guava 12.0-rc2
  make FutureIterables covariant compatible + update tests
  implemented image extension
  Issue 895: Adjusting name and description of openstack-nova-ec2 maven module
  Issue 895: Correcting placement of rest client binding
  Issue 895: Filtering out non-MACHINE images from Nova-EC2 responses (note 2009-04-04 EC2 API didn't support filtering at the machine end)
  Exposing contents of DescribeImagesResponseHandler to subclasses
  Adjusting openstack-nova-ec2 to handle extended volume status fields (by discarding the extra information)
  Exposing fields of CreateVolumeResponseHandler to subclasses
2012-04-18 11:18:27 -07:00
David Ribeiro Alves 05212b75fa implemented image extension 2012-04-18 09:37:44 +01:00
Adrian Cole 48ff7d882c merged latest 2012-04-17 16:49:45 -07:00
Andrew Gaul a3161ba7ba Throw return value instead of returning null
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Adrian Cole 23cb01f977 refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage 2012-04-11 19:47:09 -06:00
Adrian Cole b19d86b7e0 [maven-release-plugin] prepare for next development iteration 2012-04-08 22:58:46 -06:00
Adrian Cole e2bd8ac6c2 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.3 2012-04-08 22:58:41 -06:00
Adrian Cole e686d26ada Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (34 commits)
  Issue 899:NPE on cleanUpIncidentalResourcesOfDeadNodes
  openstack-nova-ec2 errors on authorizing security group to itself, and also needs to auto-allocate elastic ips
  updated error parser to work with Nova EC2 error message
  moved cacheloaders to the correct package
  default to allocate elastic ips on openstack-nova-ec
  more details when image doesn't match
  PresentWhenExtensionAnnotationNamespaceEqualsAnyNamespaceInExtensionsSetTest
  fix Accept header in delete
  fix (unused) createImage http body in 404 test.
  add tests for createImage, switch argument order.
  remove unused import statements.
  create an image from a nova vm instance.
  Issue 891: update to support lucid
  added openstack-nova-ec2 to allcompute
  Updated PlatformServices attribute name for RUN@cloud's TweetStore version
  Updated PlatformServices attribute name for OpenShift's TweetStore version
  ensure tests are tidy, consistent, and clean up after themselves
  refactor out test session to exist on the suite scope
  make adminContext more robust
  refactor out admin tests
  ...
2012-04-08 22:39:13 -06:00
Adrian Cole af3a226b3d Issue 894:update to guava 12 2012-04-02 11:44:10 -07:00
Adrian Cole 8cf71adedf Merge pull request #537 from dralves/vbox-linux
oneiric update and a few other goodies
2012-04-02 07:28:28 -07:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
David Ribeiro Alves 17c1abdb71 updated readme to include paswwordless ssh requirement 2012-04-02 01:15:08 +01:00
David Ribeiro Alves f7f241a12f reverted the preseed and corrected a test to account for multiple masters 2012-04-01 22:07:50 +01:00
David Ribeiro Alves ba7a981a54 added unit test for defaultimagespredicate and corrected preseed 2012-04-01 21:06:07 +01:00
David Ribeiro Alves a715b0e5ba removed mac osx reference 2012-04-01 00:50:29 +01:00
David Ribeiro Alves b62ef9ba9e updated ubuntu, implemented multiple images for guests, consolidated jetty and enforced masters creation on itests 2012-04-01 00:03:11 +01:00
Adrian Cole 03090fb01e [maven-release-plugin] prepare for next development iteration 2012-03-31 07:54:05 -07:00
Adrian Cole ac48975c2e [maven-release-plugin] prepare release jclouds-1.5.0-alpha.2 2012-03-31 07:53:59 -07:00
Adrian Cole e5a3aa2c36 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  Issue 830: Fixing NPE in test listener
  issue 384: fixed IMachineToNodeMetadataLiveTest as suggested by dralves
  issue 384: added support for creation of hostOnly interface with DHCP enabled
  issue 384: preparing vbox 1.5.1 - adapt ContextModule to external changes
  issue 384: vbox 1.5.1
  issue 384: preparing 1.5.0-beta - guestAdditions installations fixed
2012-03-31 07:33:37 -07:00
Andrea Turli abeeb4b936 issue 384: fixed IMachineToNodeMetadataLiveTest as suggested by dralves 2012-03-31 11:44:47 +01:00
Andrea Turli 50815d2483 issue 384: added support for creation of hostOnly interface with DHCP enabled 2012-03-31 11:44:47 +01:00
Andrea Turli af309232ad issue 384: preparing vbox 1.5.1 - adapt ContextModule to external changes 2012-03-31 11:44:47 +01:00
Andrea Turli e27db18cfd issue 384: vbox 1.5.1 2012-03-31 11:44:47 +01:00
Andrea Turli a2922006c9 issue 384: preparing 1.5.0-beta - guestAdditions installations fixed 2012-03-31 11:44:47 +01:00
Adrian Cole 98c1e14820 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (31 commits)
  fixed keypair on nova and added test
  First set of api's for opsource
  First set of api's for opsource
  Issue 830: Update client get methods to use new error handler
  README.md - improved
  README.md
  Issue 888: consolidate code that addresses naming conventions, using hyphen as default delimiter
  organize imports
  removed deprecated RunScriptOptions & TemplateOptions
  added new properties object
  passwordAuthentication is now default for keystone
  refactored properties objects to be consistent w/keystone
  corrected spacing and new lines for README.md
  updated readme.md
  Intermittent JAXB error
  Issue 830: Use ResourceNotFoundException
  Issue 830: Make RasdItemsList implement Set
  Issue 830: Tidy up client imports and javadoc
  Issue 830: Tidy up domain object imports and remove unnecessary annotations
  Issue 830: Use XmlElementWrapper annotation where possible
  ...
2012-03-29 15:20:24 -04:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole 025396be37 added new properties object 2012-03-28 03:37:41 -04:00
David Ribeiro Alves 6743f0bbf6 corrected spacing and new lines for README.md 2012-03-28 00:37:08 +01:00
David Ribeiro Alves 3be85a61de updated readme.md 2012-03-27 20:39:02 +01:00
Adrian Cole f66c84d92f [maven-release-plugin] prepare for next development iteration 2012-03-23 01:08:49 -07:00
Adrian Cole dc2a42cc97 [maven-release-plugin] prepare release jclouds-1.5.0-alpha.1 2012-03-23 01:08:46 -07:00
Adrian Cole 59f1d0b316 rename vbox live test 2012-03-22 14:46:03 -07:00
David Ribeiro Alves 893d2d9e55 removed lock printous 2012-03-22 17:58:58 +00:00
David Ribeiro Alves 1f31e96a9f fixed locking transient bug 2012-03-22 17:49:04 +00:00
David Ribeiro Alves 28bd62edfc added a unit test for guest additions installer. installguestadditions is now able to mount the pre-downloaded iso 2012-03-22 15:16:19 +00:00
David Ribeiro Alves 582423bd2d commented machine utils 2012-03-22 03:46:22 +00:00
David Ribeiro Alves 6b4a4c6054 consolidated locking machines as locking was crashing all over the place 2012-03-22 03:36:42 +00:00
David Ribeiro Alves 4a32b0107f parsed names from vm so that nodemetadata has correct group and name (updated unit test), corrected transient bug obtaining locks for vms 2012-03-22 02:44:41 +00:00
David Ribeiro Alves aceaaf0eb0 updated readme 2012-03-21 22:36:14 +00:00
David Ribeiro Alves 5bca27923c corrected IMachineToNodeMetadata to comply with the new non-natted ip 2012-03-21 22:19:03 +00:00
David Ribeiro Alves 92a940e95d guests are now accessible because host-only ips are assigned in the same network as the default vbox host-only network (vboxnet0) 2012-03-21 22:04:05 +00:00
David Ribeiro Alves 68290ba2b2 added mock identity prop to prevent NPE in some cases 2012-03-21 22:04:05 +00:00
David Ribeiro Alves d742d53f6b reverted formatting changes 2012-03-21 22:03:48 +00:00
David Ribeiro Alves f4d0e18320 prevented tests from failing due to missing property
!
2012-03-21 22:02:11 +00:00
David Ribeiro Alves c4a02a6753 added ssh command to log into hosts 2012-03-17 01:27:36 +00:00
David Ribeiro Alves fc8c5417e1 updated vbox readme 2012-03-17 01:17:31 +00:00
David Ribeiro Alves e4259b5cc8 one machine was being wasted due to bad ip reporting 2012-03-15 07:58:04 +00:00
David Ribeiro Alves d987e847ca made vbox start nodes in HEADLESS mode (since we don't have access after AdminAccess anyway 2012-03-15 06:44:58 +00:00
David Ribeiro Alves 641f530e0c preseed.cfg was being server from target/classes but not from the jar 2012-03-15 06:33:37 +00:00
David Ribeiro Alves c9c4a1aef0 made jetty serve preseed.cfg from inside the jar (was serving from src/test/resources) 2012-03-15 04:42:33 +00:00
David Ribeiro Alves 04f72a67d7 made taking snapshots more resilient with retries 2012-03-15 03:24:53 +00:00
David Ribeiro Alves b1333b1f2c moved deleting gshadow lock to the clones since it was reappearing on the master 2012-03-15 03:03:53 +00:00
David Ribeiro Alves ec7552cdbb added waitForCompletion on snapshot creation and deletion has multi-node was failing 2012-03-15 02:57:22 +00:00
David Ribeiro Alves 6967743044 commented mastersloadingcache and nodecreator 2012-03-15 02:38:44 +00:00
David Ribeiro Alves 78d85fc960 fixed broken multi-node cloning due to missing synchronized keyword on NodeCreator. changed name of masterscache to mastersloadingcache. changed jetty port to a non common one. checked null on finally block 2012-03-15 02:20:31 +00:00
David Ribeiro Alves 1036c7a0f1 fixed broken master creation because guestAdditions was not executed.fixed but related to qemu (https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/732864) where
a lock file (/etc/gshadow.lock) on the master prevents clones from adding users. AdminAccess should work now
2012-03-14 23:55:55 +00:00
David Ribeiro Alves c161f9bc09 changed experiment live test to use admin access 2012-03-14 22:28:29 +00:00
David Ribeiro Alves 33b5cc2922 corrected compilation problem. unit and experiments tests pass 2012-03-14 04:23:30 +00:00
David Ribeiro Alves 0c55cf581b merged bridged iface changes 2012-03-14 04:18:39 +00:00
Andrea Turli d10f45ad46 issue 384: bridged support 2012-03-13 04:11:42 +00:00
David Ribeiro Alves 3b1a98323e organized imports 2012-03-12 21:28:00 +00:00