Commit Graph

4378 Commits

Author SHA1 Message Date
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
Alex Heneveld d42469d450 added convenience for retrying and getting a result 2011-12-02 03:18:21 +00:00
Alex Heneveld 723dd61c33 added some more enums instead of strings, minor tidies (added missing Builder.build methods) 2011-12-02 03:05:58 +00:00
Alex Heneveld fc72c945f7 tidy of tests, to use retry/predicates and to timeout when appropriate, and to guard against various nefarious conditions 2011-12-02 02:33:43 +00:00
Alex Heneveld f329db5786 extensions needed to get snapshots/volumes working (from grkvlt) and tidies 2011-12-02 02:32:04 +00:00
Alex Heneveld 269754c3c9 added convenience for retrying and getting a result 2011-12-02 00:56:59 +00:00
Adrian Cole 7b72ef5cfc reinstated arg so that we are binary compatible for drop-in w/whirr 2011-12-01 19:11:33 -05:00
Adrian Cole f29a733b18 Merge pull request #198 from andreaturli/ssh
issue 384: add CheckSshDaemonRunning + LiveTest
2011-12-01 14:24:55 -08:00
andreaturli 9c3af8ffd9 issue 384: modify SshAvailable.toString to follow convention 2011-12-01 22:22:47 +00:00
andreaturli c263c7b126 issue 384: modify SshDaemonIsRunning<IMachine> in SshAvailable<String> to address jclouds's comment 2011-12-01 22:13:43 +00:00
Adrian Cole d0a2f54cb3 adjusted behavior relating to name/hostname 2011-12-01 16:33:19 -05:00
andreaturli c86e771a9c issue 384: change CheckSshDaemonIsRunning in SshDaemonIsRunning to address jclouds's comment 2011-12-01 21:11:17 +00:00
Adrian Cole dc494414ba Merge pull request #197 from andreisavu/job-complete
Use enums for status, result code & error code for async jobs
2011-12-01 10:19:28 -08:00