adriancole
36dd831b84
moved all code off use of RestContext except CloudStackContext, which will use it until 1.7
2013-04-09 09:23:31 -07:00
Adrian Cole
33745cdeb1
Merge pull request #1502 from abayer/listnodesdetails-work
...
Adding listNodesByIds across the board.
2013-04-08 20:00:18 -07:00
Andrew Bayer
c566418d87
Adding listNodesByIds across the board.
...
Adding to both ListNodesStrategy and ComputeServiceAdapter. When
possible, does a query explicitly for the specified IDs. When not,
falls back on either listDetailsOnNodesMatching (for ListNodesStrategy
implementations and in BaseComputeService) or filters listNodes output
itself (in ComputeServiceAdapter).
2013-04-08 17:21:01 -07:00
adriancole
88871c9fe9
issue #1501 : add Closeable annotation to all top-level apis
2013-04-08 16:13:09 -07:00
Andrew Gaul
371db8d18f
Address Xlint warnings
2013-03-13 22:23:19 -07:00
Adrian Cole
ac7a4b5354
unhooked version dependency from ec2 async tests
2013-02-25 17:04:32 -08:00
Adrian Cole
6dc03a7993
fixed NPE on ec2 log statement
2013-02-25 15:40:16 -08:00
Adrian Cole
7e270c5ddb
various cleanups to get ec2 subnet api up to latest
2013-02-24 14:40:31 -08:00
Andrew Bayer
707a77fedb
EC2 Subnet added, with DescribeSubnets support initially.
2013-02-23 17:31:15 -08:00
Adrian Cole
544f06d37c
Merge pull request #1347 from maginatics/findbugs
...
Address FindBugs errors
2013-02-23 10:20:00 -08:00
Andrew Gaul
1f995879d6
Address FindBugs errors
2013-02-22 20:59:29 -08:00
Andrew Bayer
3fb9ebe054
anyResourceId was actually filtering on any resource type instead
2013-02-22 16:04:46 -08:00
Adrian Cole
5aa41d07aa
Merge pull request #1261 from jclouds/aws-action-names
...
changed aws apis to use Action key for config instead of more verbose iam names
2013-01-29 05:53:06 -08:00
adriancole
b3c3cb0a88
issue #1184 changed aws apis to use Action key for config instead of more verbose iam names
2013-01-29 04:45:42 -08:00
adriancole
a51e6a8323
issue #1089 removed default timeout values so that those not using async will have simpler debugging
2013-01-29 04:19:00 -08:00
adriancole
40d9f8bfe7
changes that facilitate synchronous fallbacks and http invocation
2013-01-29 04:09:45 -08:00
Andrew Gaul
af963df92d
Use Map.entrySet where possible
...
Improves run-time efficiency and addresses FindBugs warnings.
2013-01-21 23:59:42 -08:00
Adrian Cole
37e587ee51
changes related to centralizing construction of invokables
2013-01-19 17:17:30 -08:00
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
b3901deeb9
rewrote aws config to use standard op names
2013-01-16 10:54:17 -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
adriancole
9d75aa353d
refactored ec2 tests so that they can be used in aws-ec2
2013-01-10 13:38:58 -08:00
adriancole
992e9ebbcf
change cacheloader that can return nulls to return optional so to avoid cacheload exceptions
2013-01-10 13:20:27 -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
36123a6068
deterministic creation of requests based on arg order
2013-01-04 12:44:26 -08:00
Adrian Cole
9237f1a406
eliminated errors when multiple groups have the same name
2013-01-01 22:16:28 -08:00
Adrian Cole
b582d4a4a8
added recent aws instance types
2013-01-01 22:15:59 -08:00
Adrian Cole
bd4f5cfba2
moved off deprecated TagClient -> TagApi; refactored tagging to occur at end of run
2013-01-01 19:19:33 -08:00
Adrian Cole
6e554298ab
ensure extra metadata from provider doesn't trip metadata tests
2013-01-01 17:18:55 -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
038e550d2d
moved off deprecated FluentIterable methods
2012-12-30 13:20:09 -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
847b1c7352
Merge pull request #1090 from jclouds/no-matrix
...
removed explicit matrix param support as their use is edge case in rest
2012-12-23 09:28:45 -08:00
Adrian Cole
3be1089538
removed explicit matrix param support as their use is edge case in rest
2012-12-22 17:45:31 -08:00
Adrian Cole
98a36eb3f6
added named annotations corresponding to IAM actions
2012-12-21 12:15:21 -08:00
Adrian Cole
29aef26c60
ec2 doesn't need a strict dependency on bouncycastle
2012-12-20 10:24:21 -08:00
Adrian Cole
059bd5ab05
removed redundant tests present in EC2ElasticBlockStoreClientExpectTest
2012-12-09 11:32:58 -08:00
Adrian Cole
d801fcc157
Merge pull request #1016 from jclouds/flex-base64
...
Flex base64
2012-12-01 12:12:05 -08:00
Adrian Cole
e66219c16e
normalized to CryptoStreams
2012-11-30 17:33:53 -08:00
Adrian Cole
2674c6d133
fix issue #917 : incorrect require in security_group2.clj and elastic_ip2.clj
2012-11-30 09:21:57 -05:00
Anshul Gangwar
9acf58986c
changed the access modifiers for constructors of DescribeInstancesResponseHandler and RunInstancesResponseHandler classes
2012-11-29 10:59:32 +05:30
Adrian Cole
878ec1bcab
undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false
2012-11-18 09:23:44 -08:00
Andrew Gaul
b9e4543cdb
Enforce no use of star imports via Checkstyle
2012-11-13 20:51:59 -08:00
Adrian Cole
6e492978fa
javadoc fixes for TagApi
2012-11-12 22:09:58 -08:00
Adrian Cole
55c3f587f4
Issue 1110: replace TagClient with TagApi in aws-ec2
2012-11-12 18:30:30 -08:00
Adrian Cole
bac869dce5
carve out EC2Api/EC2AsyncApi for new features
2012-11-12 17:30:02 -08:00
Andrew Gaul
d7380114a6
Enforce use of Atomics.newReference via Checkstyle
...
Avoids duplicating types.
2012-11-12 11:56:48 -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
Andrew Gaul
28d7a6f143
Prefer immutable over empty collections
...
The former does not create an object when calling iterator(), as
discussed here:
https://groups.google.com/d/msg/jclouds-dev/l7BviKDXreA/mP6Ow_RYxIgJ
2012-10-20 15:35:29 -07:00
Adrian Cole
238fbceaaa
additional test for EU create snapshot
2012-10-15 08:46:26 -07:00
Adrian Cole
14ad17108f
Issue 671: NPE on aws-ec2 w/vpc security groups
2012-10-08 15:39:51 -04:00
Andrew Gaul
9024c77405
Improve use of Charsets
2012-10-07 22:31:49 -07:00
Adrian Cole
d766f8d4e3
stable ec2
2012-09-16 22:37:13 -07:00
Adrian Cole
6f5ebf3e90
Issue 1085:deprecate getRegion from EC2 domain objects
2012-09-16 12:55:48 -07:00
Adrian Cole
0b31622267
cleaned ec2 instance type
2012-09-15 14:05:24 -07:00
Adrian Cole
c7f35d3bb1
removed invalid @Nullable usage and also usage of javax package usage
2012-08-11 20:59:16 -07:00
Adrian Cole
3ab960ce39
made ec2 tests a bit more portable
2012-08-02 17:08:10 -07:00
vijaykiran
7a81769e1c
Issue-1051 overrideLoginUser not working
2012-08-03 01:14:09 +02:00
Adrian Cole
391c61c852
Issue 1051: added unit test to show what's wrong
2012-08-01 21:56:42 -07:00
Adrian Cole
b5558a25e9
test expectations
2012-07-30 12:31:16 -07:00
Adrian Cole
53fe278f03
added windows password parsing to ec2
2012-07-30 12:31:11 -07:00
Andrew Gaul
8ed0e28e68
Spelling corrections
2012-07-26 22:39:35 -07:00
Adrian Cole
1b0d6e027a
prettier toString on ec2
2012-07-26 10:07:14 -07:00
Richard Downer
6c86b89d83
DescribeSnapshotsResponseHandler bug parsing tags
...
DescribeSnapshotsResponseHandler behaved incorrectly when a snapshot had
metadata tags added - it would stop parsing and start the next Snapshot
object every time it saw an </item> tag. Since metadata tags contain
</item>, each tag would cause a new Snapshot object in the response
containing all nulls. Fixed by counting the tag nesting depth and only
responding to </item> at the correct nesting level.
2012-07-25 16:20:12 +01:00
Adrian Cole
5d6e005e8b
Issue 1030:defaults not picking up on compute.templateOptions()
2012-07-25 00:33:39 -07:00
Adrian Cole
416a795796
Merge pull request #750 from andrewgaul/predicates2
...
Introduce Predicates2.startsWith and endsWith
2012-07-24 23:17:41 -07:00
Andrew Gaul
3648863a3c
Introduce Predicates2.startsWith and endsWith
2012-07-24 22:21:34 -07:00
vijaykiran
de3db2103d
issue-1026 Support for aws-ec2 hi1.4x instance
2012-07-25 00:26:21 +02:00
Adrian Cole
1ee26e4754
Issue 1024:Not possible to create hvm Linux nodes on Amazon
2012-07-17 23:15:06 -04:00
Andrew Donald Kennedy
4463b52051
Added optional timeout to EC2 listNodes strategy and made awaitCompletion update latch in finally block
2012-07-16 16:58:37 +01:00
Adrian Cole
05fd64af44
cleaned up http builders and expect tests
2012-07-15 01:50:38 -07:00
vijaykiran
66dbff6b45
Updated Comment.
2012-07-10 01:34:46 +02:00
vijaykiran
9cceb4e05f
Issue 968:
...
Add DNS Name as public address when describe instance response doesn't contain IPAddress
2012-07-10 00:29:38 +02:00
Adrian Cole
e9bfb9d1a2
Issue 1007: changed ec2 date parsing logic to use DateCodec and isolated hacks to eucalyptus and openstack-nova-ec2 respectively
2012-07-06 22:54:45 -07:00
vijaykiran
769ace1640
Fixes #816 unable to set security group ingress with AWSEC2Client
2012-07-05 00:22:20 +02:00
Adrian Cole
547c73ab00
cleaner error messages in templateBuilder
2012-07-02 12:21:13 -07:00
h h
0d285a7f62
missing imports
...
create-image-in-region works
2012-06-29 11:13:53 -07:00
h h
f65ed49715
base AMI bundling support of a running EBS instance
2012-06-29 11:13:30 -07:00
Adrian Cole
30ba717969
Issue 977:ec2 zones are not mapping to endpoints
2012-06-15 23:36:17 -04:00
Adrian Cole
a928746528
Issue 976:update to support eucalyptus 3
2012-06-15 23:35:18 -04: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
69d7e1d585
cloudbridge exposes a slightly different xml format for RunningInstances
2012-06-15 23:31:39 -04:00
Adrian Cole
8a34254c8e
in CloudBridge terminatedInstances go away quickly unveiling the need to address instanceId not found
2012-06-15 23:31:33 -04:00
Aled Sage
a8b3eb4c2c
EC2ImageParser checks platform==windows for OsFamily
2012-06-14 20:52:46 +01:00
Andrew Donald Kennedy
7fd1c65575
Issue 960: Add EC2 GetConsoleOutput API call
2012-06-07 03:45:44 +01:00
Adrian Cole
bcd3d50ad6
Issue 956:add getImage by id to ComputeService
2012-06-04 16:54:49 -07:00
Adrian Cole
ef31f5114d
added rawState to RunningInstance
2012-06-04 16:54:30 -07:00
Adrian Cole
5a3f6011a2
removed junit test dependency
2012-06-03 17:26:57 -07:00
Adrian Cole
96773b8a1b
Issue 952:add status field to image
2012-05-30 21:22:10 -07:00
hhrasna
ef17ef23ea
EC2 image architecture can be null. Don't throw NPE if architecture is null.
2012-05-30 20:45:20 -03: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
Adrian Cole
a53cece32d
Issue 445: moved incidental test into its own class until we can convert it to an expect test
2012-05-18 17:49:59 -07:00
Adrian Cole
5340e947d3
while image can be null in templateBuilder, image will never be null in a template
2012-05-10 17:19:29 -07:00
Adrian Cole
59f2b6d171
Merge pull request #625 from aledsage/Issue-888-GroupNamingConvention
...
Issue 888 group naming convention
2012-05-10 16:45:39 -07:00
Adrian Cole
a6cc00e078
Merge pull request #603 from dralves/image-extension-all
...
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers...
2012-05-10 16:43:27 -07:00
Aled Sage
94ac48070d
Issue 888: use GroupNamingConvention for keyName/securityGroup; don't include region in name
2012-05-10 16:47:37 +01:00
David Ribeiro Alves
f63c5a44c6
corrected formating issues and added headers
2012-05-10 09:07:12 +01:00
David Ribeiro Alves
129d827355
implemented ec2 expect tests
2012-05-10 08:42:45 +01:00
David Ribeiro Alves
c7469bbf4a
cloudservers and ec2 imageextension expect tests on the way
2012-05-10 06:54:13 +01:00
Adam Lowe
850cdc2fc8
Moving EncodedRSAPublicKeyToBase64 (and corresponding unit test) up into EC2 so both openstack-nova-ec2 and aws-ec2 can share the same class
2012-05-03 12:31:39 +01:00
David Ribeiro Alves
082158ac3f
image extension working on hpcloud, virtualbox and aws-ec2, cloudservers implemented but has issues
2012-05-03 03:55:40 +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
Matt Stephenson
381851b8ab
Remove IPSocket class, replace with Guava's HostAndPort class.
2012-04-25 17:52:01 -07:00
Richard Downer
18a65bf1a7
Move WindowsClientLiveTest from ec2 to aws-ec2 as it depends on AWS's published AMIs and naming conventions
2012-04-25 20:18:13 +03:00
Richard Downer
1a77b194e5
EC2 Windows AMIs have a separate owner (which changed recently) - add this owner ID to the default set. Update WindowsClientLiveTest to use the default set and verify it passes.
2012-04-25 19:42:35 +03:00
Richard Downer
f66cd71b49
WindowsClientLiveTest wasn't running due to lack of BouncyCastleCryptoModule and a problem with the test properties
2012-04-25 19:42:24 +03: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
f1010e13a4
fixed aws-ec2 image parsing
2012-04-21 10:59:01 -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
Adam Lowe
0d43c1dd46
Exposing contents of DescribeImagesResponseHandler to subclasses
2012-04-17 13:29:14 +01:00
Adam Lowe
8350e453ca
Exposing fields of CreateVolumeResponseHandler to subclasses
2012-04-17 12:38:18 +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
00c7179f72
moved cacheloaders to the correct package
2012-04-05 17:42:06 -07:00
Adrian Cole
6f6b958aad
Issue 888, 895: temporary workaround to stop openstack-nova-ec2 from using # characters
2012-04-03 00:34:58 -07:00
Adrian Cole
f70ef81828
Issue 895:add openstack-nova-ec2 api
2012-04-03 00:06:24 -07:00
Adrian Cole
128a906104
Issue 895:add openstack-nova-ec2 api
2012-04-03 00:06:00 -07:00
Adrian Cole
3923e78b9a
Issue 896:ec2 doesn't pay attention to api version property
2012-04-02 22:24:59 -07:00