Commit Graph

573 Commits

Author SHA1 Message Date
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
danikov f0913ee6b4 fix cloneMedia (bad path) and deleteMedia (wrong ID) 2012-03-20 23:55:27 +00:00
danikov 0f5cae3eaf re-order and fix media tests 2012-03-20 23:37:57 +00:00
Andrew Donald Kennedy 5b4dbcd659 Issue 830: Fix random names 2012-03-20 22:27:40 +00:00
Andrew Donald Kennedy a8c1228f7b Issue 830: Tidy up test annotations 2012-03-20 22:14:10 +00:00
Andrew Donald Kennedy c51143c12b Issue 830: Use existing cleanUp method in query test 2012-03-20 21:23:51 +00:00
Andrew Donald Kennedy de099bfb36 Issue 830: Delete unused CIM types 2012-03-20 21:23:22 +00:00
Adrian Cole cdf87d57a2 Merge pull request #494 from aledsage/issue-830-fixes
Issue #830 vcloud-director: fixes/tidy for live tests
2012-03-20 13:18:27 -07:00
Aled Sage 9cdda91b99 Issue #830 vcloud-director: fixes/tidy for live tests 2012-03-20 20:04:06 +00:00
Adrian Cole 417107f29a Merge pull request #492 from grkvlt/vapp-cleanup
Issue 830: VApp cleanUp after tests
2012-03-20 12:46:20 -07:00
Andrew Donald Kennedy 07c5dabceb Issue 830: Add mediaList client query methods 2012-03-20 19:25:08 +00:00
Andrew Donald Kennedy d081f771b4 Issue 830: Record created VApp names for cleanUp 2012-03-20 19:25:07 +00:00
Andrew Donald Kennedy b4579518c4 Issue 830: Cleanup live test classes 2012-03-20 19:19:06 +00:00
Andrew Donald Kennedy ace4282fba Issue 830: make cleanUp run at end of test only 2012-03-20 19:19:06 +00:00
danikov 0b9fbc025c correctly use roles for create/update User tests 2012-03-20 19:18:32 +00:00
danikov f25fb0807f add roleReferenceQuery variation 2012-03-20 19:18:31 +00:00
danikov 13cf27cd0f guard against task already finished in createMedia test 2012-03-20 19:18:03 +00:00
Aled Sage 35c994fe07 Issue #830 vcloud-director: vdc admin client 2012-03-20 18:55:13 +00:00
Andrew Donald Kennedy 9ad27d12a3 Issue 830: Accidentally deleted namespace declaration 2012-03-20 17:59:37 +00:00
Adrian Cole 2359ee9ec5 Merge pull request #484 from aplowe/catalogclient
Issue 830: vCloud 1.5 - Improving CatalogClientLiveTest
2012-03-20 10:49:24 -07:00
Andrew Donald Kennedy 797484917c Issue 830: Remove generics from QueryResultRecords, fixes JDK7 build 2012-03-20 17:24:39 +00:00
Andrew Donald Kennedy 323238168c Issue 830: AdminCatalog issues 2012-03-20 16:50:04 +00:00
Andrew Donald Kennedy b1f560e560 Issue 830: Fixed delete VApp test 2012-03-20 16:50:04 +00:00
Andrew Donald Kennedy cee5fcc58b Issue 830: Add non-JAXB response parser for screen image 2012-03-20 16:50:04 +00:00
Andrew Donald Kennedy d2dc81a1a9 Issue 830: Use MetadataClient in VAppTemplateClient and tests 2012-03-20 16:50:03 +00:00
Andrew Donald Kennedy 3e114c7b2e Issue 830: Rename RASD to ResourceAllocationSettingData and change RASD and VSSD domain objects to OVF namespace 2012-03-20 16:50:03 +00:00
Andrew Donald Kennedy 6846dad9fc Issue 830: Fixes for various failing tests, updates for CIM and RASD domain objects 2012-03-20 16:50:03 +00:00
Andrew Donald Kennedy 45fd7c443e Issue 830: Updated ProductSection domain objects and associated tests 2012-03-20 16:50:02 +00:00
Andrew Donald Kennedy 22a718c07e Issue 830: Randomize name of instantiated VApps (implemented by @aledsage) and Metadata 2012-03-20 16:50:02 +00:00
Andrew Donald Kennedy 86f249d0d8 Issue 830: Create shared parent class for VApp and VAppTemplate tests 2012-03-20 16:50:01 +00:00
Adam Lowe 383dd43a55 vcloud-director 1.5: Adjusting CatalogClientLiveTest to ensure all operations are tested 2012-03-20 15:41:36 +00:00
Adrian Cole cf3261e5e7 Merge pull request #483 from danikov/vclouds-director-bugfixes-2
Issue 830: vCloud director Bugfixes
2012-03-20 08:29:08 -07:00
Adrian Cole 0f2f5e47fa Merge pull request #482 from aledsage/issue-830-admin-query
Issue #830 vcloud-director: added admin-query client
2012-03-20 08:27:17 -07:00
danikov 3295c1fdc7 fix NPE and test ordering 2012-03-20 13:25:53 +00:00
Aled Sage eea5b261ba Issue #830 vcloud-director: added admin-query client 2012-03-20 11:30:41 +00:00
danikov 33128f8d8b fix createUser test 2012-03-20 10:20:06 +00:00
danikov f301a2ec18 adminCatalog live test now uses its own user/owner 2012-03-20 10:20:06 +00:00
danikov 4200f59c29 enable failing live tests
Conflicts:

	labs/vcloud-director/src/test/java/org/jclouds/vcloud/director/v1_5/features/GroupClientLiveTest.java
