Commit Graph

378 Commits

Author SHA1 Message Date
Mattias Holmqvist cfecb84d75 Updated javadoc. 2011-12-10 21:35:45 +01:00
Mattias Holmqvist 678ab8a6ec Added nameServers to IpDetails in glesys provider. 2011-12-10 21:30:31 +01:00
Jason King 38feabf015 Merge pull request #229 from jsonking/695-Terremark
Issue 695: performance statistics for hourly/daily/cpu/memory and for a date range
2011-12-08 09:26:47 -08:00
Jason King 037755ad94 Issue 695: Fix @Test annotation test names 2011-12-08 17:09:54 +00:00
Jason King 98e2702e04 Issue 695: Implemented getPerformanceStatistics for a date range 2011-12-08 17:05:15 +00:00
Jason King f6c606e631 Issue 695: Refactored getDailyCpuPerformanceStatistics into getPerformanceStatistics as it works for daily/hourly+memory/cpu 2011-12-08 12:01:09 +00:00
Jason King bcc4f8fa53 Merge pull request #226 from jsonking/695-Terremark
Issue 695: StorageUsage objects and service calls + start of performance statistics
2011-12-07 11:38:05 -08:00
Jason King e4fdcbbeb1 Issue 695: Fix test 2011-12-07 19:35:39 +00:00
Jason King dd5ba49218 Issue 695: Added PerformanceStatistics+daily cpu service call+tests 2011-12-07 19:32:35 +00:00
Jason King eebe515511 Issue 695: Added ComputePoolPerformanceStatistics+service call+tests 2011-12-07 15:00:41 +00:00
Jason King c5d859ce26 Issue 695: Added ComputePoolStorageUsageDetail+service call+tests 2011-12-07 11:50:06 +00:00
Jason King 4b56039f3c Merge pull request #220 from jsonking/695-Terremark
Issue 695: terremark cpu and memory resource usage calls
2011-12-06 10:29:06 -08:00
Jason King be93927f45 Issue 695: Added ComputePoolMemoryUsageDetail objects+service calls+tests 2011-12-06 17:58:21 +00:00
Jason King e6a9580ffd Issue 695: Moved schema to own dir so separate from test xml files 2011-12-06 17:22:47 +00:00
Jason King c1a36994fd Issue 695: Added ComputePoolMemoryUsage objects+service call+tests 2011-12-06 17:20:37 +00:00
Jason King 00de94b7b8 Issue 695: Added ComputePoolCpuUsageDetail objects+service calls+tests 2011-12-06 16:14:02 +00:00
Jason King afc173ef78 Issue 695: Renamed computePoolCpuUsage.xml 2011-12-06 14:34:51 +00:00
Jason King e62d0c45e3 Issue 695: Moved cpu related classes to own package 2011-12-06 14:32:36 +00:00
Jason King 816cfb8a43 Issue 695: Fixed ComputePoolCpuUsage tests 2011-12-06 14:22:48 +00:00
Jason King 0fd4608431 Issue 695: Used full xml response for computePoolsCpuUsage and asserted first and last dates 2011-12-06 14:07:53 +00:00
Jason King 58fdef2fa8 Issue 695: Fixed ComputePoolResourceSummaryListJAXBParsingTest so it tests the correct thing 2011-12-06 13:59:14 +00:00
Jason King 3e4531f347 Issue 695: Removed getLinks() from 2 Resource subclasses 2011-12-06 13:44:38 +00:00
Jason King e4d4d7fa61 Added ComputePoolCpuUsage objects+service call+tests 2011-12-06 13:38:53 +00:00
Jason King 2849284777 Issue 695: Added ComputePoolResourceSummaryList class, service call and tests 2011-12-06 10:32:11 +00:00
Mattias Holmqvist 138e16a2db Added getDetails() to IpClient for Glesys provider. 2011-12-05 23:47:47 +01:00
Jason King 5e854c8a6b Issue 695: Added ComputePoolResourceSummary, associated objects, service call and tests 2011-12-05 17:02:51 +00:00
Jason King 0dae767fa7 Issue 695: Renamed from method 2011-12-05 15:12:58 +00:00
Jason King bf034c7b7a Issue 695: Added JAXB test for Location 2011-12-05 14:46:17 +00:00
Jason King d8ef0a6d4f Issue 695: Added Location+Service call+tests 2011-12-05 14:24:10 +00:00
Mattias Holmqvist 506349da67 Added listFree() to IpClient/IpAsyncClient 2011-12-02 23:32:03 +01:00
Mattias Holmqvist b15ab66d30 Merge pull request #204 aplowe/master 2011-12-02 19:54:00 +01:00
Adam Lowe 1268c8f344 Adding ServerStatus domain objects for making status calls to api 2011-12-02 15:06:06 +00:00
Adam Lowe ddd532dcfd Adding Cost to ServerDetails 2011-12-02 15:00:13 +00:00
andreisavu 2284588513 Issue 752. Move off deprecated systemProperties to systemPropertyVariables in surefire 2011-12-02 16:47:14 +02:00
Adrian Cole 4535f92c51 added skeleton for Ip features 2011-11-29 15:03:11 -05:00
Adrian Cole 5c315686e8 added skeleton for Ip features 2011-11-29 14:59:51 -05:00
Adrian Cole 95708f36ea updated to latest parsing format 2011-11-29 14:44:01 -05:00
Adrian Cole 96d4766d68 Issue 762: started support for the GleSYS API 2011-11-28 20:17:58 -05:00
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
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