853 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 70fa74df1a6
  Remove encodeString() and encodeString(String)
  Shuffle blobstore parameters to match superclass
  ...
2012-07-24 10:05:43 -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
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
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
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
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
05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -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
74b404eab8 Issue 1008:aws-s3 could not get location for region eu-west-1 error 2012-07-07 17:28:44 -07:00
Adrian Cole
e9bfb9d1a2 Issue 1007: changed ec2 date parsing logic to use DateCodec and isolated hacks to eucalyptus and openstack-nova-ec2 respectively 2012-07-06 22:54:45 -07:00
Adam Lowe
4a5be7a7ec gogrid: improving logging during live tests 2012-07-06 16:59:41 +01:00
Adam Lowe
9af07d0073 gogrid: improving GridImageClientLiveTest 2012-07-06 16:59:41 +01:00
Adam Lowe
3c01b3171b gogrid: making domain objects immutable and using ConstructorProperties to mark names for deserialization 2012-07-06 16:59:33 +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
570f33a387 Issue 961: promote rackspace-cloudservers-us to providers 2012-07-03 22:25:34 -07:00
Adrian Cole
e35005d45c updated amazon templates 2012-07-03 22:14:06 -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
fb98ce82f7 cleanup of module binding, clarity in toStrings, reduced wrapper depth for memoized sets 2012-07-02 19:36:27 -07:00
Adrian Cole
17fce87661 switched keystone-backed providers and apis to strictly return a single scope of location 2012-07-02 15:23:52 -07:00
Adrian Cole
bd0d319473 updated identityName 2012-06-27 12:19:26 -07:00
Jeremy Whitlock
2702e942d2 Issue 992: Fix AWS S3 to work with non-DNS, but still valid, named buckets.
Prior to this commit, jclouds wouldn't allow you to interact with any buckets
in S3 that were named with uppercase characters.  Per AWS S3 docs, this
non-standard naming is valid in US regions only.  This update fixes jclouds so
that it can interact with, and even attempt to create, buckets with uppercase
characters for AWS S3 without actually impacting other S3 implementations.  This
fix also will not have any impact in non-US regions other than instead of a
bucket name validation error you'll get an InvalidBucketName error back from
AWS S3 when you attempt to create a bucket with an uppercase character in a
non-US region.  To summarize, nothing changes other than US regions now allow
creation of bucket names with upper case characters and jclouds now can
interact with these non-standard named buckets without failure.
2012-06-21 17:05:20 -06:00
Adrian Cole
44d6a4ea2b [maven-release-plugin] prepare for next development iteration 2012-06-19 19:01:10 -06:00
Adrian Cole
35d704e3a4 [maven-release-plugin] prepare release jclouds-1.5.0-beta.4 2012-06-19 19:01:04 -06:00
Adrian Cole
0c54dbcb47 Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  Issue 988:Extra port added to swift url
  consistent ordering of hardware
  fixed missing provider name on ninefold test
  Eliminate unlikely transient blobstore TOCTOU bug
2012-06-19 18:36:50 -06:00
Adrian Cole
8311d0a4e4 Issue 988:Extra port added to swift url 2012-06-19 18:32:06 -06:00
Adrian Cole
edf99657c0 fixed missing provider name on ninefold test 2012-06-19 18:31:39 -06:00
Adrian Cole
52647ab9cc Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  introduce KeystoneProperties/TENANT_NAME KeystoneProperties/TENANT_ID properties; set value of prefix to tenantName
  updated correct identityName in openstack providers
  Add minDisk to toString.
  Test for minDisk
  Merge upstream changes to template builder
2012-06-19 01:10:39 -06:00
Adrian Cole
b5797ad543 introduce KeystoneProperties/TENANT_NAME KeystoneProperties/TENANT_ID properties; set value of prefix to tenantName 2012-06-19 01:06:44 -06:00
Adrian Cole
1a6ef2a37c updated correct identityName in openstack providers 2012-06-18 08:39:59 -07:00
Adrian Cole
66d23889ce [maven-release-plugin] prepare for next development iteration 2012-06-16 19:36:59 -04:00
Adrian Cole
daa041d76f [maven-release-plugin] prepare release jclouds-1.5.0-beta.3 2012-06-16 19:36:55 -04:00
Adrian Cole
8900413995 merge 2012-06-16 19:06:26 -04:00
Adrian Cole
a928746528 Issue 976:update to support eucalyptus 3 2012-06-15 23:35:18 -04:00
Adrian Cole
d29fbba783 Issue 980: timestamp on ec2 requests are in the future 2012-06-15 23:35:17 -04:00
Adrian Cole
d980b4fd42 changed test poms to use provider.template and provider.ec2-template accordingly 2012-06-15 23:35:10 -04:00
Adrian Cole
8a34254c8e in CloudBridge terminatedInstances go away quickly unveiling the need to address instanceId not found 2012-06-15 23:31:33 -04:00
Andrew Gaul
736554d049 Correct spelling errors 2012-06-14 10:03:39 -04:00
Adrian Cole
ef10cf29ee [maven-release-plugin] prepare for next development iteration 2012-06-12 10:19:07 -07:00
Adrian Cole
b00929f901 [maven-release-plugin] prepare release jclouds-1.5.0-beta.2 2012-06-12 10:19:04 -07:00
Adrian Cole
33e0f9359e Merge branch 'master' of github.com:jclouds/jclouds into 1.5.x
* 'master' of github.com:jclouds/jclouds:
  Sets endpoint for cloudservers-uk
  usage example
2012-06-12 09:46:50 -07:00
Aled Sage
9b4c3cb25d Sets endpoint for cloudservers-uk
Previously was inheriting default, which was the US endpoint.
2012-06-12 17:37:25 +01:00
Adrian Cole
3114b652fc merged changes master 2012-06-11 17:30:43 -07:00