Commit Graph

556 Commits

Author SHA1 Message Date
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
Andrew Donald Kennedy 2a60e1aedb Issue 830: Update client get methods to use new error handler 2012-03-29 13:53:14 +01:00
danikov 17e90c22b1 build users ahead of tests using admin credentials (WIP) 2012-03-28 09:50:38 +01:00
danikov 6ddd2072dc refractor out admin 2012-03-28 09:49:51 +01:00
Adrian Cole 5c6ce9f081 organize imports 2012-03-28 03:37:48 -04:00
Adrian Cole 343470d0a5 removed deprecated RunScriptOptions & TemplateOptions 2012-03-28 03:37:43 -04:00
Adrian Cole 59330991a5 Merge pull request #525 from grkvlt/jaxb
Intermittent JAXB error in AdminCatalogClientExpectTest
2012-03-27 23:07:06 -07:00
Andrew Donald Kennedy e173612288 Intermittent JAXB error 2012-03-27 18:24:26 +01:00
Andrew Donald Kennedy d35de3cc23 Issue 830: Use ResourceNotFoundException 2012-03-27 18:13:27 +01:00
Andrew Donald Kennedy 9bc2640601 Issue 830: Make RasdItemsList implement Set 2012-03-27 13:48:08 +01:00
Andrew Donald Kennedy 680a202b20 Issue 830: Tidy up client imports and javadoc 2012-03-27 13:48:07 +01:00
Andrew Donald Kennedy 8443bbe8f2 Issue 830: Tidy up domain object imports and remove unnecessary annotations 2012-03-27 13:48:07 +01:00
Andrew Donald Kennedy 9e860a2328 Issue 830: Use XmlElementWrapper annotation where possible 2012-03-27 13:48:06 +01:00
Andrew Donald Kennedy d4713572e4 Issue 830: Update API listener - Log timestamp, test name - Get test duration from framework - Uses test description paramater for operation request details - Updated live client tests to use description instead of testName 2012-03-27 13:39:38 +01:00
Andrew Donald Kennedy c7381501f0 Issue 830: Change fenceMode to ISOLATED 2012-03-23 16:48:24 +00:00
Andrew Donald Kennedy 0534821234 Issue 830: Fix for modifyLeaseSettingsSection 2012-03-23 16:09:58 +00:00
Andrew Donald Kennedy 7998e1b012 Issue 830: Added entity media type 2012-03-23 16:09:58 +00:00
Andrew Donald Kennedy 1ccd5f806a Issue 830: Added entity operation to query client 2012-03-23 16:09:58 +00:00
Andrew Donald Kennedy c71ff11fc5 Issue 830: Tidy up reference predicates 2012-03-23 16:09:58 +00:00
danikov d91a8efe70 remove not-needed properties + vars 2012-03-23 15:31:51 +00:00
danikov 7d4f81a46c non-client operation tests (legacy login + get schema) 2012-03-23 14:01:01 +00:00
Adrian Cole ff0cc154d3 Merge pull request #512 from grkvlt/tests
Issue 830: Make live test before methods always run
2012-03-22 08:54:40 -07:00
danikov 9ff1a792af fix adminOrg testName annotations 2012-03-22 13:48:49 +00:00
danikov e153b1ed22 formatting fix 2012-03-22 13:43:58 +00:00
danikov 98adf79f93 add login group to login session test class 2012-03-22 13:14:37 +00:00
Andrew Donald Kennedy 1d886305ba Issue 830: Make live test before methods always run 2012-03-22 13:01:40 +00:00
danikov d4b03f0119 minor bugfix + skeletal code for groups/LDAP 2012-03-22 11:48:49 +00:00
Andrew Donald Kennedy 704d0c00fb Issue 830: Add logging output during cleanUp and fix VApp deletion 2012-03-21 23:59:35 +00:00
Andrew Donald Kennedy 35391b876b Issue 830: Use XmlWrapper for collections in Vdc 2012-03-21 23:59:35 +00:00
Andrew Donald Kennedy 25fac3b36e Issue 830: Add control access tests to Org 2012-03-21 21:01:41 +00:00
Andrew Donald Kennedy 235ed12337 Issue 830: Add missing operations to Org clients 2012-03-21 17:33:54 +00:00
Andrew Donald Kennedy 78a4a674ab Issue 830: Updates for failing tests 2012-03-21 17:33:54 +00:00
Aled Sage 16d72204b0 Issue 830: Fix QueryClientLiveTest testQueryMedia 2012-03-21 17:33:15 +00:00
Adrian Cole 35dc8f1224 Merge pull request #506 from danikov/vclouds-director-bugfixes-3
Issue 830: vCloud director Bugfixs
2012-03-21 10:17:50 -07:00
danikov f99302b1e6 implement shadow vas + order tests to guarantee success 2012-03-21 17:03:53 +00:00
danikov 1c363b5e40 more testName annotation fixes 2012-03-21 15:22:05 +00:00
Adrian Cole 70c1d4c05c Merge pull request #502 from grkvlt/vapp-reordering
Issue 830: VApp power test reordering
2012-03-21 08:09:41 -07:00
Andrew Donald Kennedy 26646872d5 Issue 830: Fix HTTP method for answerQuestion operation 2012-03-21 14:04:44 +00:00
Andrew Donald Kennedy 4706ea4057 Issue 830: More power related test ordering and dependency
Includes changes from patch submitted by <aled.sage@gmail.com>
2012-03-21 14:04:44 +00:00
danikov 0e97401b48 last few testName annotation fixes 2012-03-21 13:55:54 +00:00
danikov 5873157074 avoid NPE in testResetNetwork 2012-03-21 13:38:26 +00:00
danikov a4272f5429 tidy up test annotations + documentation + missing client/test methods for groupClient 2012-03-21 12:33:44 +00:00
Adrian Cole ac2528ef6f Merge pull request #499 from danikov/vclouds-director-bugfixes-2
Issue 830: vCloud director Bugfix
2012-03-20 22:29:21 -07:00
danikov 0e9ba3eb1e create metadata for metadata testing 2012-03-21 03:59:39 +00:00
Andrew Donald Kennedy 648c401427 Issue 830: Typo in QueryClientLiveTest from merge 2012-03-21 01:49:41 +00:00
Adrian Cole b782fce5bf Merge pull request #497 from grkvlt/vapp-reorder
Issue 830: Fix VApp power and virtual hardware section tests
2012-03-20 18:25:50 -07:00
Andrew Donald Kennedy 7e6ce283ec Issue 830: Fix testModifyVirtualHardwareSection 2012-03-21 01:18:48 +00:00
Andrew Donald Kennedy 71c96ea073 Issue 830: VApp power tests 2012-03-21 01:18:47 +00:00