Commit Graph

957 Commits

Author SHA1 Message Date
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
Jeremy Daggett a15acb1508 Merge branch 'floating_ips' into develop 2012-02-22 17:25:53 -08:00
Jeremy Daggett df70d34bf7 Incremental support for Image, Flavor and Floating IPs 2012-02-22 17:24:44 -08: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 6317c880ad Merge pull request #378 from andreaturli/development
issue 384: fixed GuestAdditions LiveTest
2012-02-19 06:48:55 -08:00
andreaturli 328621e961 issue 384: fixed GuestAdditions LiveTest - Adrian comments addressed 2012-02-19 10:59:45 +00:00
Adrian Cole 6913ceff8a disabled broken test 2012-02-19 09:38:00 +02:00
Adrian Cole 636c3bb6e5 Issue 357:Init script should check for errors + herefile fixes + script events 2012-02-19 01:53:19 +02:00
andreaturli 290c5d5f47 issue 384: fixed GuestAdditions LiveTest 2012-02-18 12:44:44 +00: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
Jeremy Daggett bfe5f45ee2 Floating IP support 2012-02-16 10:55:34 -08: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 27a94fc490 switched glesys to prefer openvz 2012-02-15 11:57:10 +01: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
Adrian Cole 185bbc7242 Merge pull request #369 from danikov/vclouds-director-media
Issue 830: vCloud director Media
2012-02-15 00:27:55 -08:00
Andrei Savu b0c17b8a9b Merge pull request #368 from danikov/vclouds-director-bugfixes
Issue 830: vCloud director bugfixes & common changes
2012-02-14 22:45:18 -08:00
Andrei Savu 5c9820fabe Merge pull request #367 from jdaggett/develop
Add Flavor functionality to openstack-nova
2012-02-14 22:40:28 -08:00
danikov c638bccc1e disabled failing tests 2012-02-15 03:33:22 +00:00
danikov b0888355da fixed copy/paste error 2012-02-15 03:33:05 +00:00
danikov 6c90cfd8ed template out the live test 2012-02-15 03:15:47 +00:00
danikov 90826ef135 add metadata to the expect test 2012-02-15 03:15:46 +00:00
danikov 09fa69cc5e add exemplar metadata entry 2012-02-15 03:15:46 +00:00
danikov 1944bd19f6 update client with new approach 2012-02-15 03:15:46 +00:00
danikov ed316161ac rebase OrgNetwork off abstract type 2012-02-15 03:15:45 +00:00
danikov 8d26cf75bc separate out NetworkType hierarchy 2012-02-15 03:15:45 +00:00
danikov 8740b7211d add live test 2012-02-15 03:15:44 +00:00
danikov 29fbfb36b7 improve expect test 2012-02-15 03:15:44 +00:00
danikov fbc82c5f46 bugfix: use LinkedListMultiMap to guarantee header order 2012-02-15 02:52:26 +00:00
danikov 057850438b update clients to use Reference 2012-02-15 02:52:06 +00:00
danikov a90f92490c add and update supporting xml 2012-02-15 02:51:32 +00:00
danikov c378fef241 fix and update expect test 2012-02-15 02:51:15 +00:00
danikov d0a164f5f5 update ALL media type 2012-02-15 01:21:15 +00:00
danikov 72a494d1d6 improved expect test 2012-02-15 01:19:51 +00:00
danikov dfa766d207 tweaked xml file 2012-02-15 01:19:50 +00:00
danikov 03adca22e4 exemplar xml for setMetadata 2012-02-15 01:19:50 +00:00
danikov 6145da9cfb correct return types and annotations 2012-02-15 01:19:49 +00:00
danikov 1cc094a95e rename media type 2012-02-15 01:19:49 +00:00
danikov eb2e594302 add some more expect tests 2012-02-15 01:19:49 +00:00
danikov cefbe01e53 fix xml annotations 2012-02-15 01:19:48 +00:00
danikov 121d88121a corrected renaming typo 2012-02-15 01:19:48 +00:00
danikov 336c780713 update client to use references, pathparams, etc. 2012-02-15 01:19:48 +00:00
danikov 35318568b0 add owner xml type
Conflicts:

	labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/VCloudDirectorMediaType.java
