Commit Graph

924 Commits

Author SHA1 Message Date
Adrian Cole 67d8f9a0f4 image extension related classes under extensions package 2012-05-21 12:39:32 -06:00
Adrian Cole 5c647df129 Issue 938:TemplateBuilderSpec 2012-05-21 02:45:25 -06:00
Adrian Cole bab3852140 Issue 908: list, listInDetail, show, getAsStream 2012-05-18 15:58:51 -07:00
Aled Sage 83c9ecc3d8 Issue 858: moved RetryIfSocketNotYetOpen from compute/ to labs/virtualbox/ 2012-05-17 11:29:30 +01: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
unknown c4499d8c5e merged 2012-05-16 13:08:48 -07:00
Adrian Cole c63f3119ca formatting and imports 2012-05-15 14:43:29 -07:00
unknown c1d9a7c47c Joyent server and Dataset features 2012-05-15 14:30:44 -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
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
Adam Lowe 305a593d9a vcloud-director: fixing expect tests that were incorrectly passing due to missing requestline check in BaseRestClientExpectTest 2012-05-10 15:24:46 +01:00
David Ribeiro Alves f63c5a44c6 corrected formating issues and added headers 2012-05-10 09:07:12 +01:00
Adrian Cole 743773aeef formatting 2012-05-08 10:14:14 -07:00
Adrian Cole d99c18140e cleanup on vbox 2012-05-07 11:51:29 -07:00
Adrian Cole 057313e512 Merge pull request #609 from grkvlt/vcloud-director-updates
Bugfixes and tidying for vcloud-director and automated test tool
2012-05-04 13:29:48 -07:00
Andrew Donald Kennedy 49e60aa8bc Bugfixes and tidying for vcloud-director and automated test tool 2012-05-04 18:13:50 +01:00
Andrew Gaul b0cd47befb Prefer ImmutableMap for static ErrorCode map
Also mark member as final and fix line wrapping.
2012-05-03 15:39:07 -07: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
Adrian Cole 19390ea87d Merge pull request #602 from andrewgaul/propagate-or-null
Eliminate Throwables2.propagateOrNull
2012-05-02 15:21:30 -07: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
Andrew Gaul 646f8d8b13 Improve use of Throwables.propagate
Throwing the return value removes some unneeded asserts and return
statements.  Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Andrea Turli 96c98be9fd jenkins api: multimaps.for(map) 2012-05-02 09:25:01 +02:00
Andrea Turli fd7c8c06a2 jenkins api: buildWithParameters added 2012-05-01 22:15:45 +02: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
Adrian Cole 6923a11ce7 Merge pull request #579 from danikov/vcloud-director-endpoints-and-predicates
Issue 830: vCloud director functions, endpoints and predicates
2012-04-30 07:59:58 -07:00
Adam Lowe 86e56096a0 Adding links to openstack-keystone admin API documentation 2012-04-30 15:28:58 +01:00
Adam Lowe 8857144dbc Adding openstack-keystone to labs pom 2012-04-30 11:23:18 +01:00
Adam Lowe 7d53e18ed7 Renaming the service client (user operations) ServiceClient to better match up to Keystone documentation 2012-04-30 10:53:50 +01:00
Adam Lowe 10c6d80a39 Fixing javadocs 2012-04-30 10:49:44 +01:00
Adam Lowe 46b7ffa23c Renaming the service client (user operations) ServiceClient to better match up to Keystone documentation 2012-04-30 10:49:31 +01:00
Adam Lowe b6502b13c1 Adding openstack-keystone to expose additional methods available on keystone api 2012-04-30 10:04:05 +01:00
danikov 3a61b143b4 fix default behaviour 2012-04-27 14:39:50 +01:00
danikov 9b7bd20986 fix SectionForVApp usage 2012-04-27 14:39:50 +01:00
danikov ef79f94e1d change to use vm -> node mapping 2012-04-27 14:39:50 +01:00
danikov 401d2f675f cloud director compute functions and predicates 2012-04-27 14:39:50 +01:00
danikov a1e2d6d047 added caching behaviour to link predicates 2012-04-27 14:39:49 +01:00
Andrew Donald Kennedy 4840fdaf3f Add XmlRootElement annotation to Vm 2012-04-26 17:39:05 +01:00
Andrew Donald Kennedy b09f35fa9d Tidyup the AfterClass methods for VApp test groups to ensure environment always cleaned up 2012-04-26 17:39:05 +01:00
Andrew Donald Kennedy a13e63c0ef Add VmClient tests from existing VAppClient tests 2012-04-26 17:39:04 +01:00
Andrew Donald Kennedy 8becbd0394 Create new VmClient and references using existing methods from VAppClient 2012-04-26 17:39:04 +01:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Adrian Cole 98fb68576a first working operation in joyent 2012-04-25 16:29:50 -07:00
Adrian Cole 349d74bfaa Issue 734: skeleton for joyent 2012-04-25 13:50:05 -07:00
Adrian Cole c925539b27 Issue 908: initial skeleton for glance 2012-04-25 13:32:27 -07:00
Andrea Turli 9069ad7136 jenkins lab: added build command to JobClient + Tests 2012-04-25 18:17:05 +02:00
Adrian Cole a03565003f added get job 2012-04-24 23:36:06 -07:00
Adrian Cole 5ee2cf6748 added node command to get master 2012-04-24 23:21:14 -07:00
Adrian Cole 9884d04c2e removed extra create job method 2012-04-24 22:40:58 -07:00
Adrian Cole a1ff6f3b59 easier param when job xml is already a string 2012-04-24 21:53:32 -07:00
Adrian Cole d83ce9c154 added create/delete job 2012-04-24 21:07:19 -07:00
Adrian Cole bf0b15aff0 pretty 2012-04-24 17:42:15 -07:00
Adrian Cole 058213dd20 Issue 188: base impl of cdmi 2012-04-24 17:38:39 -07:00
Adrian Cole 559a37ceff master is not accessible via getComputer 2012-04-24 11:51:20 -07:00
Adrian Cole 96b9e8c8b0 Issue 907: initial jenkins api 2012-04-24 10:54:03 -07:00
Adrian Cole 95347a5b96 wrapper -> view; typo undo 2012-04-23 19:25:22 -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 eda3f05c8e Issue 905:create openstack-swift api 2012-04-19 23:18:36 -07:00
Adrian Cole 3672e7c762 Merge pull request #578 from gustavomzw/nodepool2
base implementation of nodepool (work in progress)
2012-04-19 19:16:35 -07:00
Gustavo Morozowski e4abeecc4d base implemenation of nodepool 2012-04-19 22:09:18 -03:00
Andrew Bayer 9b80b984a4 Switch to calling apt-get update before every apt-get install.
I found that the previous "apt-get install || (apt-get update; apt-get
install) didn't work in all cases, but switching to always calling
apt-get update got things working properly.
2012-04-19 13:02:47 -07:00
danikov 4dc5e0f781 functions and endpoints for vCloud Director 2012-04-19 17:31:45 +01:00
Andrew Donald Kennedy 6b10fb8f32 Problem when instantiating the SessionClient via ContextBuilder, solved by forcing the getProviderMetadata override method to be used 2012-04-19 01:08:05 +01:00
Andrew Donald Kennedy 47cbbeef57 Fixing some issues with XmlEnum annotated types 2012-04-19 00:16:43 +01:00
Andrew Donald Kennedy d7bf98017b Fixup session and login live testing 2012-04-19 00:16:43 +01:00
Andrew Donald Kennedy 27fb042c11 Misc 2012-04-19 00:16:43 +01:00
Andrew Donald Kennedy 18c6313eb4 Change context return type 2012-04-19 00:16:43 +01:00
Andrew Donald Kennedy d30f6548ee Use Status enum not value 2012-04-19 00:16:43 +01:00
Andrew Donald Kennedy a8e5938b6a Wrong check for not found 2012-04-19 00:16:42 +01:00
Andrew Donald Kennedy 437bb83496 Do not create new users just for the tests, run them with the passed in credentials 2012-04-19 00:16:42 +01:00
Adrian Cole dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
Adrian Cole 98a205b603 Issue 891: ensure we run apt update when install jdk fails 2012-04-18 15:02:06 -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
Andrew Gaul a3161ba7ba Throw return value instead of returning null
Throwables.propagate always throws its argument and throwing its
impossible return value better represents our intent than returning
null.
2012-04-16 13:45:23 -07:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Andrew Donald Kennedy c0d781a11d Fix vCloud test usage of new ContextBuilder 2012-04-13 12:23:45 +01:00
Adrian Cole a5ddf1057f Merge pull request #562 from grkvlt/vcloud-domain-objects
Issue 830: vCloud Director Domain Objects
2012-04-12 10:33:02 -07:00
Andrew Donald Kennedy 585cfae860 Reorganized domain objects in sub-packages for easier assimilation 2012-04-12 17:09:18 +01:00
Adrian Cole 0f542efcd4 Merge pull request #561 from grkvlt/vcloud-metadata
Issue 830: vCloud Director ApiMetadata
2012-04-12 08:53:32 -07:00
Andrew Donald Kennedy 30cee89d53 Remove default endpoint from ApiMetadata 2012-04-12 13:32:50 +01:00
Andrew Donald Kennedy ee9a659b7e Updated Carrenza provider 2012-04-12 12:04:02 +01:00
Andrew Donald Kennedy 190a28ba16 Rename Carrenza provider 2012-04-12 09:32:25 +01: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 Donald Kennedy 5de8e7bad6 Various minor changes to fix live tests 2012-04-11 22:49:16 +01:00
Andrew Donald Kennedy 19c88aa1fe Updated test annotations for command-line test tool 2012-04-11 22:48:48 +01:00
Andrew Donald Kennedy 2e67af2075 Minor fixups 2012-04-11 14:03:34 +01:00
Andrew Donald Kennedy fd616ddbed Error handler check for empty payload 2012-04-11 13:14:53 +01:00
Andrew Donald Kennedy b786178a90 Better error checking and logging in test tear down/clean up methods 2012-04-11 13:14:53 +01:00
Andrew Donald Kennedy 98a89aa68d Fix DMTF section types 2012-04-11 13:14:51 +01:00
Adrian Cole 8100246d8b Merge pull request #556 from grkvlt/vcloud-live-tests
Issue 830: Fixes for vCloud live tests
2012-04-10 17:49:33 -07:00
Andrew Donald Kennedy 9c40c3a34d Fixed NPE in error handler 2012-04-11 01:06:28 +01:00
Andrew Donald Kennedy ef66989727 Corrections to fix expect and live test errors, including JAXB type naming for enumerations 2012-04-11 01:06:27 +01:00
Adrian Cole ce0b181e0d Merge pull request #555 from danikov/vcloud-director-carrenza
Issue 830: vCloud director Carrenza provider
2012-04-10 10:42:35 -07:00
Andrew Donald Kennedy 4de062c636 Fixing live test failures due to new enums and DMTF changes 2012-04-10 18:29:59 +01:00
Andrew Donald Kennedy ad1250984b Use value of Role enum 2012-04-10 18:24:27 +01:00
Andrew Donald Kennedy 9dbdbb13a7 Fix failing tests due to new ReturnNullOnNotFoundOr404 behaviour 2012-04-10 18:24:27 +01:00