Adrian Cole
4980367991
centralize TypeToken creation
2013-01-19 11:31:55 -08:00
adriancole
dc4ca1efbd
removed deprecated methods which were easy to do
2013-01-19 08:32:45 -08:00
adriancole
04fe89b75a
update to guava 14.0-rc2
2013-01-18 16:02:25 -08:00
Adrian Cole
1ab3f0bb44
accomodate runtime credential changes
2013-01-15 22:26:50 -08:00
Adrian Cole
f18d3b433f
Merge pull request #1177 from jclouds/retryablepredicate-highlander
...
There can be only one retryable predicate; use Predicates2.retry
2013-01-13 22:07:42 -08:00
Adrian Cole
3ac6f475e7
unwound dependencies relating to ssh keys and crypt
2013-01-13 20:53:59 -08:00
Adrian Cole
a49a060152
There can be only one retryable predicate; use Predicates2.retry decorator
2013-01-13 20:30:34 -08:00
Adrian Cole
3962b30808
updated to use standard guava Futures and ListenableFuture
2013-01-13 09:31:10 -08:00
Adrian Cole
45bb35971e
replaced usage of checkNotEmpty with checkNotNull(emptyToNull
2013-01-12 15:20:11 -08:00
Adrian Cole
d57197c103
cleaned up code references detected as unnecessary by UEC plugin
2013-01-12 12:31:00 -08:00
Adrian Cole
47c215c63c
removed custom guava code for scoped binding and type params
2013-01-08 22:48:10 -08:00
Adrian Cole
2480481835
dependent changes on tests and internal classes
2013-01-08 00:32:45 -08:00
Adrian Cole
3089111621
refactored internal code and tests to use FunctionalReflection
2013-01-07 00:36:31 -08:00
Adrian Cole
74c633f90a
moved all providers and test cases from j.l.r.Method -> Invokable
2013-01-05 18:51:38 -08:00
Adrian Cole
a17e8e25d7
removed need to support multiple @EndpointParam annotations
2013-01-04 11:31:06 -08:00
Adrian Cole
42c7037a59
removed unused code or duplicated code; moved code only used once to where its used
2013-01-01 00:08:34 -08:00
Adrian Cole
9745e9dc2f
fixed covariance and warnings on ApiMetadata subclasses
2012-12-31 19:40:49 -08:00
Adrian Cole
c39503b682
TimeoutException is controllable via upping timeout properties; don't add more retry loops and stacktraces
2012-12-31 17:09:27 -08:00
Adrian Cole
bb953c981e
fix issue #1101 : Move to Guava 14 BaseEncoding and Hashing
2012-12-31 14:48:31 -08:00
Adrian Cole
cddd35bc51
removed unnecessary generic types and made RestAnnotationProcessor immutable
2012-12-30 23:18:59 -08:00
Adrian Cole
2523ab54ac
removed use of static fields to share type mapping info
2012-12-30 17:22:03 -08:00
Adrian Cole
13d8b9c402
replaced @Timeout w/explicit properties
2012-12-30 12:31:43 -08:00
Adrian Cole
38152a5cc3
issue #1108 : remove special casing of eucalyptus
2012-12-29 12:39:24 -08:00
Adrian Cole
9b1872c6ff
removed custom code that duplicates functionality of guava fallbacks
2012-12-27 16:54:31 -08:00
Adrian Cole
20c3426fc8
replaced jersey w/Uris & UriTemplates; removed complexity in url encoding and edge cases like matrix params
2012-12-24 14:32:59 -08:00
Adrian Cole
878ec1bcab
undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false
2012-11-18 09:23:44 -08:00
Adrian Cole
db786f3b20
Issue 1123: add new Asia Pacific (Sydney) Region [ap-southeast-2]
2012-11-13 08:46:01 -08:00
Andrew Gaul
3ad36d25d5
Enforce no unnecessary parentheses via Checkstyle
2012-11-10 13:22:12 -08:00
Andrew Gaul
3d191253ec
Enforce use of Collection helpers via Checkstyle
...
This ensures that we do not repeat the type name. Some instances remain
due to auto-generated code in dmtf/cim/Cim*.
2012-11-04 20:45:49 -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
Andrew Gaul
f4c00bbdc9
Always add trailing brace to AWSError.tostring
2012-09-25 15:59:20 -07:00
Adrian Cole
28d766b9df
bumped to 1.6.0-SNAPSHOT
2012-09-17 01:43:52 -07:00
Adrian Cole
6782d8d4d6
added base binders for indexing amazon apis
2012-09-14 18:15:49 -07:00
Adrian Cole
a0b1ffb625
externalized retry codes
2012-09-12 21:36:12 -07:00
Adrian Cole
1a9f49bce7
azure management base implementation
2012-09-01 13:02:19 -07:00
Adrian Cole
c0e8470952
default region endpoint for rackspace legacy apis
2012-08-29 23:47:05 -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
b49f2e99c7
Issue 1022: naming conventions
2012-07-15 13:57:44 -07:00
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -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
Adam Lowe
3f5993a2d8
openstack: replacing SerializedName with Named
2012-07-03 14:53:59 +01:00
Adam Lowe
294e405593
openstack: adjusting beans in openstack-nova and openstack-keystone to use ConstructorProperties/Named annotations
2012-07-03 12:39:53 +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
8311d0a4e4
Issue 988:Extra port added to swift url
2012-06-19 18:32:06 -06: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
e0a5ffbe9a
cloudbridge compatibility glitch on AuthError
2012-06-15 14:32:45 -04:00
Ioannis Canellos
4704e29941
Fixed openstack and openstack-keystone OSGi headers.
2012-06-13 13:05:42 +03: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
b58060599b
Issue 815: repackaged keystone classes into their own api
2012-06-06 14:57:50 -07:00
vijaykiran
f9d25a1302
Fix port number in the parseauthentication
2012-06-05 13:12:40 +02: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
Adam Lowe
df919fb187
openstack-quantum: adding NETWORK service type and corresponding service in keystoneAuthResponse.json
2012-06-01 16:00:32 +01:00
Adam Lowe
57c11155fb
openstack-glance: following example in swift and not extending openstack-common BaseListOptions
2012-05-31 14:43:56 +01:00
Adam Lowe
03267c6e33
openstack-glance: Adding create, reserve, update, upload and delete methods to ImageClient
2012-05-31 13:41:00 +01: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
93381f47a4
Issue 945:Port number is missing in service-managemant-url while invoking the Nova API of openstack
2012-05-25 22:26:53 -07:00
Adrian Cole
f1c02d092f
Issue 926: cleaned up usage of authentication client
2012-05-22 11:31:32 -06:00
Adrian Cole
67d8f9a0f4
image extension related classes under extensions package
2012-05-21 12:39:32 -06:00
Adrian Cole
94404841ca
allow use of tenantId when specified numeric
2012-05-20 14:39:32 -07:00
Adrian Cole
96e272a91d
Issue 925: added default ctors so that gson can work w/o using sun.misc.Unsafe
2012-05-16 14:51:16 -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
Andrew Gaul
191a4e7341
Identity should be tenameName:accessKey
...
tenantId is something else. Tested against hpcloud.
2012-05-11 15:34:41 -07:00
Adrian Cole
f0a8870b80
Issue 919: ensure filters work on multi-zone openstack-nova
2012-05-09 18:22:34 -07:00
Adam Lowe
1797b27ed4
Adding OptionalTypeAdaptorFactory to handle the parsing of Optional values
2012-05-08 17:03:18 -07:00
Adrian Cole
743773aeef
formatting
2012-05-08 10:14:14 -07:00
Adam Lowe
e95e6df805
openstack-nova: Adjusting Resource and it's descendants to new builder pattern
2012-05-04 18:22:26 +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
Adrian Cole
aa14f5b051
always display some error content
2012-05-01 10:10:33 -07:00
Adrian Cole
af65dbbac3
Merge pull request #593 from andrewgaul/string-builder
...
Prefer unsynchronized StringBuilder
2012-04-30 10:46:21 -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
Adam Lowe
5c79c8d3a3
Fixing javadocs
2012-04-30 11:06:46 +01:00
Adam Lowe
71ad3abf2a
Renaming 'ServiceClient's AuthenticationClients to save confusion with user-accessible ServiceClient in keystone 2.0
2012-04-30 10:46:50 +01:00
Adam Lowe
a5b3da047e
Adding unit tests for keystone 2.0 AdminURL supplier
2012-04-30 10:12:57 +01:00
Adam Lowe
d6ac7be31d
Adding AdminURL supplier for keystone 2.0
2012-04-30 10:02:37 +01:00
Adam Lowe
e3fb2543e9
Adding ServiceType for Keystone
2012-04-27 16:53:17 +01:00
Adam Lowe
dda4a46e83
Adding ApiMetadata domain object for Keystone 2.0
2012-04-27 16:41:49 +01:00
Adam Lowe
890dd0c15b
Adding adminURL to Endpoint so we can access admin client features
2012-04-27 16:41:06 +01:00
Adam Lowe
0ceb403a91
Fixing javadoc typo
2012-04-27 16:40:41 +01:00
Adam Lowe
fc2d949ae2
Forcing User to default to empty set of Roles
2012-04-27 16:40:29 +01:00
Adam Lowe
7033076f00
Adding description field to Tenant
2012-04-27 16:39:46 +01:00
Adam Lowe
9cfa022863
Adding adminURL to Endpoint so we can access admin client features
2012-04-27 16:39:10 +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
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
dca3631aad
updated error parser to work with Nova EC2 error message
2012-04-05 17:42:26 -07:00
Adrian Cole
3923e78b9a
Issue 896:ec2 doesn't pay attention to api version property
2012-04-02 22:24:59 -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
e46cef9fbb
passwordAuthentication is now default for keystone
2012-03-28 03:37:40 -04:00
Adrian Cole
ed1864e810
toString tidies
2012-03-23 13:09:13 -07:00
Adrian Cole
91661f4759
Issue 814: changes needed to be compatible with trystack
2012-03-22 21:37:21 -07:00
Adrian Cole
e1f64356d9
switch bad identity to AuthorizationException as it helps ensure we don't retry
2012-03-22 13:47:48 -07: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
Andrew Gaul
e2417605a2
Prefer Guava.nullToEmpty and HttpUtils.nullToEmpty
...
Make HttpUtils.valueOrEmpty static and change method name to
nullToEmpty to mimic Guava.
2012-03-19 20:48:52 -07:00
Andrew Gaul
74862d7321
Prefer ImmutableCollection over mutable array
...
Also static.
2012-03-19 19:04:42 -07:00
Adrian Cole
9946ee9fd4
changes to facilitate services that do not have regions
2012-03-19 01:03:24 -07:00
Adrian Cole
8be2fedbee
fixed license
2012-03-15 09:34:31 -07:00
Adrian Cole
e9f29883d9
added new Extension annotation for determining if clients are available or not
2012-03-14 18:25:04 -07:00
Adrian Cole
ee4f00b645
added extension api to nova
2012-03-12 21:42:49 -07:00
Matt Stephenson
cc4b0cac82
Add compute service support to openstack-labs nova client
2012-03-09 13:33:30 -08: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
241a33b5c8
better error message on service not available
2012-02-09 18:31:44 +00:00
Adrian Cole
567f845444
corrected keystone parsing and default url for hp cloud storage
2012-02-09 17:54:06 +00:00
Adrian Cole
5830665a74
HP Cloud Identity Services/CDN
2012-02-09 06:36:09 +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
ae1effd748
made openstack multi-region, and now select correct endpoint via apiversion property
2012-02-04 00:51:44 -08:00
Adrian Cole
c388fc41b4
Issue 826: removed eager supplier of @Provider endpoint
2012-02-03 13:51:26 -08:00
Adrian Cole
3e9c566edc
aws related changes for issue 826
2012-02-03 00:29:41 -08:00
Adrian Cole
65336339e5
terremark related changes for Issue 826
2012-02-03 00:29:30 -08:00
Adrian Cole
e759c6a450
openstack and rackspace related changes for Issue 826
2012-02-03 00:29:27 -08:00
Jeremy Daggett
d57fb93211
Merge remote-tracking branch 'keg/master'
...
Conflicts:
common/openstack/src/main/java/org/jclouds/openstack/keystone/v1_1/config/AuthenticationServiceModule.java
common/openstack/src/test/java/org/jclouds/openstack/keystone/v2_0/internal/BaseKeystoneRestClientExpectTest.java
2012-02-02 15:06:39 -08:00
Jeremy Daggett
50cf37f722
Merged latest jclouds master branch
2012-02-02 13:25:17 -08:00
Jeremy Daggett
fa51a2734c
Fixed rename of files
2012-02-01 22:42:09 -08:00
Jeremy Daggett
e4c32bc00b
Fixed files before merge
2012-02-01 22:39:29 -08:00
Adrian Cole
5e23d34f91
cruft removal
2012-01-31 19:44:39 -08:00
Adrian Cole
4bcea6fa23
fixed case on keystone
2012-01-31 13:01:20 -08:00
Adrian Cole
6f8c633ff2
set default credential type to apiAccessKeyCredentials and a property to use passwordCredentials
2012-01-31 13:01:18 -08:00
Adrian Cole
4ba1da5d20
scoped retryOnRenew binding to keystone as opposed to nova
2012-01-31 13:01:18 -08:00
Adrian Cole
f8ebb675b6
fixed structure of auth request and organized tenantId to precede username
2012-01-31 13:01:18 -08:00
Adrian Cole
abeffc1119
Issue 824:add field for hypervisor
2012-01-30 22:52:35 -08:00