Commit Graph

1229 Commits

Author SHA1 Message Date
Adrian Cole 52731ed3fc Merge pull request #1197 from nacx/abiquo-naming
Issue #1184: Changes for Abiquo. @Named annotations in all async api methods
2013-01-19 07:29:41 -08:00
Ignasi Barrera 94c5902cc3 Issue #1184: Changes for Abiquo. @Named annotations in all async api methods. 2013-01-19 11:08:35 +01:00
adriancole 04fe89b75a update to guava 14.0-rc2 2013-01-18 16:02:25 -08:00
David Ribeiro Alves d220abe8af gce - images api 2013-01-16 17:19:21 -06:00
David Ribeiro Alves 29d9a1a27c corrected a bug in the paging system where only the first marker was used 2013-01-16 16:05:18 -06: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
David Ribeiro Alves 67924f188e gce - firewalls api 2013-01-15 11:20:03 -06: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
David Ribeiro Alves 16359d16c7 gce - networks api 2013-01-13 15:05:46 -06:00
Adrian Cole 9b61cfacc8 Merge pull request #1171 from dralves/gce-machinetypes
gce - machine types api
2013-01-13 12:07:57 -08:00
Adrian Cole 00cc1ce67d Merge pull request #1174 from jclouds/simplify-futures
use standard guava Futures and ListenableFuture
2013-01-13 11:42:38 -08:00
David Ribeiro Alves 9ec0bca204 gce - machine types api 2013-01-13 13:39:42 -06:00
Adrian Cole eca4889c0c Merge pull request #1170 from dralves/gce-kernels
gce - kernels api
2013-01-13 09:43:39 -08:00
Adrian Cole 3962b30808 updated to use standard guava Futures and ListenableFuture 2013-01-13 09:31:10 -08:00
Adrian Cole 547f574eea got rid of custom MoreExecutors.sameThreadExecutor 2013-01-12 15:47:58 -08:00
Adrian Cole d57197c103 cleaned up code references detected as unnecessary by UEC plugin 2013-01-12 12:31:00 -08:00
David Ribeiro Alves 62d6e44027 gce - kernels api 2013-01-12 17:55:14 +00:00
Adrian Cole 47c215c63c removed custom guava code for scoped binding and type params 2013-01-08 22:48:10 -08:00
Adrian Cole 062354c305 removed redundant metadata clients from vcloud-director 2013-01-08 21:31:19 -08:00
Andrea Turli f4d657aabd added support to assign passwordless right to the default node user 2013-01-08 19:17:29 +01: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
David Ribeiro Alves b7c165553b gce - disks api 2013-01-06 16:03:01 +00:00
David Ribeiro Alves 8d621e3fd5 made Operation.targetId optional 2013-01-06 13:58:02 +00: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 afc070ac07 First wave of RestAnnotationParser refactoring introduces Invokable, removes SeedAnnotationCache and associated race conditions 2013-01-04 13:51:46 -08:00
Adrian Cole 36123a6068 deterministic creation of requests based on arg order 2013-01-04 12:44:26 -08:00
Adrian Cole 9c64e723d6 removed unused code in vcloud-director copy/pasted from vcloud 2013-01-04 11:29:25 -08:00
Everett Toews 04255abccc Deleted labs/openstack-cinder (it moved to apis/openstack-cinder). 2013-01-02 15:03:32 -06: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 e1afa8c516 transitioned from FindResourceInSet to FluentIterable 2012-12-31 22:11: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 2a3280fba5 removed AuthorizationException catch, as error handler already coerces auth exception to ResourceNotFound 2012-12-31 16:07:35 -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
Andrea Turli ac0e5f5e67 added support for vbox 4.2.6;
added hostname support;
added generic md5 support;
dralves`s comments addressed
adrian`s comments addressed
dralver`s comments addressed
second round of comments addressed
fix CreateAndRegisterMachineFromIsoIfNotAlreadyExistsLiveTest
formatting
swept check*
updated jclouds-sshj pom.xml with latest bouncycastle version
2012-12-31 01:33:43 +01: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
David Ribeiro Alves aebc4cba3b base pr for - jclouds provider for google compute engine
- addresses comments from #1010
- includes the following base apis
	- projects
	- operations
	- zones

These are 3 small apis that are required by other apis in some place or another.
2012-12-29 15:39:45 +00:00
Adrian Cole ba156b7552 Merge pull request #1100 from andrewgaul/close-payload
Close Payload directly
2012-12-27 18:26:05 -08:00
Andrew Gaul 614e262ce0 Close Payload directly 2012-12-27 17:35:25 -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 dadf142cac removed chance of race condition due to duplicate tearDown methods 2012-12-24 00:16:57 -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 f849a4286e fgcp doesn't need a strict bouncycastle dep 2012-12-20 08:59:04 -08:00
Ignasi Barrera 3abaa91cd4 Add Network Service Type functionality.
Until Abiquo 2.2, all the NICs of the virtual machines were attached to
the same physical Network Interface in the target physical machine,
since only one NIC per Virtual Machine was 'enabled'.

Starting from Abiquo 2.3, managed hosts can assign different 'Network Service Types'
to their Network Interfaces. The goal is to define what type of network is attached to each
NIC and have more control about how public and external VLANs are managed.
2012-12-19 10:16:09 +01:00
Adrian Cole 60dca0a6ce removed unnecessary line wrapping in base64 for fgcp 2012-12-01 11:07:31 -08:00
Adrian Cole e66219c16e normalized to CryptoStreams 2012-11-30 17:33:53 -08:00
digitalsanctum 4953d6c8e2 another simplification 2012-11-27 21:29:31 -05:00
digitalsanctum 2b56393f0a issue 1114 fix for vm and vapp reboot 2012-11-25 07:44:48 -05:00
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
Everett Toews c6aabb1a31 Moved openstack-cinder and rackspace-cloudblockstorage-us/uk out of labs.
Updated pom.xml files for the move.
2012-11-13 18:48:30 -06:00
Everett Toews db4c5fc0f9 Added awaitDeleted() to VolumePredicates and SnapshotPredicates. Improved Volume.forId(). 2012-11-13 18:18:32 -06:00
Adrian Cole 984ba24583 Merge pull request #989 from jclouds/ap-southeast-2
Issue 1123: add new Asia Pacific (Sydney) Region [ap-southeast-2]
2012-11-13 10:09:41 -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 db786f3b20 Issue 1123: add new Asia Pacific (Sydney) Region [ap-southeast-2] 2012-11-13 08:46:01 -08:00
Andrew Gaul 4af8008b51 Address all existing Checkstyle violations 2012-11-12 10:30:46 -08:00
Andrew Gaul 42a3f4a3f9 Enforce use of StringBuilder via Checkstyle
Callers usually do not intend to use a synchronized StringBuffer.
EasyMock requires use of StringBuffer in some situations.
2012-11-12 08:24:36 -08:00
Andrew Gaul 3ad36d25d5 Enforce no unnecessary parentheses via Checkstyle 2012-11-10 13:22:12 -08:00
Adrian Cole a6b94c9fa2 Merge pull request #973 from dralves/oauth
ClaimSet equals contract was preventing cache from working
2012-11-08 22:19:55 -08:00
Everett Toews 5cb1f2e426 Rackspace Cloud Block Storage providers for the OpenStack Cinder API. 2012-11-08 22:17:27 -06:00
David Ribeiro Alves 38be409951 corrected ClaimSet equals contract that was preventing cache from workign 2012-11-08 20:39:44 -06:00
Adrian Cole 3906b196b6 added configuration necessary to override timeout default for ami create 2012-11-08 15:48:16 -03:00
Everett Toews 3292701883 Added support for the OpenStack Folsom Cinder Block Storage API. 2012-11-08 09:16:52 -06:00
David Ribeiro Alves fa27c74373 oauth v2 implementation 2012-11-07 17:02:39 -06:00
Andrew Gaul de82496aae Ensure simple boolean expressions via Checkstyle 2012-11-05 11:41:16 -08:00
Adrian Cole 64a8fd0cbb Merge pull request #961 from andrewgaul/checkstyle-collection-helpers
Enforce use of Collection helpers via Checkstyle
2012-11-05 11:38:49 -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 9d643b569a Enforce a single variable declaration per line 2012-11-04 17:37:16 -08:00
Adrian Cole 55025c0764 Merge pull request #954 from andrewgaul/specific-asserts
Prefer specific asserts where possible
2012-11-04 17:24:47 -08:00
Andrew Gaul 41154d552c Enforce no illegal throws via Checkstyle
Also remove a stray unused import.
2012-11-04 15:48:44 -08:00
Andrew Gaul bfa3458b97 Prefer specific asserts where possible 2012-11-04 14:40:24 -08:00
Andrew Gaul 281172e637 Remove commons-io dependency from virtualbox 2012-11-03 11:03:58 -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 88d53b8792 Enforce no empty statements via Checkstyle 2012-11-01 18:59:18 -07:00
Andrew Gaul 35ce78f15a Correct typos 2012-11-01 13:25:44 -07:00
Ignasi Barrera f39c1add89 Removed all unnecessary interfaces from strategies
Removed all interfaces from the strategy classes that only have one
implementation.
2012-10-31 19:00:32 +01:00
Ignasi Barrera 5ba08d8448 Cleanup unnecessary strategies
Removed all over engineering introduced by strategies that did
not perform anything else than a simple api call.
2012-10-31 18:46:16 +01:00
Adrian Cole cd330a759b Merge pull request #931 from abiquo/abiquo-live-tests
Added live tests in the Abiquo provider
2012-10-30 11:32:38 -07:00
Ignasi Barrera 98787ecc00 Override setupContext and tearDownContext to avoid ordering issues when running live tests 2012-10-30 17:13:09 +01:00
Susana Acedo 6b257340eb Added live tests in the Abiquo provider
This commit adds a few more relevant live tests to be executed by any
user, covering the virtual machine deployment and their lifecycle.
2012-10-30 11:21:18 +01: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
Andrew Gaul e9edce7bae Merge pull request #925 from aledsage/upgrade-dependencies
Version upgrades
2012-10-29 11:08:27 -07:00
Andrew Gaul 1d3f36defc Merge pull request #911 from abiquo/timeunit-fix
Use the TimeUnit parameter in async monitor
2012-10-29 11:05:21 -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
Andrew Gaul caccd9cf4c Prefer Files.copy to copy streams 2012-10-24 17:44:05 -07:00
Ignasi Barrera 7bd6b016ab Added unit tests for the timeunit field and fixed javadoc 2012-10-24 19:40:32 +02:00