Commit Graph

334 Commits

Author SHA1 Message Date
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
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
Jason King 3bd0c20856 Issue 158: Can now place orders via VirtualGuestClient. Additional support classes present 2011-09-22 18:08:55 +01:00
Jason King b14ecb86d5 Issue 158: Fix live test: Singapore Datacenter's address does not have state present (id=224092) 2011-09-22 18:04:40 +01:00
Jason King f1d6ca2b7f Issue 158: Added equals and hashcode to ProductItemPrice (test fails under maven) 2011-09-21 09:57:37 +01:00
Jason King 9282cc8bb8 Issue 158: Fix hashcode and equals on VirtualGuest - billingItem can be null once cancelled 2011-09-20 17:18:34 +01:00
Jason King 0c6845986d Issue 158: Change and move prices method to static function, tests 2011-09-20 16:57:43 +01:00
Jason King d5df2d2057 Issue 158: Added cancel service 2011-09-20 13:32:53 +01:00
Jason King def43f2e67 Issue 158: Adding BillingItemVirtualGuest so the node can be shut down 2011-09-20 11:47:16 +01:00
Jason King 148641c3ce Issue 158: Review cleanup: move small classes to static methods 2011-09-19 14:39:06 +01:00
Jason King 4790e588b4 Added ProductItemPredicates.units, function ProductItemPriceFromProductItem and updated the live test to show how to get prices 2011-09-17 22:57:33 +01:00
Jason King 4fc4cb9a75 Issue 158: Adding Predicates and functions to get capacity and category 2011-09-17 20:57:49 +01:00
Jason King 64591e6d0e Issue 158: Added DEFAULT_VIRTUAL_GUEST_PRICES 2011-09-17 19:34:37 +01:00
Jason King 2dd0b0deeb Issue 158: Added ProductItemCategory 2011-09-17 19:25:07 +01:00
Jason King a655d8ab25 Issues 158: iso3166Code: use country only if state is missing. Whitespace trimming and null checking 2011-09-17 10:35:47 +01:00
Adrian Cole 37c4da6489 Issue 158: stubbed in compute service and tested datacenter -> location translation 2011-09-16 17:53:57 -07:00
Adrian Cole 6ad10cd185 Issue 158: undid circular dependency I created 2011-09-16 17:53:00 -07:00
Adrian Cole 89db566131 Issue 158: Added parent location 2011-09-16 17:01:52 -07:00
Adrian Cole 626b45ee46 Issue 158: Datacenter is more closely related to Location than Address 2011-09-16 16:56:13 -07:00
Adrian Cole e80786a1b2 Issue 158: refactored to find package using Iterables 2011-09-16 16:28:32 -07:00
Adrian Cole a8348fcb17 Issue 158: moved AddressToLocation to the compute package 2011-09-16 16:24:04 -07:00
Adrian Cole 22fbcb7be4 Issue 158: fix to use new Nullable annotations 2011-09-16 16:17:00 -07:00
Jason King 5e649d15c6 Refactored SoftLayerUtils to ProductPackagePredicates 2011-09-16 22:45:10 +01:00
Jason King af5cd63dfc Created AccountToLocation function class and added description to Address 2011-09-16 21:30:31 +01:00
Jason King 43141bcf78 Issue 158 added Address class and included in api calls. Provides iso3166 code 2011-09-16 16:51:40 +01:00
Jason King 5d53be270c Fixed @see DatacenterClient 2011-09-16 14:34:50 +01:00
Jason King 0f31b1cfb7 Issue 158: Extracted getProductPackageId to SoftLayerUtils and added tests 2011-09-16 14:34:50 +01:00
Jason King c52c13e625 ProductPackageClientLiveTest used Cloud Server pkg name instead of id 2011-09-16 09:57:26 +01:00
Jason King df696966a0 Issue 158: Test to get the datacenters where CloudLayer Computing Instances are available. 2011-09-15 23:37:08 +01:00
Adrian Cole 3b3c6eeac3 Issue 645: updated image list for go2cloud 2011-09-12 23:00:20 -07:00
Adrian Cole 508372bbfa added content test for softlayer 2011-09-12 21:56:31 -07:00
Adrian Cole 0c91e3ae37 Issue 669: fixed test properties for elasticstack 2.0 providers 2011-09-12 18:54:58 -07:00
Adrian Cole b172223da8 increased timeouts for softlayer calls 2011-09-11 00:53:38 +02:00
Jason King cd70eefc6d Issue 158 Return Datacenter (location) information with ProductPackage 2011-09-09 10:54:49 +01:00
Jason King bf36742639 Issue 158: Removed unused method from ProductPackage 2011-09-09 10:37:39 +01:00
Jason King 9966eb68c9 Issue 158: Updated links to softlayer documentation as URLs have changed 2011-09-09 10:36:25 +01:00
Adrian Cole 8bb614bf72 Issue 158: changed Product Package test to iterate through active packages in Account 2011-09-07 20:08:46 +02:00
Adrian Cole e62834c624 removed unused imports 2011-09-07 20:07:22 +02:00
Jason King 442782dca3 Issue 158: Added AccountClient and getActivePackages method 2011-09-07 18:02:39 +01:00
Adrian Cole 1f14adf4ea Issue 158: added response parser for ProductPackage 2011-09-01 17:42:46 -07:00
Adrian Cole 073eba9699 Issue 158: add getProductPackage to softlayer 2011-08-24 11:58:29 -07:00
Adrian Cole 960bfe709f Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file 2011-08-16 18:14:30 -07:00
Adrian Cole 0a8f38b90e bumped snapshot version to 1.2.0-SNAPSHOT 2011-08-05 04:09:23 +01:00
Adrian Cole c424edbda9 Issue 645: go2cloud uses a elasticstack2 which we don't yet support 2011-07-29 13:44:03 -07:00
Adrian Cole edc1b10610 Issue 637: moved to sshj and tested on aws-ec2 gogrid cloudservers elastichosts-lon-p trmk-* 2011-07-25 03:59:01 -07:00
Adrian Cole 323e775a08 Issue 634: folded vcloud-common into vcloud and trmk-common 2011-07-23 12:06:04 +10:00