Commit Graph

278 Commits

Author SHA1 Message Date
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
Adrian Cole c08a7884bd Issue 750:property to set the image id for the default template 2011-11-11 19:48:28 +02:00
Jason King e7d7870267 Converted Task parsing to JAXB 2011-11-11 17:07:51 +00:00
Jason King 5c815715b6 Issue 695: Added some metadata 2011-11-10 17:18:59 +00:00
Jason King d0f77def4f Issue 695: Added VirtualMachine domain class and example xml. Tweaked TaskedHandler 2011-11-10 17:04:02 +00:00
Jason King 508973b7ab Issue 695: Override methods in builders, equals, hashcode and toString methods. Fix test 2011-11-10 15:19:41 +00:00
Jason King 9e9fface25 Issue 695: Added licence header 2011-11-10 10:42:18 +00:00
Jason King 6d46ba7fb5 Issue 695: Changed terremark endpoint to beta site. Re-used BaseVersionedServiceLiveTest from previous commit 2011-11-09 15:27:46 +00:00
Adrian Cole 6d453aa8d8 Issue 695: initial import for new terremark api 2011-11-08 21:08:05 +02:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Jason King fe94f5eee2 Fixed endpoint URL for dunkel-vcd 2011-10-11 16:04:22 +01:00
Adrian Cole b22a0239c2 Issue 158: softlayer support 2011-10-04 02:30:53 -07:00
Adrian Cole fb86273dd9 filtered out invalid softlayer nodes 2011-10-04 01:17:52 -07:00
Adrian Cole 27dcb1dedc worked around case where softlayer virtual guests cannot always obtain the corresponding product package 2011-10-03 23:30:54 -07:00
Adrian Cole 616b3c0549 fixed bad mask on softlayer 2011-10-03 23:29:01 -07:00
Adrian Cole d5e130ab3c adjusted defaults to allow smallest softlayer size; parameterized configuration; fixed state where guest without billing item was permitted 2011-10-03 22:36:39 -07:00
Adrian Cole 007ebc693e fixed rest parser module in softlayer, as it wasn't applied at the correct context (rest not compute) 2011-10-03 22:08:47 -07:00
Adrian Cole 98b28d7873 added better logging to softlayer tests 2011-10-03 16:36:49 -07:00
Adrian Cole d5e243f396 removed experiment test as it is now covered in SoftLayerComputeServiceLiveTest 2011-10-03 16:10:31 -07:00
Jason King 45a6541247 Issue 158: Removed location override 2011-10-03 22:51:46 +01:00
Jason King 0dc804f4a7 Mark a live test as not enabled (needs investigation), change comment line 2011-10-03 22:40:02 +01:00
Jason King c674bdb1b3 Issue 158: Fixing unit/live tests 2011-10-03 22:05:23 +01:00
Jason King 5957e1953d Issue 158: Updated comment 2011-10-03 16:37:53 +01:00
Jason King b9c6b2766f Issue 158: Get prices via orderTemplateCall. Use this to build hardware/image/os 2011-10-03 16:32:07 +01:00
Jason King 78017f8045 Issue 158: Moved SoftLayerParserModule to right package 2011-10-02 19:41:04 +01:00
Jason King 7671a391ac Removed commented out line and TODO. VirtualGuestAdapter is already configured in SoftLayerParserModule 2011-10-02 19:37:00 +01:00
Jason King 2a30b2df2f Issue 158: Tests for virtualguest to node metadata. Fix virtual guest equals/hashcode/toString. Added hardware to node data 2011-10-02 17:10:36 +01:00
Adrian Cole 5d179a6bd8 flattened virtualguest.billingItem.id into virtualguest.billingItemId and added test cases for VirtualGuestToNodeMetadata 2011-10-02 00:35:01 -07:00
Jason King 65e7b66c8a Issue 158: Responses for virtual guests in various states 2011-10-01 20:39:21 +01:00
Jason King 3e1ee1d277 Issue 158: Added powerState and datacenter to VirtualGuest. Increased timeout for waiting for a node, changed test to log in using publicIpAddress 2011-10-01 20:38:03 +01:00
Jason King cea43e6c66 Issue 158: Adding SoftLayerComputeServiceLiveTest (doesn't pass yet). 2011-09-30 20:56:56 +01:00
Jason King 90c553b5d9 Issue 158: Retryable predicate to check that the virtual guest is loginable. 5min timeout (which is too low still). 2011-09-30 20:56:26 +01:00
Jason King b3001aa9ee Issue 158: Removed function to find virtual guest - no longer needed 2011-09-30 13:57:04 +01:00
Jason King 607ff1c5e4 Issue 158: Property/Predicate/finder to test that the product order got created. Initial timeout of 5s 2011-09-29 21:50:57 +01:00
Adrian Cole 0847c667ee added option to specify domainName as an option when using softlayer 2011-09-29 19:10:50 +01:00
Jason King dd189cf6f0 Issue 158: Added comment about hostname/domain constraints 2011-09-29 10:11:42 +01:00
Jason King 5122e2de45 Issue 158: Started implementation of createNodeWithGroupEncodedIntoNameThenStoreCredentials 2011-09-28 17:09:53 +01:00
Jason King b77bd0e132 Issue 158: Remaining metadata 2011-09-28 17:08:14 +01:00
Jason King fd3cb496fd Issue 158: Added operating system and password to virtual guest 2011-09-28 16:59:09 +01:00
Jason King c24ba815cf Issue 158: Fixed objectMask for VirtualGuest query 2011-09-28 16:58:08 +01:00
Adrian Cole a79190e86a Issue 645: move go2cloud out of sandbox 2011-09-27 13:12:59 -07:00
Adrian Cole 85a54e82bc Issue 645: go2cloud now passes all but one test 2011-09-27 12:52:28 -07:00
Adrian Cole eb598a7c39 carved out a test to help guide completion of softlayer 2011-09-27 12:01:40 -07:00
Adrian Cole 5469c324d1 added providermetadata and corrected locations in softlayer 2011-09-27 10:41:38 -07:00
Adrian Cole 3af390a4d3 fixed image matches 2011-09-27 10:37:15 -07:00
Adrian Cole ea83b1e47d updated SL to support new SG datacenter 2011-09-27 10:36:00 -07:00
Adrian Cole 8532358193 removed unused imports 2011-09-27 10:34:26 -07:00
Jason King 710055e595 Issue 158: Live test for SoftLayerComputeServiceAdapter listLocations and listHardwareProfiles 2011-09-27 16:43:59 +01:00
Jason King 22bc06243a Issue 158: Added implementation of destroyNode 2011-09-27 16:02:10 +01:00
Jason King c6068d23dc Added SoftLayerTemplateBuilderLiveTest - it fails with isoCodes and the images 2011-09-27 15:18:09 +01:00
Jason King 2f73dbc539 Issue 158: implemented listImages and listHardwareProfiles in SoftLayerComputeServiceAdapter. Tidied ProductItemsToHardware and tests 2011-09-27 15:15:59 +01:00
Jason King afda717d2f Issue 158: Removed SoftLayerConstants.CLOUD_SERVER_PACKAGE_NAME as it is passed in via a property 2011-09-27 13:13:22 +01:00
Jason King 753bf9f066 Issue 158: Functions to convert to Image/Hardware, tests and adject the adapter 2011-09-27 13:05:29 +01:00
Jason King 7bcdde91a3 Issue 158: ProductItemToImage implementation and tests 2011-09-26 15:39:34 +01:00
Jason King 7894d830bf Issue 158: Tidy up VirtualGuest.State after feedback from Softlayer 2011-09-26 10:17:17 +01:00
Adrian Cole fa42041b42 Issue 699:Add support for Dunkel vCloud into sandbox 2011-09-25 19:44:28 -07:00
Jason King 90edc423a8 Issue 158: Put in node states seen in the powerState field and mapped to JClouds states 2011-09-23 16:54:13 +01:00
Jason King a4a771fb8c Issue 158: Move cancel and start a virtual server live test. 2011-09-23 13:57:48 +01:00
Jason King 338c8ba90d Issue 158: Refactor long id's/properties to int's where the Softlayer API says int (everywhere) 2011-09-23 11:46:21 +01:00
Jason King 17fddf9177 Issue 158: imports 2011-09-23 10:56:48 +01:00
Jason King 8fcd636f3f Issue 158: Added unit test for ProductOrderToJson 2011-09-23 10:52:38 +01:00
Jason King d9b4f2746f Issue 158: Finish Builder for VirtualGuest 2011-09-23 10:01:29 +01:00
Jason King 6fd4aff777 Issue 158: Increase timeout (live tests failing) 2011-09-23 10:00:53 +01:00