Commit Graph

1060 Commits

Author SHA1 Message Date
Adrian Cole 954b5f914b Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (33 commits)
  optimize imports
  reset loginpassword/privatekey when explicitly set
  revised tests that AdminAccess change recently broke
  Issue 1028:vCloud Director 1.5: require x-vcloud-authorization header on vcloud api
  Add SYSTEM scope from DMTF CIMI. FGCP provider needs it.
  Issue-1020 Add full name option for AdminUser and UserAdd
  Add missing @Override in TransientStorageStrategy
  format and imports
  Ensure that EventBus is a singleton
  Introduce LocalAsyncBlobStore
  Miscellaneous local blobstore cleanups
  Prefer valueOf over explicit object creation
  Move helper method to TransientStorageStrategy
  Move copy(MutableBlobMetadata) to BlobStoreUtils
  Cloudstack VirtualMachines can have negative cpuUsed values for some reason
  removed dead code
  corrected destroyNodes bug
  Fixed compilation failures caused by 70fa74df1a
  Remove encodeString() and encodeString(String)
  Shuffle blobstore parameters to match superclass
  ...
2012-07-24 10:05:43 -07:00
Adrian Cole 9d007a40b7 reset loginpassword/privatekey when explicitly set 2012-07-23 19:28:59 -07:00
Adrian Cole 6d9d638a1f Merge pull request #746 from dkoper/master
adding SYSTEM location scope required for FGCP
2012-07-23 19:19:50 -07:00
Dies Koper 966f1fc459 Add SYSTEM scope from DMTF CIMI. FGCP provider needs it. 2012-07-24 11:39:54 +10:00
Andrew Gaul 8524dd3a67 Ensure that EventBus is a singleton 2012-07-23 11:02:55 -07:00
Andrew Gaul 985cccff9a Prefer valueOf over explicit object creation
This allows use of cached values.  Patched with:

find -name \*.java | xargs sed -i 's/new Boolean(false)/Boolean.FALSE/g'
find -name \*.java | xargs sed -i 's/new Boolean(true)/Boolean.TRUE/g'
find -name \*.java | xargs sed -i 's/new Boolean(/Boolean.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Integer(/Integer.valueOf(/g'
find -name \*.java | xargs sed -i 's/new Long(/Long.valueOf(/g'
2012-07-22 21:01:46 -07:00
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 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
Adrian Cole 11e9728dd5 [maven-release-plugin] prepare for next development iteration 2012-07-17 23:32:35 -04:00
Adrian Cole c3697ebbae [maven-release-plugin] prepare release jclouds-1.5.0-beta.7 2012-07-17 23:32:32 -04:00
Adrian Cole 00d2ac2df7 Merge branch 'master' of https://github.com/jclouds/jclouds into 1.5.x
* 'master' of https://github.com/jclouds/jclouds:
  Issue 1024:Not possible to create hvm Linux nodes on Amazon
  Remove duplicated hexadecimal conversion code
  Ensure we close streams via InputSupplier methods
  Reduce filesystem and transient differences
  expect tests: removing requirement that requests are unique (so orderedRequestsSendResponses can tee up different responses for the same request when testing functions)
  Initial implementation of controlling SmartOS over SSH connection.
  Harmonize filesystem and transient putBlob
  remove stray @Test on base class as it's causing warnings due to its public non-test methods
  Issue 1011: remove PagedIterator
  Added optional timeout to EC2 listNodes strategy and made awaitCompletion update latch in finally block
  added concat to PagedIterable
2012-07-17 23:17:46 -04: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
Andrew Gaul d82dd32c64 Remove duplicated hexadecimal conversion code 2012-07-17 13:09:38 -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
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 e4545fe5fa Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds: (30 commits)
  Issue 1011: introducing PagedIterable
  Transform to work with SaxParser
  added @Transform
  disabled test that broke cloudbees build
  Issue 1022:Move naming convention to Api from Client or Services:: cdmi
  merged cdmi changes and fixed classpath issues
  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
  Issue 1022: naming conventions
  cloudstack: removing unnecessary (and in some cases misleading Named annotations). Also removing CloudstackParserModule - handling deserialization in constructors marked with ConstructorProperties annotation
  Issue 1022:Move naming convention to Api from Client or Services:: carrenza-vcloud-director
  Issue 1022:Move naming convention to Api from Client or Services:: joyent-cloudapi joyentcloud
  Issue 1022:Move naming convention to Api from Client or Services:: vcloud-director
  cleaned up http builders and expect tests
  Fix infinite loops, found by FindBugs
  Log hostnames only if they differ
  vcloud tidies
  nodepool progress and AdminAccessBuilderSpec
  Issue 1022: updated aws-elb aws-iam aws-rds iam elb rds to new naming conventions
  Issue 1022: added BaseRestApiExpectTest
  swift keystone 2.0: applying defaultProperties()
  ...
