Commit Graph

59 Commits

Author SHA1 Message Date
Andrew Gaul 08b9982384 Enforce modifier order via Checkstyle
Also fix violations, via:

find -name \*.java | xargs sed -i 's/final static/static final/'
find -name \*.java | xargs sed -i 's/static private/private static/'
find -name \*.java | xargs sed -i 's/static abstract/abstract static/'
2012-11-01 20:01:30 -07:00
Andrew Gaul 93d69ece2b Enforce newline at end of file via Checkstyle
Also address all warnings, via:

find -name \*.java | while read i; do if [ x`tail -c 1 $i` != x"" ]; then echo >> $i; fi; done
2012-10-29 22:12:44 -07:00
Andrew Gaul 8ed0e28e68 Spelling corrections 2012-07-26 22:39:35 -07:00
Adrian Cole 5d6e005e8b Issue 1030:defaults not picking up on compute.templateOptions() 2012-07-25 00:33:39 -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
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Adrian Cole df7d2acbb4 wrapper -> view 2012-04-23 19:14:36 -07:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Adrian Cole dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Adrian Cole 23cb01f977 refactor PropertiesBuilder and related types into ApiMetadata and ProviderMetadata, and update all usage 2012-04-11 19:47:09 -06:00
Andrew Gaul b47860afc1 Use inference to elide duplicated type parameters
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole dadd4f6515 changed bindings that imply i/o to Supplier<X> 2012-02-26 13:54:43 +02:00
Adrian Cole 65336339e5 terremark related changes for Issue 826 2012-02-03 00:29:30 -08:00
Adrian Cole bb7dbf3a8e fixed terremark tests 2011-12-21 18:46:58 -08:00
Adrian Cole 2aadb21b03 updated password on ecloud 2011-12-21 03:15:08 -08:00
Adrian Cole 57f19a5c68 cleanup of terremark wrt credentials 2011-12-21 03:15:08 -08:00
Adam Lowe 3df4ec3280 Fixing TerremarkClientLiveTest problem caused by extra 'provider' field in test class 2011-12-15 22:03:01 +00: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
Adrian Cole 90c85e03f9 updated iso codes 2011-10-16 09:21:47 -07:00
Adrian Cole 0c14365399 Harder tests relating to installing admin user 2011-10-16 03:08:36 -07:00
Adrian Cole 7cc010e449 better error message when out of IPs 2011-10-16 03:06:13 -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
Guillaume Nodet 87dd23551c Avoid using a non official jsr and use our own annotations 2011-09-16 17:52:12 +02: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 e2397d6302 stabilize vcloud-based providers for 1.1.0 release 2011-08-03 10:13:54 -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 6f6b11c45a revised terremark implementation to only include the minimum vCloud vocabulary it needs 2011-07-24 21:39:23 +10:00
Adrian Cole d5caa414b1 Issue 634: repackaged trmk-common into org.jclouds.trmk.vcloud_0_8; trmk-ecloud into org.jclouds.trmk.ecloud; trmk-vcloudexpress into org.jclouds.trmk.vcloudexpress 2011-07-23 13:16:23 +10:00
Adrian Cole 0f9dd50d7d Issue 628:expose properties to choose default Org and vDC in vCloud-based implementations 2011-07-22 11:03:29 +10:00
Adrian Cole f3a0e6d0bd Issue 632:enhance and automatically work around nodes with sftp problems 2011-07-22 10:41:43 +10:00
Adrian Cole f81bb95ab0 Issue 542: updated terremark eCloud implementation to 2.8 version of Org and added Tag and DataCenter queries 2011-07-17 18:44:44 +10:00
spasam d9b9c61ce6 Implented vApp tag support for Terremark Enterprise.
Also added configurable exponential delay between automatic retries.
2011-07-12 11:21:20 -04:00
Dmitri Babaev e1f0cdcfa5 Merge commit '6d187ed9baaad1e00dbe65b36ea2989c951a5a28', ssh client patch is reverted due to massive changes in code
Conflicts:
	drivers/jsch/src/main/java/org/jclouds/ssh/jsch/JschSshClient.java
2011-06-03 03:50:47 +04:00
Adrian Cole f9dbfda92d updated ecloud live test to use ubuntu 10.04 2011-06-01 12:07:58 -07:00
Adrian Cole e1b8110b12 Issue 587:workaround clouds who do not have sftp enabled 2011-06-01 12:03:19 -07:00
Dmitri Babaev 0fedf6e467 Merge commit '7d0248c5dd972287e51ad1971d61a6ddc8bdcdf5' 2011-06-01 20:37:49 +04:00
Adrian Cole 3526cdc4c5 Issue 568:support ubuntu 11.04 2011-05-31 11:12:39 -07:00
Adrian Cole be2009b267 Issue 541: corrected add/remove disk functionality per trmk spec 2011-05-30 13:57:38 -07:00
Adrian Cole 79e8c7185e Issue 579: regression on trmk 2011-05-30 11:31:01 -07:00
Adrian Cole f437b7a092 Issue 579: added isReadOnly to catalog so that you can tell whether or not you can add items to it 2011-05-29 20:50:54 -07:00
Jeremy Whitlock 1e2ebc0365 Issue 550: Added support to retrieve ISO 3166 codes from ProviderMetadata.
[in core/src/main/java/org/jclouds]

* providers/BaseProviderMetadata.java
  (equals, hashCode): Updated for the iso 3166 codes.

* providers/ProviderMetadata.java
  (getIso3166Codes): Added.

[in core/src/main/test/org/jclouds]

* providers/JcloudsTestBlobStoreProviderMetadata.java,
  providers/JcloudsTestComputeProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/aws-ec2/src/main/java/org/jclouds]

* aws/ec2/AWSEC2ProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/aws-s3/src/main/java/org/jclouds]

* aws/s3/AWSS3ProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/trmk-ecloud/src/main/java/org/jclouds]

* vcloud/terremark/TerremarkECloudProviderMetadata.java
  (getIso3166Codes): Added.

[in providers/trmk-vcloudexpress/src/main/java/org/jclouds]

* vcloud/terremark/TerremarkVCloudExpressProviderMetadata.java
  (getIso3166Codes): Added.
2011-05-23 16:03:37 -06:00
Adrian Cole 36e6ca787d Issue 550: added api docs, identity and credential names 2011-05-16 21:37:25 -07:00
Adrian Cole 2b111b2604 Issue 536:terremark delete operation now returns tasks 2011-04-19 16:57:37 -07:00
Adrian Cole 9e94fc6fc9 updated license headers 2011-04-09 03:20:17 -07:00
Adrian Cole fff61b8b4d Issue 508: promoted OVF and CIM to jclouds-compute so that they can be reused across vcloud, trmk, and savvis 2011-03-20 22:15:08 -07:00
Adrian Cole 63b6f21044 Issue 484:Add ability to disable the monitor on Terremark eCloud Internet Service 2011-02-18 21:01:19 -08:00