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
d980b4fd42
changed test poms to use provider.template and provider.ec2-template accordingly
2012-06-15 23:35:10 -04: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
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
Andrew Gaul
d45404a338
Throw exceptions in static blocks
...
This reports any errors instead of silently ignoring them.
2012-05-14 09:37:20 -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
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
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
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
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
fe4d148528
updated current version to 1.5.0-SNAPSHOT
2012-02-04 11:06:07 -08:00
Adrian Cole
61854bf51c
elasticstack related changes for Issue 826
2012-02-03 00:29:37 -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
Ioannis Canellos
cfe88031a2
Updated OSGi package imports for compute providers & apis.
2012-01-18 15:02:16 +02:00
Adrian Cole
3df052565f
updated current version to 1.4.0-SNAPSHOT
2012-01-16 13:08:32 -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
016b0c6eb5
fixed username shadowing in elastichosts; added retry on auth fail
2011-12-22 04:33:47 -08:00
Adrian Cole
a80e1b07e6
updated to guava 11 cache miss behavior
2011-12-22 03:21:54 -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
Adrian Cole
beb87a2131
Issue 781:update to guava 11.0-rc1
2011-12-14 23:56:50 -08: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
69467b04e3
Issue 752:move off deprecated systemProperties to systemPropertyVariables in surefire
2011-11-14 19:25:45 +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
Adrian Cole
552242e863
moved to 1.3.0-SNAPSHOT
2011-10-16 12:26:31 -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
34bca807d5
Issue 669: ensure elasticstack doesn't pass nic mac address when setting server config
2011-09-28 13:28:16 -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
Mattias Holmqvist
c8f4cad395
Organized imports
2011-09-11 22:39:20 +02:00
Mattias Holmqvist
51d7af9650
Merge branch 'master' of github.com:mattiasholmqvist/jclouds into issue-669
2011-09-11 22:22:12 +02:00
Mattias Holmqvist
efdf8b23bb
Fix: "auto" no longer being assigned to public IP of the node when the node has been started.
2011-09-11 22:01:36 +02:00
Adrian Cole
952e58e74d
Merge branch 'issue-669' of https://github.com/mattiasholmqvist/jclouds
...
* 'issue-669' of https://github.com/mattiasholmqvist/jclouds :
Read "smp:cores" instead of "smp"
Intermediate fix that fixes vnc:ip and nic:0:dhcp:ip for new API version of ElasticStack. Still some issues left to fix due to hanging tests.
2011-09-08 16:25:50 +02:00
Mattias Holmqvist
fd1a5dd04c
Read "smp:cores" instead of "smp"
2011-09-08 16:16:33 +02:00
Mattias Holmqvist
78511b74f3
Intermediate fix that fixes vnc:ip and nic:0:dhcp:ip for new API version of ElasticStack. Still some issues left to fix due to hanging tests.
2011-09-06 23:16:38 +02:00