Commit Graph

249 Commits

Author SHA1 Message Date
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