Commit Graph

51 Commits

Author SHA1 Message Date
Paul Hinze 3d089143c6 provider/azure: fix hosted service acctest
Just some basic bitrot stuff.
2015-11-19 16:28:24 -06:00
Paul Hinze fb0dc4951d provider/azure: read publish_settings as contents instead of path
Building on the work in #3846, shifting the Azure provider's
configuration option from `settings_file` to `publish_settings`.
2015-11-16 17:47:56 -06:00
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 3fbeb326cd provider/azure: acc tests fixes
* avoid name collisions
 * update image names
2015-10-14 22:59:33 -05: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
Radek Simko f9efede852 gofmt files from recently merged PRs 2015-10-07 13:35:06 -07:00
Radek Simko 9cbcb9a438 Remove no-op Updates from resource schemas 2015-10-03 14:29:19 -07:00
Anthony Scalisi 198e1a5186 remove various typos 2015-09-11 11:56:20 -07:00
Dave McDermid 1a85f1344b Added join_domain feature to Azure Instance resource 2015-08-18 16:09:34 +01:00
Clint Shryock a7543de393 settings file is not required 2015-08-03 15:34:34 -05:00
Clint Shryock 2a5c18d88b provider/azure: Allow settings_file to accept XML string 2015-08-03 15:31:25 -05:00
Clint Shryock 488587467c code formatting 2015-07-30 09:27:13 -05:00
Clint Shryock 493b31d122 provider/azure: Trap a specific Platform Image error in a new PlatformStorageError 2015-07-27 10:23:42 -05:00
Paul Hinze ece4430188 Merge pull request #2562 from aznashwan/b-azure-non-existent-netconfig
Fixed void Azure network config bug.
2015-06-30 13:25:43 -05:00
Paul Hinze 0698b865e2 provider/aws: fix go vet 2015-06-30 12:35:54 -05:00
aznashwan 5ff6598e65 Fixed void Azure network config bug. 2015-06-30 02:13:34 +03:00
Paul Hinze 860a0fcbf2 provider/azure: fixup storage service test
wrong region in fixture vs assertion
2015-06-29 16:55:26 -05:00
aznashwan 7429027a8c Added SQL Database Server Firewall Rule resource. 2015-06-29 21:36:02 +03:00
aznashwan 6ea0397e07 Made instances deployable on already existing services. 2015-06-26 15:49:05 +03:00
aznashwan 1e08c6e72f Made Azure security group rules - security groups relationship one - many. 2015-06-25 21:57:38 +03: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 82a7f08a86 Removed redundant casting checks. 2015-06-12 22:25:03 +03:00
aznashwan bd371a3c40 Removed obsolete TODO's. 2015-06-12 20:57:25 +03:00
aznashwan ebfbef0d52 Added Storage Queue resource. 2015-06-12 01:55:43 +03:00
aznashwan 137cb9778e Minor fixups, refactors and test updates. 2015-06-11 21:27:40 +03:00
aznashwan 9670e69613 Merge resources unto upstream. 2015-06-11 21:27:40 +03:00
Sander van Harmelen c9d3b988bc provider/cloudstack: updating and tweaking tests and docs
Making sure everything is up-to-spec again and all tests run flawless,
after merging in some new functionality.
2015-06-09 12:38:05 +02:00
Paul Hinze e2e2cd097e Merge pull request #2231 from svanharmelen/b-fixup-tests
provider/azure: update/fix the CheckDestroy functions in the tests
2015-06-04 11:15:30 -05:00
Sander van Harmelen 69736f67a6 Update/fix the CheckDestroy functions in the tests 2015-06-04 17:11:07 +02:00
Sander van Harmelen 4f6e610ff9 Improve the decoding logic to prevent parameter not found errors
We need to decode both the Raw config and the parsed Config to make
sure all set keys are visible. Otherwise keys that will need to be
interpolated later, will be missing causing the validation to fail.
2015-06-03 14:45:30 +02:00
Sander van Harmelen 7e388bb078 Make sure we expand the homedir
If a tilde is used in the path, this makes sure we expand it to a full
path.
2015-06-02 21:08:14 +02:00
Sander van Harmelen 120599e68f Add some additional checks 2015-06-01 11:18:48 +02:00
Sander van Harmelen 08dd7dece9 Very minor change needed to realign with the updated Azure SDK 2015-05-29 10:17:43 +02: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 83e3ab1fc7 Seems to be almost ready... 2015-05-28 00:51:18 +02:00
Sander van Harmelen 1dbd32c6a7 Extending instance resource to enable using custom VM images 2015-05-28 00:51:18 +02:00
Sander van Harmelen ca1eb1917b Adding docs and tweaking the provider 2015-05-28 00:51:18 +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 d45f8ac52a Small update after changes in the Azure SDK 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 4e33d898e9 Needs more testing and tests, but it's becoming a nice provider 2015-05-28 00:51:17 +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
Paul Hinze 0b67ac3c49 Revert "fix build: upstream azure client change"
This reverts commit 6da9f04c10.
2015-02-13 12:52:56 -06:00
Paul Hinze 6da9f04c10 fix build: upstream azure client change
looks like https://github.com/MSOpenTech/azure-sdk-for-go/pull/30
changed the API for hosted services, which broke our build.
2015-02-01 10:35:33 -06:00