Commit Graph

463 Commits

Author SHA1 Message Date
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
Aled Sage bd1b430e77 Issue #830 VAppTemplate: live tests and various fixes 2012-03-14 19:43:10 +00:00
Andrew Donald Kennedy c888586cd4 Moved CustomizationSection back to domain package 2012-03-14 18:04:31 +00:00
Aled Sage d027497d5d VAppTemplateLiveTest fixes 2012-03-14 18:04:31 +00:00
Andrew Donald Kennedy ddb70df2d9 Incorporate code review comments from @jclouds 2012-03-14 18:04:30 +00:00
Andrew Donald Kennedy e232aed0ca Re-enable test listener and all VApp live tests 2012-03-14 18:04:30 +00:00
Aled Sage de16cb00be Added builder for RASD and CIMResourceAllocationSettingDataType 2012-03-14 18:04:29 +00:00
Andrew Donald Kennedy e559d13b84 Updates to domain objects, tests and checks as well as setings for JAXB access in classes and packages 2012-03-14 18:04:28 +00:00
Aled Sage 113b8fc7df Domain object cleanup: add builders, hashCode and equals 2012-03-14 16:08:31 +00:00
Andrew Donald Kennedy 392c836688 Changed VAppTemplateClientLiveTest to allow code to build 2012-03-14 16:08:28 +00:00
Andrew Donald Kennedy 4706af5cc8 Updated tests and domain objects if required 2012-03-14 16:08:25 +00:00
Aled Sage d08a0a99c4 Domain objects implement List/Set where appropriate 2012-03-14 16:05:26 +00:00
Aled Sage 1116fcb823 VappTemplateClientLiveTest: work in progress 2012-03-14 16:05:23 +00:00
Andrew Donald Kennedy 21925dde2b Added more checks 2012-03-14 16:05:19 +00:00
Aled Sage af39fd4b32 vcloud-director: added NetworkConnection.IpAddressAllocationMode for constants 2012-03-14 16:02:38 +00:00
Andrew Donald Kennedy 7c80f7a989 Issue 830: Initial setup for tests (both Live and Unit) 2012-03-14 16:02:35 +00:00
Andrew Donald Kennedy 7cfce5dd44 Adding VAppClient and all associated domain objects 2012-03-14 16:02:25 +00:00
danikov 60dba4f6f6 adminVdc client w/get adminVdc 2012-03-13 11:42:34 +00:00
danikov e94b719347 user unlock action (pseudo-impl only) 2012-03-12 11:41:05 +00:00
danikov 1309d803e8 update User 2012-03-12 09:45:29 +00:00
danikov bdc09ee053 create/get/delete user 2012-03-12 08:24:20 +00:00
danikov 0ee77f99ec admin user client base 2012-03-12 04:45:37 +00:00
Adrian Cole adc275673d fixed some merge glitches 2012-03-11 21:06:06 -07:00
danikov 24db1774eb org fix 2012-03-12 03:24:28 +00:00
danikov 8e46d9e9ec get adminOrg 2012-03-12 01:42:57 +00:00
danikov 5817f04463 get/put orgSettings 2012-03-12 01:42:57 +00:00
danikov 4077e2d9a4 get/put emailSettings 2012-03-12 01:42:57 +00:00
danikov 8e5ec325ae get/put generalSettings 2012-03-12 01:42:56 +00:00
danikov 709c7bff63 get ldapSettings 2012-03-12 01:42:39 +00:00
danikov 969141a7eb get/put passwordPolicy 2012-03-12 01:19:28 +00:00
danikov d4843a5c31 get/put vAppLeaseSettings 2012-03-12 01:19:27 +00:00
danikov a05d76fabf get/put vAppTemplateLeaseSettings 2012-03-12 01:19:26 +00:00
danikov 1df9409a3a adminOrg base continued- media types, restClient config, and checks 2012-03-12 01:18:41 +00:00
danikov cbd9afc176 create catalog 2012-03-12 01:13:17 +00:00
Adrian Cole 1f3971fae8 removed unnecessary wrapping of Task collections 2012-03-11 17:43:02 -07:00
Adrian Cole b309dd60df upload client now works 2012-03-11 12:56:25 -07:00
Adrian Cole d820e4fab8 normalized overrides on test setup 2012-03-11 11:42:51 -07:00
Adrian Cole 9da3336290 corrected session test configuration 2012-03-11 11:42:51 -07:00
Adrian Cole 902a334dd1 latent bugs found when running live test 2012-03-11 11:42:51 -07:00
Adrian Cole 2188ca9839 imports 2012-03-11 11:42:51 -07:00
Adrian Cole d536af3a95 removed awkward and unnecessary URISupplier type 2012-03-11 11:42:50 -07:00
Adrian Cole a4b6c0c46e create/update media is a media operation, not a vdc one; copied methods over to media client 2012-03-11 11:42:50 -07:00
Adrian Cole b917055930 added new predicates helpful with links 2012-03-11 11:42:50 -07:00
danikov 7815271717 adminOrg base (domain objects, clients, etc.) 2012-03-09 01:56:03 +00:00
danikov 288e2b23d0 updateGroup with tests 2012-03-08 09:14:26 +00:00
danikov 7b635ddf77 deleteGroup with tests 2012-03-08 09:13:28 +00:00
danikov 3f8f28f0f9 getGroup with tests 2012-03-08 09:12:32 +00:00
danikov fe449cbab3 groupClient base classes 2012-03-08 09:11:24 +00:00
Adrian Cole 88cff6372d Issue 857:formatted report for vcloud api coverage 2012-03-07 16:26:40 -08:00
Adrian Cole d7ceaa2ac2 client test fuzz 2012-03-07 16:26:16 -08:00
Adrian Cole 9069f4879c refactored base vcloud test class to work when parameters aren't supplied 2012-03-07 15:15:14 -08:00
Adrian Cole 15a297d200 catalog test wasn't blocking on task complete 2012-03-07 15:14:35 -08:00
Adrian Cole cb0a105171 added predicates handy for finding vcloud references 2012-03-07 15:13:54 -08:00
Adrian Cole 7e87185858 fix broken test 2012-03-07 09:51:46 -08:00
danikov bd72880240 subclass catalogClient with adminCatalogClient, plus adjust usages 2012-03-07 15:41:02 +00:00
danikov bb7cb44db9 add TODO for future improvement 2012-03-07 14:34:36 +00:00
danikov 13a2917d9b clients impl of publishCatalog 2012-03-07 14:34:36 +00:00
danikov 845ce649cc domain objects for publishCatalog params 2012-03-07 14:34:36 +00:00
danikov 809e4c2a95 exemplar xml 2012-03-07 14:34:35 +00:00
danikov d8eeca6c4f publishCatalog params media type 2012-03-07 14:34:35 +00:00
danikov bef1baa109 expect/live tests for publishCatalog 2012-03-07 14:34:35 +00:00
Adam Lowe 20425ece8c Allowing test to run outwith California 2012-03-06 21:08:06 +00:00
Adam Lowe f3a9468b1b Adjusting paths for case-sensitive builds 2012-03-06 20:31:18 +00:00
Adrian Cole 1e2ef15ffa test glitch 2012-03-06 12:05:00 -08:00
Adam Lowe da1f23e3fb vcloud-director 1.5: addressing '_interface' nonsense 2012-03-06 18:09:54 +00:00
Adam Lowe 03e622ba2a vcloud-director 1.5: addressing review comments/nits 2012-03-06 18:05:48 +00:00
Adam Lowe 335e14f505 vcloud-director 1.5: fixing some javadoc problems 2012-03-06 16:44:45 +00:00
Adam Lowe 8473f561fd vcloud-director 1.5: adjusting media types 2012-03-06 16:43:52 +00:00
Adam Lowe af3560546c Merging with upstream 2012-03-06 16:33:16 +00:00
Adam Lowe 14ce89aab2 VCloud Director 1.5: Adding VAppTemplateClient error handling tests and fixing bug in NetworkService.isEnabled 2012-03-06 16:32:23 +00:00
Adam Lowe 200fc85965 VCloud Director 1.5: Adjusting misleading comments refering to JAXBElements 2012-03-06 16:31:03 +00:00
Adam Lowe 3ce6051e51 VCloud Director 1.5: Adjusting misleading comments and consistently using @XmlReference only for substitution groups 2012-03-06 16:31:03 +00:00
Adam Lowe 6b7f3f1fdd VCloud Director 1.5: Switching to URI params rather than using the references 2012-03-06 16:30:04 +00:00
Adam Lowe 139fe394f7 VCloud Director 1.5: vAppTemplate client - expect tests for most methods and supporting domain objects 2012-03-06 16:30:03 +00:00
Adam Lowe d1b0da081d VCloud Director 1.5: making sure collections in domain objects are immutable 2012-03-06 16:30:03 +00:00
danikov 55ecda2e50 implement deleteCatalog in clients 2012-03-06 15:34:31 +00:00
danikov b671d043f2 expect test and most of the live test for deleteCatalog 2012-03-06 15:34:05 +00:00
danikov d85e8ca587 implemented get/set owner methods on client 2012-03-06 14:58:24 +00:00
danikov 61def9d707 added exemplar xml 2012-03-06 14:58:05 +00:00
danikov 8d2b4f38b4 made Owner check public 2012-03-06 14:57:53 +00:00
danikov a4a4966720 added tests for get/set Owner + minor improvements 2012-03-06 14:57:38 +00:00
danikov d3f741c132 implement updateCatalog in clients 2012-03-06 14:02:51 +00:00
danikov fb74964e61 add exemplar xml 2012-03-06 14:02:18 +00:00
danikov 0027efb1d8 add tests for updateCatalog 2012-03-06 14:02:02 +00:00
danikov d62d9c9cf0 remove spurious xml annotation and fix catalog test 2012-03-06 11:11:41 +00:00
danikov 7291c7af4c use URIs in client 2012-03-06 11:11:41 +00:00
danikov 15a462264b add missing media types and checks 2012-03-06 11:11:40 +00:00
danikov 69568bc285 fix Owner typing + other domain object issues 2012-03-06 11:11:40 +00:00
danikov 7c24cab71e add exemplar xml 2012-03-06 11:11:40 +00:00
danikov 23267369c1 change expect test to match live xml 2012-03-06 11:11:40 +00:00
danikov 53c8222eac update live test to take static catalog reference (worry about injecting this later) 2012-03-06 11:11:40 +00:00
danikov aa80bfbff1 refractor catalog domain objects to allow inheritance, add adminCatalog + checks 2012-03-06 11:11:39 +00:00
danikov def07846c8 add adminCatalog media type 2012-03-06 11:11:39 +00:00
danikov 235eda5554 implement adminCatalog clients 2012-03-06 11:11:39 +00:00
danikov aaa22ffe17 wire up adminCatalog client 2012-03-06 11:11:39 +00:00
danikov c711b7ed49 adminCatalog expect/live tests w/ getCatalog 2012-03-06 11:11:39 +00:00
danikov d069dce1e5 add error strings to new tests 2012-03-05 15:17:57 +00:00
danikov d7882bc130 move annotation to classes 2012-03-05 15:17:57 +00:00
danikov 8891dcf280 fix headers using primer approach 2012-03-05 15:17:57 +00:00
danikov fb625864ac fix accept type 2012-03-05 15:17:57 +00:00
danikov 5789d1783e test groupings + metadataclient delegation 2012-03-05 15:17:57 +00:00
danikov f194523403 tidy up test groupings 2012-03-05 15:17:57 +00:00
danikov 61deb778d1 disable UploadClient dependent tests 2012-03-05 15:17:57 +00:00
danikov 2433ec1d3f tidy test, add missing test, remove leftovers 2012-03-05 15:17:56 +00:00
danikov fe31db7eea add endpoint parsers 2012-03-05 15:17:56 +00:00
danikov 136faf40ba disable broken class 2012-03-05 15:17:56 +00:00
danikov 15c2ac6420 rename to match field 2012-03-05 15:17:56 +00:00
danikov 5518149db9 merge to master 2012-03-05 15:17:56 +00:00
danikov e24b96e043 exemplar xml for expect tests 2012-03-05 15:17:56 +00:00
danikov 0c0dedee17 add XmlRootElement annotation 2012-03-05 15:17:55 +00:00
danikov 24725cf88c fix clone method and xmlElement name 2012-03-05 15:17:55 +00:00