istolber
fb11c1fc1a
JCLOUDS-350 rebuild server for Openstack NOVA added more options: password, name, ipv6 and ipv4 addresses.
2013-10-22 18:04:17 -05:00
istolber
725b7c5c2c
JCLOUDS-353 openstack list availability zones for NOVA
2013-10-21 09:08:07 -05:00
istolber
a42d62cb88
JCLOUDS-349
...
createServerByZone squashed commit
create server in a selected availability zone + live and expect tests
2013-10-18 09:50:27 -05:00
Andrew Bayer
46b8fd0eee
Fix OpenStack Nova SecurityGroupExtension based on live tests
...
So there were a few problems, but the core ugly one is that what you
pass in for creating a rule allowing groups' access is not the same
thing you get back from a group with such a rule, which makes mapping
between the arguments and the output insanely painful. So now, well,
we do some insanely painful stuff.
2013-10-07 17:50:53 -07:00
Andrew Gaul
f1fc63ab76
Add whitespace around keywords and braces
2013-09-30 09:39:29 -07:00
Andrew Bayer
0aa19a0cee
Fix aws-ec2 live tests
...
Involves some non-trivial reworking of EC2 security group
translation/binding, but it was necessary.
Still problems with a number of tests:
- org.jclouds.aws.ec2.compute.AWSEC2TemplateBuilderLiveTest#testTemplateBuilderWithLessRegions
- org.jclouds.ec2.compute.EC2TemplateBuilderLiveTest#testTemplateBuilderCanUseImageIdWithoutFetchingAllImages
Those seem to be failing because there's caching going on that they're
not expecting, but I could be wrong.
Also failing:
- org.jclouds.aws.ec2.features.PlacementGroupApiLiveTest in general
- org.jclouds.aws.ec2.features.SpotInstanceApiLiveTest - a couple tests
2013-09-30 09:33:57 -07:00
Andrew Bayer
389ba6c94a
JCLOUDS-267. Add SecurityGroupExtension support for Nova.
2013-09-17 11:47:42 -07:00
Zack Shoylev
a9cb3cf068
When creating a server, allow attaching server to custom network
...
https://issues.apache.org/jira/browse/JCLOUDS-202
2013-08-01 21:46:24 -05:00
Everett Toews
bf723a8649
Support Disk Configuration Extension in NovaTemplateOptions
2013-08-01 16:40:00 -05:00
Everett Toews
e6b6e4edb2
Support Disk Configuration Extension
2013-07-31 23:10:35 -05:00
Andrew Gaul
60e9062894
Checkstyle fixes
2013-07-09 14:09:44 -07:00
Andrew Bayer
5f524ee6c9
JCLOUDS-101 - Add SecurityGroupExtension for compute
...
- Adds the SecurityGroupExtension to compute, with tests and stub
support.
- Gets everything else to actually build against this.
- Unifies on compute's IpPermission/IpProtocol, eliminating EC2's.
- Converters from EC2/Nova/CloudStack SecurityGroup (and rules, for
the latter two) to the compute SecurityGroup (and rules, etc).
- EC2SecurityGroupExtension and tests.
- AWSEC2SecurityGroupExtension and tests - depends on JCLOUDS-99.
2013-06-26 14:59:01 -07:00
adriancole
ed2f18a1af
JCLOUDS-31. updated to ASF headers via mvn com.mycila.maven-license-plugin:maven-license-plugin:format
2013-05-16 21:30:37 -07:00
Andrew Bayer
7923009eb5
JCLOUDS-37. Fix RAT violations in incubator-jclouds, master branch
2013-05-13 19:17:50 -07:00
Andrew Bayer
446ac67884
JCLOUDS-30. Switch to 2 space indents for POM files.
2013-05-13 12:04:43 -07:00
Andrew Bayer
259b04ff1c
JCLOUDS-16. Switch groupId to org.apache.jclouds, change parent POM, remove old distributionManagement content, add ASF repos.
2013-05-13 12:04:42 -07:00
Everett Toews
2bbd03939f
Removed trystack-nova provider.
2013-04-26 10:54:49 -05:00
Andrew Gaul
fff2fa6e05
Address Checkstyle violations
...
This commit requires temporarily disabling some checks.
2013-04-17 16:21:21 -07:00
Everett Toews
f3586bec30
Make the URI of Servers and Load Balancers available.
2013-04-11 17:39:16 -05:00
adriancole
6afb0dc6b9
quarantined openstack api and providers that still use async code
2013-04-09 22:07:55 -07:00
adriancole
053197fe61
deprecated all top-level Async apis and clients
2013-04-09 10:18:31 -07:00
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
adriancole
2cdf19a6b1
removed async expect tests
2013-04-08 20:45:04 -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
c3542f9d12
Correct Keystone 1.1 authentication token timeout
...
We should renew after 30 minutes, not 30 hours.
2013-03-17 16:27:31 -07:00
Andrew Gaul
ce3047517f
Allow configuration of session renewal.
...
Also set default timeout to 30 minutes. This works around a situation
where we used an expired token. I saw symptoms where CloudFiles
temporary signed URLs worked for hours 0-23, renewed the token, worked
for hours 23-24, then failed for hours 24-46. The cycle then repeats.
2013-03-12 21:40:34 -07:00
Adrian Cole
fb69ae0fa9
bump master to 1.7.0-SNAPSHOT
2013-03-08 23:02:40 -08:00
adriancole
c31145e42e
[maven-release-plugin] prepare for next development iteration
2013-03-04 06:13:59 -08:00
adriancole
0eb3ee8091
[maven-release-plugin] prepare release jclouds-1.6.0-alpha.4
2013-03-04 06:13:57 -08:00
Adrian Cole
6a6214d1c5
Merge pull request #1065 from i11/master
...
Add flavor create and delete API calls for openstack-nova
2013-03-01 15:22:26 -08:00
ilja.bobkevic
f9513bec84
Add flavor create and delete API calls for openstack-nova
...
1. Harden Flavor
2. Update FlavorApi and FlavorAsyncApi by adding create(...) and
delete(...) methods
3. Add flavor_new.json and ParseCreateFlavorTest
4. Add create and delete tests into FlavorApiExpectTest
Change-Id: I3ea15883fb655d9a1dc48fb4ed1b1613d4975d93
2013-03-01 22:23:27 +01:00
Julien Coste
a80f58fabe
Change create method to allocateFromPool
2013-02-27 15:12:51 +01:00
Julien Coste
4bbf8380c7
Add the possibility to create a floating IP from a pool of floating IPs
2013-02-26 14:07:27 +01:00
adriancole
89fda8ee28
[maven-release-plugin] prepare for next development iteration
2013-02-04 17:30:46 -08:00
adriancole
2b0ad28f26
[maven-release-plugin] prepare release jclouds-1.6.0-alpha.2
2013-02-04 17:30:44 -08:00
adriancole
267069755e
[maven-release-plugin] prepare for next development iteration
2013-02-02 08:41:53 -08:00
adriancole
7c924b312f
[maven-release-plugin] prepare release jclouds-1.6.0-alpha.1
2013-02-02 08:41:51 -08:00
adriancole
e85b7b7cc8
fix issue #1277 some nova installs do not generate passwords
2013-01-31 13:56:39 -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
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
d5f7f8b07e
refactored json internals to use Reflections2
2013-01-20 23:13:22 -08:00
Adrian Cole
37e587ee51
changes related to centralizing construction of invokables
2013-01-19 17:17:30 -08:00
Everett Toews
d54e8dcecb
@Named annotations in all async api methods for OpenStack.
2013-01-19 18:16:14 -06:00
Adrian Cole
4980367991
centralize TypeToken creation
2013-01-19 11:31:55 -08:00
Adrian Cole
f6990c60c9
Merge pull request #1182 from aplowe/master
...
openstack-nova: NPE in SecurityGroupApi.delete()
2013-01-16 08:40:21 -08:00
Adam Lowe
055098866f
openstack-nova: eliminating NPE thrown by SecurityGroupApi.delete()
2013-01-16 10:53:27 +00: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
3089111621
refactored internal code and tests to use FunctionalReflection
2013-01-07 00:36:31 -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
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
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
Everett Toews
0084dbeecb
Fixed intermittent and changing test failures.
2012-12-13 12:39:05 -06:00
Steve Loughran
04a528e823
integrated RetryAfterException into OpenStack Nova error response
2012-12-09 03:00:51 -08:00
Adrian Cole
6563ba1ad9
Merge pull request #995 from LeanderBB/openstack-nova-diagnostics
...
Started work on adding the nova diagnostics command to JClouds
2012-12-04 07:47:31 -08:00
Adrian Cole
e66219c16e
normalized to CryptoStreams
2012-11-30 17:33:53 -08:00
Leander Bessa Beernaert
38be08eb6b
Extends JClouds' OpenStack Nova API with the Diagnostics command
...
The diagnostics command returns a collection of system information
for the a given server. At the moment, there is no formal
specification for this command. Therefore, it is returned as
a Map of hypervisor specific entries and corresponding values.
More information about the command can be viewed here [1]
in the section "Server Diagnostics".
[1] http://api.openstack.org/api-ref.html
2012-11-30 17:40:12 +00:00
Adrian Cole
878ec1bcab
undid Serializable and added checkstyle InterfaceIsType:allowMarkerInterfaces=false
2012-11-18 09:23:44 -08:00
Adrian Cole
34d9d05eca
Merge pull request #988 from jclouds/dont-generate-when-user-supplies-groupnames
...
Issue 1121: Don't generate SecurityGroup when user specifies securityGroupNames
2012-11-13 10:11:04 -08:00
Everett Toews
39d90f954e
Added Predicates for handling Volume and Snapshot Status. Improved some comments.
2012-11-13 11:08:30 -06:00
Adrian Cole
5a2af5c29e
Issue 1121: Don't generate SecurityGroup when user specifies NovaTemplateOptions.securityGroupNames
2012-11-12 22:33:36 -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
4af8008b51
Address all existing Checkstyle violations
2012-11-12 10:30:46 -08:00
Andrew Gaul
3ad36d25d5
Enforce no unnecessary parentheses via Checkstyle
2012-11-10 13:22:12 -08:00
Everett Toews
2682759b49
Moved the Volume Attachment stuff into its own API to make it totally clear to users that this is the API to use for attaching volumes.
2012-11-07 07:46:11 -06: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
Adrian Cole
3a00a2c389
Merge pull request #924 from andrewgaul/copyright-notice
...
Address minor copyright notice typos
2012-10-29 16:50:01 -07:00
Aled Sage
09425f4f69
Version upgrades
...
- gson from 2.2 to 2.2.2
- guava from 13.0 to 13.0.1
- rocoto from 6.1 to 6.2
- log4j from 1.2.16 to 1.2.17
- log back from 1.0.0 to 1.0.7
- httpclient from 4.1.3 to 4.2.2
- netty from 3.3.1 to 3.5.9
- slf4j from 1.6.4 to 1.7.2
- testing from various to 6.8
- jetty from 8.1.1 to 8.1.7
- snakeyaml from 1.10 to 1.11
2012-10-29 13:00:44 +00:00
Andrew Gaul
e7dde3aff5
Address minor copyright notice typos
2012-10-28 23:27:56 -07:00
Adrian Cole
99d3422b4d
added id to endpoint and used only endpoint.versionId to enforce endpointVersion
2012-10-08 15:59:04 -04:00
Adrian Cole
376db9e239
refactored openstack-nova expect tests so that they don't mask zone ids from subclasses
2012-09-29 18:35:03 -07:00
Adrian Cole
b77a3bf0c8
cleanup and example of overriding nova api version
2012-09-29 14:03:25 -07:00
Adrian Cole
28d766b9df
bumped to 1.6.0-SNAPSHOT
2012-09-17 01:43:52 -07:00
Adrian Cole
54ec689019
stable openstack
2012-09-16 22:38:22 -07:00
Adrian Cole
605d6580de
metadata for nova
2012-09-16 17:07:42 -07:00
Jeremy Daggett
c078cb2170
Initial contribution to metadata APIs
2012-09-16 16:22:48 -07:00
Adrian Cole
a0c383334e
Boolean -> boolean
2012-09-16 14:58:07 -07:00
Adrian Cole
fae9ec1228
straightened out AdminActionsApi test
2012-09-16 12:38:01 -07:00
Adrian Cole
f7feb0248a
fixed bad test assertions in openstack-nova
2012-09-16 12:38:00 -07:00
Adrian Cole
b5f60f1e70
pagination and consistency cleanup on openstack
2012-09-16 00:19:30 -07:00
Andrew Donald Kennedy
88a84ae3fb
Added test descriptions and dependencies to basic Nova live tests
2012-08-24 21:19:35 +03:00
Andrew Donald Kennedy
0a7a9f378e
Updated KeyPair toString method to make expect test pass
2012-08-23 17:08:06 +03:00
Andrew Donald Kennedy
fec936ca36
Update Nova extension tests to use covariant returns
2012-08-23 08:17:30 +03:00
Andrew Donald Kennedy
7d70b5ddc3
Updated NovaComputeService and FloatingIp cache to deal with extensibility
2012-08-23 07:29:40 +03:00
Andrew Donald Kennedy
931aa7838a
Make all Nova extensions extensible
2012-08-23 06:46:25 +03:00