Commit Graph

6756 Commits

Author SHA1 Message Date
Andrew Gaul 27e61f73e9 Remove encodeString() and encodeString(String)
These are not used in jclouds and callers should use
String.getBytes(Charset) directly, preferably with Guava Charsets
constants.
2012-07-19 10:55:23 -07:00
Andrew Gaul 870ed0cdb3 Shuffle blobstore parameters to match superclass
Also remove unused injected parameter.
2012-07-19 07:17:02 -07:00
Adrian Cole c4dde78b0c Merge pull request #725 from dralves/nodepool
issue 558 - nodepool
2012-07-19 04:38:59 -07:00
Adrian Cole 70fa74df1a Merge pull request #731 from andrewgaul/input-supplier
Prefer InputSupplier helpers
2012-07-19 04:34:25 -07:00
Adrian Cole aec16c184a Merge pull request #730 from andrewgaul/local-storage-strategy-injection
Inject TransientStorageStrategy
2012-07-19 04:33:53 -07:00
Andrew Gaul a40983a39d Prefer InputSupplier helpers
These ensure that inputs are closed properly.

Updated with: find -name \*.java | xargs sed -i
's/toStringAndClose(\(.*\)\.getInput())/toString(\1)/'
2012-07-18 17:42:48 -07:00
Andrew Gaul a2d5a48f3f Inject TransientStorageStrategy
Remove some unneeded checkNotNull as Guice does not inject null
parameters.
2012-07-18 16:02:07 -07:00
Adrian Cole 4ac8770e66 Merge pull request #727 from jclouds/fix-issues-building-on-win
Fix issues building on Windows
2012-07-18 15:29:48 -07:00
Adrian Cole 6cb318ece8 Merge pull request #728 from andrewgaul/local-storage-strategy-odds-and-ends
Tie up odds and ends from LocalStorageStrategy
2012-07-18 15:28:24 -07:00
Adrian Cole da86d52c65 Merge pull request #729 from andrewgaul/readme
Improve README blurb
2012-07-18 15:27:51 -07:00
Andrew Gaul cd1de16668 Improve README blurb
Make first sentence more direct, correct grammar errors, and
alphabetize providers.
2012-07-18 14:50:05 -07:00
Andrew Gaul 8a9265f015 Tie up odds and ends from LocalStorageStrategy
Use LocalStorageStrategy instead of TransientStorageStrategy and
handle IOExceptions.  Aso use dummy location in filesystem blobstore.
2012-07-18 09:45:23 -07:00
Andrew Phillips 575b0a4559 Using the 'maxmemory' option rather than the more generic 'additionalJOption' for the Javadoc plugin to allow for easier overriding 2012-07-18 09:51:08 -04:00
Andrew Phillips 75ce908c13 Made joyent-api tests compatible with Windows 2012-07-18 09:51:03 -04:00
Andrew Phillips f3419e90c9 Made virtualbox tests compatible with Windows 2012-07-18 09:51:01 -04:00
Andrew Phillips 16314f906c Made scriptbuilder tests compatible with Windows 2012-07-18 09:50:59 -04:00
David Ribeiro Alves 0949d52224 added admin access property to all unit tests as hudson requires it (no pk) 2012-07-18 11:36:57 +01:00
Adrian Cole bf06b51788 Merge pull request #726 from andrewgaul/local-storage-strategy
Introduce LocalStorageStrategy
2012-07-18 03:31:18 -07:00
Andrew Gaul c30c2c4809 Introduce LocalStorageStrategy
This commit will allow eventual unification of the filesystem and
transient blobstores.  No functional changes -- rename
FilesystemStorageStrategy to LocalStorageStrategy and implement it in
FilesystemStorageStrategyImpl and TransientStorageStrategy.
2012-07-17 23:11:10 -07:00
Adrian Cole 1ee26e4754 Issue 1024:Not possible to create hvm Linux nodes on Amazon 2012-07-17 23:15:06 -04:00
David Ribeiro Alves 240f76661c corrected assertion 2012-07-18 02:42:25 +01:00
David Ribeiro Alves 4f3de0777f readded missing test 2012-07-18 01:58:55 +01:00
David Ribeiro Alves cdde419b24 re-enabled most tests and corrected some minor bugs, only destoyPoolNodes is missing 2012-07-18 01:58:18 +01:00
Adrian Cole 6264dee999 Merge pull request #713 from magnayn/master
Initial implementation of SmartOS-SSH
2012-07-17 15:26:02 -07:00
Adrian Cole 62e8c59385 Merge pull request #724 from andrewgaul/hex-cut-and-paste
Remove duplicated hexadecimal conversion code
2012-07-17 15:24:21 -07:00
Adrian Cole 007eba6d7c Merge pull request #723 from andrewgaul/filesystem-transient-input-supplier
Ensure we close streams via InputSupplier methods
2012-07-17 15:23:47 -07:00
Adrian Cole 880388d035 Merge pull request #722 from andrewgaul/filesystem-transient-misc
Reduce filesystem and transient differences
2012-07-17 15:23:05 -07:00
Adrian Cole d3eee5a183 Merge pull request #721 from aplowe/openstack-nova2
expect tests: HttpRequests passed to orderedRequestsSendResponses need not be unique
2012-07-17 15:22:20 -07:00
Andrew Gaul d82dd32c64 Remove duplicated hexadecimal conversion code 2012-07-17 13:09:38 -07:00
Andrew Gaul bd5bf0dad2 Ensure we close streams via InputSupplier methods 2012-07-17 11:46:10 -07:00
Andrew Gaul d89153ed1f Reduce filesystem and transient differences 2012-07-17 09:50:47 -07:00
Adam Lowe 20d3d0d603 expect tests: removing requirement that requests are unique (so orderedRequestsSendResponses can tee up different responses for the same request when testing functions) 2012-07-17 15:30:03 +01:00
Adrian Cole 01f121a654 Merge pull request #720 from andrewgaul/filesystem-transient-putblob
Harmonize filesystem and transient putBlob
2012-07-17 05:37:58 -07:00
Nigel Magnay 46414e339a Initial implementation of controlling SmartOS over SSH connection.
This has been implemented mainly to allow jenkins-jclouds integration.