2012-02-15 01:19:30 +00:00
danikov 2a88eaba72 strip out curl data + 2 new exemplar xml 2012-02-15 01:18:52 +00:00
danikov 9d64aa5ae7 test update to test owner and use refs again 2012-02-15 01:18:52 +00:00
danikov 42d151e604 add links to javadoc 2012-02-15 01:18:51 +00:00
danikov 4a88298209 ditch refs for uric, correct constant usage 2012-02-15 01:18:51 +00:00
danikov ebe40565f8 add link to javadoc 2012-02-15 01:18:50 +00:00
danikov 58d08637f8 add supporting exemplar xml 2012-02-15 01:18:50 +00:00
danikov d9c76fef30 add overriding/inheriting builder methods 2012-02-15 01:18:49 +00:00
danikov d39ebdc3d2 add some negative tests 2012-02-15 01:18:49 +00:00
danikov a714329609 exemplar xml 2012-02-15 01:17:49 +00:00
danikov 2b87e865d0 add the rest of the methods 2012-02-15 01:17:48 +00:00
danikov 9730649e32 wiring 2012-02-15 01:17:48 +00:00
danikov 4654d4c193 initial clients 2012-02-15 01:17:47 +00:00
danikov 1972886598 media type
Conflicts:

	labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/VCloudDirectorMediaType.java