2012-03-20 10:18:37 +00:00
Adam Lowe deeaa675bb vcloud-director 1.5: adding tests of unlockUser 2012-03-19 20:15:41 +00:00
Aled Sage bf5e73f057 Issue #830 vcloud-director: fixing live tests (User and Task) 2012-03-19 08:03:43 +00:00
Aled Sage 028791a179 Issue #830 vcloud-director: fix VAppTemplate live tests 2012-03-18 18:59:35 +00:00
Aled Sage 214e25863b Issue #830 vcloud-director: fix querying of VMs (and move instantiateVApp up to BaseVCloudDirectorClientLiveTest) 2012-03-17 17:12:00 +00:00
Aled Sage 6852d9b45f Issue #830 vcloud-director: add missing class for QueryClient (oops!) 2012-03-17 13:33:56 +00:00
Aled Sage 30f5f0d6b4 Issue #830 vcloud-director: QueryClient live tests and fixes 2012-03-16 22:28:17 +00:00
danikov 84fe8fa419 NPE guard in test formatter 2012-03-16 19:21:45 +00:00
danikov 2af7272d66 fix Network class name collision in Checks 2012-03-16 19:17:18 +00:00
danikov 9206bc0342 rename adminNetwork live test to have correct/consistent naming 2012-03-16 19:15:35 +00:00
danikov 304cf4bd38 re-add adminOrg media type to ALL 2012-03-16 19:15:35 +00:00
danikov 9f94c96f7f fix ResourceType to always have an empty collection 2012-03-16 19:15:35 +00:00
danikov 22b72ad25f merge to Master 2012-03-16 19:15:35 +00:00
danikov 595211b0d7 adminNetwork resetNetwork action w/tests 2012-03-16 19:15:35 +00:00
danikov d28eed358a adminNetwork updateNetwork w/tests 2012-03-16 19:15:34 +00:00
danikov 5fdc6dd522 adminNetwork getNetwork w/tests 2012-03-16 19:15:34 +00:00
danikov 1c53a0402f adminNetwork base 2012-03-16 19:15:34 +00:00
Aled Sage 677cdfaafa Issue #830: added VdcClient.upload comment about file size of -1 2012-03-16 17:44:34 +00:00
Aled Sage 0904766a3f Issue #830: VAppClientLiveTest for virtualHardwareSection/*, and some tidying 2012-03-16 17:44:29 +00:00
Adrian Cole 70d549a31b Merge pull request #459 from grkvlt/admin-catalog-fixes
Issue 830: Admin catalog fixes
2012-03-16 10:14:46 -07:00
Adrian Cole e4abf0b25f Merge pull request #458 from grkvlt/namespace-fix
Issue 830: Fix typo in namespace constant
2012-03-16 10:12:48 -07:00
Adrian Cole 795f8f69c8 merged Issue #830: VdcClient live tests 2012-03-16 09:11:36 -07:00
Andrew Donald Kennedy 70aa8e05ef Issue 830: Fix typo in namespace constant 2012-03-16 16:00:01 +00:00
Andrew Donald Kennedy 21f960341a Issue 830: Disabling AdminCatalog expect test temporarily 2012-03-16 15:54:16 +00:00
Andrew Donald Kennedy 24c26676fe Issue 830: Fixes for AdminCatalog live tests 2012-03-16 15:54:09 +00:00
Andrew Donald Kennedy 2af8ec527f Issue 830: Fix get/modifyOperatingSystemSection tests 2012-03-16 14:50:55 +00:00
Andrew Donald Kennedy f90135097f Issue 830: Make vcloud the default XML namespace 2012-03-16 14:50:55 +00:00
Andrew Donald Kennedy ab1de34bcd Issue 830: Add AdminVdcClient to DELEGATE_MAP in VCloudDirectorRestClientModule 2012-03-16 14:50:55 +00:00
Aled Sage e5a8038370 Issue #830: VdcClient live tests 2012-03-16 13:20:56 +00:00
Andrew Donald Kennedy ba9a1e85cb Fix formatting 2012-03-16 10:38:50 +00:00
Andrew Donald Kennedy 044e38d3cb Issue 830: Change URI used from VApp to VM in client methods 2012-03-16 10:38:50 +00:00
Andrew Donald Kennedy fed320cdda Issue 830: Updated QueryClient with VApp queries, added associated domain objects 2012-03-16 10:38:50 +00:00
Andrew Donald Kennedy 78b5a16e29 Issue 830: Updates to VAppClientLiveTest and Checks, and changes to associated domain objects 2012-03-16 10:38:49 +00:00
Aled Sage e2a966a51c Issue #830: vappTemplate live tests improvements 2012-03-16 00:00:21 +00:00
Adrian Cole ff00374d4d Merge branch 'vapp-live-tests' of https://github.com/grkvlt/jclouds
* 'vapp-live-tests' of https://github.com/grkvlt/jclouds:
  Fix VApp instantiation failure
  Refactor clients to be more consistent
  Comments for media types
