Commit Graph

520 Commits

Author SHA1 Message Date
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
Allen Rohner fe50ae36bc Issue 716: fix :map-ebs-snapshot-to-device-name 2011-10-12 11:30:18 -05:00
Adrian Cole cd710a2a94 Issue 715:Unable to resolve symbol: -?> in this context 2011-10-11 09:23:07 -07:00
Adrian Cole 842da34982 Issue 713:support userMetadata in createNodesInGroup in byon, cloudservers, and aws-ec2 2011-10-07 00:34:44 -07:00
Alasdair Hodge fb0c571a50 #631 Avoid confusion over time units, in particular don't mistake millisecond values (in injected Timeouts) for seconds. Bonus unit test included. 2011-10-05 16:51:17 +01:00
Adrian Cole a0f0b7d4f3 Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  issue 704, clojure 1.3 compatibility:  removed uses of clojure-contrib, bringing in preferred modular dependencies where needed (tools.logging and core.incubator), adding the map-str function (that is all that was missing from clojure-contrib string), changing uses of "condition" to be java.lang.Exception, and changing the reference to private type byte-array-type to be the class directly in its own extend-protocol block since private type isn't liked under clojure 1.3; also removed clojure 1.1 build profile
2011-10-04 00:56:22 -07:00
Adrian Cole d44ef35ecf added details when assertions fail 2011-10-04 00:54:40 -07:00
Adrian Cole 04a5aa8f71 Merge pull request #91 from ahgittin/704-clojure13
Issue 704: clojure13
2011-10-04 00:49:43 -07:00
Adrian Cole b2e1da711a Merge branch 'master' of github.com:jclouds/jclouds
* 'master' of github.com:jclouds/jclouds:
  Issue 158: Removed location override
  Mark a live test as not enabled (needs investigation), change comment line
  Issue 158: Fixing unit/live tests
  Better error message - print node details
  Issue 158: Updated comment
  Issue 158: Get prices via orderTemplateCall. Use this to build hardware/image/os
