Commit Graph

568 Commits

Author SHA1 Message Date
Adrian Cole e8d4fe1687 Issue 871: corrected invalid toString message 2012-03-15 13:59:32 -07:00
Adrian Cole 5298951b91 Issue 871: preserve existing logic, but backfill tests based on javadoc 2012-03-15 13:55:43 -07:00
Adrian Cole 61ca816645 reverted pull 446 2012-03-15 08:59:31 -07:00
Alex Heneveld 0676300841 fixes in location containment predicate.
the grouping of and's and or's was wrong, causing an NPE in cloudstack tests when investigating parents;
the direction of containment (input should be descendent of location) was wrong also, i think,
to judge by the description "locationEqualsOrChildOf";
code is now a loop rather than fixed investigation of 3 levels
2012-03-15 15:55:49 +02:00
Adrian Cole 67d70fae62 state bug 2012-03-12 19:45:35 -07:00
Adrian Cole 755485537b allow execChannel to survive sshclient.disconnect, and not be bound by sessionTimeout 2012-03-10 13:25:12 -08:00
Adrian Cole 5e6ddec874 nasty regression in state found by aled 2012-03-09 10:53:54 -08:00
Adrian Cole dd7b16075e Issue 861:SSHClient should provide access to input/output streams 2012-03-08 15:48:51 -08:00
Adam Lowe 6559322efc VCloud Director 1.5: reverting unnecessary change to non-JAXB Section class 2012-03-01 23:26:20 +00:00
danikov 5dd8f60a9f enable vClouds domain objects to extend Section 2012-03-01 09:55:00 +00:00
Adrian Cole c72b3ae236 InstallJDK for 32bit vms 2012-02-26 16:55:42 +02:00
Andrew Donald Kennedy 34459605fc Large squashed commit with various changes:
- Setup new test properties for catalog names and various ids as injectable
- Make retryable TaskSuccess predicate injectable
- Mark test classes as "user"
- Various tidyup and code fixes as and when required
2012-02-21 16:07:31 +00:00
Adrian Cole d916bb25ac tidied syntax to get eventBus 2012-02-19 09:39:20 +02:00
Adrian Cole 636c3bb6e5 Issue 357:Init script should check for errors + herefile fixes + script events 2012-02-19 01:53:19 +02:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
Adrian Cole a4140d5907 typo 2012-02-16 12:10:46 +01:00
Adrian Cole ed7b8895e6 Issue 840:remove compute.clj and blobstore.clj 2012-02-15 14:55:26 +01:00
Adrian Cole 44db3e0d57 fixed test bug 2012-02-15 12:30:18 +01:00
Adrian Cole 03c9dd9915 Issue 824: templateBuilder param for hypervisor 2012-02-15 11:55:30 +01:00
Adrian Cole 2da5d297a5 Issue 838: convert jboss tests and java tests to use InstallJDK 2012-02-14 23:22:24 +01:00
Adrian Cole 2332662a90 move to using AtomicReference for retryable predicates saves at least one network call on re-fetch 2012-02-14 23:22:24 +01:00
David Ribeiro Alves ca602e7db0 Moved RunScriptData to src/main as there are non test dependencies; Deleted orpah and duplicate file GuestAdditionsInstallation.java (wrong place and duplicated in InstallGuestAdditions.java) as well as duplicate script installGuestAdditions.sh (duplicated in installModuleAssistantIfNeeded.sh) 2012-02-13 05:36:14 -06:00
Adrian Cole 993ba39243 stabilized glesys templates 2012-02-09 11:32:31 +00:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Aled Sage ab568f0a09 Issues 364 and #365: destroyNode cleans up incidental resources 2012-02-04 15:40:31 +00:00
Adrian Cole bdd739ad04 Issue 826:support api-generated location metadata across service types, note this ensures authenticationexceptions propagate even after context creation 2012-02-03 00:27:29 -08:00
Adrian Cole ddec84db8e missing centos mapping 2012-01-30 23:58:46 -08:00
Adrian Cole abeffc1119 Issue 824:add field for hypervisor 2012-01-30 22:52:35 -08:00
Adrian Cole 3df052565f updated current version to 1.4.0-SNAPSHOT 2012-01-16 13:08:32 -08:00
Adrian Cole 69c9fd6905 fixed null pointers 2012-01-15 19:45:55 -08:00
Adrian Cole 181f1de4fd updated clojure option map for compute2 2012-01-15 15:30:34 -08:00
Adrian Cole 16a973c08c handle case when image location is null (ex. not scoped to a location)
work on templates where image and hardware have no location

better warning messages on templates we cannot use