2012-03-15 14:10:56 -07:00
Andrew Donald Kennedy 3420a1794c Fix VApp instantiation failure 2012-03-15 19:11:40 +00:00
Aled Sage 6a03592786 Issue #830: added metadata live tests for VApp 2012-03-15 18:10:52 +00:00
Andrew Donald Kennedy 5bb34f4599 Refactor clients to be more consistent 2012-03-15 17:24:25 +00:00
Andrew Donald Kennedy eef98d85d3 Comments for media types 2012-03-15 17:21:46 +00:00
Adrian Cole cf7243f7e1 Merge branch 'issue-830-vapptemplate-tests' of https://github.com/aledsage/jclouds
* 'issue-830-vapptemplate-tests' of https://github.com/aledsage/jclouds:
  Issue #830: more VAppTemplate live test fixes
2012-03-15 09:49:17 -07:00
Aled Sage 1b5aa81f00 Issue #830: more VAppTemplate live test fixes 2012-03-15 15:18:36 +00:00
Aled Sage f307308ca6 Issue 830 vcloud-director: re-enable fixed tests, except for VAppClientExpectTest 2012-03-15 12:48:01 +00:00
Aled Sage 50c7cf62b2 Issue #830: deleted FilesList, to instead use Set<File> instead 2012-03-15 12:42:48 +00:00
Aled Sage a89905bd98 Issue #830 vcloud-director: fix failing tests 2012-03-15 12:42:47 +00:00
Aled Sage a862b53fe5 Issue #830 vcloud-director: combined ReferenceType and Reference domain classes 2012-03-15 12:41:31 +00:00
Aled Sage 68d455d1d9 Issue #830 vcloud-director: use improved builder pattern 2012-03-15 12:41:29 +00:00
Adrian Cole 20df21e75e disabled failing vcloud tests 2012-03-14 18:25:09 -07:00