Commit Graph

353 Commits

Author SHA1 Message Date
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
danikov 9d2923e96c fix builder 2012-03-05 15:17:55 +00:00
danikov 1b2da14aab add incremental builder method 2012-03-05 15:17:55 +00:00
danikov 6a4ccc5178 pass clone media 2012-03-05 15:17:55 +00:00
danikov b9e0263aa1 remove comments and name correctly 2012-03-05 15:17:55 +00:00
danikov 526dee9bf7 move and complete media tests 2012-03-05 15:17:54 +00:00
danikov f2f2233db0 update and inline vdc clone/create methods into media testing 2012-03-05 15:17:54 +00:00
danikov 58744ab91c add missing media type 2012-03-05 15:17:54 +00:00
danikov 44fc620f67 outline some live testing for the upload client 2012-03-05 15:17:54 +00:00
danikov 781c0b538c extract out metadata + upload clients 2012-03-05 15:17:54 +00:00
danikov 8cb04758ce add dummy file for testing media upload 2012-03-05 15:17:54 +00:00
danikov 6bed78b5a0 add convenience constructor to make a reference to an entityType from the entityType 2012-03-05 15:17:53 +00:00
danikov 633dd489b1 add upload:default media type 2012-03-05 15:17:53 +00:00
danikov 5003f7adb3 fix toString, equals and hashcode, 2012-03-05 15:17:53 +00:00
danikov cdf2ddb0ac add missing builder methods 2012-03-05 15:17:53 +00:00
danikov ed6cfca0a7 add clone checks 2012-03-05 15:17:53 +00:00
danikov a307c44a22 extract out media methods, correct var name 2012-03-05 15:17:53 +00:00
danikov 8bca943086 switch to using URISupplier, remove un-needed vars 2012-03-05 15:17:52 +00:00
danikov a74a79fe17 use URISupplier over references etc. 2012-03-05 15:17:52 +00:00
danikov 0047a0fb69 correct types, switch to using URISupplier 2012-03-05 15:17:52 +00:00
Adam Lowe c52a02993c VCloud Director 1.5: imports 2012-03-02 00:38:36 +00:00
Adam Lowe dd68cbf73a VCloud Director 1.5: removing duplicate files 2012-03-01 23:22:08 +00:00
Adam Lowe 2842ad82a1 VCloud Director 1.5: making domain objects immutable and fixing a number of de/serialization problems 2012-03-01 23:13:18 +00:00
Adam Lowe 1fdae80eac VCloud Director 1.5: initial work on VAppTemplate client 2012-03-01 23:09:38 +00:00
Adam Lowe 04501d46a7 VCloud Director 1.5: making domain objects immutable and fixing a number of de/serialization problems 2012-03-01 23:08:53 +00:00
Adam Lowe cc4a27072b VCloud Director 1.5: making domain objects immutable and fixing a number of de/serialization problems 2012-03-01 23:08:07 +00:00
Adam Lowe 8cd642af6b VCloud Director 1.5: adding and amending package-info.java with more Schema information so it can be ommitted from domain objects 2012-03-01 23:06:43 +00:00
Adam Lowe d0a5654f8d VCloud Director 1.5: moving OVF classes back into ovf package (mistakenly moved up a package) 2012-03-01 09:55:01 +00:00
Adam Lowe 2d54717f08 VCloud Director 1.5: adding VAppTemplate and friends - including JAXB compatible OVF and CIM objects 2012-03-01 09:55:01 +00:00
danikov 9b4e9e24c7 domain objects 2012-03-01 09:55:00 +00:00
danikov e96382167b disable failing tests 2012-02-23 16:17:26 +00:00
danikov 046d129495 use correct Lists import 2012-02-23 16:17:15 +00:00
danikov 3c78423d50 update to remove deprecated test approaches 2012-02-23 14:34:57 +00:00
danikov 58bddc6798 disable dependent tests 2012-02-23 14:16:51 +00:00
danikov 672acd898e add concrete instantiate params 2012-02-23 14:16:51 +00:00
danikov d8924519c7 fix domain object inhertance 2012-02-23 14:16:51 +00:00
danikov e0b1100651 fix expect test before 2012-02-23 14:16:50 +00:00
danikov 7d5dbbef59 flesh out/first pass live tests 2012-02-23 14:16:50 +00:00
danikov 54b3c01377 remove shadowing networkId 2012-02-23 14:16:50 +00:00
danikov 81dfd02935 add missing builder inherited methods 2012-02-23 14:16:50 +00:00
danikov 52717c3135 add checks for: ComputeCapacity, CapacityWithUsage, CapacityType, ResourceEntities, AvailableNetworks, Capabilities, SupportedHardwareVersions, Metadata, MetadataValue 2012-02-23 14:16:50 +00:00
danikov 95cb736a18 remove scratch comments 2012-02-23 14:16:21 +00:00
danikov f8900900f9 add live test 2012-02-23 14:16:21 +00:00
danikov 703c48b557 add + modify media types 2012-02-23 14:16:20 +00:00
danikov 57bd4f23af placeholder for merging with VApp branch 2012-02-23 14:16:20 +00:00
danikov 7f83356108 make params class concrete 2012-02-23 14:16:20 +00:00
danikov 08c20366bc add builder inheritance methods 2012-02-23 14:16:20 +00:00
danikov 257503f4dd update client with the right param types and metadataValue getter 2012-02-23 14:16:20 +00:00
danikov 16309eaef1 flesh out expect test 2012-02-23 14:16:20 +00:00
danikov e34c085455 first attempt at reference POST action test 2012-02-23 14:16:19 +00:00
danikov 32e4493f51 add parameter types 2012-02-23 14:16:19 +00:00
danikov e0361ef1a1 add missing action 2012-02-23 14:16:19 +00:00
danikov b01a888835 implement actions 2012-02-23 14:16:19 +00:00
danikov b8c0670cad domain object tweaks 2012-02-23 14:16:19 +00:00
danikov e50dd9f2eb wire up clients 2012-02-23 14:16:19 +00:00
danikov 5aa69bbeaf implement clients 2012-02-23 14:16:19 +00:00
danikov f73a5bcfa8 add exemplar xml 2012-02-23 14:16:18 +00:00
danikov 454365e131 add basic expect test (no actions) 2012-02-23 14:16:18 +00:00
danikov 413654b66e domain objects 2012-02-23 14:16:18 +00:00
danikov 4dc708c494 fix misaligned braces 2012-02-23 14:15:40 +00:00
danikov e199b2bc5d deprecate old 'standard' req/resp methods 2012-02-23 13:58:42 +00:00
danikov 2ff4e8317c use extracted checks, nicer test names 2012-02-23 13:58:42 +00:00
danikov 099f9137d0 fix update media expect test 2012-02-23 13:58:42 +00:00
danikov 1387d9f704 remove unused code, replace TODOs with task checking 2012-02-23 13:58:42 +00:00
danikov ae308cb1fd extract out/stub checks 2012-02-23 13:58:42 +00:00
danikov db528408e3 fix domain object inheritance 2012-02-23 13:58:42 +00:00
Adrian Cole fa7f81c4e7 Issue 847:version updates 2012-02-23 15:11:05 +02:00
Adrian Cole 52441139fa merged Issue 830: More live testing 2012-02-22 10:20:43 +02:00
Andrew Donald Kennedy 5201207f1c Updates to tidy up and make sure everything is both internally and externally consistent 2012-02-21 17:14:26 +00:00
Andrew Donald Kennedy 06ca9b1e3d Updated our error codes 2012-02-21 16:49:56 +00:00
Andrew Donald Kennedy 36ef6fb9d4 Fix network media type 2012-02-21 16:49:30 +00:00
Andrew Donald Kennedy be80a60b88 Add error century code of '8xx' for vCloud generated exception messages 2012-02-21 16:49:13 +00:00
Andrew Donald Kennedy 34459605fc Large squashed commit with various changes:
- Setup new test properties for catalog names and various ids as injectable
- Make retryable TaskSuccess predicate injectable
- Mark test classes as "user"
- Various tidyup and code fixes as and when required
2012-02-21 16:07:31 +00:00
danikov a5c90f2730 add checks for: NetworkType, NetworkConfiguration, IpScope, NetworkFeatures, SyslogServerSettings, RouterInfo, NetworkService, IpRange(s), IpAddress(es) 2012-02-21 11:32:28 +00:00
danikov d267f53950 corrected typing and added to ALL 2012-02-21 11:32:28 +00:00
danikov 8e30658078 update client to use references and get metadata value 2012-02-21 11:32:27 +00:00
danikov 9ce2004365 flesh out live test 2012-02-21 11:32:27 +00:00
Andrew Donald Kennedy 29f26df137 default properties or something 2012-02-20 13:18:11 +00:00
Andrew Donald Kennedy e7416e8709 maybe 2012-02-20 13:02:47 +00:00
Andrew Donald Kennedy 4e6bb27e9d Finishing up live tests for Catalog and Query, and general tifying of domain objects and constants 2012-02-20 13:02:46 +00:00
Andrew Donald Kennedy 473126e7ec Add numeric ids to Check error messages 2012-02-20 12:35:51 +00:00
Andrew Donald Kennedy d8390da9b4 Updates and fixes for existing clients, domain objects and tests, including:
- Changed MetadataEntry to MetadataValue where required
- Added more standardised assertion/error check messages
- Completed CatalogClientLiveTest
2012-02-20 12:35:50 +00:00
Andrew Donald Kennedy 973ef7e167 Query and catalog expect and live testing along with Checks and other cliemt and domain object fixes 2012-02-20 12:35:50 +00:00
Andrew Donald Kennedy 97f4d09778 Updates to query client and more domain objects and tests 2012-02-20 11:21:21 +00:00
Andrew Donald Kennedy e764785219 Query client and domain objects 2012-02-20 11:21:21 +00:00
Andrew Donald Kennedy a6b47cda5f Add extra system properties for customising live User API. - including modifying NetworkClientLiveTest to use 'network-id' property 2012-02-20 11:02:10 +00:00
danikov a1af04f292 added comment against failing test 2012-02-20 10:26:42 +00:00
danikov 8a048820b5 fixed reference 2012-02-20 10:25:35 +00:00
danikov 2a57950cd2 updated expects, gave tests nicer names, disabled failing test 2012-02-20 10:25:35 +00:00
danikov c919ef704c corrected media types 2012-02-20 10:22:26 +00:00
danikov c9163b507c sync up xml with live data 2012-02-20 10:22:25 +00:00
Adrian Cole 6913ceff8a disabled broken test 2012-02-19 09:38:00 +02:00
danikov f7070bbdf4 typo 2012-02-17 14:01:37 +00:00
danikov 37c9f9df0e live tests all green 2012-02-17 14:01:36 +00:00
danikov fc2c71a803 corrected return type for getting a metadata value 2012-02-17 14:01:36 +00:00
danikov 6634d6a80a eliminate %os 2012-02-17 14:01:36 +00:00
danikov e3c0f79e4a make check messages more detailed 2012-02-17 14:01:36 +00:00
danikov 76d28a45e5 add common checks 2012-02-17 14:01:36 +00:00
danikov b0168c1b23 add string formattable error messages 2012-02-17 14:01:36 +00:00
danikov f6efba9f25 rename metadata to entries 2012-02-17 14:01:35 +00:00
danikov 9f4246f587 allow name to be set 2012-02-17 14:01:35 +00:00
danikov b96f818dff correct pluralisation of getFiles call 2012-02-17 14:01:35 +00:00
danikov e6a725afc6 add media imageType 2012-02-17 14:01:35 +00:00
danikov da1a576634 add media live test 2012-02-17 14:01:35 +00:00
Ioannis Canellos 5490b3068c [842] Added required import packages to cloudfiles api bundle. Improved import packages in all bundles. 2012-02-17 00:49:39 +02:00
danikov 5f8b031c95 add missing acceptable link rels & media types 2012-02-16 17:37:23 +00:00
danikov 639b4202fb make check messages more detailed 2012-02-16 17:36:34 +00:00
danikov f7c35b7e61 strip out proxying 2012-02-16 12:06:08 +00:00
danikov c57a267dd9 import code/upgrade task to support predicate for awaiting completion + status 2012-02-16 12:06:08 +00:00
Andrew Donald Kennedy fde5aaee18 Change from SLF4J to Log4J to make the jclouds-wire-log work 2012-02-16 11:59:45 +00:00
Adrian Cole e2c5f5ebce Merge pull request #370 from danikov/vclouds-director-network
Issue 830 vCloud director Network
2012-02-15 00:30:31 -08:00