2012-02-15 00:58:39 +00:00
danikov f3543a4c23 domain objects 2012-02-15 00:57:07 +00:00
danikov 0ff51f36ce initial tests 2012-02-15 00:57:06 +00:00
danikov b628daaa4e changes to common convenience methods 2012-02-15 00:52:53 +00:00
danikov 403c63238b remove xml versioning 2012-02-15 00:48:41 +00:00
danikov c20c67d619 convenience methods for tests with request payloads 2012-02-15 00:48:41 +00:00
danikov 1a3416f34a organise imports 2012-02-15 00:47:43 +00:00
danikov 8a926cea44 guard against NPE 2012-02-15 00:47:42 +00:00
danikov 7e126f45aa add warning suppression 2012-02-15 00:47:42 +00:00
Jeremy Daggett b52ab879c1 Add Flavor functionality to openstack-nova 2012-02-14 15:44:04 -08:00
Adrian Cole 0dad59cc42 glesys now returns server state in create response 2012-02-15 00:40:51 +01:00
Adrian Cole e88a32a75d refactored virtualbox classes 2012-02-14 23:22:24 +01:00
Adrian Cole 1beabce378 glesys fixes 2012-02-14 23:22:24 +01:00
Adrian Cole 28b24f2b0d Merge pull request #366 from grkvlt/issue-830-testing
Issue 830: Unit and Live testing for Org, Task and Catalog
2012-02-14 14:21:50 -08:00
Andrew Donald Kennedy 7b7063176f Revert to HttpR* builders 2012-02-14 22:12:33 +00:00
Andrew Donald Kennedy 6b7478f724 Updating tests.
- Created new live tests for Org and Task and some Catalog
- Helper methods for domain object builders and consistency checks
- Updated existing expect/unit tests to use these helpers
- Updating Catalog unit tests
2012-02-14 18:27:18 +00:00
Andrew Donald Kennedy 06661abe1e Created initial Org live test 2012-02-14 17:19:05 +00:00
Adrian Cole 481421569c refactored virtualbox scripts to use new scriptbuilder functions 2012-02-14 02:02:18 +01:00
Adrian Cole 3d3a9f5b45 glesys stabilization 2012-02-14 02:02:17 +01:00
Andrei Savu af104325a7 Fixed broken build due to recent changes in labs/virtualbox 2012-02-13 14:38:01 +02:00
David Ribeiro Alves ca602e7db0 Moved RunScriptData to src/main as there are non test dependencies; Deleted orpah and duplicate file GuestAdditionsInstallation.java (wrong place and duplicated in InstallGuestAdditions.java) as well as duplicate script installGuestAdditions.sh (duplicated in installModuleAssistantIfNeeded.sh) 2012-02-13 05:36:14 -06:00
andreaturli 40d19e0cf6 issue 384: GuestAdditions installer - jclouds comments addressed 2012-02-12 19:20:41 +00:00
andreaturli 20ec953fb6 issue 384: GuestAdditionsInstaller - fix scripts 2012-02-12 00:55:12 +00:00
andreaturli af553b6294 issue 384: GuestAdditionsInstaller - fix future 2012-02-11 18:56:19 +00:00
andreaturli 623f3c6daa issue 384: GuestAdditionsInstaller 2012-02-11 18:56:19 +00:00
Andrew Donald Kennedy 4fdaa3b6a6 Updated Catalog expect tests 2012-02-10 14:46:03 +00:00
Andrew Donald Kennedy 751d99c143 Updating domain objects 2012-02-10 14:46:03 +00:00
Andrew Donald Kennedy ca54098661 Updates to CatalogClient 2012-02-10 14:46:03 +00:00
Andrew Donald Kennedy 33cd3c5716 Deleted extraneous patching leftover 2012-02-10 14:46:02 +00:00
Andrew Donald Kennedy 86e15398aa Updated Metadata and associated domain objects 2012-02-10 14:46:01 +00:00
Andrew Donald Kennedy d983eb3826 Added IsEnabled property to Org 2012-02-10 14:46:01 +00:00
Andrew Donald Kennedy fbe68686d3 Initial commit for CatalogClient with all operations defined and the client bound 2012-02-10 14:46:01 +00:00
Andrew Donald Kennedy c8148751ff Added CatalogClient domain objects 2012-02-10 14:46:01 +00:00
Andrew Donald Kennedy 8da728488a mergewithnext 2012-02-10 14:46:00 +00:00
Andrew Donald Kennedy 28b7309b03 Tidyup 2012-02-10 14:46:00 +00:00
Andrew Donald Kennedy 3f8bf7e746 Formatting 2012-02-10 14:45:59 +00:00
Andrew Donald Kennedy 8185b28041 Changed namespace identifier to VCLOUD_1_5_NS 2012-02-10 14:45:59 +00:00
Andrew Donald Kennedy 64e698d4ff Remove client methods which rely on parsing URIs and add new function for tasksList operation 2012-02-10 14:45:59 +00:00
Andrew Donald Kennedy 11b5938903 Fix search and replace over-zealousness 2012-02-10 13:48:00 +00:00
Andrew Donald Kennedy 97320fcc00 No enum for media types, after all... 2012-02-10 13:47:59 +00:00
Andrew Donald Kennedy d29bd2eec8 Completed TaskClient and tidied up OrgClient.
Note two types of API call here, one using traditional REST semantics and the other taking ReferenceTypes and extracting URIs from them.
2012-02-10 13:47:59 +00:00
Andrew Donald Kennedy 73a2593f8b Tidy 2012-02-10 13:47:59 +00:00
Andrew Donald Kennedy aab725d9eb Tidy up domain objects, using media type enum 2012-02-10 13:47:59 +00:00
Andrew Donald Kennedy 69c4bd62e6 Implemented 4xx Error annotation in OrgClient 2012-02-10 13:47:58 +00:00
Andrew Donald Kennedy 412dd45ce1 Added annotation for throwing exception with Error object on 4xx status codes, and implemented in TaskClient 2012-02-10 13:47:58 +00:00
Andrew Donald Kennedy 9153d887af Fixing equals method on domain objects 2012-02-10 13:47:58 +00:00
Andrew Donald Kennedy 78fb8bd919 Created new TaskClient and updated domain objects and tests accordingly 2012-02-10 13:47:58 +00:00
Adrian Cole 5509b03afe Merge pull request #360 from danikov/vcloud-director-network
Issue 830: vCloud Network
2012-02-08 21:44:05 -08:00
Adrian Cole 5830665a74 HP Cloud Identity Services/CDN 2012-02-09 06:36:09 +01:00
danikov 3656c61da0 metadata exemplar xml 2012-02-09 02:23:25 +00:00
danikov f2732fc49e network client + wiring 2012-02-09 02:23:25 +00:00
danikov 60e39a4a99 network domain objects 2012-02-09 02:23:25 +00:00
danikov e5eea32e69 finish network test 2012-02-09 02:23:24 +00:00
danikov 24bd9f72e3 add domain classes and media type 2012-02-09 02:23:24 +00:00
danikov 6b2a2a845b add expect test 2012-02-09 02:23:23 +00:00
danikov 517dfef56f add exemplar xml 2012-02-09 02:23:23 +00:00
Andrew Donald Kennedy ac259a6837 Clean up OrgClientExpectTest formatting 2012-02-09 02:23:23 +00:00
danikov e8baca9b0a licensing, imports, other tidyup 2012-02-07 17:25:48 +00:00
danikov 0feb27fd93 fix typo and tidy tests 2012-02-07 17:25:48 +00:00
danikov e368e8e4cc fix tests 2012-02-07 17:25:47 +00:00
danikov 693af6dc25 rebase metadata/entry on new base classes 2012-02-07 17:25:47 +00:00
danikov 029b021871 add metadata methods to synch client 2012-02-07 17:25:47 +00:00
danikov 86289bd703 abstract out metadata type 2012-02-07 17:25:47 +00:00
danikov a1ebfc36f7 add metadata types 2012-02-07 17:25:47 +00:00
danikov 90153df2d1 add common request/response methods 2012-02-07 17:25:47 +00:00
danikov c35794e8c7 fix Org to use Links 2012-02-07 17:25:46 +00:00
danikov 8f7f9e6988 tidy up existing tests, add metadata ops 2012-02-07 17:25:46 +00:00
Andrew Donald Kennedy 2819a4a467 Clean up OrgClientExpectTest formatting 2012-02-07 17:25:46 +00:00
Andrew Donald Kennedy d2dac74148 Updates to domain objects for Task and TasksList 2012-02-07 17:25:46 +00:00
Andrew Donald Kennedy 8828daf89b Added initial Task and associated domain objects 2012-02-07 17:25:46 +00:00
Andrew Donald Kennedy 4e01fa3369 Fix initial entity domain object heirarchy, particularly Builders and correct JAXB XML parsing 2012-02-07 17:25:46 +00:00
Adrian Cole 2305cdc61d Merge pull request #352 from grkvlt/vcloud-initial-domain-objects
Issue 830: vCloud initial domain objects
2012-02-07 01:54:03 -08:00
Andrew Donald Kennedy d1b2a08d3c Updated base classes for domain objects/entities 2012-02-06 23:43:11 +00:00
Andrew Donald Kennedy 6231ce014b Added Error domain object 2012-02-06 15:49:13 +00:00
Andrew Donald Kennedy 951cfb8589 Tidy up existing domain objects 2012-02-06 15:48:45 +00:00
danikov 8b56ded41b fix exception by changing the return type to match 2012-02-06 14:44:20 +00:00
Andrew Donald Kennedy eaf129e6bc Clean up OrgClientExpectTest formatting 2012-02-06 14:00:35 +00:00
Adrian Cole 7d93887789 example start on a vcloud director client 2012-02-05 23:10:15 -08:00
Adrian Cole 47ade5a429 added doc 2012-02-05 23:08:46 -08:00
Adrian Cole d38e1f43dd added experiment test 2012-02-05 22:01:35 -08:00
Adrian Cole 1905615c49 Issue 830: initial vCloud 1.5 with session functionality complete 2012-02-05 21:55:39 -08:00
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Adrian Cole ae1effd748 made openstack multi-region, and now select correct endpoint via apiversion property 2012-02-04 00:51:44 -08:00
Adrian Cole c388fc41b4 Issue 826: removed eager supplier of @Provider endpoint 2012-02-03 13:51:26 -08:00
Adrian Cole d225df57e4 virtualbox related changes for Issue 826 2012-02-03 00:29:35 -08:00
Adrian Cole e759c6a450 openstack and rackspace related changes for Issue 826 2012-02-03 00:29:27 -08:00
Jeremy Daggett 50cf37f722 Merged latest jclouds master branch 2012-02-02 13:25:17 -08:00
Jeremy Daggett fa51a2734c Fixed rename of files 2012-02-01 22:42:09 -08:00
Adrian Cole 5e23d34f91 cruft removal 2012-01-31 19:44:39 -08:00
Adrian Cole 4bcea6fa23 fixed case on keystone 2012-01-31 13:01:20 -08:00
Adrian Cole 6f8c633ff2 set default credential type to apiAccessKeyCredentials and a property to use passwordCredentials 2012-01-31 13:01:18 -08:00
Adrian Cole 4ba1da5d20 scoped retryOnRenew binding to keystone as opposed to nova 2012-01-31 13:01:18 -08:00
Adrian Cole 61e22a3694 reminder to finish the error handler 2012-01-31 13:01:18 -08:00
Adrian Cole abeffc1119 Issue 824:add field for hypervisor 2012-01-30 22:52:35 -08:00
Adrian Cole f50e3f5b8e added scancode for # 2012-01-30 16:38:19 -08:00
Adrian Cole 51066b392b added vbox to labs 2012-01-30 16:38:11 -08:00
Adrian Cole bf4b6e8c95 Issue 823:migrate rackspace services to authenticationservice 1.1 2012-01-29 23:11:23 +08:00
Adrian Cole b78dc18e3a Issue 815: example usage of ServerClient using keystone authentication 2012-01-18 22:47:28 -08:00
Adrian Cole 1e19db93fd Issue 815: initial keystone auth 2012-01-18 20:52:04 -08:00
Adrian Cole de720b6da3 Issue 814:move openstack-nova to org.jclouds.labs groupId 2012-01-17 22:07:21 -08:00