Commit Graph

455 Commits

Author SHA1 Message Date
Mattias Holmqvist 13f1a68b67 Removed settingsFile until properly supported. Added live tests for AttachDistroMediumToMachine. 2011-11-30 10:28:44 +01:00
Mattias Holmqvist be1847ce9b .indexOf() -> .contains() 2011-11-30 10:28:44 +01:00
Mattias Holmqvist e885fabcad Added live test for CreateMediumIfNotAlreadyExists. 2011-11-30 10:28:44 +01:00
Mattias Holmqvist caff96fbb0 Added fail() 2011-11-30 10:28:44 +01:00
Mattias Holmqvist b36b304dce Live test for CreateAndRegisterMachineFromIsoIfNotAlreadyExists. 2011-11-30 10:28:44 +01:00
Mattias Holmqvist 3921f86ae6 .indexOf() -> .contains() 2011-11-30 10:28:44 +01:00
Mattias Holmqvist 79c32c22e2 .indexOf() -> .contains() 2011-11-30 10:28:44 +01:00
Mattias Holmqvist 16144a3a48 Removed broken dependency in pom.xml so that -Plive can be run from Maven. 2011-11-28 18:52:47 +01:00
Mattias Holmqvist ebe75e3ff2 Added RedirectRule to wrap parameters for AttachNATRedirectRuleToMachine. 2011-11-27 14:26:36 +01:00
Mattias Holmqvist a006d63b44 .contains() instead of .indexOf() 2011-11-27 14:26:10 +01:00
Mattias Holmqvist 66a42c372c Argument name 2011-11-27 14:25:44 +01:00
Mattias Holmqvist d06394514f Renamed DetachDistroMediumFromMachine and inject port and device instead of hard-coding. 2011-11-27 13:12:23 +01:00
Mattias Holmqvist 40e603d7e0 Moved MachineUtils to util package 2011-11-27 13:02:03 +01:00
Mattias Holmqvist 65e0b937ae Cleanup and improved readability for CloneAndRegisterMachineFromIMachineIfNotAlreadyExists. 2011-11-27 02:17:47 +01:00
Mattias Holmqvist 4effcc39ad Some cleanup of RetrieveActiveBridgedInterfaces and added copyright. 2011-11-27 02:11:23 +01:00
andreaturli 3de92bd292 issue 384: added DetachDistroMedium and RetrieveBridgedInterface + Test 2011-11-25 22:45:25 +00:00
andreaturli 4214382b8d issue 384: added DetachDistroMedium and RetrieveBridgedInterface + Test 2011-11-25 22:41:20 +00:00
Andrea Turli 536b8ff790 issue 384: added CloneAndRegisterMachineFromIsoIfNotAlreadyExists + LiveTest 2011-11-25 17:02:05 +00:00
Mattias Holmqvist 1aad827aaa Extracted utility functions from IsoToIMachine. 2011-11-25 07:13:25 +01:00
Mattias Holmqvist 46301c800e Fixed assertion from equals to compare on Id. 2011-11-24 23:17:41 +01:00
Mattias Holmqvist e6c13a4f32 Fixed broken test 2011-11-24 22:40:18 +01:00
Mattias Holmqvist 57cef512cb Added check for web server in IsoToIMachine. 2011-11-24 21:55:59 +01:00
Mattias Holmqvist e6200d6374 Formatting 2011-11-24 21:53:47 +01:00
Mattias Holmqvist 9deaa23502 Unnecessary call to super(). 2011-11-24 07:43:02 +01:00
Mattias Holmqvist 0d6fd403bc Formatting 2011-11-23 07:33:56 +01:00
Mattias Holmqvist 1d5472d082 Cleanup IsoToIMachine 2011-11-23 07:33:38 +01:00
Mattias Holmqvist 860f7ad831 Renamed GetIPAddressFromMAC to correct spelling 2011-11-22 17:56:55 +01:00
Mattias Holmqvist 20868e7072 Cleanup AttachMediumToMachineIfNotAlreadyAttached. 2011-11-22 17:46:30 +01:00
Adrian Cole 4a5af1e7a5 Issue 441: added new type: LoginCredentials, and (jclouds|provider).image.(login-user|authenticate-sudo) context properties 2011-11-21 11:00:12 +02:00
Andrea Turli 025948ae76 issue 384: improved log messages in TakeSnapshotIfNotAlreadyAttached 2011-11-16 15:44:54 +00:00
andreaturli c1e01901d6 issue 384: improved try/catch behaviour in TakeSnapshotIfNotAlreadyAttached 2011-11-15 19:52:28 +00:00
Andrea Turli 6726b04645 issue 384: TakeSnapshotIfNotAlreadyAttached and Test added as preparation step for IMachineToIpAddress feature 2011-11-15 16:18:43 +00:00
Andrea Turli b396a80a84 issue 384: AttachBridgedAdapterToMachine + Test 2011-11-15 11:01:59 +00:00
Adrian Cole 31c75e7874 move cloudstack out of sandbox 2011-11-14 19:29:45 +02:00
Adrian Cole be7cf42f04 added cloudstack support to launch servers in a network with ip forwarding 2011-11-14 19:25:47 +02:00
Adrian Cole 4329129c25 Issue 750:property to set the image id for the default template 2011-11-14 19:25:46 +02:00
Adrian Cole 69467b04e3 Issue 752:move off deprecated systemProperties to systemPropertyVariables in surefire 2011-11-14 19:25:45 +02:00
Adrian Cole f3a31beb69 added missing classes from pull 2011-11-14 19:25:44 +02:00
vijaykiran 40d9d3789a Fix response attr selection for listSSHKeypair for 2.2.12 API 2011-11-14 16:21:11 +01:00
Adrian Cole 15657dc3c5 fixes for latest version of cloudstack relating to network parsing 2011-11-13 18:05:30 +02:00
andreisavu de19a639c4 Allow user to reference a keypair when creating a new virtual machine 2011-11-13 17:55:43 +02:00
andreisavu cd0086c92e Fix json parsing for ip forwarding rules 2011-11-13 17:53:16 +02:00
Adrian Cole 6aaa331c83 Merge pull request #141 from vijaykiran/update-tests
Add new clients to the CloudStackAsyncClientTest
2011-11-12 23:18:16 -08:00
vijaykiran c6a387c9f4 Add new clients to the CloudStackAsyncClientTest 2011-11-12 07:35:22 +01:00
vijaykiran bdaff78658 EventClientLiveTest implementation. 2011-11-12 06:23:03 +01:00
vijaykiran 0dba1c4f5d EventsAsyncClient and test implmentation 2011-11-12 06:23:03 +01:00
vijaykiran ee5f2bbcb0 listEvents work in progress 2011-11-12 06:23:03 +01:00
Adrian Cole 6aafbd98eb Merge pull request #137 from andreaturli/master
issue 384: added GetIPAdressFromMAC and ScanNetworkWithPing statements
2011-11-11 09:55:36 -08:00
Adrian Cole d4184786a0 cloudstack ids are unique across zones 2011-11-11 19:48:30 +02:00
Adrian Cole c08a7884bd Issue 750:property to set the image id for the default template 2011-11-11 19:48:28 +02:00
Andrea Turli 7748d915f1 issue 384: added 2 statements: GetIPAdressFromMAC and ScanNetworkWithPing + Tests, as initial steps to refactor a IMachineToIpAddress function 2011-11-11 16:37:22 +00:00
andreisavu 92e0a5480c Fixed two integration tests failing on KT cloud
* in testListDiskOfferings the API seems broken in 2.2.8. I will excalate
and provide the log with the incorrect response
* in NetworkClientLiveTest the tearDown function should not fail
if there is no network to delete
2011-11-11 18:34:45 +02:00
Adrian Cole 1ed16c7166 Merge pull request #134 from richardcloudsoft/cloudstack-iso
Cloudstack ISO API
2011-11-11 00:47:51 -08:00
Andrew Phillips 1eee90261e Upgraded vboxjws 4.1.2r73507 -> 4.1.4, and removed temporary repo since 4.1.4 is available from Maven Central 2011-11-10 13:47:11 -05:00
Richard Downer 1954e2bfbc Cloudstack ISO API: resolve some FIXMEs 2011-11-10 17:33:57 +02:00
Richard Downer 5ce18320eb Cloudstack convention is to capitalize abbreviations, so change Iso to ISO 2011-11-10 17:28:39 +02:00
Richard Downer e0b468b0a6 Fix broken reference after refactor that moved ExtractMode enum 2011-11-10 17:10:44 +02:00
Richard Downer 6482e6f90e Implement the Cloudstack 'ISO' API 2011-11-10 16:05:23 +02:00
Adrian Cole 304dda4823 Merge pull request #133 from vijaykiran/limit-client
Limit#listResourceLimits implementation
2011-11-10 03:42:01 -08:00
Adrian Cole 975033bb72 fixed cloudstack tests 2011-11-10 13:37:06 +02:00
vijaykiran d08be84fbc Limit#listResourceLimits implementation 2011-11-10 12:26:38 +01:00
Adrian Cole 1455c4fb71 Merge pull request #126 from richardcloudsoft/cloudstack-snapshot
Cloudstack 'snapshot' API
2011-11-10 00:51:43 -08:00
Adrian Cole 19c2d380f3 Merge pull request #125 from richardcloudsoft/cloudstack-template
Complete the Cloudstack "template" API
2011-11-10 00:50:13 -08:00
Adrian Cole 48f2c9c5ec Merge pull request #124 from vijaykiran/master
Events#listEventTypes
2011-11-10 00:47:23 -08:00
Adrian Cole 281c92a581 roughed in cloudstack compute service adapter 2011-11-10 02:11:10 +01:00
Richard Downer b69f27a9b8 Move static methods out of SnapshotPolicySchedule into new class util.SnapshotPolicySchedules (and fix the FIXMEs and a missing license header at the same time) 2011-11-09 18:18:34 +02:00
Richard Downer 1ba06c8973 Some renaming in Cloudstack Snapshot API impl to remove unnecessary words 2011-11-09 18:06:32 +02:00
Richard Downer 61d9d1e5e6 Implement create/list/deleteSnapshotPolicy in the Cloudstack API 2011-11-09 17:28:51 +02:00
Richard Downer 48f05f3aed Add SnapshotClient.getSnapshot(long id) et al to Cloudstack 2011-11-09 17:28:51 +02:00
Richard Downer 16771961e1 Implement create/list/deleteSnapshot in the Cloudstack API 2011-11-09 17:28:50 +02:00
vijaykiran 5034ec0bbf Update API Link in Javadoc 2011-11-09 16:17:28 +01:00
vijaykiran 30caf6ef8f Merge branch 'master' of https://github.com/jclouds/jclouds 2011-11-09 16:16:13 +01:00
vijaykiran e89baba4ef Updated listEventTypes implementation
- Changed listEventTypes from Set<EventType> to Set<String>
- Created new parser for EventTypes.
2011-11-09 12:27:05 +01:00
vijaykiran 1c23700b76 Fix API URL in javadoc. 2011-11-09 12:27:05 +01:00
vijaykiran 7cb088cdf4 Fix API URL in javadoc. 2011-11-09 12:27:04 +01:00
vijaykiran 359faa7a11 Event#listEventTypes implementation. 2011-11-09 12:27:04 +01:00
Richard Downer 5791eaad8b Implement changes to Cloudstack template API suggested in review 2011-11-09 13:05:01 +02:00
Richard Downer 233cc822c0 Complete the Cloudstack "template" API 2011-11-08 13:28:28 +02:00
vijaykiran 10f6cbcf7b Fix API URL in javadoc. 2011-11-07 23:52:20 +01:00
vijaykiran 843f738fa3 Fix API URL in javadoc. 2011-11-07 23:49:53 +01:00
vijaykiran 087cec22ca Event#listEventTypes implementation. 2011-11-07 18:11:31 +01:00
Adrian Cole f78f74e68e better error message when user isn't in cloudstack 2011-11-07 18:09:35 +02:00
vijaykiran 68f817ab29 comment out the failed test. 2011-11-07 16:47:22 +01:00
vijaykiran 392a200cd4 Compare the finger prints in the live tests. 2011-11-07 14:34:18 +01:00
vijaykiran f0f77e7ce7 cloudstack registerSSHKeyPair implementation 2011-11-07 12:22:22 +01:00
Richard Downer 98c3116edc Implement the Cloudstack "VM group" API calls 2011-11-06 14:51:52 +02:00
vijaykiran c1b1061712 Fixes for SSHKeyPair implementation
- Updated JavaDoc
- Added API Method for deleteSSHKeyPair.
- Updated test to delete Key pair.
2011-10-31 15:27:13 +01:00
vijaykiran e1d41bd8b6 Refactor domain object SSHKeyPair to SshKeyPair 2011-10-31 12:40:45 +01:00
vijaykiran f7799c22ad Fix the Class name 2011-10-31 12:28:22 +01:00
vijaykiran a99ce504f1 Merge branch 'master' of git://github.com/jclouds/jclouds 2011-10-31 12:24:26 +01:00
vijaykiran 79113a373b Updated formatting and added license headers. 2011-10-31 12:15:41 +01:00
Mattias Holmqvist 45bf2b4248 Changed IsoToIMachine to run in headless mode. 2011-10-30 00:02:11 +02:00
Mattias Holmqvist 8cdcfff261 Added UnregisterMachineIfExists function to cleanup image machines before running IsoToIMachineLiveTest 2011-10-29 22:54:51 +02:00
Mattias Holmqvist 3404850aba Small fix for running live tests from clean slate. Still stuff to do to get it running more than once... 2011-10-29 22:54:51 +02:00
vijaykiran 1151cbc241 SSHKeyPair API implementation
- Updated tests with correct domain model object.
- Unit tests for ListSSHKeyPairs
2011-10-29 16:57:54 +02:00
vijaykiran 6d4ce41d15 Code Formatting commit. 2011-10-29 16:03:15 +02:00
vijaykiran 60f70a0589 First-cut implementation of SSHKeyPair for cloudstack 2011-10-29 16:01:26 +02:00
vijaykiran fd9b49873b Fixed test (assertion) failure for network domain. 2011-10-29 15:56:23 +02:00
vijaykiran 2675b2befb enable getVMs assertion 2011-10-29 12:31:47 +02:00
vijaykiran 4be6d796ac Merge branch 'master' of git://github.com/jclouds/jclouds 2011-10-29 12:31:13 +02:00
Adrian Cole c889077f50 cleaning up virtualbox constructors, etc 2011-10-29 12:30:24 +02:00
Adrian Cole ca723ed909 ensure integration tests only run one at a time, so that troubleshooting is easier 2011-10-29 12:30:03 +02:00
Adrian Cole fe4a971d55 changed setup function tests to be mocks so they don't conflict with test fixture setup 2011-10-29 12:29:16 +02:00
Adrian Cole 00c47eeab2 removed tests that are too confusing to troubleshoot at this stage of development 2011-10-29 12:28:02 +02:00
Adrian Cole d300681bcc formatting in virtualbox 2011-10-29 11:00:02 +02:00
Mattias Holmqvist f4a53fa0da Added LaunchMachineIfNotAlreadyRunning to IsoToIMachine. 2011-10-28 21:51:07 +02:00
Mattias Holmqvist c3eb23399b Added ErrorCode type and ExecutionType. Now for for LaunchMachine function, but can be re-used. 2011-10-28 21:46:48 +02:00
vijaykiran ed076a5c4a Change the test name testListAccount to reflect the api method listAccounts 2011-10-26 16:41:18 +02:00
Mattias Holmqvist 03e0bd46ba Virtualbox: Re-used AttachMediumToMachineIfNotAlreadyAttached for attaching guest additions DVD. 2011-10-24 00:10:35 +02:00
Mattias Holmqvist 394bb1b602 Added function ApplyMemoryToMachine for virtualbox.
commit e52df20b9010ebac266e2b593628ea1876a578f9
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:59:25 2011 +0200

    Added function ApplyMemoryToMachine for virtualbox.

