Commit Graph

4043 Commits

Author SHA1 Message Date
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
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
Andrea Turli ef957f6030 issue 384: add CheckSshDaemonRunning + LiveTest 2011-12-01 17:20:02 +00:00
Richard Downer acf19637da Don't try to cheat the parser - real life has the payload inside an AsyncJob, so test that 2011-12-01 17:07:44 +02:00
andreisavu 09de9bf00e Use enums for status, result code & error code for async jobs 2011-11-30 17:44:58 +02:00
andreisavu 3b785994c7 Added enums with all the known error & status codes for async jobs 2011-11-30 17:43:14 +02:00
Richard Downer 1b0b154dfc Cloudstack deleteTemplate call returns an asynchronous job response, not void. 2011-11-30 16:24:15 +02:00
Mattias Holmqvist 13f1a68b67 Removed settingsFile until properly supported. Added live tests for AttachDistroMediumToMachine. 2011-11-30 10:28:44 +01:00
Mattias Holmqvist be1847ce9b .indexOf() -> .contains() 2011-11-30 10:28:44 +01:00
Mattias Holmqvist e885fabcad Added live test for CreateMediumIfNotAlreadyExists. 2011-11-30 10:28:44 +01:00
Mattias Holmqvist caff96fbb0 Added fail() 2011-11-30 10:28:44 +01:00
Mattias Holmqvist b36b304dce Live test for CreateAndRegisterMachineFromIsoIfNotAlreadyExists. 2011-11-30 10:28:44 +01:00
Mattias Holmqvist 3921f86ae6 .indexOf() -> .contains() 2011-11-30 10:28:44 +01:00
Mattias Holmqvist 79c32c22e2 .indexOf() -> .contains() 2011-11-30 10:28:44 +01: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 b909137c4a mocks are not multithread capable 2011-11-29 13:58:40 -05:00