Commit Graph

165 Commits

Author SHA1 Message Date
Andrew Gaul 74440a7a87 Eliminate Throwables2.propagateOrNull
Throwables.propagate always propagates the Throwable; there is no need
to return null.
2012-05-02 13:51:36 -07:00
Andrew Gaul 646f8d8b13 Improve use of Throwables.propagate
Throwing the return value removes some unneeded asserts and return
statements.  Also remove some useless and misspelled propogate
wrappers.
2012-05-02 11:05:22 -07:00
Matt Stephenson 381851b8ab Remove IPSocket class, replace with Guava's HostAndPort class. 2012-04-25 17:52:01 -07:00
Adrian Cole df7d2acbb4 wrapper -> view 2012-04-23 19:14:36 -07:00
Adrian Cole 886d2cafb9 created base Context class with ProviderMetadata and Identity 2012-04-23 16:16:51 -07:00
Adrian Cole dab1dd69fc fix covariance/assignability in RestContext<? extends Client> subclasses 2012-04-18 15:05:39 -07:00
Adrian Cole 5ea29cbbb7 Merge pull request #560 from danikov/covariant-future-iterables
covariant compatible version of futureIterables
2012-04-18 07:35:23 -07:00
danikov fff1c7dc2d make FutureIterables covariant compatible + update tests 2012-04-18 13:06:54 +01:00
Adrian Cole 0b59dea073 removed ContextBuilder subclasses; added unwrap; undid generic params 2012-04-16 00:44:20 -07:00
Andrew Donald Kennedy a919985b2b Fix broken build due to ApiMetadata changes 2012-04-12 23:11:00 +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 Gaul b47860afc1 Use inference to elide duplicated type parameters
Found with:
grep 'Builder.*<.*>.*Immutable.*<.*>.*builder();'
2012-04-08 22:32:04 -07:00
Adrian Cole 764e0907f7 Issue 657:ApiMetadata 2012-04-01 18:43:31 -07:00
Adrian Cole 49e475edcd Issue 888: consolidate code that addresses naming conventions, using hyphen as default delimiter 2012-03-28 03:37:54 -04: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 2373f89c78 cleaned up toString/equals/hashCode in base options objects 2012-03-21 19:11:49 -07:00
Adrian Cole 74891be16f no need to check for writable catalog on vcloud 1.5 2012-03-15 22:39:34 -07:00
Adrian Cole 0365e58566 Issue 873:NPE on InstantiateVAppTemplate 2012-03-15 22:38:46 -07:00
Adrian Cole dadd4f6515 changed bindings that imply i/o to Supplier<X> 2012-02-26 13:54:43 +02:00
Adrian Cole fa7f81c4e7 Issue 847:version updates 2012-02-23 15:11:05 +02: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
Adrian Cole fe4d148528 updated current version to 1.5.0-SNAPSHOT 2012-02-04 11:06:07 -08:00
Adrian Cole c388fc41b4 Issue 826: removed eager supplier of @Provider endpoint 2012-02-03 13:51:26 -08:00
Adrian Cole dc78a443de vcloud related changes for Issue 826 2012-02-03 00:29:31 -08:00
Adrian Cole abeffc1119 Issue 824:add field for hypervisor 2012-01-30 22:52:35 -08:00
Adrian Cole 55975af60d Issue 820:Move off PropertiesBuilder for rocoto 2012-01-29 23:11:37 +08:00
Adrian Cole f93c495c43 refactored to use consistent setup*Properties methods like expect tt tests 2012-01-29 20:36:24 +08:00
Ioannis Canellos cfe88031a2 Updated OSGi package imports for compute providers & apis. 2012-01-18 15:02:16 +02:00
Adrian Cole 3df052565f updated current version to 1.4.0-SNAPSHOT 2012-01-16 13:08:32 -08:00
Adrian Cole 0b40a3b280 hostname is the same as vm name in vCloud 2012-01-15 02:14:57 -08:00
Adrian Cole 87ced325e1 Issue 710: support vCloud Director 1.5 via vCloud 1.0 API 2012-01-15 02:14:53 -08:00
Adrian Cole 16a973c08c handle case when image location is null (ex. not scoped to a location)
work on templates where image and hardware have no location

better warning messages on templates we cannot use