Signed-off-by: Nigel Magnay <nigel.magnay@gmail.com>
2012-07-17 11:19:00 +01:00
Andrew Gaul 02203afb07 Harmonize filesystem and transient putBlob 2012-07-16 22:02:00 -07:00
Adrian Cole 8d58808406 Merge pull request #719 from dkoper/master
removing stray @Test on base ApiExpectTest class
2012-07-16 19:11:13 -07:00
Dies Koper f119aaa49f remove stray @Test on base class as it's causing warnings due to its public non-test methods 2012-07-17 11:50:18 +10:00
Adrian Cole a979c31d8c Merge pull request #718 from grkvlt/transform-parallel-timeout
Timeouts on FutureIterables.transformParallel
2012-07-16 16:40:45 -07:00
Adrian Cole 3154371433 Issue 1011: remove PagedIterator 2012-07-16 12:11:59 -04:00
Andrew Donald Kennedy 4463b52051 Added optional timeout to EC2 listNodes strategy and made awaitCompletion update latch in finally block 2012-07-16 16:58:37 +01:00
Adrian Cole addeb0d031 added concat to PagedIterable 2012-07-16 11:07:17 -04:00
Adrian Cole 315d5fb3ef Issue 1011: introducing PagedIterable 2012-07-15 23:34:42 -07:00
Adrian Cole 248c6dcb39 Transform to work with SaxParser 2012-07-15 22:44:07 -07:00
Adrian Cole 872046ed4c added @Transform 2012-07-15 20:10:49 -07:00
Adrian Cole daef7b4ce9 disabled test that broke cloudbees build 2012-07-15 15:58:22 -07:00
Adrian Cole 647317b9b4 Issue 1022:Move naming convention to Api from Client or Services:: cdmi 2012-07-15 15:47:44 -07:00
Kenneth Nagin 929a9ce044 merged cdmi changes and fixed classpath issues 2012-07-15 15:45:48 -07:00
Adrian Cole 180265fe49 Issue 1022:Move naming convention to Api from Client or Services:: glesys jenkins openstack-* opsource-servers savvis-symphonyvpdc cloudwatch cloudidentity rackspace-cloudidentity aws-cloudwatch rackspace-cloudservers-us hpcloud-compute rackspace-cloudservers-us trystack-nova 2012-07-15 15:00:42 -07:00
Adrian Cole b49f2e99c7 Issue 1022: naming conventions 2012-07-15 13:57:44 -07:00
Adam Lowe ea901e3f7a cloudstack: removing unnecessary (and in some cases misleading Named annotations). Also removing CloudstackParserModule - handling deserialization in constructors marked with ConstructorProperties annotation 2012-07-15 10:01:59 -07:00