lookup images less often in vcloud
2012-01-15 02:12:14 -08:00
Adrian Cole 9791a51039 better exception message
remoced unused import

removed hokey test
2012-01-15 02:08:14 -08:00
Adrian Cole c9f980e59e filtered out null objects 2012-01-15 02:08:12 -08:00
Adrian Cole 9d36c3e4b0 renamed tag -> group
removed old language in exception about tag
2012-01-15 02:07:46 -08:00
Adrian Cole 7e32b0624d add reminder to add exception to this method, so that we can cleanup stale resources 2012-01-14 21:07:39 -08:00
Adrian Cole a28a981931 address case when curl is not yet installed 2012-01-14 21:06:05 -08:00
Adrian Cole ab6c4181ba Issue 710: our ovf classes currently do not support multiple virtual systems 2012-01-14 20:53:49 -08:00
Adrian Cole f363771464 os tidies 2012-01-12 17:59:50 -08:00
Adrian Cole f390f314ee Issue 803: changes needed when guice is in production mode 2012-01-07 06:08:32 -08:00
Adrian Cole 0f71ae1596 added image constants 2012-01-07 01:28:12 -08:00
Adrian Cole 29f32cc6c2 added constant for image-id 2012-01-06 09:51:36 -08:00
Adrian Cole f06e6982eb Issue 800:introduce property for build version 2012-01-05 17:51:55 -08:00
Adrian Cole 99fb37f6cf refactored LiveTest code to share property initialization 2012-01-05 17:51:03 -08:00
Adrian Cole 42137677da Issue 801:fix inconsistency in test property test.provider.apiversion set in pom.xml -> api-version 2012-01-05 13:09:45 -08:00
Adrian Cole c6d1f2d56e allow images to get credentials by credentialstore 2011-12-22 02:18:17 -08:00
Adrian Cole 618dc907a1 hardened compute adapter 2011-12-21 23:59:51 -08:00
Adrian Cole d1f4339c84 fixed means by which tests get login credentials 2011-12-21 22:10:34 -08:00
Andrew Donald Kennedy bfe6cd32a6 Typo in Javadoc 2011-12-21 18:53:28 +00:00
Adrian Cole fd4fb98191 updated tests to use jdk7u2 2011-12-21 03:15:08 -08:00
Adrian Cole f9b38f646c Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible 2011-12-20 23:19:45 -08:00
Aled Sage af97d350a7 Issue 746: added runScriptOnNodeAsInitScriptUsingSshAndBlockUntilCompleteTest.testRepeatedlyChecksIfInitScriptCompleted 2011-12-19 10:48:20 +00:00
Adrian Cole 39290d725c Issue 786:isolate stub computeservice contexts from eachother 2011-12-18 15:19:49 -08:00
Adrian Cole aa00e28d73 Issue 787:clojure terminated? predicate should return true if the node is null 2011-12-18 15:19:26 -08:00
Adrian Cole e942d58fa7 Merge pull request #254 from grkvlt/master
Issue 779: Fix password/privateKey override issues with providers
2011-12-18 13:37:09 -08:00
Andrew Donald Kennedy 31d3fe483f Issue 769: Make password and privateKey optional for LoginCredentials 2011-12-17 14:08:49 +00:00
Adrian Cole e28d45ec18 example test for properties override 2011-12-16 20:53:06 -08:00
Aled Sage 570fab3dea Issue 746: add properties for initStatusInitialPeriod and initStatusMaxPeriod 2011-12-16 23:59:33 +00:00
Aled Sage aa94c60df9 Issue 746: increasing retry times for init-script 2011-12-16 23:17:45 +00:00
Aled Sage 9a725ba93c Fix testTemplateBuilderWithLoginUserSpecified to clean up credentials added to CredentialStoreModule.BACKING 2011-12-13 22:42:14 +00:00
Aled Sage 60af7f454f testTemplateBuilderCanUseImageId: use new context when building with imageId 2011-12-13 22:42:13 +00:00
Aled Sage dad5356991 Issue 763: Supplier<Set<Image>> for EC2 returns set backed by on-demand cache if ami-owners is empty 2011-12-08 10:22:26 -08:00
Aled Sage a45e16ebb3 Issue 763: code tidy, to use new ImagesToRegionAndIdMap.imagesToMap(Set<Image>) 2011-12-08 10:22:26 -08:00
Aled Sage 635c420a92 Issue 763: don't retrieve all images when template.imageId supplied 2011-12-08 10:22:26 -08:00
Mattias Holmqvist 9865616c2c Issue 772: Fix clojure tests when running with Clojure 1.3.0. Added ^:dynamic to Vars to support Clojure 1.3.0. Also cleaned up tests a bit, not using earmuffs when inappropriate. 2011-12-08 01:12:52 +01: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 1dbb34c2aa log more details when jboss service fails to start 2011-11-27 18:13:05 -05:00
Adrian Cole c15400ca0e Merge pull request #190 from iocanel/master
Udpdated Fragment definitions so that they are compatible with OSGi 4.3.
2011-11-26 08:16:18 -08:00
Ioannis Canellos 70bb4a17e2 Updated fragment declarations so that they can comply with OSGi 4.3 specification. 2011-11-23 19:03:51 +02:00
Adrian Cole 4a5af1e7a5 Issue 441: added new type: LoginCredentials, and (jclouds|provider).image.(login-user|authenticate-sudo) context properties 2011-11-21 11:00:12 +02:00
andreisavu 3cec3293f0 Expose the Guice injector as a @Beta API 2011-11-21 10:52:32 +02:00
Adrian Cole a377fe04a0 fixed template test when there's no password supplied 2011-11-17 16:11:00 +02:00
Adrian Cole 6392edfcee default to root/Administrator on image login user 2011-11-16 14:02:00 +02:00
Adrian Cole 90dfed8583 ensure templatebuilder tests pass when image-id and login-user properties are set 2011-11-15 18:29:53 +02:00
Adrian Cole 6b4a431665 change test to not use InetAddress.getLocalhost() as this breaks on cloudbees 2011-11-15 15:59:32 +02:00
Adrian Cole e1f66caec0 updated cloudstack to include adminCredential + vlan tests 2011-11-15 12:59:42 +02:00
Adrian Cole 4329129c25 Issue 750:property to set the image id for the default template 2011-11-14 19:25:46 +02:00
Adrian Cole 8569771712 fixed aws-ec2 template tests 2011-11-13 13:28:28 +02:00
Adrian Cole ae92c8005b authorization test failing on guice errors on apis module 2011-11-13 12:57:10 +02:00
Adrian Cole c08a7884bd Issue 750:property to set the image id for the default template 2011-11-11 19:48:28 +02:00
Adrian Cole 1cf2be9b09 Merge pull request #127 from jsonking/master
Issue 695: Updated test url and refactored credentials code into singe location.
2011-11-10 00:52:53 -08:00
Adrian Cole 281c92a581 roughed in cloudstack compute service adapter 2011-11-10 02:11:10 +01:00
Jason King 98e7c6047c Refactored frequently repeated service config (provider,credential etc) into new class BaseVersionedServiceLiveTest and used it in BaseCompute, BaseTerremarkClient and BaseVCloudClient live tests 2011-11-09 15:27:46 +00:00
Adrian Cole 0f8a2eec17 Issue 740:update tests to use JDK7 2011-11-01 04:23:59 +00:00
Adrian Cole 29ee165de2 Issue 741:UserAdd doesn't copy skeleton directory 2011-11-01 04:23:47 +00:00
Andrew Phillips 39dbc592b5 Using OS-dependent file separators in asserts (instead of assuming UNIX '/') 2011-10-29 11:53:28 -04:00
Adrian Cole 7d35ec47ee ensuring we parse os versions, by adding tests 2011-10-22 17:49:58 +02:00
Adrian Cole a1568c4779 fixed package declaration in callable tests 2011-10-17 20:04:15 -07:00
Adrian Cole a197facf1e Issue 728:Permission denied executing scripts 2011-10-17 20:03:48 -07:00
Adrian Cole 5ce3288c2f fixed package declaration in callable tests 2011-10-17 20:02:44 -07:00
Adrian Cole a56a0fb334 Issue 728:Permission denied executing scripts 2011-10-17 20:00:48 -07:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Adrian Cole 5a898d7f97 missing commit for precise 2011-10-16 03:27:35 -07:00
Adrian Cole 0c14365399 Harder tests relating to installing admin user 2011-10-16 03:08:36 -07:00
Adrian Cole 7491f764f3 Issue 197: smarter forget.sh 2011-10-16 03:07:58 -07:00
Adrian Cole f9e34a7caf precise 2011-10-16 03:06:35 -07:00
Adrian Cole 1668a708f4 hardening script running 2011-10-16 03:05:53 -07:00
Adrian Cole 2d704bde59 Issue 724:add ubuntu precise to the supported versions 2011-10-16 02:50:45 -07:00
Adrian Cole b85b861d8b reduced verbosity of status commands 2011-10-15 00:25:37 -07:00
Adrian Cole 9e0aaa949b Issue 723:Allow for asynchronous script execution and client script execution handling 2011-10-14 22:34:57 -07:00