Commit Graph

22 Commits

Author SHA1 Message Date
Rob Coward eb6c0f8d0b provider/vcd: Updated dependencies to use ukcloud/govcloudair (#11535)
* OS-131 Updated dependencies to use ukcloud/govcloudair instead of hmrc/vmware-govcd

* OS-131 Fixed failing tests by adding package name to imports of ukcloud/govcloudair

* OS-131 Minor change to force Travis to re-build the PR
2017-01-31 11:11:06 +00:00
Paul Hinze 108ccf0007 builtin: Refactor resource.Retry to clarify return
Change the `RetryFunc` from a plain `error` return type to a
specialized `RetryError` which must decide whether it is
retryable or not.

Add `RetryableError` / `NonRetryableError` factory functions that
callers are meant to use to build up these errors.

This makes it eminently clear whether or not a given error is
retryable from inside the client code.

Goal here is to _not_ change any behavior, simply reflect the
existing behavior with the new, clearer, API.
2016-03-09 17:37:56 -06:00
Brett Mack 04d7532bf7 When creating a new VApp wait for the VM to be given an IP address if using DHCP 2016-02-18 14:44:18 -08:00
Sebastiaan van Steenis 6fe6ff4e7a Add flags for unverified SSL/TLS 2016-01-25 18:07:51 +01:00
stack72 5fbec544d7 Fixing yet more gofmt errors with imports 2015-12-21 09:54:24 +00:00
clint shryock d69abbaeda Run go fmt on VMWare vCloud Director provider 2015-12-07 15:24:34 -06:00
Brett Mack aec94b1682 Don't error if unable to undeploy 2015-11-25 16:53:00 +00:00
Brett Mack a02667389e Only undeploy a machine if it is switched on 2015-11-25 12:05:59 +00:00
Nicki Watt 3809315af9 Upped default maxRetryTimeout from 30s -> 60s 2015-11-23 11:45:16 +00:00
Nicki Watt f1c2be9772 Make maxRetryTimeout (in seconds) configurable 2015-11-21 12:54:59 +00:00
Brett Mack b0fdf8a032 Fixed failing test 2015-11-18 12:54:18 +00:00
Brett Mack 29dfc4322e Add retry calls to protect against api rate limiting 2015-11-17 17:27:39 +00:00
Brett Mack c8dfecc65f Check where nested structs could possibly be nil before trying to access their data 2015-11-17 11:40:37 +00:00
Brett Mack f140c15039 Fixed null pointer panic during firewall rules test 2015-11-17 10:44:50 +00:00
Brett Mack ecc4ce3657 Converted firewall_rules rule set to a list type. Code tidy 2015-11-16 20:11:05 +00:00
Brett Mack dc8924b537 Changed vcd_vapp resource to make better use of Update function 2015-11-10 23:35:25 +00:00
Brett Mack a15c99e5bb Code cleanup to address PR comments 2015-11-10 18:39:58 +00:00
Brett Mack b6abb91b83 Class a resource that is in tfstate but unable to be found on the provider as deleted 2015-11-06 16:39:40 +00:00
Brett Mack 7c09f9653d Changed vmware-govcd dependency to pull from hmrc 2015-11-06 10:19:59 +00:00
Brett Mack 95ec9a9fbf Refresh firewall rules after each failure before trying to append new rules 2015-11-02 19:09:24 +00:00
Brett Mack 965882bfdf Added protection for api limiting 2015-11-02 16:39:56 +00:00
Brett Mack 8780bd269a Added vCloud Director provider with tests and provider documentation 2015-11-02 13:39:25 +00:00