lookup images less often in vcloud
2012-01-15 02:12:14 -08:00
Adrian Cole ea81b058a4 Issue 710: added expect test for vCloud 2012-01-12 19:24:30 -08:00
Adrian Cole c964b207a7 Issue 710: public templates are now readable 2012-01-12 19:23:39 -08:00
Adrian Cole 61f2ff6468 vcloud director 1.5 adds suffix of ;1.0 on content type 2012-01-12 19:06:06 -08:00
Adrian Cole 260c23170b Issue 710:customize is not supported on vCloud 1.0 2012-01-12 19:04:12 -08:00
Adrian Cole e46ee9fbc4 Issue 807:update license headers 2012-01-09 10:54:57 -08:00
Adrian Cole f06e6982eb Issue 800:introduce property for build version 2012-01-05 17:51:55 -08:00
Adrian Cole 42137677da Issue 801:fix inconsistency in test property test.provider.apiversion set in pom.xml -> api-version 2012-01-05 13:09:45 -08:00
Adrian Cole 2ce0825e62 vcloud test stabilization 2011-12-22 04:34:13 -08:00
Adrian Cole 4bbb9a9cc1 fixed problem where passwords in the vapptemplate were being exposed. these are always reset on instantiate, so no use exposing them. in this case they were masking the real vapp pass 2011-12-22 03:19:08 -08:00
Adrian Cole 535c035ae6 refactored and slimmed vcloud compute impl 2011-12-22 02:18:51 -08:00
Adrian Cole 302321ce18 Issue 730: removed deprecated vcloud methods 2011-12-21 18:46:58 -08:00
Adrian Cole f9b38f646c Issue 730: removed deprecated methods from ComputeService RunScript/TemplateOptions SshClient.Factory and replaced occurences of Credentials with LoginCredentials whereever possible 2011-12-20 23:19:45 -08:00
Andrew Donald Kennedy e4c8789917 The template entries in a catalog may have different names to the acutal VAppTemplates, so check the URIs 2011-12-20 18:29:13 +00:00
Andrew Donald Kennedy 1b10e19e0b The deleteVAppTemplate method returns Task XML data 2011-12-20 18:29:10 +00:00
Adrian Cole 4a5af1e7a5 Issue 441: added new type: LoginCredentials, and (jclouds|provider).image.(login-user|authenticate-sudo) context properties 2011-11-21 11:00:12 +02:00
Adrian Cole 4329129c25 Issue 750:property to set the image id for the default template 2011-11-14 19:25:46 +02:00
Adrian Cole 69467b04e3 Issue 752:move off deprecated systemProperties to systemPropertyVariables in surefire 2011-11-14 19:25:45 +02:00
Adrian Cole c08a7884bd Issue 750:property to set the image id for the default template 2011-11-11 19:48:28 +02:00
Adrian Cole 1cf2be9b09 Merge pull request #127 from jsonking/master
Issue 695: Updated test url and refactored credentials code into singe location.
2011-11-10 00:52:53 -08:00
Andrew Phillips d3d361c4eb Removed duplicate dependencies com.jamesmurty.utils:java-xmlbuilder and org.jclouds:jclouds-core from vCloud 2011-11-10 01:53:32 -05:00
Jason King 98e7c6047c Refactored frequently repeated service config (provider,credential etc) into new class BaseVersionedServiceLiveTest and used it in BaseCompute, BaseTerremarkClient and BaseVCloudClient live tests 2011-11-09 15:27:46 +00:00
Andrew Phillips 893171ba59 Fixed licence header (thanks, Andrei!) 2011-10-29 11:53:30 -04:00
Andrew Phillips 0e06eedcdb Ignoring the tests that cause issue 402 on Windows for the 1.0.0 release 2011-10-29 11:53:27 -04:00
Adrian Cole dd89ad3068 backfilled tests and refactored most of org.jclouds.location.suppliers package 2011-10-23 04:38:25 +02:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Adrian Cole 842da34982 Issue 713:support userMetadata in createNodesInGroup in byon, cloudservers, and aws-ec2 2011-10-07 00:34:44 -07:00
Richard Downer bc99e9e7ee Update unit tests for deleteVApp 2011-10-05 16:22:43 +01:00
Richard Downer 7f9973e037 VAppAsyncClient.deleteVApp (deprecated API) requires @Consume(TASK_XML) annotation 2011-10-05 14:20:05 +01:00
Richard Downer 148339858c VAppAsyncClient.deleteVApp requires @Consume(TASK_XML) annotation 2011-10-05 13:38:05 +01:00
Guillaume Nodet 87dd23551c Avoid using a non official jsr and use our own annotations 2011-09-16 17:52:12 +02:00
Adrian Cole 960bfe709f Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file 2011-08-16 18:14:30 -07:00
Adrian Cole 0a8f38b90e bumped snapshot version to 1.2.0-SNAPSHOT 2011-08-05 04:09:23 +01:00
Adrian Cole 0dfecb0a47 stabilizing vcloud tests 2011-08-04 11:24:46 +02:00
Adrian Cole e2397d6302 stabilize vcloud-based providers for 1.1.0 release 2011-08-03 10:13:54 -07:00
Adrian Cole edc1b10610 Issue 637: moved to sshj and tested on aws-ec2 gogrid cloudservers elastichosts-lon-p trmk-* 2011-07-25 03:59:01 -07:00
Adrian Cole 6f6b11c45a revised terremark implementation to only include the minimum vCloud vocabulary it needs 2011-07-24 21:39:23 +10:00
Adrian Cole 560aa95e90 flattened vCloud classes now that vcloud 0.8 doesn't need to share hierarchy with 1.0 2011-07-24 13:37:03 +10:00
Adrian Cole 81bf7268be Issue 487: rimu returns consistent hostname, but vcloud does not 2011-07-23 23:20:13 +10:00
Adrian Cole 323e775a08 Issue 634: folded vcloud-common into vcloud and trmk-common 2011-07-23 12:06:04 +10:00
Adrian Cole 2ac2524baa Issue 628: fixed error on vCloud find network 2011-07-23 10:17:09 +10:00
Adrian Cole 6928082674 Issue 487:Add hostname property to nodemetadata 2011-07-22 21:21:33 +10:00
Adrian Cole 0f9dd50d7d Issue 628:expose properties to choose default Org and vDC in vCloud-based implementations 2011-07-22 11:03:29 +10:00
Adrian Cole 92bcb2b822 Issue 622:Unable to clone machine of Terremark VCloud Express 2011-07-13 14:30:32 -07:00
Andrew Phillips 7d2fb23119 Master version is now 1.1.0-SNAPSHOT (= next feature version) now that 1.0.0 is out 2011-06-05 11:17:43 +04:00
Adrian Cole 86129df416 stabilized bluelock 2011-06-01 20:30:30 -07:00
Adrian Cole f437b7a092 Issue 579: added isReadOnly to catalog so that you can tell whether or not you can add items to it 2011-05-29 20:50:54 -07:00
Adrian Cole e9cf646a75 Issue 580:split vcloud into feature-based apis 2011-05-29 15:41:26 -07:00
Adrian Cole 6ea4c96e0f cleaned up vcloud ctr args 2011-05-27 19:56:16 -07:00
Adrian Cole 85c0ca3fcf add item to vcloud catalog 2011-05-27 00:39:07 -06:00
Adrian Cole 92c5234761 added deleteVAppTemplateVAppOrMediaImage to vcloud 2011-05-25 17:07:23 -06:00
Adrian Cole bd69558081 Issue 573:Set vApp description in vcloud driver 2011-05-25 16:03:15 -06:00
Adrian Cole 352a5e1cc1 Issue 571:added cpu/mem update methods and tested lightly 2011-05-25 12:03:32 -06:00
Adrian Cole 9f1f61d3b4 fixed builders on vcloud classes 2011-05-25 00:31:02 -06:00
Gustavo Morozowski 557c0d75fe moved maven-bundle-plugin instructions to top project pom 2011-05-16 09:14:12 -03:00
Adrian Cole ddc514d602 Issue 42: added osgi fragment plugin to poms 2011-05-15 12:08:53 -07:00
Adrian Cole 9e94fc6fc9 updated license headers 2011-04-09 03:20:17 -07:00
Adrian Cole 72e93e96d4 moved interim version of savvis out of sandbox 2011-03-27 17:34:08 -07:00
Adrian Cole da29745ac2 fixed OVF where we didn't match relationships in spec 2011-03-22 02:07:46 -07:00
Adrian Cole fff61b8b4d Issue 508: promoted OVF and CIM to jclouds-compute so that they can be reused across vcloud, trmk, and savvis 2011-03-20 22:15:08 -07:00
Adrian Cole d7814821a3 Issue 500: added options overrideLoginUserWith and overrideLoginCredentialWith 2011-03-06 15:33:22 -05:00
Adrian Cole 7bcdc74a35 added rest properties to vcloud test 2011-03-05 20:56:54 -05:00
Adrian Cole d494c8a9f3 Issue 494:vCloud director 1.0.1 fixes guest customization bug 2011-03-05 17:06:05 -05:00
Adrian Cole 59c0dbb6cd Issue 497:revise template options on a per-provider basis 2011-03-05 17:03:54 -05:00
Adrian Cole e3e0ad3e84 add public ips to collection for vcloud 2011-03-05 16:56:33 -05:00
Adrian Cole fb663fceed Issue 498:[vcloud] expose IpAddressAllocationMode to compute service 2011-03-05 16:55:59 -05:00
Adrian Cole 7eef59db02 allowed overriding of rest.properties during testing 2011-03-05 16:50:48 -05:00
Adrian Cole ad0acb56fa fixed auth error when using an ssl site via ip and not hostname 2011-03-05 16:35:37 -05:00