Adrian Cole
|
c7f35d3bb1
|
removed invalid @Nullable usage and also usage of javax package usage
|
2012-08-11 20:59:16 -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
|
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 |
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
|
5c647df129
|
Issue 938:TemplateBuilderSpec
|
2012-05-21 02:45:25 -06:00 |
Adrian Cole
|
8e27b180aa
|
Merge pull request #632 from andrewgaul/static-block
Throw exceptions in static blocks
|
2012-05-14 10:22:47 -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 |
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 |
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 |
Adrian Cole
|
343470d0a5
|
removed deprecated RunScriptOptions & TemplateOptions
|
2012-03-28 03:37:43 -04:00 |
Adrian Cole
|
3ebdb89e1d
|
template changes in cloudsigma
|
2012-03-13 14:43:37 -07:00 |
Adrian Cole
|
38fd18e8f0
|
cloudsigma 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 |
andreisavu
|
88400f6441
|
Add TemplateOptions to create SSD Drives on CloudSigma providers
|
2012-01-15 21:58:12 +02: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
|
a80e1b07e6
|
updated to guava 11 cache miss behavior
|
2011-12-22 03:21:54 -08:00 |
Adrian Cole
|
cd9b140ad0
|
Merge pull request #273 from alasdairhodge/CloudSigma-SSD-support
CloudSigma support for drive tags and SSD affinity
|
2011-12-21 18:41:23 -08:00 |
Alasdair Hodge
|
601922a8e4
|
Specify tags to cloneDrive() and assert they are retrieved
|
2011-12-22 01:11:17 +00:00 |
Alasdair Hodge
|
91c0492e6a
|
Increase timeout on potentially-lengthy cloneDrive() operation
|
2011-12-22 00:58:15 +00:00 |
Alasdair Hodge
|
df8d529235
|
Include tags in existing toString() methods on Drive and subclasses
|
2011-12-22 00:09:27 +00:00 |
Alasdair Hodge
|
5ef0d04448
|
update resource-based drive <-> map tests
|
2011-12-21 14:41:23 +00:00 |
Alasdair Hodge
|
7e0244edae
|
Unit test tags as part of map <-> drive conversions
|
2011-12-21 14:10:36 +00:00 |
Alasdair Hodge
|
5dedb8b81c
|
builders perform necessary casting of return type when setting tags
|
2011-12-21 14:09:12 +00:00 |
Alasdair Hodge
|
422bf8371a
|
More thorough testing of tags/affintity interaction
|
2011-12-21 13:51:23 +00:00 |
Alasdair Hodge
|
5f63768d4d
|
Update CloneDriveOptions unit test to include tags and affinity
|
2011-12-21 13:04:44 +00:00 |
Alasdair Hodge
|
c13e6e20bc
|
Use varargs for tags() to make life easier for callers; preserve tag order for easier unit testing
|
2011-12-21 12:59:59 +00:00 |
Alasdair Hodge
|
3f0f782f9d
|
Include tags when converting between Map and Drive{Info,Data}
|
2011-12-21 11:28:32 +00:00 |
Alasdair Hodge
|
ede85e28f5
|
Drive domain object (and subclasses) refer to tags, and not explicitly to affinity
|
2011-12-21 11:22:08 +00:00 |
Alasdair Hodge
|
e4eedf9b99
|
Add tags to CloneDriveOptions
|
2011-12-21 11:02:39 +00:00 |
Alasdair Hodge
|
933e64ecc6
|
Add affinity attribute to Drive
. add constructor arg and update all uses (inc subclasses)
. update hashCode() and equals(), inc builder
|
2011-12-21 10:40:33 +00:00 |
Alasdair Hodge
|
fd6a0779dd
|
CloneDriveOptions now conveys affinity (in 'tags' option)
|
2011-12-21 10:20:10 +00:00 |
Alasdair Hodge
|
b8753e6359
|
added AffinityType enum
|
2011-12-21 10:18:06 +00: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 |