Commit Graph

3973 Commits

Author SHA1 Message Date
Richard Downer 74e61aaada Implement a live test for Cloudstack registerTemplate API call 2011-11-18 15:26:07 +00:00
Ioannis Canellos 10d617a4ca Added a check for JCE providers that are not working. 2011-11-18 17:21:29 +02:00
Richard Downer ed865f100a CloudStack registerTemplate call actually returns an array of templates, not a single template 2011-11-18 14:53:41 +00:00
Jason King e7847fa3cc Issue 695: Service call for getVirtualMachines 2011-11-18 14:39:28 +00:00
Andrew Phillips c61c0e2ade Using different containers for testing and live 2011-11-18 13:37:03 +01:00
Jason King 7206ca1892 Issue 695: Added live test for VirtualMachineClient. Hardcodes exising vm for now 2011-11-18 12:13:55 +00:00
Jason King 5c09b1befe Issue 695: Encapsulated Nics,Disks,Actions so externally deal with Sets, wrappers just internally for JAXB 2011-11-18 10:50:40 +00:00
Jason King 2c12a26fe5 Issue 695: Removed @XmlRootElement from internal objects as not needed 2011-11-18 10:10:32 +00:00
Jason King f69d3da354 Issue 695: Ensure collections are not null plus better null checking in other places 2011-11-18 10:05:10 +00:00
Adrian Cole a2971c22ce Merge pull request #168 from jsonking/695-1
Issue 695 - more domain objects for Virtual Machine
2011-11-17 23:40:54 -08:00
Jason King f86106cb09 Issue 695: Added IpAddress Section of VirtualMachine 2011-11-17 19:58:35 +00:00
Jason King 0b43af5c9b Issue 695: Added Nic/Network details to HardwareConfiguration 2011-11-17 15:56:31 +00:00
Jason King e911aad122 Issue 695: Added Size,VirtualDisk and Disks. Additional equals/hashcode methods and test 2011-11-17 14:29:57 +00:00
Adrian Cole e325217b21 adding password for ninefold 2011-11-17 16:12:32 +02:00
Adrian Cole e08372a8aa cloudstack doesn't authoritatively set the hostname 2011-11-17 16:12:12 +02:00
Adrian Cole a377fe04a0 fixed template test when there's no password supplied 2011-11-17 16:11:00 +02:00
Adrian Cole 2e675f0fbc fixed broken parser test 2011-11-17 15:42:14 +02:00
Adrian Cole 89802cf955 Merge pull request #167 from jsonking/695-1
Lots of new domain object code for VirtualMachine plus change Boolean to boolean
2011-11-17 05:03:40 -08:00
Adrian Cole 3b4bc8d1d2 Merge pull request #166 from vijaykiran/networkclient-fixes
Sync the output of network json with the domain model
2011-11-17 05:03:08 -08:00
Adrian Cole 5cdff59bfe Merge pull request #164 from richardcloudsoft/cloudstack-template-live-test
Cloudstack template live test - extract template functionality
2011-11-17 05:00:07 -08:00
Jason King f7c9579019 Issue 695: Converted optional Boolean to boolean, fixed layout(), fromVirtualMachine() and toString() 2011-11-17 12:11:08 +00:00
Jason King b81317651d Issue 695: Domain objects for VirtualMachine 2011-11-17 12:09:54 +00:00
vijaykiran 3894d7fb3f Sync the output of network json with the domain model 2011-11-17 12:38:18 +01:00
Richard Downer e1bfb07780 Changes to TemplateClientLiveTest following review. Test now passes without a java SSL certificate exception. 2011-11-17 10:28:37 +00:00
Adrian Cole 0e7b6a91e7 Merge pull request #165 from andreisavu/expose-static-ip
Expose the static ip settings as options
2011-11-16 23:56:27 -08:00
andreisavu 7eb954c90c Expose the static ip settings as options 2011-11-17 09:48:15 +02:00
Adrian Cole 4323d2ea5f Merge pull request #156 from andreaturli/dev
issue 384: TakeSnapshotIfNotAlreadyAttached and Test
2011-11-16 22:56:12 -08:00
Adrian Cole 04f2cdbd90 Merge pull request #160 from danikov/add-nodeclient
Issue 551: Added NodeClient
2011-11-16 22:55:14 -08:00
Richard Downer 75752db64c Add TemplateClientLiveTest.testExtractTemplate() 2011-11-16 21:09:18 +00:00
Richard Downer 1e7592ac98 Add a special case to distinguish when Cloudstack says 'template' but means 'TemplateExtract' - fixes the failing unit test 2011-11-16 20:38:13 +00:00
danikov 3db6c66b1e check for deleted status before deleting to prevent spurious failures 2011-11-16 19:04:31 +00:00
danikov 6365190448 rename/reorder methods/parameters as per review 2011-11-16 19:03:46 +00:00
danikov 42ba8e9de4 get rid of unnecessary son parsers and use handy SelectJson annotation 2011-11-16 19:02:28 +00:00
Adrian Cole b2d6c6b19c Merge pull request #162 from andreisavu/fixed-tests
Fixed tests that did not expect the group to work
2011-11-16 09:53:00 -08:00
Adrian Cole 9b432304f5 Merge pull request #161 from andreisavu/specify-ip-address
Allow user the specify the ip address for a cloudstack vm
2011-11-16 09:52:33 -08:00
andreisavu 4fa3d7d94d Fixed tests that did not expect the group to work 2011-11-16 19:44:58 +02:00
andreisavu 6c3ecfb0f3 Allow user the specify the ip address for a cloudstack vm 2011-11-16 19:29:06 +02:00
Andrea Turli 025948ae76 issue 384: improved log messages in TakeSnapshotIfNotAlreadyAttached 2011-11-16 15:44:54 +00:00
Adrian Cole 2f2277683c Merge pull request #158 from richardcloudsoft/cloudstack-template-live-test
Cloudstack template live tests
2011-11-16 07:26:08 -08:00
Richard Downer a2b6eac75f Cloudstack uses the JSON key "template" to mean a different type in different contexts, confusing ParseAsyncJobFromHttpResponse. Add a (currently failing) unit test to reproduce this issue. 2011-11-16 15:24:20 +00:00
Adrian Cole fdeb26f91e Merge pull request #159 from andreisavu/vlan-test-fix
Improved the experimental test to be able to cleanup existing networks
2011-11-16 07:24:20 -08:00
Richard Downer b31c589462 Add TemplateExtract domain model to Cloudstack 2011-11-16 15:24:20 +00:00
danikov 575dac2583 removed unnecessary removals and added comments about inconsistent rackspace api 2011-11-16 15:16:21 +00:00
danikov d44bf5d23e naming + correct parameter/return type for addNodes 2011-11-16 15:15:25 +00:00
Richard Downer eef07939c1 Fix up TemplateClientLiveTest.testCreateTemplate so it runs on Citrix test cloud 2011-11-16 13:31:33 +00:00
Richard Downer 0e52fcb040 First steps in making a live test for Cloudstack templates 2011-11-16 13:31:33 +00:00
andreisavu f4c1e5b882 Addressed some of the offline comments made by Adrian 2011-11-16 14:40:32 +02:00
Adrian Cole 122338ba6a name field isn't always settable, switch to displayName 2011-11-16 14:03:29 +02:00
Adrian Cole d53d473481 throw exception as opposed to returning false when a job errors 2011-11-16 14:03:12 +02:00
Adrian Cole 6b2cfa7f3a retry on user auth exception when flag set 2011-11-16 14:02:22 +02:00