2011-10-03 15:38:47 -07:00
Jason King 5b6b4da3f9 Better error message - print node details 2011-10-03 22:03:50 +01:00
Adrian Cole 9f24f68fd2 added comment to base test 2011-10-03 13:31:42 -07:00
Alex Heneveld 9d30fde375 issue 704, clojure 1.3 compatibility: removed uses of clojure-contrib, bringing in preferred modular dependencies where needed (tools.logging and core.incubator), adding the map-str function (that is all that was missing from clojure-contrib string), changing uses of "condition" to be java.lang.Exception, and changing the reference to private type byte-array-type to be the class directly in its own extend-protocol block since private type isn't liked under clojure 1.3; also removed clojure 1.1 build profile 2011-10-03 11:17:16 +01:00
Adrian Cole b599b30f99 Issue 158: Added retryable predicate to check that login information is available. 2011-09-30 22:35:54 -07:00
Mattias Holmqvist e2997539e5 Fixed @Nullable annotation to from javax.annotation to org.jclouds.annotation 2011-09-30 20:57:46 +01:00
Adam Lowe 001c58cba7 Issue 694: Correcting unit test to run it single-threaded 2011-09-30 20:57:46 +01:00
Adrian Cole f26413d8d7 formatting 2011-09-30 20:57:46 +01:00
Adrian Cole bd8d02d1d5 fixed unit test to be single-threaded as mocks aren't threadsafe 2011-09-30 20:57:45 +01:00
Adam Lowe 08fd5cd1eb Issue 694: Adjusting RunScriptOnNodeUsingSsh to use '\n's and adding RunScriptOnNodeUsingSshTest 2011-09-30 20:57:45 +01:00
Aled Sage 6fdc30e2e1 issue 702: NodeRunning predicate throws IllegalStateException when state is terminated 2011-09-30 20:57:45 +01:00
Adam Lowe 466072c811 Issue 694: Using "here-document" redirection to wrap commands being passed into sudo 2011-09-30 20:57:44 +01:00
Adam Lowe 029bbd1ad3 Issue 694: Correcting imports 2011-09-30 20:45:59 +01:00
Adam Lowe 2a2af9b322 Merge branch 'master' of git://github.com/jclouds/jclouds 2011-09-30 19:08:44 +01:00
Adam Lowe c1b6e18fd3 Issue 694: Correcting unit test to run it single-threaded 2011-09-30 19:08:06 +01:00
Adrian Cole 90037fb656 formatting 2011-09-30 10:49:58 -07:00
Adrian Cole 557445db57 fixed unit test to be single-threaded as mocks aren't threadsafe 2011-09-30 10:49:25 -07:00
Adam Lowe e6ecb286f7 Issue 694: Adjusting RunScriptOnNodeUsingSsh to use '\n's and adding RunScriptOnNodeUsingSshTest 2011-09-30 18:28:30 +01:00
Aled Sage 3cd242502d issue 702: NodeRunning predicate throws IllegalStateException when state is terminated 2011-09-30 17:57:42 +01:00
Adam Lowe 0a289e9dd4 Issue 694: Using "here-document" redirection to wrap commands being passed into sudo 2011-09-27 22:02:33 +01:00
Adrian Cole 5b12880405 updated tests to use jboss 7.0.2 2011-09-25 15:22:28 -07:00
Adrian Cole 4cd94489c9 Issue 690:Update to guava 10.0rc2 and change from MapMaker to CacheBuilder 2011-09-22 00:23:29 -07:00
Guillaume Nodet 87dd23551c Avoid using a non official jsr and use our own annotations 2011-09-16 17:52:12 +02:00
Adrian Cole d86fa45fb6 fixed stub to work with override credential template options 2011-09-06 18:49:35 +02:00
Hugo Duncan 9a17a48b7b Add override-login-user-with and override-login-credential-with to clojure apis
The tests for these currently fail.
2011-09-02 17:04:09 -04:00
Hugo Duncan d97a5a9f0c Add override-credentials-with template optio to clojure api 2011-09-02 07:10:16 -04:00
Adrian Cole 960bfe709f Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file 2011-08-16 18:14:30 -07:00
Adrian Cole 69e7b101bb cleared up javadoc on blockUntilRunning and blockOnComplete 2011-08-11 15:55:44 +01:00
Adrian Cole 0a8f38b90e bumped snapshot version to 1.2.0-SNAPSHOT 2011-08-05 04:09:23 +01:00
Adrian Cole 2b28c04c0f Issue 539:expose templatebuilder parameter to prefer s3-backed images 2011-08-04 11:25:49 +02:00
Adrian Cole e2397d6302 stabilize vcloud-based providers for 1.1.0 release 2011-08-03 10:13:54 -07:00
Adrian Cole c322281bfc updated integration tests to use jdk7 (if present) and final version of jbossas7 2011-07-28 12:01:39 -07:00
Adrian Cole 46c147d43b toned down logging and corrected logback version 2011-07-26 22:16:52 -07:00
Adrian Cole edc1b10610 Issue 637: moved to sshj and tested on aws-ec2 gogrid cloudservers elastichosts-lon-p trmk-* 2011-07-25 03:59:01 -07:00
Adrian Cole 732491fe17 Issue 636: hone ssh code config + tests to make it easier to isolate cause of stderr hang 2011-07-25 03:10:55 -07:00
Adrian Cole f42b550015 Issue 487: terremark hostnames are predictable 2011-07-24 00:06:38 +10:00
Adrian Cole 0a73d5a22a updated to allow services a bit longer to start jboss 2011-07-23 17:51:43 +10:00
Adrian Cole 6928082674 Issue 487:Add hostname property to nodemetadata 2011-07-22 21:21:33 +10:00
Adrian Cole acd4b4a628 clean up style warnings 2011-07-22 12:48:59 +10:00
Adrian Cole ee797da004 Issue 632:enhance and automatically work around nodes with sftp problems 2011-07-22 10:43:19 +10:00
Adrian Cole f3a0e6d0bd Issue 632:enhance and automatically work around nodes with sftp problems 2011-07-22 10:41:43 +10:00