Commit Graph

4440 Commits

Author SHA1 Message Date
Richard Downer f39bdbe210 Add a Builder class for Alert 2011-12-05 19:57:54 +02:00
Richard Downer 48cdb58d8c Redo imports without "import package.*;" 2011-12-05 19:57:33 +02:00
Richard Downer 09b6df353a Further changes to VirtualMachine related to input and parsing of CpuUsed, and add a unit test 2011-12-05 19:24:49 +02:00
Jason King b9ba7cf196 Merge pull request #213 from jsonking/695-Terremark
Added service calls /objects for Location and ComputePoolResourceSummary
2011-12-05 09:13:05 -08:00
Jason King 5e854c8a6b Issue 695: Added ComputePoolResourceSummary, associated objects, service call and tests 2011-12-05 17:02:51 +00:00
Adrian Cole 1117c662d2 Merge pull request #209 from richardcloudsoft/cloudstack-template-live-test
TemplateClientLiveTest was not properly cleaning up the VMs and templates
2011-12-05 08:08:03 -08: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
Richard Downer 3789aa3fc6 Implement the CloudStack 'alerts' API (available to the global administrator) 2011-12-05 14:44:10 +02:00
Richard Downer bdaebf8ce1 Add the global admin context to BaseCloudStackClientLiveTest 2011-12-05 14:44:10 +02:00
Richard Downer 6d657b1c90 Fix bug in parsing VirtualMachine.cpuUsed 2011-12-05 14:42:04 +02:00
Richard Downer 72d70162ab Name the created templates with the correct prefix, instead of inventing a random name 2011-12-05 10:05:19 +02:00
Richard Downer 1d60c0d819 TemplateClientLiveTest was not properly cleaning up the VMs and templates it created 2011-12-05 09:48:29 +02:00
Adrian Cole da56c047a1 Merge pull request #208 from ahgittin/738-zealous-logging
issue 738 - improved logging for errors on retries
2011-12-04 18:26:30 -08:00
Alex Heneveld 067ed6d6ce test for 738, downgrading some warnings to info 2011-12-04 22:43:07 +00:00
Alex Heneveld 7b0353560d in-memory logger for use in tests, with tests 2011-12-04 22:43:07 +00:00
Alex Heneveld c8d614e360 don't log warning if exception is retryable, downgraded to an info message 2011-12-04 22:43:07 +00:00
Alex Heneveld 4d11d4ef05 removed redundant error logging
(was done by caller and also in propagate method; have removed from caller;
might be better to remove from propagate, and leave at discretion of caller,
because some places the "error" might be benign, and shouldn't log error at all,
or not at >=WARN, but rather just leave at discretion of caller)
2011-12-04 22:43:06 +00:00
Alex Heneveld f55e4a5d3e merged duplicate code branches 2011-12-04 22:43:06 +00:00
Adrian Cole d9ccd506e7 updated regions for walrus on partner cloud 2011-12-04 12:53:06 -08:00
Adrian Cole 572365ba21 Merge pull request #206 from vijaykiran/sync-domain-objects
Sync domain objects with json responses from the documentation - part 1
2011-12-04 00:12:11 -08:00
vijaykiran 838ea11395 Sync domain objects with json responses from the documentation - part 1 2011-12-03 01:31:27 +01: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
Adrian Cole 325e36efb0 Merge pull request #205 from andreisavu/template-live-test-typo
Fixed a refactoring typo
2011-12-02 10:39:48 -08:00
andreisavu 46e3e4d20a Fixed a refactoring typo 2011-12-02 20:26:40 +02:00
Adrian Cole 7ab9d17c8a Merge pull request #201 from richardcloudsoft/cloudstack-template-live-test
Changes to TemplateClientLiveTest to make it faster and more reliable
2011-12-02 10:04:40 -08:00
Richard Downer 9939237c6b Merge branch 'master' into cloudstack-template-live-test
Conflicts:
	apis/cloudstack/src/test/java/org/jclouds/cloudstack/features/TemplateClientLiveTest.java
2011-12-02 19:51:02 +02:00
Adrian Cole 2d3b652eb3 Merge pull request #196 from richardcloudsoft/cloudstack-deletetemplate
Cloudstack deleteTemplate call returns an asynchronous job response, not void
2011-12-02 09:21:25 -08:00
Adrian Cole 8626682535 Merge pull request #202 from andreisavu/list-async
Fix json parsing for listAsyncJobs
2011-12-02 09:19:23 -08:00
Adrian Cole dfd4861c3a Merge pull request #200 from ahgittin/cloudstack-templates
Cloudstack volumes and snapshots improvements
2011-12-02 09:18:17 -08:00
andreisavu 2a8003734f Removed unused import 2011-12-02 18:08:42 +02:00
andreisavu 9415797075 Made updates to the parser as Adrian suggested 2011-12-02 18:06:47 +02:00
andreisavu a6c43a5c4c Updated .json file to match server response for cloudstack 2.2.12 and tests 2011-12-02 17:56:08 +02:00
Alex Heneveld e690e9ee91 use the versions of new retryables from pull req 199 2011-12-02 15:44:23 +00:00
Adrian Cole da96b57c37 Merge pull request #199 from ahgittin/765-retry-made-easier
added convenience for retrying and getting a result - issue 765
2011-12-02 07:37:53 -08:00
Richard Downer 18880d8284 Change JobResultResponseTest to use @SelectJson("jobresult") - because it's supposed to be testing JobResult, and AsyncJob is a distraction 2011-12-02 17:29:32 +02:00
Richard Downer 5e1e0806e9 Rename JobResult -> OperationResult 2011-12-02 17:24:12 +02:00
Alex Heneveld 002b15e982 grrr, enum usage wasn't picked up sooner, fixes for that 2011-12-02 15:24:02 +00:00
Adrian Cole fbae4226bd Merge pull request #203 from andreisavu/system-properties
Issue 752. Move off deprecated systemProperties to systemPropertyVariables in surefire
2011-12-02 07:23:25 -08:00
Alex Heneveld 126cdf6dd5 added @Beta and source headers as per adrian's comments 2011-12-02 15:17:39 +00: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
Alex Heneveld fd9bbd5d82 tidied one new equals method; too much tedium to do all of them, seems not worth it 2011-12-02 14:59:18 +00:00
Alex Heneveld 077b3eb52d enums to upper case, with camel conversion routines 2011-12-02 14:57:29 +00:00
andreisavu 2284588513 Issue 752. Move off deprecated systemProperties to systemPropertyVariables in surefire 2011-12-02 16:47:14 +02:00
Alex Heneveld 6c42eb04a0 simplified equals method as per asavu comment 2011-12-02 14:45:40 +00:00
Alex Heneveld 3a2b34665c some changes to facilitate subclassed client tests which access generic compute service functionality 2011-12-02 14:38:07 +00:00
Richard Downer beb76f925a Changes to TemplateClientLiveTest to make it faster (using a smaller VHD for import) and more reliable (it won't break if the provider's default templates are marked as not extractable) 2011-12-02 11:02:10 +02:00