Commit Graph

603 Commits

Author SHA1 Message Date
Adrian Cole 7db0519d0b decrufted metadataapi 2012-08-24 00:38:18 -07:00
Andrea Turli 4e8149bfe8 issue 830: more LiveTests fixed on query, vapp, vapptemplate and vdc features 2012-08-23 16:56:08 +02:00
Andrea Turli a0411cfed0 issue 830: fixed CatalogApiLiveTest 2012-08-23 11:50:12 +02:00
Andrea Turli 22629824aa issue 830: fixed networkConfiguration() private method 2012-08-22 18:27:30 +02:00
Andrea Turli 963edd906b issue 830: fixed tests on VAppApiLiveTest 2012-08-21 19:04:30 +02:00
Andrea Turli 77ae46fef3 issue 830: added VAppTemplateURNToHref conversion to get(String reference) 2012-08-20 16:29:12 +02:00
Adrian Cole aff96befbe refactored Metadata to implement Immutable Map<String, String>; addGroupToOrg GroupApi, MediaApi to use urn 2012-08-19 21:48:04 -07:00
Adrian Cole e016367280 case issue 2012-08-19 20:02:02 -07:00
Adrian Cole 169006b3ed Issue 830: refactored MediaClient to not require href arg; refactored VmApi, VAppApi, VAppTemplateApi to use urn 2012-08-19 19:50:51 -07:00
Adrian Cole cd0aa72ae1 Issue 830: renamed Api methods to be in accordance with vCloud relationship links 2012-08-19 16:46:02 -07:00
Adrian Cole cb844928c0 Issue 830: refactored VdcApi,AdminVdcApi to use urn 2012-08-19 16:08:16 -07:00
Adrian Cole 206af90b77 Issue 830: refactored Org, Network, Task, User apis to support URN; removed 'id' from Reference type 2012-08-19 15:23:20 -07:00
Adrian Cole 9e69626413 Issue 830: Cleaned up CatalogApi and AdminCatalogApi; added logic to use URNs as opposed to Hrefs 2012-08-19 02:34:25 -07:00
Adrian Cole 7fe724db43 Issue 830: add resolveEntity 2012-08-18 22:15:51 -07:00
Adrian Cole 027b3d0d33 removed log4j dep 2012-08-15 22:29:36 -07:00
Andrea Turli e92b370d51 added VAppNetworksLiveTest 2012-08-13 23:12:59 +02:00
Andrea Turli 14ab852907 adrian`s comments addressed 2012-08-09 19:41:30 +02:00
Andrea Turli efbaa257e5 added compose and recompose vapp live test 2012-08-09 17:35:18 +02:00
Andrea Turli 9454aeb257 issue 830: fixing vAppTemplateApi*Test, vAppApiLiveTest and vmApiLiveTest 2012-08-06 19:41:30 +02:00
Andrew Gaul 8ed0e28e68 Spelling corrections 2012-07-26 22:39:35 -07:00
Adrian Cole 5bd9e3ad9f Issue 1028:vCloud Director 1.5: require x-vcloud-authorization header on vcloud api 2012-07-23 19:28:58 -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 6d13652338 Issue 1022:Move naming convention to Api from Client or Services:: vcloud-director 2012-07-15 01:50:51 -07:00
Adrian Cole 05fd64af44 cleaned up http builders and expect tests 2012-07-15 01:50:38 -07:00
Andrew Gaul b95f36952d Fix infinite loops, found by FindBugs 2012-07-14 18:46:58 -07: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 d980b4fd42 changed test poms to use provider.template and provider.ec2-template accordingly 2012-06-15 23:35:10 -04:00
Andrew Gaul 736554d049 Correct spelling errors 2012-06-14 10:03:39 -04: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 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
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
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
Andrew Donald Kennedy 49e60aa8bc Bugfixes and tidying for vcloud-director and automated test tool 2012-05-04 18:13:50 +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
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
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
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 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
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
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
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
Andrew Donald Kennedy 0e01520240 Updated types to fix some failing tests 2012-04-10 18:02:26 +01:00
Andrew Donald Kennedy 98f0c51b28 Update usage of collections of OVF sections 2012-04-10 18:02:26 +01:00
Andrew Donald Kennedy 74b5ef76e7 Creation of DMTF labs project 2012-04-10 18:02:25 +01:00
Ignasi Barrera a059a18ada Pretty print in payload is now configurable 2012-04-10 16:03:02 +02:00
danikov 5e44ad39c2 xml enum annotation 2012-04-10 14:03:56 +01:00
danikov facc48f2a6 eliminate/reduce need for vcloud properties 2012-04-09 16:57:56 +01:00
Andrew Donald Kennedy 6128947c7e Issue 830: Minor updates 2012-04-09 11:46:48 +01:00
Adrian Cole 83b72d483a Merge pull request #539 from danikov/vcloud-director-admin-refactor3
Issue 830: vCloud director Admin Refactor
2012-04-03 07:15:40 -07:00
danikov 1b9f29a706 ensure tests are tidy, consistent, and clean up after themselves 2012-04-03 15:01:38 +01:00
danikov 19cd7b4aa3 refactor out test session to exist on the suite scope 2012-04-03 15:01:38 +01:00
danikov f20b7a902a make adminContext more robust 2012-04-03 11:23:04 +01:00
danikov 075dc00a13 refactor out admin tests 2012-04-03 11:23:03 +01:00
Andrew Donald Kennedy c4cc8821d6 Issue 830: Updates and improvements for domain objects 2012-04-03 11:21:21 +01:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
Andrew Donald Kennedy 4324edc1d2 Issue 830: Fixing NPE in test listener 2012-03-31 13:21:26 +01:00
danikov fea72442b6 minor vcloud bugfixes 2012-03-30 18:23:20 +01:00
Adrian Cole 5b19e25582 Merge branch 'fix' of https://github.com/grkvlt/jclouds into vcloud-director-admin-refactor
* 'fix' of https://github.com/grkvlt/jclouds:
  Issue 830: Remove wrong exception parser
  Issue 830: Add some Javadoc for UndeployVAppParams
2012-03-30 09:48:40 -07:00
Adrian Cole b5ae8073da expect test structure for new admin client 2012-03-30 09:48:08 -07:00
Andrew Donald Kennedy 40e38a3ad6 Issue 830: Remove wrong exception parser 2012-03-30 17:24:00 +01:00
Andrew Donald Kennedy ab4d8da22b Issue 830: Add some Javadoc for UndeployVAppParams 2012-03-30 17:23:55 +01:00
Adrian Cole 73ec8a66ff merged with latest vcloud-director lists-gone stuff 2012-03-30 09:23:20 -07:00
danikov 557cf5e9b3 trying to fix guice to have both user/admin modules 2012-03-30 16:29:56 +01:00
Andrew Donald Kennedy 708b065454 Issue 830: Method name tidying 2012-03-29 19:41:48 +01:00