2012-07-15 23:46:35 -07: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 b49f2e99c7 Issue 1022: naming conventions 2012-07-15 13:57:44 -07:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
Andrew Gaul b95f36952d Fix infinite loops, found by FindBugs 2012-07-14 18:46:58 -07:00
Andrew Gaul 68b8a99c79 Log hostnames only if they differ
Also only log we have not previously encountered this mapping.
Finally use concurrent map for thread safety.
2012-07-13 15:17:53 -07:00
Adrian Cole 72ba1639b9 Issue 1022: added BaseRestApiExpectTest 2012-07-12 10:08:10 -07:00
Adrian Cole a14b940060 [maven-release-plugin] prepare for next development iteration 2012-07-10 12:22:44 -07:00
Adrian Cole fd69ec5249 [maven-release-plugin] prepare release jclouds-1.5.0-beta.6 2012-07-10 12:22:42 -07:00
Adrian Cole 1f085e9e1d merge 2012-07-09 18:14:52 -07:00
Adrian Cole 0383a80904 Issue 1011: PaginatedIterable with marker type as Object 2012-07-09 16:08:32 -07:00
Adrian Cole 6cdad28359 Merge pull request #704 from dkoper/master
tested NPE goes away with FGCP expect test
2012-07-09 00:04:59 -07:00
Dies Koper 43f12fa627 prevent NPE when null is passed to @QueryParam annotated argument 2012-07-09 13:15:32 +10:00
Adrian Cole 7a776c0572 Issue 1007: missing interface method for iso8601 codec 2012-07-06 22:27:54 -07:00
Adrian Cole a73240f41b Issue 1007: ios8601 codec 2012-07-06 21:23:10 -07:00
Adrian Cole 25e68b328c Merge pull request #700 from aledsage/Issue-1004
Issue 1004: changes default SocketOpen impl
2012-07-06 14:38:02 -07:00
Adrian Cole 6359db8c5b Merge pull request #702 from dkoper/master
decouple use of provider's SSLContext from trustAllCerts setting
2012-07-05 22:47:38 -07:00
Dies Koper 90df3a1e51 enable provider (like FGCP) specific subclasses to reuse these static classes 2012-07-06 13:01:20 +10:00
Dies Koper 6f81d8d0d3 improvement on previous change: decouple use of provider's SSLContext from trustAllCerts setting. This will allow providers to combine their SSLContext with the value of this option 2012-07-06 12:40:48 +10:00
Adrian Cole 270b0d92f6 Merge pull request #701 from dkoper/master
adding hook to allow provider specific SSLContext for HTTPS communication
2012-07-05 19:00:46 -07:00
Dies Koper 4cbf02f0bc add hook for provider specific trusted SSLContext - in anticipation of FGCP support 2012-07-06 11:53:39 +10:00
Aled Sage 95c35487f0 Issue 1004: changes default SocketOpen impl
Sets it to InetSocketAddressConnect, instead of SocketOpenUnsupported.
Removes overriding the impl from Jsch and Sshj's client modules.
2012-07-05 16:00:29 +01:00
Adrian Cole d284839a83 [maven-release-plugin] prepare for next development iteration 2012-07-03 22:58:26 -07:00
Adrian Cole e96803862f [maven-release-plugin] prepare release jclouds-1.5.0-beta.5 2012-07-03 22:58:21 -07:00
Adrian Cole 21e4d4ffe4 merged latest 2012-07-03 22:45:05 -07:00
Adrian Cole 493de01cfa Merge pull request #694 from aplowe/openstack-nova2
Openstack & further GSON work: changed new openstack modules to use Named and ConstructorProperties
2012-07-03 07:07:07 -07:00
Adam Lowe 7ed9ebda47 Moving TypeAdapterFactories that eliminate null values in Sets, Maps and Multimaps to jclouds-core. 2012-07-03 14:46:54 +01:00
Adrian Cole 222e2cc367 Merge pull request #693 from dkoper/master
don't overwrite USER_AGENT if already there
2012-07-03 06:28:29 -07:00
Adam Lowe 3243325878 openstack: adjusting deserialization to treat {} as null if (and ONLY if) a null pointer is thrown when attempting to construct an object from the empty json object ({}) 2012-07-03 12:39:53 +01:00