Commit Graph

16 Commits

Author SHA1 Message Date
Nashwan Azhari bf09edc642 provider/Azure: fixes:
added wait on instance deletion for associated blob deletion.
added guarding Mutex for secgroup-rule-related concurrent operations.
added usage warning on secgroup rules.
2015-10-30 02:57:47 +02:00
Paul Hinze ef5b6e93a9 provider/azure: fix issues loading config from homedir
Issues were:

 * `settings_file` `ValidateFunc` needs to expand homedir just like the
   `configure` does, otherwise ~-based paths fail validation
 * `isFile` was being called before ~-expand so configure was failing as well
 * `Config` was swallowing error so provider was ending up with `nil`,
   resulting in crash

To fix:

 * Consolidate settings_file path/contents handling into a single helper
   called from both `validate` and `configure` funcs
 * Return err from `Config`

To cover:

 * Added test case to validate w/ tilde-path
 * Added configure test w/ tilde-path
2015-10-13 16:57:11 -05:00
Clint Shryock 2a5c18d88b provider/azure: Allow settings_file to accept XML string 2015-08-03 15:31:25 -05:00
aznashwan 9b5c99ba28 Added affinity group resource. 2015-06-19 21:53:36 +03:00
Clint Shryock 2410824fc9 provider/azure: Fix SQL client name to match upstream
name was changed in 4f4636621e
2015-06-19 11:39:50 -05:00
aznashwan 357ed8e774 Added Azure SQL server and service support. 2015-06-17 21:23:16 +03:00
aznashwan 58dd568da9 Cleaned up client creation and handling. 2015-06-16 21:04:35 +03:00
aznashwan 9670e69613 Merge resources unto upstream. 2015-06-11 21:27:40 +03:00
Sander van Harmelen cef8259923 Adding the last parts of the docs for the new Azure provider
Next to the remaining docs, I also updated the code so any Virtual
Network related API calls are now synchronised by using a mutex (thanks
@aznashwan for pointing that out!).
2015-05-29 00:10:21 +02:00
Sander van Harmelen a2aeb9f79d Adding acceptance tests together with a few minor tweaks 2015-05-28 00:51:19 +02:00
Sander van Harmelen 8c3cb400d7 Updated to work with the latest Azure SDK changes 2015-05-28 00:51:19 +02:00
Sander van Harmelen 123cd9239c Updated to use forked azure-sdk-for-go package 2015-05-28 00:51:18 +02:00
Sander van Harmelen f8a56ad3d7 Little refactoring and fixing some issues
Starting to look pretty nice…
2015-05-28 00:51:18 +02:00
Sander van Harmelen 84a870a255 First few azure resources...
Only the azure_instance is fully working (for both Linux and Windows
instances) now, but needs some tests. network and disk and pretty much
empty, but the idea is clear so will not take too much time…
2015-05-28 00:51:17 +02:00
Paul Hinze fad6f69071 Revert "Add Azure provider"
This reverts commit f561e2a6a8.
2015-02-13 12:53:01 -06:00
Ferran Rodenas f561e2a6a8 Add Azure provider 2015-01-30 16:32:35 -06:00