commit a43e189b306fddbdc5ee5930355f20d90d148854
Merge: 3f6de26 041360e
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:26:42 2011 +0200

    Merge branch 'master' of https://github.com/jclouds/jclouds into functionalize

    Conflicts:
    	sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/AttachNATRedirectRuleToMachine.java

commit 3f6de265d7342676fdeab99badd31f31cb43aadc
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:23:49 2011 +0200

    Added AttachNATRedirectRuleToMachine to virtualbox.
2011-10-23 23:59:54 +02:00
Mattias Holmqvist 041360e2e7 Added AttachNATRedirectRuleToMachine to virtualbox.
commit 3f6de265d7342676fdeab99badd31f31cb43aadc
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:23:49 2011 +0200

    Added AttachNATRedirectRuleToMachine to virtualbox.
2011-10-23 23:25:39 +02:00
Mattias Holmqvist f950a9950e Cleaning up copyrights in virtualbox. 2011-10-23 18:42:18 +02:00
Mattias Holmqvist dc23ef0c1c Added CreateMediumIfNotAlreadyExists to IsoToIMachine. 2011-10-23 18:18:56 +02:00
Mattias Holmqvist f530a5d585 Added @author 2011-10-23 14:30:42 +02:00
Mattias Holmqvist b64fee01a8 Added AttachHardDiskToMachineIfNotAlreadyAttached and used it from IsoToIMachine. 2011-10-23 14:24:21 +02:00
Adrian Cole 6d4a605f3f fixed compile problem 2011-10-23 13:50:49 +02:00
Mattias Holmqvist 680ed8c178 Renamed variable. 2011-10-23 12:57:51 +02:00
Mattias Holmqvist 6749cff633 Added missing saveSettings() to network config in IsoToIMachine. 2011-10-23 12:47:03 +02:00
Mattias Holmqvist 242b15f611 Added missing saveSettings() to network config in IsoToIMachine. 2011-10-23 12:43:54 +02:00
Mattias Holmqvist b04f38b0d8 Fixed CreateAndRegisterMachineFromIsoIfNotAlreadyExists and added more tests. 2011-10-23 12:19:55 +02:00
Mattias Holmqvist 3f716c4f3e Fixing copyright text. 2011-10-23 12:10:26 +02:00
Mattias Holmqvist d27e929855 Created CreateAndRegisterMachineFromIsoIfNotAlreadyExists to fail early if Machine of specified name already exists. 2011-10-23 12:06:24 +02:00
Mattias Holmqvist 3be39a870f Renamed variables. 2011-10-23 11:19:09 +02:00
Mattias Holmqvist ad8ef18bee Added AttachDistroMediumToMachine and started using it form IsoToIMachine. 2011-10-23 11:16:55 +02:00
Mattias Holmqvist f2d4c58a6a Renamed variables. 2011-10-23 00:42:44 +02:00
Mattias Holmqvist 54c76515ce Renamed variables. 2011-10-23 00:40:12 +02:00
Mattias Holmqvist b592196226 Reverted listImages back from Yaml to regular Vbox. 2011-10-23 00:38:14 +02:00
Mattias Holmqvist f55164e51e Minor rename 2011-10-22 18:14:50 +02:00
Adrian Cole 926989c5f1 started refactoring IsoToIMachine to re-use error handling 2011-10-22 17:54:35 +02:00
Adrian Cole aab1290b85 formatting 2011-10-22 17:53:32 +02:00
Adrian Cole 8194e84c30 corrected os family parsing for virtual box 2011-10-22 17:53:10 +02:00
andreaturli 53b652cafe issue 384: fix IsoToIMachineLiveTest 2011-10-21 22:47:43 +01:00
Mattias Holmqvist 1e1d9ef0eb Cleanup broken imports. 2011-10-20 19:44:44 +02:00
Mattias Holmqvist 5d6186bce9 Moved functions to admin package. 2011-10-20 19:43:44 +02:00
andreaturli c5d0543da8 issue 384: Refactoring of listImages to support yaml idea 2011-10-19 00:12:02 +01:00
andreaturli a3505f80d1 issue 384: removed KickstartAdmin, VirtualboxLiveTest. Refactoring of listImages to support yaml idea 2011-10-18 00:15:46 +01:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Mattias Holmqvist d0fd7849e5 Started on StartVboxIfNotAlreadyRunning 2011-10-15 17:01:41 +02:00
andreaturli fb4f8a7cb5 issue 384: StartJettyIfNotAlreadyRunning 2011-10-15 01:00:29 +01:00
Adrian Cole 0f73d04fca refactored tests so that admin starts first via @BeforeSuite 2011-10-11 09:23:07 -07:00
Mattias Holmqvist 5b4c2ab73b Continued work on the IsoToIMachine 2011-10-10 23:46:14 +02:00
andreaturli 1a7eebdb31 issue 384: IsoToMachine + Test mock completed 2011-10-04 22:49:36 +01:00
andreaturli 9cc9ecb229 issue 384: IsoToMachine + Test started 2011-09-29 23:17:18 +01:00
andreaturli 1d68a63614 issue 384: IsoToMachine + Test started 2011-09-29 23:12:02 +01:00
Adrian Cole c54ce66ead merged vbox conflict 2011-09-27 15:38:46 -07:00
Adrian Cole fff450fdf2 roughed out test cases for vbox 2011-09-27 15:37:04 -07:00
Adrian Cole 72989e5482 vbox: switched out use of host, as there's no useful data 2011-09-27 15:36:33 -07:00
andreaturli de4ad5ba9a issue 384: add link between Image and Hardware in IMachineToHardware 2011-09-27 23:15:08 +01:00
Adrian Cole 2baf711a32 linked image to hardware in virtualbox 2011-09-27 15:11:39 -07:00
Mattias Holmqvist 9112a74f6a Relaxed version parsing in IMachineToImage and started on the VirtualBoxComputeServiceAdapterLiveTest 2011-09-27 23:05:36 +02:00