Commit Graph

240 Commits

Author SHA1 Message Date
Jason King 8f4a12f359 Issue 695: Refactoring2: Introduced Resource for links,actions,name from schema. Removes duplication 2011-11-26 10:22:30 +00:00
Jason King 22a63f7177 Issue 695: Refactoring1: Pushed up links, actions to BaseResource as lots of duplication. Added some getAttributes overrides in builders 2011-11-25 15:39:31 +00:00
Jason King 115f93a7d7 Issue 695: Removed Row and Group: Use NamedResource instead 2011-11-25 14:42:56 +00:00
Jason King e0500af771 Issue 695: Added Templates client+classes+tests 2011-11-25 11:59:28 +00:00
Jason King 81605f1258 Issue 695: Added Templates class, and client call to retrieve them 2011-11-24 18:03:10 +00:00
Jason King 2595aa5b7b Issue 695: Removed setter 2011-11-24 17:32:31 +00:00
Jason King acb62e1cee Issue 695: Used expected from setup method 2011-11-24 17:30:50 +00:00
Jason King 636dafe1d3 Issue 695: Added Template, TemplateStorage,Template*Client, JAXB Test and Test files 2011-11-24 17:05:59 +00:00
Jason King 1cf89c6b6f Issue 695: Added remove virtual machine call, plus test and commented out live test 2011-11-24 14:58:52 +00:00
Jason King 4b03bb707f Issue 695: Added mount/unmount tools+test+live test to take through power cycles with tools 2011-11-24 12:57:37 +00:00
Jason King 8a3c919009 Issue 695: Methods to powerOn/powerOff/shutdown/reboot a VM 2011-11-24 11:01:37 +00:00
Jason King 835ea8bb57 Issue 695: Service call for HardwareConfiguration+parsing+tests 2011-11-23 16:35:30 +00:00
Jason King 39be81a337 Issue 695: Renamed method 2011-11-23 15:52:31 +00:00
Jason King 1a2db01330 Issue 695: Additional objects for rest of VirtualMachineConfigurationOptions 2011-11-23 13:21:15 +00:00
Jason King 42926bd5ad Issue 695: Added tests for missing virtualmachine(s) cases and introduced ReturnEmptyVirtualMachinesOnNotFoundOr404 2011-11-23 10:41:23 +00:00
Jason King 18f2060502 Added VirtualMachineConfigurationOptions, ResourceCapacityRange, Service call and tests 2011-11-22 17:08:04 +00:00
Jason King 2aa0fff801 Issue 695: Removed Size and Memory classes as can use ResourceCapacity directly 2011-11-22 16:11:32 +00:00
Jason King c4f1fa040f Issue 695: Added getTasksByVirtualMachine method call 2011-11-22 14:31:59 +00:00
Jason King f823a4d9de Issue 695: Added VirtalMachines builder+test 2011-11-22 10:08:55 +00:00
Jason King 0cada01d5e Issue 695: Moved DisksTest package into correct parent 2011-11-22 09:44:55 +00:00
Jason King c67072f5b5 Issue 695: Added builder for Tasks, test and removed setter 2011-11-21 17:48:19 +00:00
Jason King a1c0041650 Issue 695: Removed setter and put annotation on field 2011-11-21 17:35:21 +00:00
Jason King 7feefaff9e Issue 695: Added Builder+Test for Nics 2011-11-21 17:18:06 +00:00
Jason King e2d7b66b0c Issue 695: Created builder for links and fixed order of constructor args 2011-11-21 16:53:46 +00:00
Jason King ca69fbf0f7 Issue 695: Added builder for Disks and removed setter, test. Used Actions builder externally and made constructor private 2011-11-21 16:01:55 +00:00
Jason King 5cd43815af Issue 695: Refactored domain package: created packages: virtualmachine,hardware,software,network 2011-11-21 13:58:41 +00:00
Jason King e5a845ec9f Issue 695: Removed addAction method, and created Builder and added TestActions class 2011-11-21 13:44:23 +00:00
Jason King 820bdf6f47 Issue 695: Converted api method calls to URI instead of primitives 2011-11-18 18:49:21 +00:00
Jason King 9852a579e9 Issue 695: Converted setAction to addAction and moved annotation to field 2011-11-18 17:56:29 +00:00
Jason King 7a74c3cf27 Issue 695: Added TODO's where there are more fields to add later. Added reference to complexType in Schema for reference 2011-11-18 16:50:18 +00:00
Jason King 16e16fa353 Issue 695 Added service call getAssignedIpAddresses 2011-11-18 15:28:34 +00:00
Jason King e7847fa3cc Issue 695: Service call for getVirtualMachines 2011-11-18 14:39:28 +00: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
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
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
Jason King 12cb9e98f2 Issue 695: Renamed trmk to tmrk 2011-11-15 11:36:08 +00:00
Jason King 1c9bde8015 Issue 695: Fixed api version header 2011-11-15 11:35:47 +00:00
Jason King a680905ca7 Added latest/correct schema file 2011-11-15 11:04:42 +00:00
Jason King 4be5c05206 Issue 695: Added Row,Group and Layout plus parse them from xml 2011-11-14 17:38:09 +00:00
Jason King d33893d2c5 Issue 695: Adding schema (from api pdf) so it is useable (i.e. searchable) to help developing integration 2011-11-14 16:56:34 +00:00
Jason King 147b82411d Issue 695: Added Links,Tasks,Actions for VirtualMachine, name is optional in BaseNamedResource, renamed Task test 2011-11-14 16:33:08 +00:00
Jason King ea349810ef Issue 695: Converted parsing of Tasks to JAXB, removed SAX handlers. Not verified by live test yet 2011-11-14 12:17:10 +00:00
Jason King dc1b74cc90 Issue 695: Added ecloud to terremark api calls 2011-11-14 12:13:57 +00:00
Adrian Cole 56a7dec54a Merge pull request #139 from jsonking/master
Issue 695: Converted Task parsing to JAXB and fixed a bug with date parsing
2011-11-11 09:55:17 -08:00