Adrian Cole
878ec1bcab
undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false
2012-11-18 09:23:44 -08:00
Andrew Gaul
3ad36d25d5
Enforce no unnecessary parentheses via Checkstyle
2012-11-10 13:22:12 -08:00
Andrew Gaul
bfa3458b97
Prefer specific asserts where possible
2012-11-04 14:40:24 -08:00
Andrew Gaul
0761874578
Prefer Assert.fail over assert
...
The former cannot be disabled.
2012-11-03 14:51:52 -07:00
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
35ce78f15a
Correct typos
2012-11-01 13:25:44 -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
709ca69a2d
Enforce that all imports are used via Checkstyle
...
Also remove all unused imports, via:
mvn checkstyle:checkstyle -Dcheckstyle.output.file=/dev/stdout -Dcheckstyle.output.format=plain | tac | awk -v FS=: '/warning/{print "sed -i " $2 "d " $1}' | while read i; do $i; done
2012-10-29 17:11:08 -07:00
Andrew Gaul
e7dde3aff5
Address minor copyright notice typos
2012-10-28 23:27:56 -07:00
Adrian Cole
28d766b9df
bumped to 1.6.0-SNAPSHOT
2012-09-17 01:43:52 -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
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
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07: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
6bd8f154fc
Issue 942: NPE + Missing data when calling getVAppExtendedInfo on Terremark eCloud
2012-06-11 16:57:05 -07:00
Aled Sage
c50edefef6
Remove deprecated code
...
Removes PopulateDefaultLoginCredentialsForImageStrategy.execute().
The javadoc said it would be removed in jclouds 1.4.
Adds javadoc to ExecResponse.getExitCode, saying to be deleted in 1.6.
It was deprecated in 1.4 release (so 1.6 would be two releases time).
2012-06-11 15:03:31 -07:00
Adrian Cole
bcd3d50ad6
Issue 956:add getImage by id to ComputeService
2012-06-04 16:54:49 -07:00
Ioannis Canellos
b078adc3ce
Removed fragments and dynamic imports. Added centralized control of the maven-bundle-plugin.
2012-06-03 19:41:54 +03:00
Adrian Cole
6141cdfca5
added missing ssh config for terremark tests
2012-06-01 15:55:43 -07:00
Adrian Cole
96773b8a1b
Issue 952:add status field to image
2012-05-30 21:22:10 -07:00
Adrian Cole
07c2c24721
Issue 949:Introduce: ComputeMetadataIncludingStatus; Deprecate NodeState -> NodeMetadata.Status
2012-05-29 20:41:10 -07:00
Adrian Cole
67d8f9a0f4
image extension related classes under extensions package
2012-05-21 12:39:32 -06:00
Adam Lowe
cc016d5dc8
Adjusting MapBinder to take Map<String,Object> so BindToJsonPayload can bind objects annotated with PayloadParam correctly
2012-05-14 13:09:22 +01:00
Andrew Gaul
74440a7a87
Eliminate Throwables2.propagateOrNull
...
Throwables.propagate always propagates the Throwable; there is no need
to return null.
2012-05-02 13:51:36 -07:00
Andrew Gaul
198d19714e
Prefer unsynchronized StringBuilder
...
A few instances remain due to EasyMock and Matcher.
2012-04-30 09:50:18 -07: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
2f9b1738a0
Merge pull request #572 from dralves/image-extension
...
implemented image extension
2012-04-18 07:37:02 -07:00
Adrian Cole
5ea29cbbb7
Merge pull request #560 from danikov/covariant-future-iterables
...
covariant compatible version of futureIterables
2012-04-18 07:35:23 -07:00
danikov
fff1c7dc2d
make FutureIterables covariant compatible + update tests
2012-04-18 13:06:54 +01:00
David Ribeiro Alves
05212b75fa
implemented image extension
2012-04-18 09:37:44 +01:00
Adrian Cole
0b59dea073
removed ContextBuilder subclasses; added unwrap; undid generic params
2012-04-16 00:44:20 -07:00
Adrian Cole
b3e1b675ef
moved AnonymousProviderMetadata to the right package
2012-04-12 12:20:25 -06: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
49e475edcd
Issue 888: consolidate code that addresses naming conventions, using hyphen as default delimiter
2012-03-28 03:37:54 -04:00
Adrian Cole
5c6ce9f081
organize imports
2012-03-28 03:37:48 -04:00
Adrian Cole
343470d0a5
removed deprecated RunScriptOptions & TemplateOptions
2012-03-28 03:37:43 -04:00
Adrian Cole
025396be37
added new properties object
2012-03-28 03:37:41 -04:00
Adrian Cole
2ae849dd94
Issue 883:Allow login credentials by osfamily to be specified per-provider
2012-03-22 12:39:48 -07:00
Adrian Cole
2373f89c78
cleaned up toString/equals/hashCode in base options objects
2012-03-21 19:11:49 -07:00
Adrian Cole
dadd4f6515
changed bindings that imply i/o to Supplier<X>
2012-02-26 13:54:43 +02:00
Adrian Cole
fa7f81c4e7
Issue 847:version updates
2012-02-23 15:11:05 +02:00
Ioannis Canellos
5490b3068c
[842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles.
2012-02-17 00:49:39 +02:00
Adrian Cole
2332662a90
move to using AtomicReference for retryable predicates saves at least one network call on re-fetch
2012-02-14 23:22:24 +01:00
Adrian Cole
fe4d148528
updated current version to 1.5.0-SNAPSHOT
2012-02-04 11:06:07 -08:00
Aled Sage
ab568f0a09
Issues 364 and #365 : destroyNode cleans up incidental resources
2012-02-04 15:40:31 +00:00
Adrian Cole
c388fc41b4
Issue 826: removed eager supplier of @Provider endpoint
2012-02-03 13:51:26 -08:00
Adrian Cole
65336339e5
terremark related changes for Issue 826
2012-02-03 00:29:30 -08:00
Adrian Cole
abeffc1119
Issue 824:add field for hypervisor
2012-01-30 22:52:35 -08:00
Adrian Cole
55975af60d
Issue 820:Move off PropertiesBuilder for rocoto
2012-01-29 23:11:37 +08:00
Adrian Cole
f93c495c43
refactored to use consistent setup*Properties methods like expect tt tests
2012-01-29 20:36:24 +08:00
Adrian Cole
3df052565f
updated current version to 1.4.0-SNAPSHOT
2012-01-16 13:08:32 -08:00
Adrian Cole
0d3bd74156
increased timeout defaults on terremark
2012-01-15 19:44:45 -08:00
Adrian Cole
f3f56463b4
centralized RestContext<S,A> binding
2012-01-10 12:21:25 -08:00
Adrian Cole
f06e6982eb
Issue 800:introduce property for build version
2012-01-05 17:51:55 -08:00
Adrian Cole
99fb37f6cf
refactored LiveTest code to share property initialization
2012-01-05 17:51:03 -08:00
Adrian Cole
42137677da
Issue 801:fix inconsistency in test property test.provider.apiversion set in pom.xml -> api-version
2012-01-05 13:09:45 -08:00
Adrian Cole
3a8ea09fb9
missing commits
2011-12-22 02:23:20 -08:00
Adrian Cole
bb7dbf3a8e
fixed terremark tests
2011-12-21 18:46:58 -08:00
Adrian Cole
95753e5695
simplified terremark credential handling
2011-12-21 03:15:08 -08:00
Adrian Cole
298e6fa3e4
added test for terremark keypair handling
2011-12-21 03:15:08 -08:00
Adrian Cole
57f19a5c68
cleanup of terremark wrt credentials
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
Adam Lowe
b93c039507
Eliminating hyphens from KeyPair 'name' fields for Terremark VcloudExpress and ECloud providers
2011-12-16 15:29:01 +00: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
4329129c25
Issue 750:property to set the image id for the default template
2011-11-14 19:25:46 +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
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
dd89ad3068
backfilled tests and refactored most of org.jclouds.location.suppliers package
2011-10-23 04:38:25 +02:00
Adrian Cole
552242e863
moved to 1.3.0-SNAPSHOT
2011-10-16 12:26:31 -07:00
Adrian Cole
781aa88e30
fixed issue where admin user wasn't applying on terremark instances
2011-10-16 03:00:57 -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
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
960bfe709f
Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file
2011-08-16 18:14:30 -07:00
Adrian Cole
0a8f38b90e
bumped snapshot version to 1.2.0-SNAPSHOT
2011-08-05 04:09:23 +01: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
a604d25477
missing guice bindings found in live tests
2011-07-24 11:18:44 -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
fcc9e30832
Issue 634: unhook trmk from vcloud 1.0 implementation
2011-07-23 11:17:38 +10:00
Adrian Cole
a365e7de2c
Issue 634: fold vcloudexpress into trmk-common
2011-07-23 11:00:00 +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
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
Adrian Cole
92bcb2b822
Issue 622:Unable to clone machine of Terremark VCloud Express
2011-07-13 14:30:32 -07:00
Adrian Cole
46c7822b4a
Issue 624:update terremark config to use ubuntu 10.04 templates
2011-07-12 20:53:06 -07:00
Seshu Pasam
35d5131ba9
Oops, missed some files in previous commit. New files for vApp extended info.
2011-07-12 13:35:28 -04:00
Andrew Phillips
7d2fb23119
Master version is now 1.1.0-SNAPSHOT (= next feature version) now that 1.0.0 is out
2011-06-05 11:17:43 +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
281109dfc4
added message to NPE when vdc isn't found
2011-06-01 12:07:27 -07:00
Dmitri Babaev
0fedf6e467
Merge commit '7d0248c5dd972287e51ad1971d61a6ddc8bdcdf5'
2011-06-01 20:37:49 +04:00
Adrian Cole
be2009b267
Issue 541: corrected add/remove disk functionality per trmk spec
2011-05-30 13:57:38 -07:00